1 2013-05-06 Roland McGrath <roland@hack.frob.com>
3 * io/poll.c (__poll): Renamed from poll.
5 (poll): Define as weak alias.
7 * debug/ptsname_r_chk.c: Moved to ...
8 * login/ptsname_r_chk.c: ... here.
9 * debug/Makefile (routines): Move ptsname_r_chk to ...
10 * login/Makefile (routines): ... here.
11 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
12 * login/Versions (libc: GLIBC_2.4): ... here.
14 * posix/getlogin.c: Moved to ...
15 * login/getlogin.c: ... here.
16 * posix/getlogin_r.c: Moved to ...
17 * login/getlogin_r.c: ... here.
18 * posix/getlogin_r.c: Moved to ...
19 * login/getlogin_r.c: ... here.
20 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
21 * login/Makefile (routines): ... here.
22 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
23 * login/Versions (libc: GLIBC_2.0): ... here.
25 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
26 (setrlimit): Define as weak alias.
28 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
29 Call __ names for open, ftruncate, and close.
30 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
31 (truncate): Define as weak alias.
33 2013-05-06 Joseph Myers <joseph@codesourcery.com>
35 * math/gen-libm-test.pl (parse_args): Initialize x before each
36 test of frexp, modf and remquo.
38 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
41 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
47 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
49 2013-05-06 Roland McGrath <roland@hack.frob.com>
51 * elf/dl-writev.h: New file.
52 * elf/dl-misc.c: Include it.
53 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
54 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
56 2013-05-04 Joseph Myers <joseph@codesourcery.com>
58 * math/libm-test.inc (noXFails): Remove variable.
59 (noXPasses): Likewise.
60 (BUILD_COMPLEX_INT): Remove macro.
61 (print_screen): Remove xfail argument.
62 (print_screen_max_error): Likewise.
63 (update_stats): Likewise.
64 (print_max_error): Likewise. Update calls to other affected
66 (print_complex_max_error): Likewise.
67 (test_single_exception): Update calls to print_screen.
68 (test_single_errno): Likewise.
69 (check_float_internal): Remove xfail argument. Update calls to
70 other affected functions.
71 (check_float): Likewise.
72 (check_complex): Likewise.
73 (check_int): Likewise.
74 (check_long): Likewise.
75 (check_bool): Likewise.
76 (check_longlong): Likewise.
77 (main): Don't print noXFails and noXPasses.
78 * math/gen-libm-test.pl (top level): Don't mention expected
79 failure handling in comment.
80 (new_test): Don't handle expected failures.
81 (parse_args): Don't mention expected failure handling in comment.
82 (generate_testfile): Don't handle expected failures.
83 (parse_ulps): Likewise.
84 (print_ulps_file): Likewise.
85 (get_failure): Remove function.
86 (output_test): Don't handle expected failures.
87 * make/README.libm-test: Don't mention expected failure handling.
89 * math/libm-test.inc (plus_zero): Make const. Add initializer.
90 (minus_zero): Likewise.
91 (plus_infty): Likewise.
92 (minus_infty): Likewise.
93 (qnan_value): Likewise.
94 (max_value): Likewise.
95 (min_value): Likewise.
96 (min_subnorm_value): Likewise.
97 (initialize): Do not initialize those variables dynamically.
99 2013-05-03 Roland McGrath <roland@hack.frob.com>
101 * io/open.c (__open_2): Moved to ...
102 * io/open_2.c: ... this new file.
103 * io/open64.c (__open64_2): Moved to ...
104 * io/open64_2.c: ... this new file.
105 * io/openat.c (__openat_2): Moved to ...
106 * io/openat_2.c: ... this new file.
107 * io/openat64.c (__openat64_2): Moved to ...
108 * io/openat64_2.c: ... this new file.
109 * io/Makefile (routines): Add them.
110 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
111 * sysdeps/unix/sysv/linux/open_2.c: File removed.
112 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
113 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
114 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
115 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
116 (__openat64): Add hidden_ver.
117 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
118 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
120 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
121 Separately conditionalize setting of GLRO(dl_sysinfo) so
122 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
123 as well, but the actual setting is only under [NEED_DL_SYSINFO].
125 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
127 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
128 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
130 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
131 * sysdeps/unix/sysv/linux/powerpc/init-first.c
132 (_libc_vdso_platform_setup): Add __vdso_time initialization.
133 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
134 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
136 2013-05-03 Joseph Myers <joseph@codesourcery.com>
138 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
141 * math/libm-test.inc (hypot_test): Do not use
142 IGNORE_ZERO_INF_SIGN.
144 2013-05-03 Andreas Jaeger <aj@suse.de>
146 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
148 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
149 (PF_MAX): Adjust for VSOCK change.
151 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
153 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
155 2013-05-02 Carlos O'Donell <carlos@redhat.com>
158 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
159 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
160 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
162 2013-05-02 David S. Miller <davem@davemloft.net>
164 * sysdeps/sparc/fpu/libm-test-ulps: Update.
166 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
168 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
170 2013-05-01 Roland McGrath <roland@hack.frob.com>
172 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
174 2013-05-01 Richard Smith <richard@metafoo.co.uk>
177 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
178 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
179 Use __attribute__ ((__gnu_inline__)).
180 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
181 Don't use __attribute__ ((__gnu_inline__)).
183 2013-05-01 Joseph Myers <joseph@codesourcery.com>
186 * math/s_catan.c (__catan): Handle small real or imaginary part of
187 input specially to avoid spurious underflow.
188 * math/s_catanf.c (__catanf): Likewise.
189 * math/s_catanh.c (__catanh): Likewise.
190 * math/s_catanhf.c (__catanhf): Likewise.
191 * math/s_catanhl.c (__catanhl): Likewise.
192 * math/s_catanl.c (__catanl): Likewise.
193 * math/libm-test.inc (catan_test): Add more tests.
194 (catanh_test): Likewise.
195 * sysdeps/i386/fpu/libm-test-ulps: Update.
196 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
198 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
200 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
202 2013-04-30 Joseph Myers <joseph@codesourcery.com>
205 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
206 accurately for denominator in atan2.
207 * math/s_catanf.c (__catanf): Likewise.
208 * math/s_catanh.c (__catanh): Likewise.
209 * math/s_catanhf.c (__catanhf): Likewise.
210 * math/s_catanhl.c (__catanhl): Likewise.
211 * math/s_catanl.c (__catanl): Likewise.
212 * math/libm-test.inc (catan_test): Add more tests.
213 (catanh_test): Likewise.
214 * sysdeps/i386/fpu/libm-test-ulps: Update.
215 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
217 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
219 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
221 * benchtests/Makefile (bench): Remove slow benchmarks.
222 * benchtests/atan-inputs: Add slow benchmark inputs.
223 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
224 (BENCH_FUNC): Accept variant offset.
226 * benchtests/bench-skeleton.c (main): Run benchmark for each
228 * benchtests/cos-inputs: Add slow benchmark inputs.
229 * benchtests/exp-inputs: Likewise.
230 * benchtests/pow-inputs: Likewise.
231 * benchtests/sin-inputs: Likewise.
232 * benchtests/slowatan-inputs: Remove.
233 * benchtests/slowatan.c: Remove.
234 * benchtests/slowcos-inputs: Remove.
235 * benchtests/slowcos.c: Remove.
236 * benchtests/slowexp-inputs: Remove.
237 * benchtests/slowexp.c: Remove.
238 * benchtests/slowpow-inputs: Remove.
239 * benchtests/slowpow.c: Remove.
240 * benchtests/slowsin-inputs: Remove.
241 * benchtests/slowsin.c: Remove.
242 * benchtests/slowtan-inputs: Remove.
243 * benchtests/slowtan.c: Remove.
244 * benchtests/tan-inputs: Add slow benchmark inputs.
245 * scripts/bench.pl: Parse comments and directives.
247 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
249 ($(objpfx)bench-%.c): Remove *-ITER.
250 * benchtests/bench-modf.c: Remove definition of ITER.
251 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
252 (main): Loop for DURATION seconds instead of fixed number of
254 * scripts/bench.pl: Don't expect iterations in parameters.
256 2013-04-29 Roland McGrath <roland@hack.frob.com>
258 * io/fchdir.c (__fchdir): Renamed from fchdir.
259 (fchdir): Define as weak alias.
261 2013-04-29 Joseph Myers <joseph@codesourcery.com>
263 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
264 (ERRNO_EDOM): Likewise.
265 (ERRNO_ERANGE): Likewise.
266 (noErrnoTests): New variable.
267 (init_max_error): Set errno to 0.
268 (test_single_errno): New function.
269 (test_errno): Likewise.
270 (check_float_internal): Call test_errno. Set errno to 0.
271 (check_complex): Refer to errno tests in comment.
272 (check_int): Call test_errno. Set errno to 0.
273 (check_long): Likewise.
274 (check_bool): Likewise.
275 (check_longlong): Likewise.
276 (cos_test): Use ERRNO_* flags for errno tests instead of
278 (expm1_test): Likewise.
279 (fmod_test): Likewise.
280 (ilogb_test): Likewise.
281 (lgamma_test): Likewise.
282 (pow_test): Likewise.
283 (remainder_test): Likewise.
284 (sin_test): Likewise.
285 (tan_test): Likewise.
287 (initialize): Set errno to 0.
288 (main): Print number of errno tests.
289 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
291 2013-04-29 Andreas Jaeger <aj@suse.de>
294 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
298 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
299 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
303 * stdlib/random.c (__initstate): Return NULL if
307 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
308 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
311 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
313 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
315 2013-04-29 Joseph Myers <joseph@codesourcery.com>
317 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
319 (casin_test): Likewise.
320 (casinh_test): Likewise.
322 2013-04-27 Joseph Myers <joseph@codesourcery.com>
325 * math/s_catan.c (__catan): Handle arguments with large real or
326 imaginary part separately without squaring.
327 * math/s_catanf.c (__catanf): Likewise.
328 * math/s_catanh.c (__catanh): Likewise.
329 * math/s_catanhf.c (__catanhf): Likewise.
330 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
332 (__catanhl): Handle arguments with large real or imaginary part
333 separately without squaring.
334 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
336 (__catanl): Handle arguments with large real or imaginary part
337 separately without squaring.
338 * math/libm-test.inc (catan_test): Add more tests.
339 (catanh_test): Likewise.
340 * sysdeps/i386/fpu/libm-test-ulps: Update.
341 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
343 2013-04-27 Andreas Jaeger <aj@suse.de>
346 * stdlib/stdlib.h: Update guards for qecvt.
347 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
350 2013-04-27 Allan McRae <allan@archlinux.org>
352 * sysdeps/i386/fpu/libm-test-ulps: Update.
354 2013-04-26 Joseph Myers <joseph@codesourcery.com>
357 * math/s_catan.c: Include <float.h>.
358 (__catan): Ensure underflow exception occurs for underflowed
360 * math/s_catanf.c: Include <float.h>.
361 (__catanf): Ensure underflow exception occurs for underflowed
363 * math/s_catanh.c: Include <float.h>.
364 (__catanh): Ensure underflow exception occurs for underflowed
366 * math/s_catanhf.c: Include <float.h>.
367 (__catanhf): Ensure underflow exception occurs for underflowed
369 * math/s_catanhl.c: Include <float.h>.
370 (__catanhl): Ensure underflow exception occurs for underflowed
372 * math/s_catanl.c: Include <float.h>.
373 (__catanl): Ensure underflow exception occurs for underflowed
375 * math/libm-test.inc (catan_test): Add more tests.
376 (catanh_test): Likewise.
379 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
381 * math/s_ccoshf.c (__ccoshf): Likewise.
382 * math/s_ccoshl.c (__ccoshl): Likewise.
383 * math/s_csin.c (__csin): Likewise.
384 * math/s_csinf.c (__csinf): Likewise.
385 * math/s_csinh.c (__csinh): Likewise.
386 * math/s_csinhf.c (__csinhf): Likewise.
387 * math/s_csinhl.c (__csinhl): Likewise.
388 * math/s_csinl.c (__csinl): Likewise.
389 * math/libm-test.inc (ccos_test): Add more tests.
390 (ccosh_test): Likewise.
391 (csin_test): Likewise.
392 (csinh_test): Likewise.
394 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
396 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
397 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
398 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
399 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
400 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
401 powerpc/power5+/fpu folders.
402 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
405 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
407 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
409 2013-04-25 Joseph Myers <joseph@codesourcery.com>
411 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
412 additions to variable.
413 [$(config-machine) = x86_64] (modules-names): Likewise.
414 ($(objpfx)tst-audit3): Remove dependency.
415 ($(objpfx)tst-audit3.out): Likewise.
416 ($(objpfx)tst-audit4): Likewise.
417 ($(objpfx)tst-audit4.out): Likewise.
418 ($(objpfx)tst-audit5): Likewise.
419 ($(objpfx)tst-audit5.out): Likewise.
420 ($(objpfx)tst-audit6): Likewise.
421 ($(objpfx)tst-audit6.out): Likewise.
422 ($(objpfx)tst-audit7): Likewise.
423 ($(objpfx)tst-audit7.out): Likewise.
424 (tst-audit3-ENV): Remove variable.
425 (tst-audit4-ENV): Likewise.
426 (tst-audit5-ENV): Likewise.
427 (tst-audit6-ENV): Likewise.
428 (tst-audit7-ENV): Likewise.
429 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
430 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
431 addition to variable.
432 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
433 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
434 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
435 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
436 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
437 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
438 tst-audit3, tst-audit4 and tst-audit5.
439 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
440 tst-audit6 and tst-audit7.
441 [$(subdir) = elf] (modules-names): Add audit modules for those
443 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
444 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
445 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
446 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
447 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
448 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
449 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
450 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
451 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
452 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
453 [$(subdir) = elf] (tst-audit3-ENV): New variable.
454 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
455 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
456 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
457 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
458 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
460 [$(subdir) = elf && $(config-cflags-avx) = yes]
461 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
462 [$(subdir) = elf && $(config-cflags-avx) = yes]
463 (CFLAGS-tst-auditmod4a.c): Likewise.
464 [$(subdir) = elf && $(config-cflags-avx) = yes]
465 (CFLAGS-tst-auditmod4b.c): Likewise.
466 [$(subdir) = elf && $(config-cflags-avx) = yes]
467 (CFLAGS-tst-auditmod6b.c): Likewise.
468 [$(subdir) = elf && $(config-cflags-avx) = yes]
469 (CFLAGS-tst-auditmod6c.c): Likewise.
470 [$(subdir) = elf && $(config-cflags-avx) = yes]
471 (CFLAGS-tst-auditmod7b.c): Likewise.
472 * elf/tst-audit3.c: Move to ...
473 * sysdeps/x86_64/tst-audit3.c: ... here.
474 * elf/tst-audit4.c: Move to ...
475 * sysdeps/x86_64/tst-audit4.c: ... here.
476 * elf/tst-audit5.c: Move to ...
477 * sysdeps/x86_64/tst-audit5.c: ... here.
478 * elf/tst-audit6.c: Move to ...
479 * sysdeps/x86_64/tst-audit6.c: ... here.
480 * elf/tst-audit7.c: Move to ...
481 * sysdeps/x86_64/tst-audit7.c: ... here.
482 * elf/tst-auditmod3a.c: Move to ...
483 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
484 * elf/tst-auditmod3b.c: Move to ...
485 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
486 * elf/tst-auditmod4a.c: Move to ...
487 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
488 * elf/tst-auditmod4b.c: Move to ...
489 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
490 * elf/tst-auditmod5a.c: Move to ...
491 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
492 * elf/tst-auditmod5b.c: Move to ...
493 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
494 * elf/tst-auditmod6a.c: Move to ...
495 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
496 * elf/tst-auditmod6b.c: Move to ...
497 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
498 * elf/tst-auditmod6c.c: Move to ...
499 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
500 * elf/tst-auditmod7a.c: Move to ...
501 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
502 * elf/tst-auditmod7b.c: Move to ...
503 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
505 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
508 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
509 define unconditionally.
510 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
511 define unconditionally.
512 (INT8_C, INT16_C, etc.): Likewise.
514 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
516 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
517 __ehdr_start with hidden visibility.
519 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
521 2013-04-24 Carlos O'Donell <carlos@redhat.com>
523 * math/libm-test.inc (cos_test): Use accurate hex constants.
524 (sincost_test): Likewise.
526 2013-04-24 Joseph Myers <joseph@codesourcery.com>
528 * math/libm-test.inc (catan_test): Add more tests.
529 (catanh_test): Likewise.
531 * math/s_catanf.c (__catanf): Use suffixed floating-point
533 * math/s_catanhf.c (__catanhf): Likewise.
534 * math/s_catanhl.c (__catanhl): Likewise.
535 * math/s_catanl.c (__catanl): Likewise.
538 * math/s_catan.c (__catan): Calculate imaginary part of result
539 with log1p not log unless computing log of number close to 0.
540 * math/s_catanf.c (__catanf): Likewise.
541 * math/s_catanl.c (__catanl): Likewise.
542 * math/s_catanh.c (__catanh): Calculate real part of result with
543 log1p not log unless computing log of number close to 0.
544 * math/s_catanhf.c (__catanhf): Likewise.
545 * math/s_catanhl.c (__catanhl): Likewise.
546 * math/libm-test.inc (catan_test): Add more tests.
547 (catanh_test): Likewise.
548 * sysdeps/i386/fpu/libm-test-ulps: Update.
549 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
551 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
553 * benchtests/Makefile: Mention files in which fast and slow
554 paths of math functions are implemented.
556 2013-04-23 Roland McGrath <roland@hack.frob.com>
558 * sysdeps/posix/timespec_get.c: New file.
560 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
562 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
564 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
566 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
567 powerpc/power5/fpu folders.
568 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
569 * benchtests/Makefile: Add modf testcase.
570 * benchtests/bench-modf.c: New file: Benchmark test for mo
572 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
575 * time/Makefile (tests): Add tst-strptime-whitespace.
576 * time/strptime_l.c (get_number): Use ISSPACE.
577 (__strptime_internal): Likewise.
578 * time/tst-strptime-whitespace.c: New test case.
580 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
582 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
584 (_nss_files_init): Set it here.
586 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
588 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
589 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
592 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
594 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
596 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
598 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
601 2013-04-21 David S. Miller <davem@davemloft.net>
603 * po/ru.po: Update Russion translation from translation project.
605 2013-04-17 Adam Conrad <adconrad@0c3.net>
607 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
610 2013-04-17 Carlos O'Donell <carlos@redhat.com>
612 * configure.in: Remove i386 configure warning. Remove i386 case.
613 * configure: Regenerate.
614 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
615 Add example to error message.
616 * sysdeps/i386/configure: Regenerate.
618 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
620 * benchtests/Makefile (bench): Add cos, tan, slowcos and
622 * benchtests/cos-inputs: New file.
623 * benchtests/slowcos-inputs: New file.
624 * benchtests/slowcos.c: New file.
625 * benchtests/slowtan-inputs: New file.
626 * benchtests/slowtan.c: New file.
627 * benchtests/tan-inputs: New file.
629 2013-04-16 Roland McGrath <roland@hack.frob.com>
631 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
634 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
636 * benchtests/Makefile: Include cppflags-iterator.mk to add
637 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
639 * Makefile.in (bench-clean): New target.
640 * benchtests/Makefile (bench-clean): Likewise.
642 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
644 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
646 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
648 * stdio-common/tstdiomisc.c: Fix coding-style violation.
650 2013-04-15 Andreas Schwab <schwab@suse.de>
652 * nscd/grpcache.c (cache_addgr): Properly check for short write.
653 * nscd/initgrcache.c (addinitgroupsX): Likewise.
654 * nscd/pwdcache.c (cache_addpw): Likewise.
655 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
658 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
660 * benchtests/Makefile (bench): Write all output to
661 bench-out.tmp together.
663 2013-04-15 Andreas Schwab <schwab@suse.de>
665 * nscd/nscd.c (main): Don't fork again after closing files.
667 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
669 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
671 * benchtests/Rules (bench-deps): Collect dependencies into a
672 single variable. Add Makefile to dependencies.
673 ($(objpfx)bench-%.c): Depend on bench-deps.
675 2013-04-12 Roland McGrath <roland@hack.frob.com>
676 Xavier Roche <roche+kml2@exalead.com>
679 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
680 just that it's a file descriptor.
681 * manual/llio.texi (Synchronizing AIO Operations): Update description
682 for EBADF error from aio_fsync.
684 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
686 * Rules (bench): Move target definition...
687 * benchtests/Makefile: ... here.
689 2013-04-11 Carlos O'Donell <carlos@redhat.com>
691 * math/libm-test.inc (cos_test): Fix PI/2 test.
692 (sincos_test): Likewise.
693 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
694 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
696 2013-04-11 Andreas Schwab <schwab@suse.de>
699 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
700 accept exponent character only when digits were seen.
701 * stdio-common/Makefile (tests): Add bug26.
702 * stdio-common/bug26.c: New file.
705 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
708 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
710 * Makeconfig (rtld-prefix): Define built linker prefix.
711 * Rules (run-bench): Use it.
712 * math/Makefile (run-regen-ulps): Likewise.
714 * Rules (bench): Remove eval.
716 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
717 Roland McGrath <roland@hack.frob.com>
718 Ondrej Bilka <neleai@seznam.cz>
721 * time/getdate.c: Include ctype.h and alloca.h.
722 (__getdate_r): Trim leading and trailing spaces of input.
723 * time/tst-getdate.c (tests): Add tests with leading and
726 2013-04-08 Roland McGrath <roland@hack.frob.com>
729 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
730 when computing value.
732 2013-04-06 Carlos O'Donell <carlos@redhat.com>
734 * math/README.libm-test (How can I generate "libm-test-ulps"?):
735 Use testrun.sh to run libm tests.
738 * elf/dl-open.c (dl_open_worker): memset all of seen array.
740 2013-04-06 Marko Myllynen <myllynen@redhat.com>
743 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
745 2013-04-06 Carlos O'Donell <carlos@redhat.com>
747 * Makefile.in (regen-ulps): New target.
748 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
749 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
750 [ifneq (no,$(PERL)] (regen-ulps): New target.
751 [ifeq (no,$(PERL)] (regen-ulps): New target.
752 * math/libm-test.inc (ulps_file_name): Define.
753 (output_dir): New variable.
754 (options): Add "output-dir" option.
755 (parse_opt): Handle 'o' case.
756 (main): If output_dir is non-NULL use it as a prefix
758 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
760 2013-04-06 Carlos O'Donell <carlos@redhat.com>
763 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
764 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
765 fail configure if __sync_val_compare_and_swap is not inlined.
766 * sysdeps/i386/configure: Regenerate.
767 * configure.in: Build for i686 when configured for i386.
768 * configure: Regenerate.
769 * README: Remove i386 reference.
771 2013-04-06 Carlos O'Donell <carlos@redhat.com>
773 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
774 * sysdeps/s390/s390-64/sysdep.h: Likewise.
776 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
778 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
779 (lmsnanval): New variables.
780 (F): Add conversion tests.
781 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
782 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
784 * stdio-common/tstdiomisc.c (F): Properly collect individual
788 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
789 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
790 Instead, use input NaN values or generate a qNaN by arithmetic
791 operation. Also fix bugs to comply with the standard.
792 * math/libm-test.inc (remainder_test): Add more tests.
795 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
796 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
797 input NaN values or generate a qNaN by arithmetic operation.
799 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
802 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
805 2013-04-03 Joseph Myers <joseph@codesourcery.com>
808 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
810 * math/s_cexpf.c (__cexpf): Likewise.
811 * math/s_cexpl.c (__cexpl): Likewise.
812 * math/libm-test.inc (cexp_test): Add more tests.
814 2013-04-03 Andreas Schwab <schwab@suse.de>
817 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
818 order arrays from heap if bigger than alloca cutoff.
820 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
822 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
823 (SNAN_TESTS_double): Refer to GCC PR56831.
824 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
827 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
829 * Rules (bench): Move bench.out after the run is complete.
831 * Rules (bench): Echo currently running benchmark.
833 * benchtests/Makefile (bench): Add atan and slowatan.
834 * benchtests/atan-inputs: New file.
835 * benchtests/slowatan-inputs: New file.
836 * benchtests/slowatan.c: New file.
838 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
839 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
843 * sysdeps/unix/sysv/linux/kernel-features.h
844 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
845 __ASSUME_XFS_RESTRICTED_CHOWN.
846 * sysdeps/unix/sysv/linux/pathconf.c
847 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
848 Save and restore errno.
850 2013-04-02 Joseph Myers <joseph@codesourcery.com>
853 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
854 arguments using __kernel_casinh.
855 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
856 arguments using __kernel_casinhf.
857 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
858 arguments using __kernel_casinhl.
859 * math/libm-test.inc (cacosh_test): Add more tests.
860 * sysdeps/i386/fpu/libm-test-ulps: Update.
861 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
863 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
865 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
866 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
868 * bench/Makefile (bench): Add sin and slowsin.
869 * benchtests/sin-inputs: New file.
870 * benchtests/slowsin-inputs: New file.
871 * benchtests/slowsin.c: New file.
873 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
874 (bench): Add slowexp and slowpow.
875 (exp-ITER): Increase iterations.
876 (pow-ITER): Likewise.
877 * benchtests/exp-inputs: Change input.
878 * benchtests/pow-inputs: Likewise.
879 * benchtests/slowexp-inputs: New file.
880 * benchtests/slowexp.c: New file.
881 * benchtests/slowpow-inputs: New file.
882 * benchtests/slowpow.c: New file.
884 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
886 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
888 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
889 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
890 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
891 * benchtests/Makefile: Add rint benchtest.
892 * benchtests/rint-inputs: Input for rint benchtest.
894 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
896 * Versions.def (libm): Add GLIBC_2.18.
897 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
898 hidden libm prototypes.
899 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
900 * math/Makefile (libm-calls): Add s_issignaling.
901 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
902 __issignalingf, __issignalingl. Adjust all libm.abilist files.
903 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
905 * math/math.h [__USE_GNU] (issignaling): New macro.
906 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
907 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
908 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
909 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
910 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
911 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
912 * manual/arith.texi (issignaling): New section.
913 * manual/libm-err-tab.pl (@all_functions): Update comment.
914 * math/gen-libm-test.pl (parse_args): Apply special handling for
916 * math/libm-test.inc (print_float, issignaling_test): New
918 (check_float_internal): Add issignaling checks.
919 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
921 * sysdeps/powerpc/math-tests.h: New file.
922 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
924 * math/test-snan.c (TEST_FUNC): Likewise.
926 2013-03-30 David S. Miller <davem@davemloft.net>
928 * po/de.po: Update from translation team.
930 2013-03-30 Joseph Myers <joseph@codesourcery.com>
933 * math/k_casinh.c (__kernel_casinh): Handle arguments with
934 imaginary part less than 1.0 and real part less than 0.5
936 * math/k_casinhf.c (__kernel_casinhf): Likewise.
937 * math/k_casinhl.c (__kernel_casinhl): Likewise.
938 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
939 (cacos_test): Add more tests.
940 (casin_test): Likewise.
941 (casinh_test): Likewise.
942 * sysdeps/i386/fpu/libm-test-ulps: Update.
943 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
945 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
947 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
950 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
951 (__pow_mp): Replace ONE and MONE with their values.
952 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
953 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
954 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
955 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
956 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
957 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
959 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
961 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
962 (__pow_mp): Replace ZERO and MZERO with their values.
963 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
964 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
965 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
966 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
967 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
968 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
971 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
973 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
975 2013-03-28 Roland McGrath <roland@hack.frob.com>
977 * include/stdlib.h [!SHARED] (__call_tls_dtors):
978 Declare with __attribute__ ((weak)).
979 * stdlib/exit.c (__libc_atexit) [!SHARED]:
980 Call __call_tls_dtors only if it's not NULL.
982 2013-03-28 Roland McGrath <roland@hack.frob.com>
984 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
985 didn't do it already, then set _dl_phdr and _dl_phnum based on the
986 magic __ehdr_start linker symbol if it's defined.
987 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
988 them up here if it was already done.
990 * elf/dl-support.c (_dl_phdr): Make pointer to const.
991 (_dl_aux_init): Use const in cast when setting it.
992 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
993 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
994 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
996 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
998 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
999 * csu/libc-tls.c: Nor here.
1000 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
1002 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
1003 (__libc_message): Never call vsyslog.
1005 2013-03-28 Alan Modra <amodra@gmail.com>
1007 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
1009 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
1012 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1015 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
1017 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1019 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1022 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
1023 Don't add gid passed as argument.
1025 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
1027 2013-03-27 Joseph Myers <joseph@codesourcery.com>
1030 * math/k_casinh.c (__kernel_casinh): Handle arguments with
1031 imaginary part between 1.0 and 1.5 and real part less than 0.5
1033 * math/k_casinhf.c (__kernel_casinhf): Likewise.
1034 * math/k_casinhl.c (__kernel_casinhl): Likewise.
1035 * math/libm-test.inc (cacos_test): Add more tests.
1036 (casin_test): Likewise.
1037 (casinh_test): Likewise.
1038 * sysdeps/i386/fpu/libm-test-ulps: Update.
1039 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1041 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1043 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
1047 (__dbl_mp): Likewise.
1048 (add_magnitudes): Likewise.
1049 (sub_magnitudes): Likewise.
1057 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
1059 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
1060 (__dubcos): Likewise.
1061 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
1062 (__ieee754_acos): Likewise.
1063 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
1064 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
1066 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
1067 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
1069 (my_log2): Likewise.
1070 (checkint): Likewise.
1071 * sysdeps/ieee754/dbl-64/e_remainder.c
1072 (__ieee754_remainder): Likewise.
1073 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
1074 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
1076 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
1078 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
1079 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
1080 MANTISSA_STORE_T to store computations on mantissa. Use
1081 macros for rounding and division.
1083 (__dbl_mp): Likewise.
1084 (add_magnitudes): Likewise.
1085 (sub_magnitudes): Likewise.
1088 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
1089 powers of two in terms of TWOPOW macro.
1090 (mp_no): Make type of mantissa as MANTISSA_T.
1091 [!RADIXI]: Define RADIXI.
1092 [!TWO52]: Define TWO52.
1093 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
1095 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1097 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
1098 llroundl symbol when building for PPC32.
1100 2013-03-24 Mark H Weaver <mhw@netris.org>
1102 * manual/arith.texi (Normalization Functions): Fix prototypes for
1103 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
1105 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1108 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
1109 high value to check if expl overflow.
1110 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
1111 to check for underflow and overflow.
1112 * math/libm-test.inc: Add exp test.
1114 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
1117 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
1120 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1122 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
1125 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
1127 * math/gen-libm-test.pl (parse_args, special_functions): Properly
1128 wrap blocks consisting of several statements.
1130 * sysdeps/generic/math-tests.h: New file.
1131 * sysdeps/i386/fpu/math-tests.h: Likewise.
1132 * math/test-snan.c: Include it.
1133 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
1135 2013-03-21 Joseph Myers <joseph@codesourcery.com>
1138 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
1139 (__ieee754_j0l): Do not improve calculations using cos of twice
1140 input for inputs above LDBL_MAX / 2.0L.
1141 (__ieee754_y0l): Likewise.
1142 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
1143 (__ieee754_j1l): Do not improve calculations using cos of twice
1144 input for inputs above LDBL_MAX / 2.0L.
1145 (__ieee754_y1l): Likewise.
1146 * math/libm-test.inc (j0_test): Add another test.
1147 (j1_test): Likewise.
1148 (y0_test): Likewise.
1149 (y1_test): Likewise.
1150 * sysdeps/i386/fpu/libm-test-ulps: Update.
1152 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1154 * Rules ($(objpfx)bench-%.c): Include code from a C source
1157 2013-03-21 Joseph Myers <joseph@codesourcery.com>
1160 * math/k_casinh.c (__kernel_casinh): Handle arguments with
1161 imaginary part 1.0 and real part less than 0.5 specially.
1162 * math/k_casinhf.c (__kernel_casinhf): Likewise.
1163 * math/k_casinhl.c (__kernel_casinhl): Likewise.
1164 * math/libm-test.inc (cacos_test): Add more tests.
1165 (casin_test): Likewise.
1166 (casinh_test): Likewise.
1167 * sysdeps/i386/fpu/libm-test-ulps: Update.
1168 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1170 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1172 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
1173 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
1175 2013-03-20 Joseph Myers <joseph@codesourcery.com>
1177 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
1178 * config.make.in (config-cflags-sse4): Remove variable.
1179 (config-cflags-avx): Likewise.
1180 (config-cflags-sse2avx): Likewise.
1181 (config-cflags-novzeroupper): Likewise.
1182 (config-asflags-i686): Likewise.
1183 (have-mfma4): Likewise.
1184 (have-as-vis3): Likewise.
1186 * configure.in (MIG): Do not AC_SUBST.
1187 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
1188 (libc_cv_cc_sse4): Do not AC_SUBST.
1189 (libc_cv_cc_avx): Likewise.
1190 (libc_cv_cc_sse2avx): Likewise.
1191 (libc_cv_cc_novzeroupper): Likewise.
1192 (libc_cv_cc_fma4): Likewise.
1193 (libc_cv_as_i686): Likewise.
1194 (libc_cv_sparc_as_vis3): Likewise.
1195 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
1197 (config-asflags-i686): Likewise.
1198 (config-cflags-avx): Likewise.
1199 (config-cflags-sse2avx): Likewise.
1200 (have-mfma4): Likewise.
1201 (config-cflags-novzeroupper): Likewise.
1202 * sysdeps/mach/configure.in (MIG): Likewise.
1203 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
1204 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
1206 (config-cflags-avx): Likewise.
1207 (config-cflags-sse2avx): Likewise.
1208 (have-mfma4): Likewise.
1209 (config-cflags-novzeroupper): Likewise.
1210 * configure: Regenerated.
1211 * sysdeps/i386/configure: Likewise.
1212 * sysdeps/mach/configure: Likewise.
1213 * sysdeps/sparc/configure: Likewise.
1214 * sysdeps/x86_64/configure: Likewise.
1216 2013-03-20 Roland McGrath <roland@hack.frob.com>
1219 * locale/programs/localedef.c (options): Put N_ translation marker
1220 on argument names, not just descriptions.
1222 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1224 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
1226 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
1229 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
1231 2013-03-19 Roland McGrath <roland@hack.frob.com>
1233 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
1234 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
1235 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
1236 [!BEFORE_ABORT] (before_abort): New function.
1237 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
1238 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
1239 (writev_for_fatal): New function.
1240 (WRITEV_FOR_FATAL): New macro; call that.
1241 (backtrace_and_maps): New function.
1242 (BEFORE_ABORT): New macro; call that.
1243 (struct str_list): Type removed.
1244 (__libc_message, __libc_fatal): Functions removed.
1245 Include <sysdeps/posix/libc_fatal.c> instead.
1247 2013-03-19 Joseph Myers <joseph@codesourcery.com>
1249 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
1251 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
1254 2013-03-19 Andreas Schwab <schwab@suse.de>
1256 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
1257 * sysdeps/gnu/configure: Regenerate.
1259 * configure.in: Substitute libc_cv_rtlddir.
1260 * configure: Regenerate.
1261 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
1262 * Makeconfig (rtlddir, inst_rtlddir): New variables.
1263 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
1264 * elf/Makefile (install-others, CFLAGS-interp.c)
1265 (ldso_install, common-ldd-rewrite): Likewise.
1266 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
1267 $(inst_slibdir)/$(rtld-installed-name).
1268 * scripts/rellns-sh: Add -p option.
1269 * Makerules (make-shlib-link): Use rellns-sh to get relative name
1272 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1274 * manual/nptl.texi: Renamed to ...
1275 * manual/threads.texi: ... this.
1276 * manual/Makefile (chapters): Update.
1278 2013-03-18 Roland McGrath <roland@hack.frob.com>
1281 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
1282 on argument names, not just descriptions.
1283 * malloc/memusagestat.c (options): Likewise.
1284 * nss/getent.c (options): Likewise.
1286 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
1289 * iconv/iconv_prog.c (options): Put N_ translation marker
1290 on argument names, not just descriptions.
1291 * iconv/iconvconfig.c (options): Likewise.
1293 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
1295 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
1296 implementation which is faster on all x86_64 architectures.
1297 Tested on AMD, Intel Nehalem, SNB, IVB.
1298 * sysdeps/x86_64/strnlen.S: Likewise.
1300 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
1301 Remove all multiarch strlen and strnlen versions.
1302 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
1303 Remove strlen and strnlen related parts.
1305 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
1307 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
1309 * sysdeps/x86_64/multiarch/strlen.S: Remove.
1310 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
1311 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
1312 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
1313 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
1314 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
1316 2013-03-17 Carlos O'Donell <carlos@redhat.com>
1318 * manual/memory.texi (Malloc Tunable Parameters):
1319 Sort parameters alphabetically. Add comments for missing entries.
1321 2013-03-17 David S. Miller <davem@davemloft.net>
1323 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1325 2013-03-16 Joseph Myers <joseph@codesourcery.com>
1328 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
1329 for arguments at most half maximum finite value.
1330 * math/libm-test.inc (j0_test): Add more tests.
1331 (j1_test): Likewise.
1332 (y0_test): Likewise.
1333 (y1_test): Likewise.
1334 * sysdeps/i386/fpu/libm-test-ulps: Update.
1335 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1338 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
1339 1 / x and functions P and Q for arguments above 0x1p256L.
1340 (__ieee754_y0l): Likewise.
1341 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
1342 (__ieee754_y1l): Likewise.
1343 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
1344 (j1_test): Likewise.
1345 (y0_test): Likewise.
1346 (y1_test): Likewise.
1348 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
1350 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
1353 2013-03-15 Roland McGrath <roland@hack.frob.com>
1355 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
1356 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
1357 zero since it's initialized to EXEC_PAGESIZE.
1359 * sysdeps/unix/sysv/linux/ldsodefs.h
1360 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
1361 * sysdeps/generic/ldsodefs.h: ... here.
1363 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
1365 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
1367 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
1369 * math/test-snan.c: Renamed from
1370 sysdeps/powerpc/fpu/test-powerpc-snan.c.
1371 * math/Makefile (tests): Add test-snan.
1372 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
1375 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
1376 SUFFIX. Initialize qNaN_var with __builtin_nan family of
1378 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
1379 __builtin_nan family of functions.
1380 * math/libm-test.inc (initialize): Initialize qnan_value with
1381 __builtin_nan family of functions.
1382 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
1384 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
1386 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
1387 storage class. Initialize qNaN_var and sNaN_var with
1388 __builtin_nan and __builtin_nans families of functions,
1391 * math/libm-test.inc (acosh_test): Also test with qNaN input.
1392 (sqrt_test): Remove duplicate test with qNaN input.
1393 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
1394 (round_test, signbit_test, significand_test): Note missing +/-Inf
1395 as well as qNaN tests.
1397 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
1398 qNaN_var. Fix a few strings, too.
1399 * math/libm-test.inc (nan_value): Rename to qnan_value.
1400 * math/gen-libm-test.pl (%beautify): Adjust to that.
1401 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
1402 * math/test-misc.c (main): Likewise.
1403 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
1404 to __qnan_bytes, and __qnan_union, respectively.
1405 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
1407 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
1408 and lqnanval, respectively.
1409 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
1410 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
1411 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
1412 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
1414 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
1415 * math/test-misc.c (main) [__x86_64__]: Enable test for long
1418 * math/test-misc.c (main): Fix copy'n'pastos.
1419 * misc/tst-efgcvt.c (special): Likewise.
1421 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
1422 Remove declarations.
1424 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1426 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
1427 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
1428 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
1429 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
1431 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1433 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
1434 macro to return vdso values correctly in IFUNC implementations.
1435 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
1436 Optimization by using IFUNC.
1438 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1439 Richard Henderson <rth@redhat.com>
1440 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1442 * Makefile.in (bench): New target.
1443 * NEWS: Mention the benchmark framework.
1444 * Rules (bench): Likewise.
1445 (binaries-bench): Generate binaries for functions to
1447 * benchtests/Makefile: New makefile for benchmark tests.
1448 * benchtests/bench-skeleton.c: New skeleton file for benchmark
1450 * benchtests/exp-inputs: New input file for EXP function.
1451 * benchtests/pow-inputs: New input file for POW function.
1452 * scripts/bench.pl: New script to generate source files for
1455 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1457 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
1458 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
1459 computations on mantissa. Use macros for rounding and
1462 (__dbl_mp): Likewise.
1463 (add_magnitudes): Likewise.
1464 (sub_magnitudes): Likewise.
1467 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
1468 powers of two in terms of TWOPOW macro.
1469 (mp_no): Make type of mantissa as MANTISSA_T.
1470 [!RADIXI]: Define RADIXI.
1471 [!TWO52]: Define TWO52.
1472 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
1474 * manual/nptl.texi (cindex): Modify threads to pthreads.
1476 2013-03-15 Joseph Myers <joseph@codesourcery.com>
1478 * sysdeps/x86_64/preconfigure: Regenerated.
1480 2013-03-14 Joseph Myers <joseph@codesourcery.com>
1483 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
1485 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
1486 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
1488 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
1489 * math/libm-test.inc (j0_test): Do not allow one spurious
1490 underflow exception.
1491 (y1_test): Likewise.
1493 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
1495 * manual/Makefile (chapters): Add nptl.
1496 * manual/debug.texi (Debugging Support): Add link to Threads
1498 * manual/nptl.texi: New file.
1500 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
1502 2013-03-14 Petr Baudis <pasky@ucw.cz>
1504 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
1505 for non-NULL pointer before the memory validity test. Pointed
1506 out by Holger Brunck <holger.brunck@keymile.com>.
1508 2013-03-13 Andreas Schwab <schwab@suse.de>
1510 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
1513 2013-03-13 Joseph Myers <joseph@codesourcery.com>
1515 * timezone/zic.c: Update from tzcode 2013b.
1517 2013-03-12 Carlos O'Donell <carlos@redhat.com>
1519 * manual/install.texi (Configuring and compiling):
1520 Mention i686 and i586.
1521 * INSTALL: Regenerate.
1523 2013-03-12 Roland McGrath <roland@hack.frob.com>
1525 * sysdeps/init_array/elf-init.c: New file.
1527 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
1528 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
1530 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
1531 __gmon_start__ as global, but as static with a .preinit_array pointer.
1532 * sysdeps/init_array/gmon-start.c: New file. Use that.
1533 * sysdeps/init_array/crti.S: New file, empty except for comments.
1534 * sysdeps/init_array/crtn.S: Likewise.
1536 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
1538 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
1540 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1541 Remove Prefer_SSE_for_memop.
1542 * sysdeps/x86_64/multiarch/init-arch.h: Remove
1543 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
1544 HAS_PREFER_SSE_FOR_MEMOP.
1545 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
1547 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1548 Remove bzero, memset ifunc support.
1549 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
1550 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
1551 * sysdeps/x86_64/multiarch/memset.S: Likewise.
1552 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1554 2013-03-11 Andreas Schwab <schwab@suse.de>
1557 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
1559 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
1560 (GLIBC_2.16): Remove pthread_atfork.
1562 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
1564 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
1565 (ptestcases.h): Likewise.
1567 2013-03-08 Roland McGrath <roland@hack.frob.com>
1569 * Makeconfig ($(common-objpfx)config.status): Depend on
1570 sysdeps/*/preconfigure{,.in} too.
1572 2013-03-08 Joseph Myers <joseph@codesourcery.com>
1574 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
1575 (__free_hook): Use void * instead of __malloc_ptr_t.
1576 (__malloc_hook): Likewise.
1577 (__realloc_hook): Likewise.
1578 (__memalign_hook): Likewise.
1579 (__after_morecore_hook): Likewise.
1580 * malloc/arena.c (save_malloc_hook): Likewise.
1581 (save_free_hook): Likewise.
1582 * malloc/hooks.c (malloc_hook_ini): Likewise.
1583 (realloc_hook_ini): Likewise.
1584 (memalign_hook_ini): Likewise.
1585 * malloc/malloc.c (malloc_hook_ini): Likewise.
1586 (realloc_hook_ini): Likewise.
1587 (memalign_hook_ini): Likewise.
1588 (__free_hook): Likewise.
1589 (__malloc_hook): Likewise.
1590 (__realloc_hook): Likewise.
1591 (__memalign_hook): Likewise.
1592 (__libc_malloc): Likewise.
1593 (__libc_free): Likewise.
1594 (__libc_realloc): Likewise.
1595 (__libc_memalign): Likewise.
1596 (__libc_valloc): Likewise.
1597 (__libc_pvalloc): Likewise.
1598 (__libc_calloc): Likewise.
1599 (__posix_memalign): Likewise.
1600 * malloc/morecore.c (__sbrk): Likewise.
1601 (__default_morecore): Likewise.
1603 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
1605 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
1606 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
1609 * malloc/malloc.h (__malloc_size_t): Remove macro.
1610 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
1612 (old_memalign_hook): Likewise.
1613 (old_realloc_hook): Likewise.
1614 (struct hdr): Likewise.
1616 (mallochook): Likewise.
1617 (memalignhook): Likewise.
1618 (reallochook): Likewise.
1619 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
1620 (tr_old_realloc_hook): Likewise.
1621 (tr_old_memalign_hook): Likewise.
1622 (tr_mallochook): Likewise.
1623 (tr_reallochook): Likewise.
1624 (tr_memalignhook): Likewise.
1626 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1628 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
1629 default_ldbl_pack and using as default implementation.
1630 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
1632 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
1633 redundant definition.
1634 (ldbl_insert_mantissa): Likewise.
1635 (ldbl_canonicalize): Likewise.
1636 (ldbl_nearbyint): Likewise.
1637 (ldbl_pack): Rename to ldbl_pack_ppc.
1638 (ldbl_unpack): Rename to ldbl_unpack_ppc.
1639 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
1640 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
1642 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
1644 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
1645 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
1646 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
1647 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
1648 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
1649 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
1650 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
1651 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
1653 2013-03-07 Andreas Jaeger <aj@suse.de>
1655 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1658 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
1660 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
1661 Include mpa.h and declare __MPEXP.
1662 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
1663 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
1664 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
1665 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
1666 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
1667 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
1668 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
1670 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
1671 (__slowpow): Use long double EXPL and LOGL functions to
1673 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
1674 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
1675 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
1676 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
1677 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
1678 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
1680 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
1681 intermediate variable to calculate exponent.
1683 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
1687 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
1688 [!NO__SQR]: Define __sqr.
1689 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
1690 and NO__SQR. Remove all code except __mul and __sqr. Include
1691 sysdeps/ieee754/dbl-64/mpa.c.
1692 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
1695 * posix/Makefile (tests): Add tst-pathconf.
1696 * posix/tst-pathconf.c: New test case.
1697 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
1699 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
1701 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
1703 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
1705 2013-03-06 Andreas Jaeger <aj@suse.de>
1707 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
1708 definition via __MAP_ANONYMOUS.
1710 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
1711 it's not part of Linux headers.
1713 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
1714 (MAP_HUGE_MASK): Define.
1716 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
1718 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
1719 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
1721 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
1722 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
1724 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
1725 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
1727 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
1729 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
1730 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
1731 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
1732 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
1733 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
1734 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
1736 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
1739 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
1740 Handle f2fs and efivarfs.
1742 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
1745 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
1746 (EFIVARFS_MAGIC): Add.
1747 (F2FS_LINK_MAX): Add.
1749 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
1751 * stdio-common/vfprintf.c: Replace __builtin_expect with
1754 2013-03-06 Joseph Myers <joseph@codesourcery.com>
1757 * sysdeps/generic/bp-sym.h: Remove file.
1758 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
1759 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
1760 <bp-sym.h> and <bp-asm.h>.
1761 (__longjmp): Don't use BP_SYM.
1762 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
1764 (memcpy): Don't use BP_SYM.
1765 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
1766 <bp-sym.h> and <bp-asm.h>.
1767 (memcpy): Don't use BP_SYM.
1768 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
1770 (memcpy): Don't use BP_SYM.
1771 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
1773 (memset): Don't use BP_SYM.
1774 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1775 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1776 (__bzero): Don't use BP_SYM.
1777 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1778 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1779 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
1780 <bp-sym.h> and <bp-asm.h>.
1781 (memcmp): Don't use BP_SYM. Remove comment about bounded
1783 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
1784 <bp-sym.h> and <bp-asm.h>.
1785 (memcpy): Don't use BP_SYM.
1786 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
1787 <bp-sym.h> and <bp-asm.h>.
1788 (memset): Don't use BP_SYM.
1789 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1790 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1791 (__bzero): Don't use BP_SYM.
1792 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1793 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1794 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
1795 <bp-sym.h> and <bp-asm.h>.
1796 (strncmp): Don't use BP_SYM. Remove comment about bounded
1798 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
1799 <bp-sym.h> and <bp-asm.h>.
1800 (memcpy): Don't use BP_SYM.
1801 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
1802 <bp-sym.h> and <bp-asm.h>.
1803 (memset): Don't use BP_SYM.
1804 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1805 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1806 (__bzero): Don't use BP_SYM.
1807 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1808 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1809 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
1810 <bp-sym.h> and <bp-asm.h>.
1811 (__memchr): Don't use BP_SYM.
1812 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
1813 <bp-sym.h> and <bp-asm.h>.
1814 (memcmp): Don't use BP_SYM. Remove comment about bounded
1816 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
1817 <bp-sym.h> and <bp-asm.h>.
1818 (memcpy): Don't use BP_SYM.
1819 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
1820 <bp-sym.h> and <bp-asm.h>.
1821 (__mempcpy): Don't use BP_SYM.
1822 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
1823 <bp-sym.h> and <bp-asm.h>.
1824 (__memrchr): Don't use BP_SYM.
1825 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
1826 <bp-sym.h> and <bp-asm.h>.
1827 (memset): Don't use BP_SYM.
1828 (__bzero): Likewise.
1829 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
1830 <bp-sym.h> and <bp-asm.h>.
1831 (__rawmemchr): Don't use BP_SYM.
1832 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
1833 <bp-sym.h> and <bp-asm.h>.
1834 (__STRCMP): Don't use BP_SYM.
1835 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
1836 <bp-sym.h> and <bp-asm.h>.
1837 (strchr): Don't use BP_SYM.
1838 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
1839 <bp-sym.h> and <bp-asm.h>.
1840 (__strchrnul): Don't use BP_SYM.
1841 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
1842 <bp-sym.h> and <bp-asm.h>.
1843 (strlen): Don't use BP_SYM.
1844 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
1845 <bp-sym.h> and <bp-asm.h>.
1846 (strncmp): Don't use BP_SYM. Remove comment about bounded
1848 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
1849 <bp-sym.h> and <bp-asm.h>.
1850 (__strnlen): Don't use BP_SYM.
1851 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
1852 <bp-sym.h> and <bp-asm.h>.
1853 (__GI__setjmp): Don't use BP_SYM.
1854 (_setjmp): Likewise.
1855 (__sigsetjmp): Likewise.
1856 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
1857 (L(start_addresses)): Don't use BP_SYM.
1859 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
1861 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
1862 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
1863 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1864 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1865 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
1867 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
1868 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
1869 about bounded pointers.
1870 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
1871 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
1872 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
1874 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
1875 about bounded pointers. Remove GKM FIXME comments.
1876 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
1877 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
1879 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
1880 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
1881 Remove GKM FIXME comments.
1882 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1883 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1884 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
1886 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
1887 about bounded pointers. Remove GKM FIXME comment.
1888 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
1890 (strncmp): Don't use BP_SYM. Remove comment about bounded
1892 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
1893 <bp-sym.h> and <bp-asm.h>.
1894 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
1895 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
1896 <bp-sym.h> and <bp-asm.h>.
1897 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
1900 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
1902 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
1905 2013-03-05 David S. Miller <davem@davemloft.net>
1907 * po/es.po: Update from translation team.
1909 2013-03-05 Andreas Jaeger <aj@suse.de>
1911 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
1912 <bits/mman-linux.h>.
1913 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
1915 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
1916 <bits/mman-linux.h> to end of file.
1917 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
1919 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
1920 <bits/mman-linux.h> to end of file.
1921 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
1923 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
1924 <bits/mman-linux.h> to end of file.
1926 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
1927 (MCL_CURRENT, MCL_FUTURE): Define here.
1929 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1932 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
1934 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
1936 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1938 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
1939 fourth parameter needed for rt_sigprocmask syscall.
1940 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
1941 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
1942 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
1943 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
1944 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
1945 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
1947 2013-03-04 Joseph Myers <joseph@codesourcery.com>
1950 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
1951 comment about bounded pointers.
1952 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
1953 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
1955 2013-03-04 Andreas Jaeger <aj@suse.de>
1957 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
1960 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
1961 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
1962 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
1963 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
1964 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
1965 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
1967 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1970 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
1971 __ieee754_sqrl instead of __sqrl.
1973 2013-03-01 Joseph Myers <joseph@codesourcery.com>
1975 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
1976 * sysdeps/powerpc/fpu_control.h: ... here.
1977 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
1978 * sysdeps/powerpc/bits/fenvinline.h: ... here.
1979 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
1980 * sysdeps/powerpc/bits/mathinline.h: ... here.
1982 2013-03-01 Roland McGrath <roland@hack.frob.com>
1984 * elf/dl-hwcaps.c (_dl_important_hwcaps):
1985 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
1986 to just [NEED_DL_SYSINFO_DSO].
1987 * elf/dl-support.c: Likewise.
1988 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
1989 * elf/rtld.c (dl_main): Likewise.
1990 * elf/setup-vdso.h (setup_vdso): Likewise.
1991 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
1992 * sysdeps/unix/sysv/linux/dl-sysdep.c
1993 (_dl_discover_osversion): Likewise.
1995 2013-03-01 Carlos O'Donell <carlos@redhat.com>
1997 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
1998 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
2000 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
2002 * NEWS: Mention libm performance improvements and non-x86 PI
2005 * csu/libc-start.c (__pthread_initialize_minimal): Change
2007 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
2009 2013-02-28 Joseph Myers <joseph@codesourcery.com>
2012 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
2013 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
2014 <bp-sym.h> and <bp-asm.h>.
2015 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
2016 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
2018 (memcpy): Don't use BP_SYM.
2019 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
2021 (__mpn_add_n): Don't use BP_SYM.
2022 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
2023 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
2025 (__mpn_addmul_1): Don't use BP_SYM.
2026 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2027 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
2029 (_setjmp): Don't use BP_SYM.
2030 (__novmx_setjmp): Likewise.
2031 (__GI__setjmp): Likewise.
2032 (__vmx_setjmp): Likewise.
2033 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
2035 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
2036 (__bzero): Don't use BP_SYM.
2037 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
2038 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
2039 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
2040 <bp-sym.h> and <bp-asm.h>.
2041 (memcpy): Don't use BP_SYM.
2042 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
2043 <bp-sym.h> and <bp-asm.h>.
2044 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
2045 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
2046 <bp-sym.h> and <bp-asm.h>.
2047 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
2048 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
2050 (__mpn_lshift): Don't use BP_SYM.
2051 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2052 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
2054 (memset): Don't use BP_SYM.
2055 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
2056 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
2057 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
2059 (__mpn_mul_1): Don't use BP_SYM.
2060 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2061 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
2062 <bp-sym.h> and <bp-asm.h>.
2063 (memcmp): Don't use BP_SYM.
2064 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
2065 <bp-sym.h> and <bp-asm.h>.
2066 (memcpy): Don't use BP_SYM.
2067 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
2068 <bp-sym.h> and <bp-asm.h>.
2069 (memset): Don't use BP_SYM.
2070 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
2071 <bp-sym.h> and <bp-asm.h>.
2072 (strncmp): Don't use BP_SYM.
2073 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
2074 <bp-sym.h> and <bp-asm.h>.
2075 (memcpy): Don't use BP_SYM.
2076 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
2077 <bp-sym.h> and <bp-asm.h>.
2078 (memset): Don't use BP_SYM.
2079 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
2080 <bp-sym.h> and <bp-asm.h>.
2081 (__memchr): Don't use BP_SYM.
2082 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
2083 <bp-sym.h> and <bp-asm.h>.
2084 (memcmp): Don't use BP_SYM.
2085 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
2086 <bp-sym.h> and <bp-asm.h>.
2087 (memcpy): Don't use BP_SYM.
2088 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
2089 <bp-sym.h> and <bp-asm.h>.
2090 (__mempcpy): Don't use BP_SYM.
2091 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
2092 <bp-sym.h> and <bp-asm.h>.
2093 (__memrchr): Don't use BP_SYM.
2094 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
2095 <bp-sym.h> and <bp-asm.h>.
2096 (memset): Don't use BP_SYM.
2097 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
2098 <bp-sym.h> and <bp-asm.h>.
2099 (__rawmemchr): Don't use BP_SYM.
2100 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
2101 <bp-sym.h> and <bp-asm.h>.
2102 (__STRCMP): Don't use BP_SYM.
2103 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
2104 <bp-sym.h> and <bp-asm.h>.
2105 (strchr): Don't use BP_SYM.
2106 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
2107 <bp-sym.h> and <bp-asm.h>.
2108 (__strchrnul): Don't use BP_SYM.
2109 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
2110 <bp-sym.h> and <bp-asm.h>.
2111 (strlen): Don't use BP_SYM.
2112 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
2113 <bp-sym.h> and <bp-asm.h>.
2114 (strncmp): Don't use BP_SYM.
2115 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
2116 <bp-sym.h> and <bp-asm.h>.
2117 (__strnlen): Don't use BP_SYM.
2118 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
2120 (__mpn_rshift): Don't use BP_SYM.
2121 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2122 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
2123 <bp-sym.h> and <bp-asm.h>.
2124 (__sigsetjmp): Don't use BP_SYM.
2125 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
2126 (L(start_addresses)): Don't use BP_SYM.
2128 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
2130 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
2131 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
2132 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
2133 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
2135 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
2136 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
2137 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
2138 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
2140 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
2142 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
2143 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
2145 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
2147 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
2148 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
2149 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
2151 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
2153 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
2155 (strncmp): Don't use BP_SYM,
2156 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
2158 (__mpn_sub_n): Don't use BP_SYM.
2159 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2160 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
2162 (__mpn_submul_1): Don't use BP_SYM.
2163 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2164 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
2165 <bp-sym.h> and <bp-asm.h>.
2166 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
2167 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
2168 <bp-sym.h> and <bp-asm.h>.
2169 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
2172 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2174 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
2175 Use ZK to minimize writes to Z.
2176 (sub_magnitudes): Simplify code a bit.
2177 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
2178 Use ZK to minimize writes to Z.
2179 (sub_magnitudes): Simplify code a bit.
2181 2013-02-27 Roland McGrath <roland@hack.frob.com>
2183 * csu/gmon-start.c: Add special exception to license text.
2185 2013-02-27 Richard Henderson <rth@redhat.com>
2187 * scripts/config.guess: Update from config.git.
2188 * scripts/config.sub: Likewise.
2190 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2192 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
2194 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
2196 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
2198 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
2200 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
2202 2013-02-26 Roland McGrath <roland@hack.frob.com>
2204 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
2205 [$(build-shared = yes].
2207 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2209 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
2210 (__mul): Reduce iterations for calculating mantissa.
2212 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
2214 (__mpranred): Likewise.
2217 * malloc/memusagestat.c (main): Draw graphs for heap and stack
2218 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
2220 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
2222 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
2223 Define __attribute__.
2225 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2227 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
2229 * posix/regex_internal.h (__attribute): Remove.
2230 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
2231 (re_string_context_at): Likewise.
2232 (bitset_not): Use __attribute__ and mark function as possibly
2234 (bitset_merge): Likewise.
2235 (bitset_mask): Likewise.
2236 (re_string_char_size_at): Likewise.
2237 (re_string_wchar_at): Likewise.
2238 (re_string_elem_size_at): Likewise.
2240 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
2242 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
2246 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
2251 (__dbl_mp): Likewise.
2252 (add_magnitudes): Likewise.
2253 (sub_magnitudes): Likewise.
2257 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
2260 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
2263 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
2266 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
2267 up changes with default code.
2268 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
2271 2013-02-24 Allan McRae <allan@archlinux.org>
2273 * manual/socket.texi (The Internet Namespace): Order menu items
2274 to match that in the file.
2276 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
2277 node listing of the info page menu.
2279 2013-02-21 Joseph Myers <joseph@codesourcery.com>
2282 * sysdeps/i386/bp-asm.h: Remove file.
2283 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
2284 (PARMS): Do not use macros from bp-asm.h.
2288 (__mpn_add_n): Do not use BP_SYM
2289 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
2291 (PARMS): Do not use macros from bp-asm.h.
2294 (__mpn_addmul_1): Do not use BP_SYM
2295 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
2297 (PARMS): Do not use macros from bp-asm.h.
2299 (_setjmp): Likewise. Do not use BP_SYM.
2300 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
2302 (PARMS): Do not use macros from bp-asm.h.
2304 (setjmp): Likewise. Do not use BP_SYM.
2305 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
2307 (PARMS): Do not use macros from bp-asm.h.
2308 (__frexp): Do not use BP_SYM.
2310 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
2312 (PARMS): Do not use macros from bp-asm.h.
2313 (__frexpf): Do not use BP_SYM.
2315 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
2317 (PARMS): Do not use macros from bp-asm.h.
2318 (__frexpl): Do not use BP_SYM.
2320 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
2322 (PARMS): Do not use macros from bp-asm.h.
2323 (__remquo): Do not use BP_SYM.
2325 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
2327 (PARMS): Do not use macros from bp-asm.h.
2328 (__remquof): Do not use BP_SYM.
2329 (remquof): Likewise.
2330 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
2332 (PARMS): Do not use macros from bp-asm.h.
2333 (__remquol): Do not use BP_SYM.
2334 (remquol): Likewise.
2335 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
2337 (PARMS): Do not use macros from bp-asm.h.
2340 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
2341 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
2343 (PARMS): Do not use macros from bp-asm.h.
2344 (strlen): Do not use BP_SYM.
2345 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
2347 (PARMS): Do not use macros from bp-asm.h.
2351 (__mpn_add_n): Do not use BP_SYM.
2352 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
2354 (PARMS): Do not use macros from bp-asm.h.
2357 (__mpn_addmul_1): Do not use BP_SYM.
2358 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
2361 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
2363 (PARMS): Do not use macros from bp-asm.h.
2366 (__mpn_lshift): Do not use BP_SYM.
2367 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
2369 (PARMS): Do not use macros from bp-asm.h.
2373 (memcpy): Likewise. Do not use BP_SYM.
2374 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
2375 libc_hidden_def and weak_alias.
2376 (mempcpy): Do not use BP_SYM in weak_alias.
2377 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
2379 (PARMS): Do not use macros from bp-asm.h.
2382 [!BZERO_P] (CHR): Likewise.
2383 (memset): Likewise. Do not use BP_SYM.
2384 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
2386 (PARMS): Do not use macros from bp-asm.h.
2389 (__mpn_mul_1): Do not use BP_SYM.
2390 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
2392 (PARMS): Do not use macros from bp-asm.h.
2395 (__mpn_rshift): Do not use BP_SYM.
2396 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
2398 (PARMS): Do not use macros from bp-asm.h.
2401 (strchr): Likewise. Do not use BP_SYM.
2402 (index): Do not use BP_SYM in weak_alias.
2403 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
2405 (PARMS): Do not use macros from bp-asm.h.
2408 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
2409 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
2411 (PARMS): Do not use macros from bp-asm.h.
2412 (strlen): Do not use BP_SYM.
2413 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
2415 (PARMS): Do not use macros from bp-asm.h.
2419 (__mpn_sub_n): Do not use BP_SYM.
2420 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
2422 (PARMS): Do not use macros from bp-asm.h.
2425 (__mpn_submul_1): Do not use BP_SYM.
2426 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
2428 (PARMS): Do not use macros from bp-asm.h.
2432 (__mpn_add_n): Do not use BP_SYM.
2433 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
2436 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
2438 (PARMS): Do not use macros from bp-asm.h.
2441 (memcmp): Do not use BP_SYM.
2442 (bcmp): Do not use BP_SYM in weak_alias.
2443 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
2445 (PARMS): Do not use macros from bp-asm.h.
2449 (memcpy): Likewise. Do not use BP_SYM.
2450 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
2452 (PARMS): Do not use macros from bp-asm.h.
2456 (memmove): Likewise. Do not use BP_SYM.
2457 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
2459 (PARMS): Do not use macros from bp-asm.h.
2463 (__mempcpy): Likewise. Do not use BP_SYM.
2464 (mempcpy): Do not use BP_SYM in weak_alias.
2465 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
2467 (PARMS): Do not use macros from bp-asm.h.
2470 [!BZERO_P] (CHR): Likewise.
2471 (memset): Likewise. Do not use BP_SYM.
2472 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
2474 (PARMS): Do not use macros from bp-asm.h.
2476 (strcmp): Do not use BP_SYM.
2477 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
2479 (PARMS): Do not use macros from bp-asm.h.
2482 [USE_AS_STRTOK_R] (SAVE): Likewise.
2483 (FUNCTION): Likewise. Do not use BP_SYM.
2484 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
2486 (strtok_r): Likewise.
2487 (__GI___strtok_r): Likewise.
2488 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
2489 (PARMS): Do not use macros from bp-asm.h.
2492 (__mpn_lshift): Do not use BP_SYM.
2493 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
2494 (PARMS): Do not use macros from bp-asm.h.
2497 (__memchr): Do not use BP_SYM.
2498 (memchr): Do not use BP_SYM in weak_alias.
2499 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
2500 (PARMS): Do not use macros from bp-asm.h.
2503 (memcmp): Do not use BP_SYM.
2504 (bcmp): Do not use BP_SYM in weak_alias.
2505 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
2506 (PARMS): Do not use macros from bp-asm.h.
2509 (__mpn_mul_1): Do not use BP_SYM.
2510 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
2512 (PARMS): Do not use macros from bp-asm.h.
2515 (__rawmemchr): Do not use BP_SYM.
2516 (rawmemchr): Do not use BP_SYM in weak_alias.
2517 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
2518 (PARMS): Do not use macros from bp-asm.h.
2521 (__mpn_rshift): Do not use BP_SYM.
2522 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
2523 (PARMS): Do not use macros from bp-asm.h.
2525 (__sigsetjmp): Likewise. Do not use BP_SYM.
2526 * sysdeps/i386/start.S: Do not include "bp-sym.h".
2527 (_start): Do not use BP_SYM.
2528 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
2529 (PARMS): Do not use macros from bp-asm.h.
2532 (__stpcpy): Likewise. Do not use BP_SYM.
2533 (stpcpy): Do not use BP_SYM in weak_alias.
2534 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
2536 (PARMS): Do not use macros from bp-asm.h.
2540 (__stpncpy): Likewise. Do not use BP_SYM.
2541 (stpncpy): Do not use BP_SYM in weak_alias.
2542 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
2543 (PARMS): Do not use macros from bp-asm.h.
2546 (strchr): Likewise. Do not use BP_SYM.
2547 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
2549 (PARMS): Do not use macros from bp-asm.h.
2552 (__strchrnul): Likewise. Do not use BP_SYM.
2553 (strchrnul): Do not use BP_SYM in weak_alias.
2554 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
2556 (PARMS): Do not use macros from bp-asm.h.
2558 (strcspn): Do not use BP_SYM.
2559 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
2561 (PARMS): Do not use macros from bp-asm.h.
2564 (strpbrk): Likewise. Do not use BP_SYM.
2565 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
2567 (PARMS): Do not use macros from bp-asm.h.
2570 (strrchr): Likewise. Do not use BP_SYM.
2571 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
2572 (PARMS): Do not use macros from bp-asm.h.
2574 (strspn): Do not use BP_SYM.
2575 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
2576 (PARMS): Do not use macros from bp-asm.h.
2580 (FUNCTION): Likewise. Do not use BP_SYM.
2581 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
2583 (strtok_r): Likewise.
2584 (__GI___strtok_r): Likewise.
2585 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
2586 (PARMS): Do not use macros from bp-asm.h.
2590 (__mpn_sub_n): Do not use BP_SYM.
2591 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
2593 (PARMS): Do not use macros from bp-asm.h.
2596 (__mpn_submul_1): Do not use BP_SYM.
2597 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
2599 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
2601 (PARMS): Do not use macros from bp-asm.h.
2606 (__clone): Do not use BP_SYM.
2607 (clone): Do not use BP_SYM in weak_alias.
2608 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
2610 (PARMS): Do not use macros from bp-asm.h.
2612 (__mmap64): Do not use BP_SYM.
2613 (mmap64): Do not use BP_SYM in weak_alias.
2614 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
2615 <bp-sym.h> and <bp-asm.h>.
2616 (PARMS): Do not use macros from bp-asm.h.
2617 (__posix_fadvise64_l64): Do not use BP_SYM.
2618 * sysdeps/unix/sysv/linux/i386/semtimedop.S
2619 (PARMS): Do not use macros from bp-asm.h.
2621 (semtimedop): Do not use BP_SYM.
2622 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
2625 2013-02-21 Allan McRae <allan@archlinux.org>
2627 * manual/message.texi (Charset conversion in gettext):
2628 Move @end statement to beginning of line.
2630 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2632 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
2634 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
2637 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
2639 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
2640 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
2642 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2644 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
2645 tail-call to the resolved function if pltexit isn't needed.
2647 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2649 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
2650 or Y being zero as being unlikely.
2651 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
2654 2013-02-20 Carlos O'Donell <carlos@redhat.com>
2656 * manual/nss.texi (System Databases and Name Service Switch):
2657 Remove frobnicate @pxref.
2659 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
2661 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
2662 __attribute__ ((unused)) to __attribute__ ((__unused__)).
2664 2013-02-20 Petr Machata <pmachata@redhat.com>
2666 * elf/elf.h (R_ARM_TARGET1): New macro.
2667 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
2668 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
2669 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
2670 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
2671 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
2672 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
2673 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
2674 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
2675 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
2676 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
2677 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
2678 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
2679 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
2680 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
2681 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
2682 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
2683 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
2684 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
2685 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
2686 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
2687 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
2688 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
2689 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
2690 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
2691 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
2692 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
2693 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
2694 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
2695 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
2696 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
2697 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
2698 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
2699 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
2700 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
2701 (R_ARM_THM_GOT_BREL12): Likewise.
2702 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
2703 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
2704 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
2705 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
2706 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
2707 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
2708 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
2709 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
2710 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
2712 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
2714 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
2715 __attribute_used__ to __attribute__ ((unused)).
2717 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
2719 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
2721 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
2723 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
2725 2013-02-19 Joseph Myers <joseph@codesourcery.com>
2728 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
2730 (ENTER): Remove both macro definitions.
2732 (CHECK_BOUNDS_LOW): Likewise.
2733 (CHECK_BOUNDS_HIGH): Likewise.
2734 (CHECK_BOUNDS_BOTH): Likewise.
2735 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
2736 (RETURN_BOUNDED_POINTER): Likewise.
2737 (RETURN_NULL_BOUNDED_POINTER): Likewise.
2738 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
2739 (POP_ERRNO_LOCATION_RETURN): Likewise.
2740 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
2741 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2742 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
2744 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2745 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
2746 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
2747 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
2748 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
2749 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
2750 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
2751 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
2752 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
2753 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
2754 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
2755 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
2756 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2757 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
2759 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2760 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
2762 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2763 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
2764 * sysdeps/i386/i586/memset.S (memset): Likewise.
2765 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
2766 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2767 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
2769 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2770 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
2771 Change uses of L(2) to L(out).
2772 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
2773 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
2774 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
2775 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2776 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
2778 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2779 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
2781 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2782 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
2783 (RETURN): Do not use macro LEAVE.
2784 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
2785 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
2786 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
2787 * sysdeps/i386/i686/memset.S (memset): Likewise.
2788 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
2789 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
2790 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
2791 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
2793 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
2794 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
2795 L(1_2) and L(1_3) into L(1).
2796 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
2797 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
2798 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2799 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
2800 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
2801 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
2802 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
2803 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2804 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
2806 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
2807 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2808 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
2809 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
2810 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
2811 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
2812 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
2813 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
2814 * sysdeps/i386/strcspn.S (strcspn): Likewise.
2815 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
2816 * sysdeps/i386/strrchr.S (strrchr): Likewise.
2817 * sysdeps/i386/strspn.S (strspn): Likewise.
2818 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
2820 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
2821 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
2822 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
2823 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
2825 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
2826 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2827 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
2829 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2831 2013-02-19 Jakub Jelinek <jakub@redhat.com>
2833 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
2836 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2838 * math/atest-exp.c (exp_mpn): Remove ROUND.
2839 * math/atest-exp2.c (exp_mpn): Likewise.
2840 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
2842 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
2843 * stdlib/tst-tls-atexit-lib.c: Likewise.
2844 * stdlib/tst-tls-atexit.c: Likewise.
2846 2013-02-18 Mike Frysinger <vapier@gentoo.org>
2848 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
2849 and __attribute_alloc_size__.
2851 2013-02-18 Mike Frysinger <vapier@gentoo.org>
2853 * include/programs/xmalloc.h: Change __attribute_alloc_size to
2854 __attribute_alloc_size__.
2855 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
2856 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
2858 2013-02-18 Mike Frysinger <vapier@gentoo.org>
2860 * include/programs/xmalloc.h: New file.
2861 * catgets/gencat.c: Include it.
2862 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
2863 * elf/pldd.c: Likewise.
2864 * iconv/iconv_charmap.c: Likewise.
2865 * iconv/iconvconfig.c: Likewise.
2866 * iconv/strtab.c: Likewise.
2867 * locale/programs/locale.c: Likewise.
2868 * locale/programs/localedef.h: Likewise.
2869 * locale/programs/simple-hash.c: Likewise.
2870 * nscd/nscd.h: Likewise.
2871 * nss/makedb.c: Likewise.
2872 * sysdeps/generic/ldconfig.h: Likewise.
2874 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
2876 * Versions.def: Add GLIBC_2.18.
2877 * include/link.h (struct link_map): New member l_tls_dtor_count.
2878 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
2879 (__call_tls_dtors): Likewise.
2880 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
2881 __cxa_thread_atexit_impl.
2882 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2884 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2886 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
2888 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
2890 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
2891 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
2893 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
2895 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
2896 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
2898 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
2899 (tests): Add test case tst-tls-atexit.
2900 (modules-names): Add shared library for tst-tls-atexit.
2901 * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
2902 (GLIBC_PRIVATE): Add __call_tls_dtors.
2903 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
2905 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
2906 * stdlib/tst-tls-atexit.c: New test case.
2907 * stdlib/tst-tls-atexit-lib.c: New test case.
2909 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
2911 * elf/Versions (ld): Add _dl_find_dso_for_object.
2912 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
2913 * elf/dl-open.c (_dl_find_dso_for_object): New function.
2914 (dl_open_worker): Use _dl_find_dso_for_object.
2915 * elf/dl-sym.c (do_sym): Likewise.
2916 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
2918 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2920 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
2921 Syntactic changes only.
2922 (_dl_runtime_profile): Do a tail-call to the resolved function.
2924 2013-02-17 Joseph Myers <joseph@codesourcery.com>
2927 * sysdeps/x86_64/bp-asm.h: Remove file.
2928 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
2929 <bp-sym.h> and <bp-asm.h>.
2930 (__clone): Do not use BP_SYM.
2931 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
2932 <bp-sym.h> and <bp-asm.h>.
2933 * sysdeps/unix/x86_64/sysdep.S: Likewise.
2934 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
2936 (_setjmp): Do not use BP_SYM.
2937 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
2939 (setjmp): Do not use BP_SYM.
2940 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
2942 (mempcpy): Do not use BP_SYM in weak_alias.
2943 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
2945 (strchr): Do not use BP_SYM.
2946 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
2948 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
2949 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
2950 (_start): Do not use BP_SYM.
2951 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
2953 (strcat): Do not use BP_SYM.
2954 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
2956 (STRCMP): Do not use BP_SYM.
2957 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
2959 (STRCPY): Do not use BP_SYM.
2960 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
2962 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
2964 (FUNCTION): Do not use BP_SYM.
2965 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
2967 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
2969 2013-02-17 Andreas Jaeger <aj@suse.de>
2971 * time/Versions: Sort entries.
2972 * string/Versions: Likewise.
2973 * resolv/Versions: Likewise.
2974 * posix/Versions: Likewise.
2975 * iconv/Versions: Likewise.
2976 * elf/Versions: Likewise.
2977 * wcsmbs/Versions: Likewise.
2979 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2981 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
2982 loop termination condition.
2984 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
2985 variable to calculate EZ.
2988 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
2989 the lower precision input.
2991 2013-02-15 Joseph Myers <joseph@codesourcery.com>
2994 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
2995 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
2996 (run-via-rtld-prefix): Do not handle %-bp tests.
2997 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
2998 (all-object-suffixes): Remove .ob.
2999 (bppfx): Remove variable.
3000 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
3001 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
3002 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
3003 [$(build-bounded) = yes] (libtype.ob): Likewise.
3004 * Makerules (elide-routines.ob): Remove variable.
3005 (do-tests-clean): Do not handle *-bp.out.
3006 (common-mostlyclean): Do not handle *-bp and *-bp.out.
3007 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
3008 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
3009 (tests): Do not include $(tests-bp.out).
3010 (xtests): Do not include $(xtests-bp.out).
3011 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
3012 [$(build-bounded) = yes] ($(addprefix
3013 $(objpfx),$(binaries-bounded))): Remove rule.
3014 ($(objpfx)%-bp.out): Remove rule.
3015 * config.make.in (build-bounded): Remove variable.
3016 * crypt/Makefile [$(build-bounded) = yes]
3017 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
3018 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
3020 [$(build-bounded) = yes] (install-lib): Likewise.
3021 [$(build-bounded) = yes] (generated): Likewise.
3022 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
3024 * intl/Makefile [$(build-bounded) = yes]
3025 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
3026 * math/Makefile [$(build-bounded) = yes]
3027 ($(tests:%=$(objpfx)%-bp): Likewise.
3028 * misc/Makefile [$(build-bounded) = yes]
3029 ($(objpfx)tst-tsearch-bp): Likewise.
3030 * nptl/Makeconfig (bounded-thread-library): Remove variable.
3031 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
3033 * string/Makefile (o-objects.ob): Remove variable.
3034 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
3035 (CFLAGS-.ob): Remove variable.
3036 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
3037 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
3038 both definitions of variable.
3039 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
3040 (ASFLAGS-.ob): Remove variable.
3042 2013-02-14 Joseph Myers <joseph@codesourcery.com>
3045 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
3046 Remove __BOUNDED_POINTERS__ from condition.
3047 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
3048 * string/bits/string2.h [!__NO_STRING_INLINES &&
3049 !__BOUNDED_POINTERS__]: Likewise.
3050 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
3052 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
3053 Remove conditional code.
3054 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
3055 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
3056 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
3060 * csu/libc-start.c: Do not include <bp-sym.h>.
3061 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
3062 * elf/dl-open.c: Do not include <bp-sym.h>.
3063 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
3064 * math/fegetenv.c: Do not include <bp-sym.h>.
3065 (fegetenv): Do not use BP_SYM in versioned symbols.
3066 * nptl/sysdeps/pthread/bits/libc-lockP.h
3067 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
3069 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3070 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
3071 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3072 (__pthread_mutex_destroy): Likewise.
3073 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3074 (__pthread_mutex_lock): Likewise.
3075 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3076 (__pthread_mutex_trylock): Likewise.
3077 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3078 (__pthread_mutex_unlock): Likewise.
3079 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3080 (__pthread_mutexattr_init): Likewise.
3081 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3082 (__pthread_mutexattr_destroy): Likewise.
3083 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3084 (__pthread_mutexattr_settype): Likewise.
3085 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3086 (__pthread_rwlock_init): Likewise.
3087 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3088 (__pthread_rwlock_destroy): Likewise.
3089 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3090 (__pthread_rwlock_rdlock): Likewise.
3091 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3092 (__pthread_rwlock_tryrdlock): Likewise.
3093 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3094 (__pthread_rwlock_wrlock): Likewise.
3095 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3096 (__pthread_rwlock_trywrlock): Likewise.
3097 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3098 (__pthread_rwlock_unlock): Likewise.
3099 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3100 (__pthread_key_create): Likewise.
3101 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3102 (__pthread_setspecific): Likewise.
3103 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3104 (__pthread_getspecific): Likewise.
3105 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
3107 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3108 (_pthread_cleanup_push_defer): Likewise.
3109 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3110 (_pthread_cleanup_pop_restore): Likewise.
3111 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3112 (pthread_setcancelstate): Likewise.
3113 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
3115 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
3116 (memchr): Do not use BP_SYM in weak_alias.
3117 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
3118 (fegetenv): Do not use BP_SYM in versioned symbols.
3119 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
3120 (fesetenv): Do not use BP_SYM in versioned symbols.
3121 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
3122 (feupdateenv): Do not use BP_SYM in versioned symbols.
3123 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
3124 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
3125 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
3126 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
3127 (open64): Do not use BP_SYM in weak_alias.
3128 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
3129 (fegetenv): Do not use BP_SYM in versioned symbols.
3130 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
3131 (fesetenv): Do not use BP_SYM in versioned symbols.
3132 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
3133 (feupdateenv): Do not use BP_SYM in versioned symbols.
3134 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
3135 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
3136 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
3137 (feraiseexcept): Do not use BP_SYM in versioned symbols.
3138 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
3139 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
3140 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
3142 (__libc_start_main): Do not use BP_SYM.
3144 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
3146 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
3147 redundant return line.
3151 (sub_magnitudes): Likewise.
3157 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
3161 (sub_magnitudes): Likewise.
3168 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
3170 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
3171 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
3174 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
3175 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
3176 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
3177 of __mul for squares.
3178 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
3180 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
3182 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
3183 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
3185 2013-02-13 Joseph Myers <joseph@codesourcery.com>
3188 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
3190 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
3191 prototype or function definition. Rename ubp_* variables and
3192 parameters. Remove argv definitions conditional on
3193 [__BOUNDED_POINTERS__].
3194 * debug/backtrace.c (__backtrace): Do not use __unbounded.
3195 * elf/dl-runtime.c (_dl_fixup): Likewise.
3196 * include/set-hooks.h (RUN_HOOK): Likewise.
3197 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
3199 * string/strcpy.c (strcpy): Do not use __unbounded.
3200 * sysdeps/generic/frame.h (struct layout): Likewise.
3201 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
3202 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
3203 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
3204 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
3205 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
3206 (__backtrace): Likewise.
3207 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
3209 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
3210 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
3211 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
3213 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
3214 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
3215 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
3216 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
3217 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
3218 Do not use __unbounded.
3219 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
3220 Rename __unboundedrlimits parameter to rlimits in prototype.
3221 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
3222 Do not use __unbounded.
3223 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
3225 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
3226 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
3227 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
3228 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
3229 __ptrvalue or __unbounded.
3230 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
3231 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
3233 (__new_msgctl): Do not use __ptrvalue.
3234 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
3236 (__libc_msgrcv): Do not use __ptrvalue.
3237 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
3238 startup_info): Do not use __unbounded.
3239 (__libc_start_main): Likewise. Rename ubp_* variables and
3240 parameters. Remove argv definitions conditional on
3241 [__BOUNDED_POINTERS__].
3242 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
3244 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
3246 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
3248 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
3250 (__new_shmctl): Do not use __ptrvalue.
3251 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
3252 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
3254 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
3255 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
3256 (__libc_sigaction): Likewise.
3257 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
3258 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
3260 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
3262 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
3264 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
3266 * string/mempcpy.c: Implement by calling memcpy.
3268 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
3270 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
3272 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
3275 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
3276 values in the mantissa.
3278 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
3279 minimize writes to Z.
3280 (sub_magnitudes): Simplify code a bit.
3282 2013-02-12 Roland McGrath <roland@hack.frob.com>
3284 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
3285 from the message. The linker prefixes all warnings with that already.
3287 2013-02-12 Andreas Schwab <schwab@suse.de>
3290 * posix/regexec.c (extend_buffers): Add parameter min_len.
3291 (check_matching): Pass minimum needed length.
3292 (clean_state_log_if_needed): Likewise.
3293 (get_subexp): Likewise.
3294 * posix/Makefile (tests): Add bug-regex34.
3295 (bug-regex34-ENV): Define.
3296 * posix/bug-regex34.c: New file.
3299 * posix/regcomp.c (parse_bracket_exp): When looking up collating
3300 elements compare against the byte sequence of it, not its name.
3301 * posix/Makefile (tests): Add bug-regex35.
3302 (bug-regex35-ENV): Define.
3303 * posix/bug-regex35.c: New file.
3305 2013-02-11 Tom de Vries <tom@codesourcery.com>
3307 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
3309 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
3310 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
3311 (CHECK_EOL): Add undef.
3313 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
3315 * bits/stdlib-bsearch.h: New file.
3316 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
3317 * stdlib/stdlib.h: Likewise.
3319 2013-02-11 Roland McGrath <roland@hack.frob.com>
3321 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
3322 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
3324 * manual/search.texi (Array Search Function): Add missing const in
3326 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
3327 declaration to use rlim_t.
3328 (Basic Scheduling Functions): Remove erroneous const from
3329 sched_getparam prototype. Remove erroneous * from
3330 sched_get_priority_max and sched_get_priority_min prototypes.
3331 (Resource Usage): Fix summary @comment on vtimes to refer to
3332 sys/vtimes.h rather than vtimes.h.
3333 Add missing *s in vtimes prototype.
3334 (Limits on Resources): Fix ulimit prototype to return long int.
3335 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
3336 prototypes to use long int rather than double.
3337 (BSD Random): Fix initstate and setstate to use char *, not void *.
3338 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
3339 prototype to make second argument 'struct aiocb64 *const[]'.
3340 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
3341 (Status of AIO Operations): Remove erroneous const in aio_return and
3342 aio_return64 prototypes.
3343 (Synchronizing I/O): Fix sync prototype to return void.
3344 * manual/startup.texi (Suboptions): Remove an erroneous const in
3345 getsubopt prototype.
3346 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
3347 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
3348 use size_t rather than int.
3349 (Scanning All Users): Likewise for getpwent_r.
3350 (Setting Groups): Add missing const to setgroups prototype.
3351 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
3352 * manual/socket.texi (Host Names): Fix gethostbyaddr and
3353 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
3354 'const void *' rather than 'const char *'.
3355 (Host Address Functions): Likewise for inet_ntop.
3356 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
3357 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
3358 ssize_t for return value.
3359 (Sending Data): Likewise for send, sendto, sendmsg.
3360 (Socket Option Functions): Add a missing const in setsockopt prototype.
3361 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
3362 use wchar_t for the argument.
3363 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
3364 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
3366 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
3367 double/float/long double for second argument.
3368 Fix return types of significand, significandf, significandl.
3369 * manual/filesys.texi (Setting Permissions): Use mode_t for second
3370 argument in fchmod prototype.
3371 (File Owner): Use uid_t and gid_t in fchown prototype.
3372 (File Times): Add const to utimes, futimes, and lutimes prototypes.
3373 (Making Special Files): Use mode_t and dev_t in mknod prototype.
3374 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
3375 use 'const struct dirent **' as argument types to CMP function pointer
3377 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
3378 (File Times): Fix summary magic @comment for struct utimbuf and utime
3379 to refer to utime.h, not time.h.
3380 * manual/string.texi (Argz Functions): Add missing const in
3381 argz_extract and argz_next prototypes.
3382 (Finding Tokens in a String): Likewise for basename.
3383 (String/Array Comparison): Fix typo in wcscasecmp prototype.
3384 (Copying and Concatenation): Fix typo in wmemmove prototype.
3385 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
3386 (Signal Stack): Remove erroneous const in sigstack prototype.
3387 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
3389 (Simple Calendar Time): Likewise for stime.
3390 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
3392 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
3393 say sys/sysctl.h instead.
3394 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
3395 and vsyslog prototypes.
3397 2013-02-11 Tom de Vries <tom@codesourcery.com>
3399 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
3402 2013-02-11 Roland McGrath <roland@hack.frob.com>
3404 * misc/sys/mman.h: Fix typo in mremap comment.
3406 2013-02-08 Roland McGrath <roland@hack.frob.com>
3408 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
3409 the '\0' terminator.
3411 2013-02-08 Joseph Myers <joseph@codesourcery.com>
3414 * debug/segfault.c: Don't include <bp-checks.h>.
3415 * sysdeps/generic/bp-checks.h: Remove file.
3416 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
3417 (__GETDENTS): Don't use CHECK_N.
3418 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
3419 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
3420 (__getgroups): Don't use CHECK_N.
3421 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
3422 (setgroups): Don't use CHECK_N.
3423 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
3424 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
3425 (__libc_msgrcv): Don't use CHECK_N.
3426 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
3427 (__libc_msgsnd): Don't use CHECK_N.
3428 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
3430 (__libc_pread): Don't use CHECK_N.
3431 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
3432 include <bp-checks.h>.
3433 (__libc_pread64): Don't use CHECK_N.
3434 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
3435 include <bp-checks.h>.
3436 (__libc_pwrite): Don't use CHECK_N.
3437 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
3438 include <bp-checks.h>.
3439 (__libc_pwrite64): Don't use CHECK_N.
3440 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
3442 (__libc_pread): Don't use CHECK_N.
3443 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
3444 include <bp-checks.h>.
3445 (__libc_pread64): Don't use CHECK_N.
3446 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
3447 include <bp-checks.h>.
3448 (__libc_pwrite): Don't use CHECK_N.
3449 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
3450 include <bp-checks.h>.
3451 (__libc_pwrite64): Don't use CHECK_N.
3452 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
3453 (do_pread): Don't use CHECK_N.
3454 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
3455 (do_pread64): Don't use CHECK_N.
3456 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
3457 (do_pwrite): Don't use CHECK_N.
3458 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
3459 (do_pwrite64): Don't use CHECK_N.
3460 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
3461 (__libc_readv): Don't use CHECK_N.
3462 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
3463 (semop): Don't use CHECK_N.
3464 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
3466 (semtimedop): Don't use CHECK_N.
3467 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
3468 (__libc_pread): Don't use CHECK_N.
3469 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
3471 (__libc_pread64): Don't use CHECK_N.
3472 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
3474 (__libc_pwrite): Don't use CHECK_N.
3475 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
3477 (__libc_pwrite64): Don't use CHECK_N.
3478 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
3480 (__libc_msgrcv): Don't use CHECK_N.
3481 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
3482 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
3483 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
3484 (__libc_writev): Don't use CHECK_N.
3486 2013-02-08 Roland McGrath <roland@hack.frob.com>
3488 * string/strcpy.c: Removed unused variable.
3490 * Makeconfig (+sysdep-includes): Define with := rather than =.
3491 Use an existing include/ subdir of each sysdeps dir before it.
3493 2013-02-08 Carlos O'Donell <carlos@redhat.com>
3495 * nscd/connection.c (register_traced_file): Comment function.
3496 [HAVE_INOTIFY] (union __inev): Define.
3497 [HAVE_INOTIFY] (inotify_check_files): New function.
3498 [HAVE_INOTIFY] (clear_db_cache): Likewise.
3499 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
3501 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
3503 2013-02-08 Carlos O'Donell <carlos@redhat.com>
3505 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
3506 loaded if not already and that a failure is permanent.
3508 2013-02-08 Carlos O'Donell <carlos@redhat.com>
3511 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
3512 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
3514 2013-02-08 Joseph Myers <joseph@codesourcery.com>
3517 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
3518 (CHECK_1_NULL_OK): Likewise.
3519 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
3520 (__fxstat): Do not use CHECK_1.
3521 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
3523 (___fxstat64): Do not use CHECK_1.
3524 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
3526 (__fxstatat): Do not use CHECK_1.
3527 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
3529 (__fxstatat64): Do not use CHECK_1.
3530 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
3532 (__fxstat): Do not use CHECK_1.
3533 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
3535 (__fxstatat): Do not use CHECK_1.
3536 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
3538 (__getresgid): Do not use CHECK_1.
3539 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
3541 (__getresuid): Do not use CHECK_1.
3542 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
3544 (__lxstat): Do not use CHECK_1.
3545 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
3547 (__old_msgctl): Do not use CHECK_1.
3548 (__new_msgctl): Likewise.
3549 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
3551 (__new_setrlimit): Do not use CHECK_1.
3552 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
3554 (__old_shmctl): Do not use CHECK_1.
3555 (__new_shmctl): Likewise.
3556 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
3558 (__xstat): Do not use CHECK_1.
3559 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
3560 (__lxstat): Do not use CHECK_1.
3561 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
3563 (___lxstat64): Do not use CHECK_1.
3564 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
3565 (__old_msgctl): Do not use CHECK_1.
3566 (__new_msgctl): Likewise.
3567 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
3569 (__gettimeofday): Do not use CHECK_1.
3570 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
3571 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
3572 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
3574 (__gettimeofday): Do not use CHECK_1.
3575 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
3576 (__old_shmctl): Do not use CHECK_1_NULL_OK.
3577 (__new_shmctl): Do not use CHECK_1.
3578 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
3580 (do_sigtimedwait): Do not use CHECK_1.
3581 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
3583 (do_sigwaitinfo): Do not use CHECK_1.
3584 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
3586 (msgctl): Do not use CHECK_1.
3587 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
3589 (shmctl): Do not use CHECK_1.
3590 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
3591 (ustat): Do not use CHECK_1.
3592 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
3594 (__fxstat): Do not use CHECK_1.
3595 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
3597 (__fxstatat): Do not use CHECK_1.
3598 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
3600 (__lxstat): Do not use CHECK_1.
3601 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
3603 (__xstat): Do not use CHECK_1.
3604 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
3605 (__xstat): Do not use CHECK_1.
3606 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
3607 (___xstat64): Do not use CHECK_1.
3610 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
3612 (CHECK_BOUNDS_HIGH): Likewise.
3613 * string/strcpy.c: Do not include <bp-checks.h>.
3614 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
3616 2013-02-07 Roland McGrath <roland@hack.frob.com>
3618 * nscd/nscd-client.h (__nscd_drop_map_ref):
3619 Add __attribute__ ((unused)).
3620 * nis/nss-nisplus.h (niserr2nss): Likewise.
3622 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
3623 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
3625 * csu/libc-tls.c (init_static_tls, init_slotinfo):
3626 Remove inline keyword.
3627 * include/rounding-mode.h (round_away): Likewise.
3628 * libio/wfileops.c (adjust_wide_data): Likewise.
3629 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
3630 (__m128i_strloadu_tolower): Likewise.
3631 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
3632 (__m128i_strloadu_tolower): Likewise.
3633 * time/mktime.c (ydhms_diff): Likewise.
3634 * locale/elem-hash.h (elem_hash): Likewise.
3635 * locale/setlocale.c (setdata): Likewise.
3636 * posix/regex_internal.h (re_string_char_size_at): Likewise.
3637 (re_string_wchar_at): Likewise.
3638 (bitset_not, bitset_merge, bitset_mask): Likewise.
3639 [!(__GNUC__ > 3)] (inline): Remove macro.
3640 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
3641 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
3642 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
3643 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
3644 * string/memcmp.c (memcmp_bytes): Likewise.
3645 * locale/programs/locarchive.c (compute_hashval): Likewise.
3646 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
3647 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
3648 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
3649 * nss/getent.c (print_rpc, print_protocols): Likewise.
3650 (print_passwd, print_group, print_aliases): Likewise.
3651 * nis/nss-nisplus.h (niserr2nss): Likewise.
3652 * nscd/connections.c (restart_p): Likewise.
3653 Change return type to bool.
3655 2013-02-05 Roland McGrath <roland@hack.frob.com>
3657 * Makeconfig (all-Depend-files): Add existing
3658 $(sorted-subdirs:=/Depend) files.
3659 (all-subdirs): Remove nss.
3660 * sysdeps/unix/inet/Subdirs: Add it here instead.
3661 * hesiod/Depend: New file.
3663 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
3664 instead of calling alloca.
3666 * io/lseek.c (__lseek): Rename to __libc_lseek.
3667 Define __lseek as an alias.
3669 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
3671 2013-02-04 Carlos O'Donell <carlos@redhat.com>
3673 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
3674 else clause and remove check for non-standard endianness.
3676 2013-02-04 David S. Miller <davem@davemloft.net>
3678 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3680 2013-02-04 Joseph Myers <joseph@codesourcery.com>
3683 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
3684 (__ubp_memchr): Remove prototype.
3685 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
3686 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
3687 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
3688 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
3689 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
3691 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
3692 (__ubp_memchr): Likewise.
3693 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
3694 (__ubp_memchr): Likewise.
3695 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
3696 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
3697 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
3698 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
3700 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
3701 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
3702 (__getcwd): Do not use CHECK_STRING.
3703 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
3705 (__real_chown): Do not use CHECK_STRING.
3706 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
3708 (fchownat): Do not use CHECK_STRING.
3709 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
3711 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
3713 (__lchown): Do not use CHECK_STRING.
3714 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
3715 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
3716 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
3717 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
3718 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
3719 include <bp-checks.h>.
3720 (truncate64): Do not use CHECK_STRING.
3721 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
3723 (__real_chown): Do not use CHECK_STRING.
3724 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
3726 (__lchown): Do not use CHECK_STRING.
3727 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
3729 (__chown): Do not use CHECK_STRING.
3730 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
3732 (truncate64): Do not use CHECK_STRING.
3733 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
3735 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
3736 (__xmknod): Do not use CHECK_STRING.
3737 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
3739 (__xmknodat): Do not use CHECK_STRING.
3740 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
3741 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
3743 2013-02-04 Andreas Schwab <schwab@suse.de>
3746 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
3747 * include/netdb.h: Likewise for h_errno.
3748 * elf/tst-stackguard1.c: Include <tls.h>.
3750 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3752 * elf/link.h (struct link_map): Extend the l_addr comment.
3753 * include/link.h (struct link_map): Likewise.
3755 2013-02-01 Joseph Myers <joseph@codesourcery.com>
3758 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
3759 (BOUNDED_1): Remove macro.
3760 * debug/backtrace.c: Don't include <bp-checks.h>.
3761 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
3762 (__backtrace): Likewise.
3763 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
3765 (__backtrace): Don't use BOUNDED_1.
3766 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
3768 (__backtrace): Don't use BOUNDED_1.
3769 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
3770 (__backtrace): Don't use BOUNDED_1.
3771 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
3772 (shmat): Don't use BOUNDED_N.
3774 2013-01-31 Joseph Myers <joseph@codesourcery.com>
3777 * sysdeps/generic/bp-start.h: Remove file.
3778 * csu/libc-start.c: Don't include <bp-start.h>.
3779 (LIBC_START_MAIN): Set up __environ directly instead of using
3780 INIT_ARGV_and_ENVIRON.
3781 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
3785 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
3787 (CHECK_FCNTL): Likewise.
3788 (CHECK_N_PAGES): Likewise.
3791 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
3793 (CHECK_SIGSET_NULL_OK): Likewise.
3794 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
3796 (sigpending): Don't use CHECK_SIGSET.
3797 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
3799 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
3800 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
3802 (do_sigsuspend): Don't use CHECK_SIGSET.
3803 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
3805 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
3806 (do_sigwait): Don't use CHECK_SIGSET.
3807 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
3809 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
3810 include <bp-checks.h>.
3811 (sigpending): Don't use CHECK_SIGSET.
3812 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
3813 include <bp-checks.h>.
3814 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
3815 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
3817 (sigpending): Don't use CHECK_SIGSET.
3818 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
3820 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
3823 * sysdeps/generic/bp-semctl.h: Remove file.
3824 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
3825 <bp-checks.h> and <bp-semctl.h>.
3826 (__old_semctl): Don't use CHECK_SEMCTL.
3827 (__new_semctl): Likewise.
3828 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
3830 (__old_semctl): Don't use CHECK_SEMCTL.
3831 (__new_semctl): Likewise.
3832 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
3833 <bp-checks.h> and <bp-semctl.h>.
3834 (__old_semctl): Don't use CHECK_SEMCTL.
3835 (__new_semctl): Likewise.
3836 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
3837 <bp-checks.h> and <bp-semctl.h>.
3838 (semctl): Don't use CHECK_SEMCTL.
3841 * Makerules (elide-bp-thunks): Remove variable.
3842 (elide-routines.oS): Don't use $(elide-bp-thunks).
3843 (elide-routines.os): Likewise.
3844 (elide-routines.o): Likewise.
3845 (elide-routines.op): Likewise.
3846 (elide-routines.og): Likewise.
3847 (objects): Don't use $(bp-thunks).
3848 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
3850 (common-generated): Do not add s-proto-bp.d.
3851 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
3854 Do not generate makefile rules for bounded-pointer thunks.
3855 * sysdeps/generic/bp-thunks.h: Remove file.
3856 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
3857 * sysdeps/unix/s-proto-bp.S: Likewise.
3860 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
3861 parts of result separately when argument is not close to line from
3862 -i to i and one part of argument is small.
3863 * math/k_casinhf.c (__kernel_casinhf): Likewise.
3864 * math/k_casinhl.c (__kernel_casinhl): Likewise.
3865 * math/libm-test.inc (cacos_test): Add more tests.
3866 (casin_test): Likewise.
3867 (casinh_test): Likewise.
3868 * sysdeps/i386/fpu/libm-test-ulps: Update.
3869 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3871 2013-01-31 David S. Miller <davem@davemloft.net>
3873 * po/de.po: Update from translation team.
3875 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
3877 * time/tzfile.c: Include stdint.h for SIZE_MAX.
3879 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
3881 * configure.in (_AC_PROG_CC_C89): New definition.
3882 * configure: Regenerate.
3884 * configure.in (AC_PROG_CPP): New definition.
3885 * configure: Regenerate.
3887 2013-01-23 Joseph Myers <joseph@codesourcery.com>
3889 * debug/tst-backtrace.h: New file.
3890 * debug/tst-backtrace2.c: Include tst-backtrace.h.
3891 (ret): Remove variable.
3893 (FAIL): Remove macro.
3894 (NO_INLINE): Likewise.
3895 (fn1): Use match function instead of strstr.
3896 * debug/tst-backtrace3.c: Include tst-backtrace.h.
3897 (ret): Remove variable.
3899 (FAIL): Remove macro.
3900 (NO_INLINE): Likewise.
3901 (fn): Use match function instead of strstr.
3902 * debug/tst-backtrace4.c: Include tst-backtrace.h.
3903 (ret): Remove variable.
3905 (FAIL): Remove macro.
3906 (NO_INLINE): Likewise.
3907 (handle_signal): Use match function instead of strstr.
3908 * debug/tst-backtrace5.c: Include tst-backtrace.h.
3909 (ret): Remove variable.
3911 (FAIL): Remove macro.
3912 (NO_INLINE): Likewise.
3913 (handle_signal): Use match function instead of strstr.
3915 2013-01-23 Roland McGrath <roland@hack.frob.com>
3917 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
3919 2013-01-23 David S. Miller <davem@davemloft.net>
3921 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
3922 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
3923 argument of CAS if possible.
3924 * sysdeps/sparc/sparc64/bits/atomic.h
3925 (__arch_compare_and_exchange_val_32_acq): Likewise.
3926 (__arch_compare_and_exchange_val_64_acq): Likewise.
3928 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
3930 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
3931 * sysdeps/posix/ulimit.c: ... this.
3933 * sysdeps/unix/bsd/ulimit.c: Remove file.
3935 2013-01-23 Adam Conrad <adconrad@0c3.net>
3937 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
3938 (LDFLAGS-tst-array5): Likewise.
3940 2013-01-23 Joseph Myers <joseph@codesourcery.com>
3943 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
3944 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
3945 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
3946 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
3948 2013-01-21 David S. Miller <davem@davemloft.net>
3950 * sysdeps/sparc/backtrace.c: New file.
3951 * sysdeps/sparc/sparc32/backtrace.h: New file.
3952 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
3953 * sysdeps/sparc/sparc64/backtrace.h: New file.
3954 * sysdeps/sparc/sparc64/backtrace.c: Delete.
3955 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
3958 2013-01-21 Andreas Schwab <schwab@suse.de>
3961 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
3964 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
3966 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
3968 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
3970 2013-01-18 Joseph Myers <joseph@codesourcery.com>
3971 Mark Mitchell <mark@codesourcery.com>
3972 Tom de Vries <tom@codesourcery.com>
3973 Paul Pluzhnikov <ppluzhnikov@google.com>
3975 * debug/tst-backtrace2.c: New file.
3976 * debug/tst-backtrace3.c: Likewise.
3977 * debug/tst-backtrace4.c: Likewise.
3978 * debug/tst-backtrace5.c: Likewise.
3979 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
3980 (CFLAGS-tst-backtrace3.c): Likewise.
3981 (CFLAGS-tst-backtrace4.c): Likewise.
3982 (CFLAGS-tst-backtrace5.c): Likewise.
3983 (LDFLAGS-tst-backtrace2): Likewise.
3984 (LDFLAGS-tst-backtrace3): Likewise.
3985 (LDFLAGS-tst-backtrace4): Likewise.
3986 (LDFLAGS-tst-backtrace5): Likewise.
3987 (tests): Add new tests tst-backtrace2, tst-backtrace3,
3988 tst-backtrace4 and tst-backtrace5.
3990 2013-01-18 Anton Blanchard <anton@samba.org>
3991 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3993 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
3994 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
3995 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
3996 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
3997 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
3998 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
3999 "+r" and remove output regs list as redundant. Add explicit inline
4000 asm to specify register of return val to work around compiler codegen
4001 bug. Remove (int) cast on return value. Add return type parameter to
4002 use in macro so that this macro does not truncate return value for
4004 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
4005 pass to INTERNAL_VSYSCALL_NCS.
4006 (INLINE_VSYSCALL): Add 'long int' as return type to
4007 INTERNAL_VSYSCALL_NCS macro invocation.
4008 (INTERNAL_VSYSCALL): Add 'long int' as return type to
4009 INTERNAL_VSYSCALL_NCS macro invocation.
4010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
4012 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
4015 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
4016 Fix application of SIMD FP exception mask.
4018 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
4019 mp_no from a power of two.
4020 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
4021 __mpexp_twomm1. Use __pow_mp.
4023 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
4026 2013-01-17 David S. Miller <davem@davemloft.net>
4028 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4030 2013-01-17 Joseph Myers <joseph@codesourcery.com>
4033 * include/complex.h: Condition contents on [!_COMPLEX_H].
4034 (__kernel_casinhf): New prototype.
4035 (__kernel_casinh): Likewise.
4036 (__kernel_casinhl): Likewise.
4037 * math/Makefile (libm_calls): Add k_casinh.
4038 * math/k_casinh.c: New file.
4039 * math/k_casinhf.c: Likewise.
4040 * math/k_casinhl.c: Likewise.
4041 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
4042 finite nonzero arguments.
4043 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
4044 finite nonzero arguments.
4045 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
4046 finite nonzero arguments.
4047 * math/s_casinh.c: Do not include <float.h>.
4048 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
4049 * math/s_casinhf.c: Do not include <float.h>.
4050 (__casinhf): Move code for finite nonzero arguments to
4052 * math/s_casinhl.c: Do not include <float.h>.
4053 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
4055 (__casinhl): Move code for finite nonzero arguments to
4057 * math/libm-test.inc (cacos_test): Add more tests.
4058 * sysdeps/i386/fpu/libm-test-ulps: Update.
4059 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4061 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
4063 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
4064 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
4065 [!HAVE_MREMAP]: Remove [defined linux] case.
4066 * malloc/arena.c: Do not include <malloc-sysdep.h>.
4068 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
4070 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
4072 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
4074 * elf/elf.h (R_386_SIZE32): New relocation.
4075 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
4077 (elf_machine_rela): Likewise.
4078 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
4079 R_X86_64_SIZE64 and R_X86_64_SIZE32.
4081 2013-01-17 Joseph Myers <joseph@codesourcery.com>
4083 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
4084 (FP_FAST_FMA): Do not define.
4085 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
4086 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
4087 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
4088 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
4089 !_SOFT_FLOAT]: Likewise.
4090 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
4091 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
4093 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
4094 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
4095 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
4096 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
4097 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
4098 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
4101 2013-01-16 Andreas Schwab <schwab@suse.de>
4104 * include/stdlib.h (__mktemp): Add declaration.
4105 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
4106 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
4108 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4110 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
4112 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
4113 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
4114 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
4116 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
4117 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
4119 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
4121 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
4122 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
4123 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
4125 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
4126 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
4128 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
4130 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
4132 2013-01-15 David S. Miller <davem@davemloft.net>
4134 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
4135 trunc{,f} to libm-sysdep_routes.
4136 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
4137 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
4139 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
4140 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
4142 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
4144 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
4145 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
4146 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
4147 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
4148 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
4149 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
4150 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
4151 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
4153 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
4154 nearbyint{,f} to libm-sysdep_routes.
4155 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
4156 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
4158 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
4160 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
4162 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
4164 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
4165 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
4166 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
4168 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
4169 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
4171 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
4172 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
4173 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
4175 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
4176 libc_feholdexcept and libc_fesetenv.
4178 2013-01-15 Mike Frysinger <vapier@gentoo.org>
4180 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
4182 2013-01-14 David S. Miller <davem@davemloft.net>
4184 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
4185 (SPARC_ASM_VIS2_IFUNC): Likewise.
4186 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
4187 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
4188 use of 'siam' instruction.
4189 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
4191 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
4193 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
4195 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
4196 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
4197 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
4198 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
4199 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
4201 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
4203 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
4205 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
4207 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
4208 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
4209 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
4210 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
4211 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
4213 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
4214 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
4215 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
4217 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
4218 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
4219 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
4220 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
4221 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
4222 routines to libm-sysdep_routines.
4223 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
4225 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
4226 fdim/fdimf to libm-sysdep_routines.
4227 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
4229 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
4230 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
4232 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
4233 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
4234 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
4235 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
4236 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
4237 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
4238 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
4240 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
4242 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
4245 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
4246 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
4247 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
4249 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
4250 local variable MPTWO.
4251 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
4254 2013-01-13 Mike Frysinger <vapier@gentoo.org>
4256 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
4259 2013-01-13 Mike Frysinger <vapier@gentoo.org>
4261 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
4263 2013-01-13 Mike Frysinger <vapier@gentoo.org>
4265 * manual/pattern.texi (glob_t): Document gl_flags.
4266 (glob64_t): Likewise.
4268 2013-01-11 David S. Miller <davem@davemloft.net>
4270 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
4271 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
4272 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
4273 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
4274 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
4275 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
4276 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
4277 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
4278 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
4279 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
4280 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
4281 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
4282 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
4284 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
4285 sparc V9 rather than using V8 code.
4286 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
4287 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
4289 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
4291 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
4294 2013-01-11 Roland McGrath <roland@hack.frob.com>
4296 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
4297 not in the main loop.
4298 * configure: Regenerated.
4300 2013-01-11 Joseph Myers <joseph@codesourcery.com>
4302 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
4303 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
4305 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
4306 [!__GLIBC_HAVE_LONG_LONG] case.
4307 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
4308 condition to just #else.
4309 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
4310 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
4311 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
4312 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
4314 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
4315 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
4316 #elif condition to just #else.
4317 * sysdeps/unix/sysv/linux/sys/sysmacros.h
4318 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
4319 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
4320 #elif condition to just #else.
4322 2013-01-11 Steve Ellcey <sellcey@mips.com>
4324 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
4325 (EF_MIPS_ARCH_64): Fix value.
4326 (EF_MIPS_ARCH_32R2): New.
4327 (EF_MIPS_ARCH_64R2): New.
4329 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
4331 * Makeconfig (+link-pie-before-libc): New.
4332 (+link-pie-after-libc): Likewise.
4333 (+link-pie-tests): Likewise.
4334 (+link-pie): Rewritten.
4335 (link-before-libc): Remove $(config-LDFLAGS).
4336 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
4337 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
4338 (config-LDFLAGS): Renamed to ...
4339 (rtld-LDFLAGS): This.
4340 (rtld-tests-LDFLAGS): New macro.
4341 (link-libc-rpath-link): Likewise.
4342 (link-libc-tests-rpath-link): Likewise.
4343 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
4344 (link-libc): Prepand $(link-libc-rpath-link).
4345 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
4346 (test-program-prefix): New macro.
4347 (test-via-rtld-prefix): Likewise.
4348 (test-program-cmd): Likewise.
4349 (host-test-program-cmd): Likewise.
4350 * Makefile ($(common-objpfx)testrun.sh): Replace
4351 $(run-program-prefix) with $(test-program-prefix).
4352 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
4354 ($(common-objpfx)shlib.lds): Likewise.
4355 (build-module-helper): Likewise.
4356 ($(common-objpfx)format.lds): Likewise.
4357 * Rules (binaries-pie-tests): New.
4358 (binaries-pie-notests): Likewise.
4359 (binaries-pie): Rewritten.
4360 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
4361 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
4362 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
4363 (make-test-out): Replace $(host-built-program-cmd) with
4364 $(host-test-program-cmd).
4365 * config.make.in (build-hardcoded-path-in-tests): New variable.
4366 * configure.in (--enable-hardcoded-path-in-tests): New configure
4368 (hardcoded_path_in_tests): New AC_SUBST.
4369 * configure: Regenerated.
4370 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
4371 $(built-program-cmd) with $(test-program-cmd).
4372 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
4373 (test_program_cmd): This.
4374 * elf/Makefile ($(objpfx)order.out): Run test with
4375 $(test-program-prefix).
4376 ($(objpfx)order2.out): Likewise.
4377 ($(objpfx)tst-initorder.out): Likewise.
4378 ($(objpfx)tst-initorder2.out): Likewise.
4379 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
4380 $(test-program-cmd).
4381 ($(objpfx)tst-array1-static.out): Likewise.
4382 ($(objpfx)tst-array2.out): Likewise.
4383 ($(objpfx)tst-array3.out): Likewise.
4384 ($(objpfx)tst-array4.out): Likewise.
4385 ($(objpfx)tst-array5.out): Likewise.
4386 ($(objpfx)tst-array5-static.out): Likewise.
4387 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
4388 $(test-program-cmd).
4389 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
4390 $(run-program-prefix) with $(test-program-prefix).
4391 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
4392 (test_program_prefix): This.
4393 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
4394 $(run-program-prefix) with $(test-program-prefix).
4395 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
4396 (test_program_prefix): This.
4397 * iconvdata/tst-tables.sh: Likewise.
4398 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
4399 $(run-program-prefix) with $(test-program-prefix).
4400 ($(objpfx)tst-translit.out): Likewise.
4401 ($(objpfx)tst-gettext2.out): Likewise.
4402 ($(objpfx)tst-gettext4.out): Likewise.
4403 ($(objpfx)tst-gettext6.out): Likewise.
4404 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
4405 (test_program_prefix): This.
4406 * intl/tst-gettext2.sh: Likewise.
4407 * intl/tst-gettext4.sh Likewise.
4408 * intl/tst-gettext6.sh: Likewise.
4409 * intl/tst-translit.sh: Likewise.
4410 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
4411 with $(test-program-cmd).
4412 * libio/Makefile ($(objpfx)test-freopen.out): Replace
4413 $(run-program-prefix) with $(test-program-prefix).
4414 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
4415 (test_program_prefix): This.
4416 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
4417 $(run-program-prefix) with $(test-program-prefix).
4418 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
4419 (test_program_prefix): This.
4420 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
4421 * posix/Makefile ($(objpfx)globtest.out): Replace
4422 $(run-via-rtld-prefix) and $(test-wrapper) with
4423 $(test-program-prefix) and $(test-via-rtld-prefix).
4424 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
4425 $(test-program-prefix).
4426 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
4427 $(host-test-program-cmd).
4428 (tst-spawn-ARGS): Likewise.
4429 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
4430 $(test-program-prefix).
4431 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
4432 (test_via_rtld_prefix): This.
4433 (test_wrapper): Renamed to ...
4434 (test_program_prefix): This.
4435 (run_program_prefix): Replaced by test_program_prefix.
4436 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
4437 (test_program_prefix): This.
4438 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
4439 with $(host-test-program-cmd).
4440 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
4441 $(run-program-prefix) with $(test-program-prefix).
4442 ($(objpfx)tst-printf.out): Likewise.
4443 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
4444 $(test-program-cmd).
4445 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
4446 (test_program_prefix): This.
4447 * stdio-common/tst-unbputc.sh: Likewise.
4448 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
4449 $(run-program-prefix) with $(test-program-prefix).
4450 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
4451 (test_program_prefix): This.
4452 * string/Makefile ($(objpfx)tst-svc.out): Replace
4453 $(built-program-cmd) with $(test-program-cmd).
4455 2013-01-11 Andreas Jaeger <aj@suse.de>
4458 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
4459 value. Sync with Linux 3.7.
4461 2013-01-10 David S. Miller <davem@davemloft.net>
4463 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
4464 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
4465 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
4467 2013-01-10 Roland McGrath <roland@hack.frob.com>
4469 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
4471 * configure: Regenerated.
4473 2013-01-10 David S. Miller <davem@davemloft.net>
4475 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
4476 sparc V9 rather than using V8 code.
4477 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
4478 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
4480 2013-01-10 Roland McGrath <roland@hack.frob.com>
4482 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
4483 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
4484 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
4485 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
4486 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
4487 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
4488 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
4489 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
4490 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
4491 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
4492 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
4493 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
4494 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
4495 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
4496 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
4497 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
4498 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
4499 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
4500 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
4501 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
4502 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
4503 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
4504 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
4505 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
4506 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
4507 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
4508 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
4510 2013-01-10 David S. Miller <davem@davemloft.net>
4512 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4514 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
4516 * posix/Makefile (tests-static): New variable.
4517 (tests): Add $(tests-static).
4518 (tst-exec-static-ARGS): New variable.
4519 (tst-spawn-static-ARGS): Likewise.
4520 * posix/tst-exec-static.c: New file.
4521 * posix/tst-spawn-static.c: Likewise.
4522 * posix/tst-exec.c: Support run directly.
4523 * posix/tst-spawn.c: Likewise.
4525 2013-01-10 Joseph Myers <joseph@codesourcery.com>
4527 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
4529 * math/bits/mathcalls.h (llrint): Likewise.
4530 (llround): Likewise.
4531 * stdlib/stdlib.h (struct drand48_data): Likewise.
4532 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
4533 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
4534 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
4536 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
4538 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
4539 (elf_greg_t): Likewise.
4540 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
4541 (__jmp_buf): Likewise.
4542 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
4544 (llrint): Likewise, for all definitions.
4545 (llrintl): Likewise.
4547 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
4548 Remove [__GNUC__] condition.
4549 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
4550 condition to just [__USE_ISOC99].
4551 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
4553 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
4556 * sysdeps/unix/sysv/linux/x86/bits/environments.h
4557 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
4559 (_POSIX_V6_ILP32_OFF32): Likewise.
4560 (_XBS5_ILP32_OFF32): Likewise.
4561 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
4562 (__ILP32_OFFBIG_LDFLAGS): Likewise.
4564 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4566 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
4568 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
4569 doubles __mpexp_twomm1. Adjust usage.
4570 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
4573 2013-01-10 Andreas Schwab <schwab@suse.de>
4576 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
4577 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
4579 2013-01-09 David S. Miller <davem@davemloft.net>
4582 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
4583 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
4584 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
4585 TCP_FASTOPEN): Define.
4586 (tcp_repair_opt): New structure.
4587 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
4589 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
4590 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
4591 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
4592 (tcp_cookie_transactions): New structure.
4594 2013-01-09 Anton Blanchard <anton@samba.org>
4596 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
4597 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
4598 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
4599 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
4601 2013-01-09 Joseph Myers <joseph@codesourcery.com>
4603 * include/features.h (__USE_ANSI): Remove.
4605 2013-01-09 Roland McGrath <roland@hack.frob.com>
4607 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
4609 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
4611 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
4613 * sysdeps/s390/fpu/libm-test-ulps: Update.
4615 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4617 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
4622 (__mp_dbl): Likewise.
4623 (__dbl_mp): Likewise.
4624 (add_magnitudes): Likewise.
4625 (sub_magnitudes): Likewise.
4631 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
4636 (__mp_dbl): Likewise.
4637 (__dbl_mp): Likewise.
4638 (add_magnitudes): Likewise.
4639 (sub_magnitudes): Likewise.
4645 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
4650 (__mp_dbl): Likewise.
4651 (__dbl_mp): Likewise.
4652 (add_magnitudes): Likewise.
4653 (sub_magnitudes): Likewise.
4660 2013-01-08 Joseph Myers <joseph@codesourcery.com>
4662 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
4663 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
4664 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
4665 2 && __USE_EXTERN_INLINES]: Likewise.
4667 2013-01-08 Andreas Jaeger <aj@suse.de>
4670 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
4672 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
4673 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
4675 2013-01-07 Anton Blanchard <anton@samba.org>
4677 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
4678 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
4679 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
4680 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
4681 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
4682 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
4683 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
4684 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
4685 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
4686 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
4687 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
4688 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
4689 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
4690 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
4691 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
4692 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
4693 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
4694 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
4695 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
4696 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
4697 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
4698 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
4699 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
4700 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
4701 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
4702 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
4703 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
4704 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
4705 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
4706 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
4707 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
4708 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
4709 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
4710 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
4711 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
4712 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
4713 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
4714 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
4715 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
4716 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
4717 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
4718 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
4719 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
4721 2013-01-07 Joseph Myers <joseph@codesourcery.com>
4723 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
4724 (__MALLOC_PMT): Likewise.
4725 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
4726 [__GNUC__], only on [_LIBC].
4727 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
4728 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
4729 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
4730 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
4731 forward declaration.
4732 (realloc_hook_ini): Likewise.
4733 (memalign_hook_ini): Likewise.
4734 (__libc_memalign): Do not use __MALLOC_PMT in variable
4736 (__libc_valloc): Likewise.
4737 (__libc_pvalloc): Likewise.
4738 (__libc_calloc): Likewise.
4739 (__posix_memalign): Likewise.
4742 * math/s_casinh.c: Include <float.h>.
4743 (__casinh): Do not do computation with squaring and square root
4744 for large arguments.
4745 * math/s_casinhf.c: Include <float.h>.
4746 (__casinhf): Do not do computation with squaring and square root
4747 for large arguments.
4748 * math/s_casinhl.c: Include <float.h>.
4749 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
4750 (__casinhl): Do not do computation with squaring and square root
4751 for large arguments.
4752 * math/libm-test.inc (casin_test): Add more tests.
4753 (casinh_test): Likewise.
4754 * sysdeps/i386/fpu/libm-test-ulps: Update.
4755 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4757 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
4759 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
4760 (__x86_64_raw_data_cache_size): Likewise.
4761 (__x86_64_data_cache_size_half): Likewise.
4762 (__x86_64_raw_data_cache_size_half): Likewise.
4763 (__x86_64_shared_cache_size): Likewise.
4764 (__x86_64_raw_shared_cache_size): Likewise.
4765 (__x86_64_shared_cache_size_half): Likewise.
4766 (__x86_64_raw_shared_cache_size_half): Likewise.
4767 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
4769 (__x86_data_cache_size): This.
4770 (__x86_64_raw_data_cache_size): Renamed to ...
4771 (__x86_raw_data_cache_size): This.
4772 (__x86_64_data_cache_size_half): Renamed to ...
4773 (__x86_data_cache_size_half): This.
4774 (__x86_64_raw_data_cache_size_half): Renamed to ...
4775 (__x86_raw_data_cache_size_half): This.
4776 (__x86_64_shared_cache_size): Renamed to ...
4777 (__x86_shared_cache_size): This.
4778 (__x86_64_raw_shared_cache_size): Renamed to ...
4779 (__x86_raw_shared_cache_size): This.
4780 (__x86_64_shared_cache_size_half): Renamed to ...
4781 (__x86_shared_cache_size_half): This.
4782 (__x86_64_raw_shared_cache_size_half): Renamed to ...
4783 (__x86_raw_shared_cache_size_half): This.
4784 * sysdeps/x86_64/memcpy.S: Updated.
4785 * sysdeps/x86_64/memset.S: Likewise.
4786 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
4787 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
4788 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
4790 2013-01-04 David S. Miller <davem@davemloft.net>
4792 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4794 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
4796 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
4797 1 to avoid redefinition warning.
4798 (__USE_GNU): Don't define.
4799 (init_signaling_nan): Protoize.
4801 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4803 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4805 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
4806 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
4807 (__cpymn): Likewise.
4808 (norm): Remove commented code.
4810 (__mp_dbl): Likewise.
4812 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
4813 (__cpymn): Likewise.
4814 (norm): Remove commented code.
4816 (__mp_dbl): Likewise.
4819 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
4820 mp_no value for 1.0 and 2.0.
4821 (norm): Use RADIXI instead of radixi.d.
4823 (__mul): Use 0.0 instead of zero.d.
4824 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
4825 mp_no value for 1.0 and 2.0.
4826 (norm): Use RADIXI instead of radixi.d.
4828 (__mul): Use 0.0 instead of zero.d.
4830 2013-01-04 Joseph Myers <joseph@codesourcery.com>
4833 * math/s_casinh.c (__casinh): Reduce finite argument to first
4834 quadrant then set signs of results at the end.
4835 * math/s_casinhf.c (__casinhf): Likewise.
4836 * math/s_casinhl.c (__casinhl): Likewise.
4837 * math/libm-test.inc (casin_test): Add more tests.
4838 (casinh_test): Likewise.
4839 * sysdeps/i386/fpu/libm-test-ulps: Update.
4840 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4842 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4844 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
4846 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
4848 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
4851 (__mp_dbl): Likewise.
4854 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
4855 and adjust the header comment.
4857 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
4858 variable name from declaration.
4860 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
4862 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4863 Initialize COMMON_CPUID_INDEX_7 element.
4864 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
4865 (CPUID_RTM): Likewise.
4866 (HAS_RTM): Likewise.
4867 (COMMON_CPUID_INDEX_7): New enum.
4869 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
4872 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
4873 size is zero, record memory as freed.
4875 2013-01-03 Andreas Jaeger <aj@suse.de>
4877 * po/ia.po: Add new Interlingua translation.
4879 2012-01-03 Allan McRae <allan@archlinux.org>
4881 * locale/programs/localedef.c: Fix description of '--posix' flag.
4883 2013-01-02 Joseph Myers <joseph@codesourcery.com>
4885 * NEWS: Update dates in second copyright notice.
4886 * README: Update copyright dates in example.
4887 * manual/libc.texinfo: Update copyright dates.
4888 * scripts/test-installation.pl: Update copyright date in --version
4891 * hurd/ctty-input.c: Fix copyright notice formatting.
4892 * hurd/ctty-output.c: Likewise.
4893 * hurd/dtable.c: Likewise.
4894 * hurd/hurd-raise.c: Likewise.
4895 * hurd/hurdprio.c: Likewise.
4896 * hurd/msgportdemux.c: Likewise.
4897 * misc/sys/file.h: Likewise.
4898 * misc/sys/ioctl.h: Likewise.
4899 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
4900 * sysdeps/mach/hurd/chdir.c: Likewise.
4901 * sysdeps/mach/hurd/fchdir.c: Likewise.
4902 * sysdeps/mach/hurd/rename.c: Likewise.
4903 * sysdeps/mach/hurd/rmdir.c: Likewise.
4904 * sysdeps/mach/hurd/seekdir.c: Likewise.
4905 * sysdeps/mach/hurd/setsid.c: Likewise.
4906 * sysdeps/posix/wait3.c: Likewise.
4908 * All files with FSF copyright notices: Update copyright dates
4909 using scripts/update-copyrights.
4910 * intl/plural.c: Regenerated.
4911 * locale/programs/charmap-kw.h: Likewise.
4912 * locale/programs/locfile-kw.h: Likewise.
4914 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4916 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
4919 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
4920 calculation loop and add branch prediction.
4922 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
4923 check access beyond bounds of m1np.
4925 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
4927 (__inv): Remove local variable MPTWO to use the global
4929 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
4930 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
4932 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
4933 MP3HALFS static const.
4935 2013-01-01 David S. Miller <davem@davemloft.net>
4937 * po/ca.po: Update from translation team.
4939 2013-01-01 Joseph Myers <joseph@codesourcery.com>
4941 * scripts/update-copyrights: New file.
4942 * Makeconfig: Reformat copyright notice.
4943 * ctype/ctype.h: Likewise.
4944 * debug/swprintf_chk.c: Likewise.
4945 * elf/dl-cache.c: Likewise.
4946 * elf/dl-debug.c: Likewise.
4947 * elf/dl-object.c: Likewise.
4948 * grp/initgroups.c: Likewise.
4949 * hurd/Makefile: Likewise.
4950 * hurd/hurd/signal.h: Likewise.
4951 * hurd/hurdfault.c: Likewise.
4952 * hurd/hurdioctl.c: Likewise.
4953 * hurd/hurdlookup.c: Likewise.
4954 * hurd/intr-msg.c: Likewise.
4955 * iconv/gconv_open.c: Likewise.
4956 * libio/swprintf.c: Likewise.
4957 * locale/lc-ctype.c: Likewise.
4958 * locale/nl_langinfo.c: Likewise.
4959 * mach/Machrules: Likewise.
4960 * mach/Makefile: Likewise.
4961 * malloc/obstack.h: Likewise.
4962 * manual/Makefile: Likewise.
4963 * manual/tsort.awk: Likewise.
4964 * misc/bits/stab.def: Likewise.
4965 * nis/nis_print_group_entry.c: Likewise.
4966 * nis/nis_table.c: Likewise.
4967 * nis/nss_compat/compat-pwd.c: Likewise.
4968 * nis/nss_compat/compat-spwd.c: Likewise.
4969 * po/Makefile: Likewise.
4970 * posix/fnmatch.c: Likewise.
4971 * posix/regex.h: Likewise.
4972 * resolv/Makefile: Likewise.
4973 * resolv/nss_dns/dns-network.c: Likewise.
4974 * resolv/res_hconf.c: Likewise.
4975 * scripts/gen-sorted.awk: Likewise.
4976 * soft-fp/soft-fp.h: Likewise.
4977 * stdio-common/printf.h: Likewise.
4978 * stdlib/monetary.h: Likewise.
4979 * stdlib/random.c: Likewise.
4980 * stdlib/random_r.c: Likewise.
4981 * sysdeps/generic/Makefile: Likewise.
4982 * sysdeps/gnu/Makefile: Likewise.
4983 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
4984 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4985 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
4986 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4987 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
4988 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4989 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4990 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
4991 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
4992 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4993 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
4994 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
4995 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
4996 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
4997 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
4998 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
4999 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
5000 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5001 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
5002 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5003 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
5004 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
5005 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
5006 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
5007 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
5008 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
5009 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
5010 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
5011 * sysdeps/mach/hurd/errnos.awk: Likewise.
5012 * sysdeps/mach/hurd/fork.c: Likewise.
5013 * sysdeps/mach/hurd/getcwd.c: Likewise.
5014 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
5015 * sysdeps/mach/hurd/mmap.c: Likewise.
5016 * sysdeps/mach/hurd/utimes.c: Likewise.
5017 * sysdeps/mach/hurd/xmknod.c: Likewise.
5018 * sysdeps/posix/profil.c: Likewise.
5019 * sysdeps/posix/readdir_r.c: Likewise.
5020 * sysdeps/powerpc/bits/mathdef.h: Likewise.
5021 * sysdeps/powerpc/bits/setjmp.h: Likewise.
5022 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
5023 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
5024 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
5025 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
5026 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
5027 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
5028 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
5029 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
5030 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
5031 * sysdeps/pthread/lio_listio.c: Likewise.
5032 * sysdeps/sparc/dl-procinfo.h: Likewise.
5033 * sysdeps/unix/i386/sysdep.S: Likewise.
5034 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
5035 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
5036 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
5037 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
5038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
5039 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
5040 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
5041 * sysdeps/unix/sysv/linux/speed.c: Likewise.
5042 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
5043 * sysdeps/wordsize-32/divdi3.c: Likewise.
5044 * time/sys/time.h: Likewise.
5045 * wcsmbs/Makefile: Likewise.
5047 2013-01-01 David S. Miller <davem@davemloft.net>
5049 * po/fr.po: Update from translation team.
5051 * catgets/gencat.c: Update copyright year.
5052 * csu/version.c: Likewise.
5053 * debug/catchsegv.sh: Likewise.
5054 * debug/pcprofiledump.c: Likewise.
5055 * debug/xtrace.sh: Likewise.
5056 * elf/ldconfig.c: Likewise.
5057 * elf/ldd.bash.in: Likewise.
5058 * elf/pldd.c: Likewise.
5059 * elf/sotruss.ksh: Likewise.
5060 * elf/sprof.c: Likewise.
5061 * iconv/iconv_prog.c: Likewise.
5062 * iconv/iconvconfig.c: Likewise.
5063 * locale/programs/locale.c: Likewise.
5064 * locale/programs/localedef.c: Likewise.
5065 * login/programs/pt_chown.c: Likewise.
5066 * malloc/memusage.sh: Likewise.
5067 * malloc/memusagestat.c: Likewise.
5068 * malloc/mtrace.pl: Likewise.
5069 * nscd/nscd.c: Likewise.
5070 * nss/getent.c: Likewise.
5071 * nss/makedb.c: Likewise.
5072 * posix/getconf.c: Likewise.
5074 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
5076 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
5079 2012-12-30 Mike Frysinger <vapier@gentoo.org>
5081 * math/bits/mathcalls.h (modf): Use __nonnull.
5083 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
5085 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
5086 (split): Use macro CN instead of the bare value.
5087 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
5089 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
5090 instead of the bare value.
5093 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5095 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
5097 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
5099 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
5101 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
5102 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
5103 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
5104 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
5106 2012-12-28 Andreas Jaeger <aj@suse.de>
5108 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
5109 values are from Linux 3.7.
5111 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
5112 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
5114 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5116 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
5119 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
5121 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
5122 variables with preprocessor constants.
5123 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
5124 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
5125 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
5127 2012-12-27 Bruno Haible <bruno@clisp.org>
5130 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
5133 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5135 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
5136 and use variable directly.
5137 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
5139 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
5141 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
5142 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
5144 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
5145 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
5146 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
5147 include directive. Remove local variable MPONE.
5148 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
5149 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
5150 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
5152 2012-12-25 David S. Miller <davem@davemloft.net>
5154 * version.h (RELEASE): Set to "development".
5155 (VERSION): Set to "2.17.90".
5156 * NEWS: Add 2.18 section.
5158 2012-12-21 David S. Miller <davem@davemloft.net>
5160 * po/hr.po: Update from translation team.
5162 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5164 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
5166 2012-12-19 Steve Ellcey <sellcey@mips.com>
5168 * NEWS: Mention new memcpy for MIPS.
5170 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5172 * manual/contrib.texi (Contributors): Spelling correction.
5174 2012-12-15 David S. Miller <davem@davemloft.net>
5176 * po/ru.po: Update from translation team.
5178 2012-12-13 David S. Miller <davem@davemloft.net>
5180 * NEWS: Mention IFUNC testsuite enhancements.
5182 * po/pl.po: Update from translation team.
5183 * po/bg.po: Likewise.
5185 * manual/contrib.texi (Contributors): Update entries for Hongjiu
5186 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
5188 2012-12-11 David S. Miller <davem@davemloft.net>
5190 * po/sv.po: Update from translation team.
5192 * po/vi.po: Update from translation team.
5194 * po/cs.po: Update from translation team.
5196 * po/de.po: Update from translation team.
5197 * po/eo.po: Likewise.
5198 * po/nl.po: Likewise.
5200 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5203 * manual/argp.texi (Argp Helper Functions): Move node to follow
5207 * manual/conf.texi (Limits on File System Capacity): Mention if
5208 terminating null is included in the max size.
5210 2012-12-10 Andreas Jaeger <aj@suse.de>
5212 * po/cs.po: Update from translation team.
5214 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
5216 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
5217 void pointer and cast to uintptr_t.
5218 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
5220 * sysdeps/s390/s390-64/memcpy.S: Likewise.
5221 * sysdeps/s390/s390-64/memset.S: Likewise.
5223 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
5226 * menual/message.texi (Message Translation): Fix typos.
5227 (Helper programs for gettext): Likewise.
5229 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
5232 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
5235 2012-12-07 David S. Miller <davem@davemloft.net>
5237 * po/libc.pot: Update.
5239 2012-12-07 Richard Henderson <rth@redhat.com>
5242 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
5243 normal/normal case to before the switch.
5244 (_FP_DIV): Likewise.
5246 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
5247 Mike Frysinger <vapier@gentoo.org>
5249 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
5250 check for __NR_fadvise64_64.
5252 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
5254 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
5255 0, not just to plain "0" as a statement.
5256 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
5259 2012-12-06 Joseph Myers <joseph@codesourcery.com>
5261 * NEWS: Use sourceware.org in Bugzilla URL.
5263 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
5265 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
5266 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
5268 * stdio-common/tst-put-error.c (do_test): Add newline to the
5269 padded test to ensure flush.
5271 2012-12-05 Jeff Law <law@redhat.com>
5273 * sunrpc/etc.rpc (fedfs_admin): Add entry.
5275 2012-12-05 Joseph Myers <joseph@codesourcery.com>
5277 * README: Don't refer to ports add-on as distributed separately.
5278 Mention AArch64 in list of systems supported in the ports add-on.
5280 * LICENSES: Add more non-FSF copyright and license notices.
5282 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
5285 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
5287 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
5288 10000 as width of padded output.
5290 2012-12-04 Joseph Myers <joseph@codesourcery.com>
5292 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
5294 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
5295 variable LX with __attribute__ ((unused)).
5296 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
5298 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
5299 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
5300 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
5301 with __attribute__ ((unused)).
5303 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
5305 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
5307 2012-12-04 Joseph Myers <joseph@codesourcery.com>
5309 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
5310 (CFLAGS-nldbl-acos.c): New variable.
5311 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
5312 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
5313 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
5314 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
5315 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
5316 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
5317 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
5318 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
5319 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
5320 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
5321 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
5322 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
5323 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
5324 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
5325 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
5326 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
5327 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
5328 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
5329 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
5330 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
5331 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
5332 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
5333 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
5334 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
5335 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
5336 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
5337 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
5338 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
5339 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
5340 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
5341 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
5342 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
5343 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
5344 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
5345 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
5346 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
5347 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
5348 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
5349 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
5350 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
5351 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
5352 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
5353 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
5354 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
5355 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
5356 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
5357 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
5358 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
5359 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
5360 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
5361 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
5362 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
5363 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
5364 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
5365 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
5366 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
5367 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
5368 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
5369 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
5370 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
5371 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
5372 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
5373 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
5374 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
5375 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
5376 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
5377 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
5378 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
5379 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
5380 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
5381 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
5382 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
5383 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
5384 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
5385 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
5386 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
5387 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
5388 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
5389 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
5390 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
5391 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
5392 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
5393 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
5394 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
5395 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
5396 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
5397 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
5398 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
5399 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
5400 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
5401 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
5402 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
5403 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
5404 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
5405 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
5406 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
5407 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
5409 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
5410 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
5413 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
5414 whole low double instead of just low 47 bits when splitting values
5417 2012-12-03 Allan McRae <allan@archlinux.org>
5419 * manual/stdio.texi (Predefined Printf Handlers): Remove
5420 @hsep and @vsep usage.
5422 2012-12-03 Mike Frysinger <vapier@gentoo.org>
5424 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
5425 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
5427 2012-12-03 Jeff Law <law@redhat.com>
5429 * time/sys/time.h (settimeofday): Do not mark TV argument
5432 2012-12-01 Mike Frysinger <vapier@gentoo.org>
5434 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
5435 when currently writing and seek to current position when not.
5436 * libio/Makefile (tests): Remove bug-fclose1.
5437 * libio/bug-fclose1.c: Delete.
5439 2012-12-01 Joseph Myers <joseph@codesourcery.com>
5441 * manual/arith.texi (feenableexcept): Fix typo.
5442 (fedisableexcept): Likewise.
5444 2012-11-30 Roland McGrath <roland@hack.frob.com>
5446 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
5447 second, differently-typed declaration, rather than a cast.
5449 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5451 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
5452 * include/rpc/svc.h: ... here.
5454 2012-11-30 Aurelien Jarno <aurel32@debian.org>
5457 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
5458 depending n and resplen2 to catch cases where answer
5461 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
5463 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
5464 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
5466 2012-11-29 Mike Frysinger <vapier@gentoo.org>
5468 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
5470 2012-11-29 Roland McGrath <roland@hack.frob.com>
5472 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
5474 2012-11-28 Jeff Law <law@redhat.com>
5477 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
5478 dataset_temporary. Track alloca usage into alloca_used.
5479 If dataset is large allocate and release it via malloc/free.
5481 2012-06-04 Florian Weimer <fweimer@redhat.com>
5484 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
5486 2012-11-28 David S. Miller <davem@davemloft.net>
5488 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5490 2012-11-28 Joseph Myers <joseph@codesourcery.com>
5493 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
5494 of pi/2 rounded to nearest to 64 bits.
5495 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
5497 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
5500 2012-11-28 Jeff Law <law@redhat.com>
5501 Martin Osvald <mosvald@redhat.com>
5504 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
5505 * sunrpc/svc.c: Include time.h.
5506 (__svc_accept_failed): New function.
5507 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
5508 any reason other than EINTR, call __svc_accept_failed.
5509 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
5510 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
5512 2012-11-28 Andreas Schwab <schwab@suse.de>
5514 * scripts/abilist.awk: Also handle indirect functions in .opd
5517 2012-11-28 Joseph Myers <joseph@codesourcery.com>
5520 * sysdeps/x86/fpu/powl_helper.c: New file.
5521 * sysdeps/x86/fpu/Makefile: Likewise.
5522 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
5524 (__ieee754_powl): Use __powl_helper for finite arguments except
5525 integer exponents below 8.
5526 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
5528 (__ieee754_powl): Use __powl_helper for finite arguments except
5529 integer exponents below 8.
5530 * math/libm-test.inc (pow_test): Add more tests and enable some
5531 previously disabled tests.
5532 * sysdeps/i386/fpu/libm-test-ulps: Update.
5533 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5535 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5536 Carlos O'Donell <carlos_odonell@mentor.com>
5538 * nss/makedb.c (is_prime): Assert that input is odd and greater
5539 than 4. Note that fact in a comment too.
5540 (next_prime): Add 4 to input.
5542 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5545 * libio/Makefile (tests): Add test case tst-fwrite-error.
5546 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
5547 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
5548 * libio/tst-fwrite-error.c: New test case.
5550 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
5552 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
5553 before casting to void *.
5554 * include/libc-internal.h (__pointer_type): New macro.
5555 (__integer_if_pointer_type_sub): Likewise.
5556 (__integer_if_pointer_type): Likewise.
5557 (cast_to_integer): Likewise.
5558 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
5559 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
5560 before casting to atomic64_t.
5561 (atomic_exchange_acq): Likewise.
5562 (__arch_exchange_and_add_body): Likewise.
5563 (__arch_add_body): Likewise.
5564 (atomic_add_negative): Likewise.
5565 (atomic_add_zero): Likewise.
5567 2012-11-26 Joseph Myers <joseph@codesourcery.com>
5569 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
5570 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
5571 (add_fdes): Likewise.
5572 (linear_search_fdes): Likewise.
5573 (binary_search_unencoded_fdes): Likewise.
5575 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
5577 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
5579 2012-11-24 Adam Conrad <adconrad@0c3.net>
5581 * configure.in: Autodetect C++ header directories.
5582 * configure: Regenerated.
5584 2012-11-23 Mike Frysinger <vapier@gentoo.org>
5586 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
5588 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
5590 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5592 2012-11-22 Joseph Myers <joseph@codesourcery.com>
5594 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
5595 LDBL_MANT_DIG == 106]: Disable some tests.
5596 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
5598 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
5602 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
5603 input for small inputs. Return +/- pi/2 for large inputs.
5604 * math/libm-test.inc (atan_test): Add more tests.
5606 * sysdeps/generic/unwind-dw2-fde-glibc.c
5607 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
5608 __attribute__ ((unused)).
5611 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
5612 x * y if x and y are nonzero and z is zero.
5615 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
5616 nonzero exponents with absolute value below 0x1p-117 to +/-
5620 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
5621 up arguments below 2**-450, not just those below 2**-500.
5622 * math/libm-test.inc (hypot_test): Add another test.
5625 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
5626 Return a+b for ratio over 2**120, not 2**60.
5627 * math/libm-test.inc (hypot_test): Add another test.
5629 * math/libm-test.inc (clog_test): Use
5630 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
5631 (clog10_test): Likewise.
5634 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
5636 2012-11-22 Andreas Schwab <schwab@suse.de>
5638 * sysdeps/i386/fpu/libm-test-ulps: Update.
5640 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
5642 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
5643 printf output with newline.
5645 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
5648 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
5649 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
5650 -z nodlopen, -z initfirst and -z execstack support.
5651 * configure: Regenerated.
5653 * elf/elf.h (DF_1_NODIRECT): New macro.
5654 (DF_1_IGNMULDEF): Likewise.
5655 (DF_1_NOKSYMS): Likewise.
5656 (DF_1_NOHDR): Likewise.
5657 (DF_1_EDITED): Likewise.
5658 (DF_1_NORELOC): Likewise.
5659 (DF_1_SYMINTPOSE): Likewise.
5660 (DF_1_GLOBAUDIT): Likewise.
5661 (DF_1_SINGLETON): Likewise.
5662 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
5663 DT_1_SUPPORTED_MASK bits.
5664 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
5666 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
5668 * sysdeps/unix/make-syscalls.sh: Document prefixes.
5670 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
5672 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
5675 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
5676 (sendmmsg): Move declarations...
5677 * socket/sys/socket.h: ... here.
5678 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
5679 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
5681 * socket/recvmmsg.c: ... this new file.
5682 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
5683 (sendmmsg): Rename to __sendmmsg, create weak alias and make
5684 definition of __sendmmsg hidden.
5685 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
5686 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
5687 Move ENOSYS stub into and include it from...
5688 * socket/sendmmsg.c: ... this new file.
5689 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
5690 (sysdep_routines): Move recvmmsg and sendmmsg...
5691 * socket/Makefile (routines): ... here.
5692 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
5693 (GLIBC_PRIVATE): Add __sendmmsg.
5694 * include/sys/socket.h (__sendmmsg): Add declarations.
5695 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
5698 2012-11-20 Joseph Myers <joseph@codesourcery.com>
5700 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
5701 variable I1 with __attribute__ ((unused)).
5702 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
5704 2012-11-19 Joseph Myers <joseph@codesourcery.com>
5706 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
5707 DUMMY variables with __attribute__ ((unused)).
5709 * bits/byteswap.h: Include <bits/types.h>.
5710 (__bswap_64): Use __uint64_t instead of unsigned long long int.
5712 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
5714 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
5715 string_t. Do not manually set errno.
5716 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
5717 length with __strnlen. Make sure to both set errno and return it on
5720 2012-11-19 David S. Miller <davem@davemloft.net>
5722 With help from Joseph Myers.
5723 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
5724 very large arguments properly.
5725 * math/libm-test.inc (atan_test): New tests.
5726 (atan2_test): New tests.
5727 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5728 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5730 2012-11-19 Joseph Myers <joseph@codesourcery.com>
5733 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
5736 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
5737 [POSIX] (EADDRNOTAVAIL): Likewise.
5738 [POSIX] (EAFNOSUPPORT): Likewise.
5739 [POSIX] (EALREADY): Likewise.
5740 [POSIX] (ECONNABORTED): Likewise.
5741 [POSIX] (ECONNREFUSED): Likewise.
5742 [POSIX] (ECONNRESET): Likewise.
5743 [POSIX] (EDESTADDRREQ): Likewise.
5744 [POSIX] (EDQUOT): Likewise.
5745 [POSIX] (EHOSTUNREACH): Likewise.
5746 [POSIX] (EIDRM): Likewise.
5747 [POSIX] (EISCONN): Likewise.
5748 [POSIX] (ELOOP): Likewise.
5749 [POSIX] (EMULTIHOP): Likewise.
5750 [POSIX] (ENETDOWN): Likewise.
5751 [POSIX] (ENETUNREACH): Likewise.
5752 [POSIX] (ENOBUFS): Likewise.
5753 [POSIX] (ENODATA): Likewise.
5754 [POSIX] (ENOLINK): Likewise.
5755 [POSIX] (ENOMSG): Likewise.
5756 [POSIX] (ENOPROTOOPT): Likewise.
5757 [POSIX] (ENOSR): Likewise.
5758 [POSIX] (ENOSTR): Likewise.
5759 [POSIX] (ENOTCONN): Likewise.
5760 [POSIX] (ENOTSOCK): Likewise.
5761 [POSIX] (EOPNOTSUPP): Likewise.
5762 [POSIX] (EOVERFLOW): Likewise.
5763 [POSIX] (EPROTO): Likewise.
5764 [POSIX] (EPROTONOSUPPORT): Likewise.
5765 [POSIX] (EPROTOTYPE): Likewise.
5766 [POSIX] (ESTALE): Likewise.
5767 [POSIX] (ETIME): Likewise.
5768 [POSIX] (ETXTBSY): Likewise.
5769 [POSIX] (EWOULDBLOCK): Likewise.
5770 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
5771 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
5772 [POSIX] (SEEK_CUR): Likewise.
5773 [POSIX] (SEEK_END): Likewise.
5774 [POSIX || UNIX98] (mode_t): Do not require.
5775 [POSIX] (off_t): Likewise.
5776 [POSIX] (pid_t): Likewise.
5777 [POSIX] (sys/stat.h): Do not allow header.
5778 [POSIX] (unistd.h): Likewise.
5779 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
5780 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
5781 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
5782 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
5784 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
5785 sigevent): Specify elements.
5786 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
5788 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
5789 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
5791 * conform/data/cpio.h-data [POSIX]: Disable whole file.
5792 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
5793 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
5794 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
5795 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
5796 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
5797 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
5798 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
5799 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
5800 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
5801 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
5802 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
5803 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
5804 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
5806 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
5808 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
5810 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
5812 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
5813 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
5814 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
5815 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
5816 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
5817 Specify lower bound on value.
5818 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
5819 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
5820 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
5821 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
5822 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
5823 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
5824 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
5825 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
5827 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
5829 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
5830 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
5831 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
5832 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
5833 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
5834 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
5835 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
5836 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
5837 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
5838 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
5839 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
5840 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
5841 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
5842 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
5843 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
5844 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
5846 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
5848 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
5849 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
5850 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
5851 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
5852 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
5853 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
5855 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
5856 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
5857 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
5858 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
5859 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
5860 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
5861 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
5863 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
5864 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
5865 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
5866 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
5867 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
5868 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
5869 specify as optional.
5870 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
5871 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
5872 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
5873 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
5874 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
5875 [XPG3] (NL_LANGMAX): Likewise.
5876 [POSIX || XPG3] (NL_MSGMAX): Likewise.
5877 [POSIX || XPG3] (NL_NMAX): Likewise.
5878 [POSIX || XPG3] (NL_SETMAX): Likewise.
5879 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
5880 [XPG3] (NZERO): Likewise.
5881 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
5882 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
5883 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
5884 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
5885 (REG_ERANGE): Expect.
5886 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
5888 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
5889 Use (void) in prototype.
5890 [POSIX] (*_t): Allow.
5891 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
5892 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
5893 (WRDE_BADVAL): Expect.
5895 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
5897 [XPG3 || XPG4] (O_RSYNC): Likewise.
5898 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
5900 [XPG3 || XPG4] (pthread_sigmask): Likewise.
5901 [XPG3 || XPG4] (sigqueue): Likewise.
5902 [XPG3 || XPG4] (sigtimedwait): Likewise.
5903 [XPG3 || XPG4] (sigwaitinfo): Likewise.
5904 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
5905 [XPG3 || XPG4] (vsnprintf): Likewise.
5906 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
5908 [XPG3 || XPG4] (blksize_t): Likewise.
5909 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
5911 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
5912 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
5913 [XPG3 || XPG4] (struct itimerspec): Likewise.
5914 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
5915 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
5916 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
5917 [XPG3 || XPG4] (clockid_t): Likewise.
5918 [XPG3 || XPG4] (timer_t): Likewise.
5919 [XPG3 || XPG4] (clock_getres): Likewise.
5920 [XPG3 || XPG4] (clock_gettime): Likewise.
5921 [XPG3 || XPG4] (clock_settime): Likewise.
5922 [XPG3 || XPG4] (nanosleep): Likewise.
5923 [XPG3 || XPG4] (timer_create): Likewise.
5924 [XPG3 || XPG4] (timer_delete): Likewise.
5925 [XPG3 || XPG4] (timer_gettime): Likewise.
5926 [XPG3 || XPG4] (timer_getoverrun): Likewise.
5927 [XPG3 || XPG4] (timer_settime): Likewise.
5928 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
5929 [XPG3 || XPG4] (getlogin_r): Likewise.
5930 [XPG3 || XPG4] (pread): Likewise.
5931 [XPG3 || XPG4] (pthread_atfork): Likewise.
5932 [XPG3 || XPG4] (pwrite): Likewise.
5935 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
5938 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
5940 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
5941 finalizing MALLSTREAM.
5943 * sysdeps/mach/hurd/syncfs.c: New file.
5945 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5948 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
5949 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
5950 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
5951 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
5952 (_nss_dns_gethostbyname4_r): Likewise.
5953 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
5954 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
5956 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
5959 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
5961 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
5963 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
5964 * elf/cache.c (print_entry): Print ",AArch64" for
5967 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
5968 * elf/cache.c (print_entry): Print ",hard-float" for
5971 2012-11-18 David S. Miller <davem@davemloft.net>
5973 With help from Joseph Myers.
5974 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
5976 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
5978 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
5979 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
5981 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
5982 * math/libm-test.inc (y0_test): New tests.
5983 (y1_test): New tests.
5984 * sysdeps/i386/fpu/libm-test-ulps: Update.
5985 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5986 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5988 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
5990 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
5992 * configure: Regenerated.
5994 2012-11-17 David S. Miller <davem@davemloft.net>
5997 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
5998 nonzero exponents with absolute value below 0x1p-128 to +/-
6001 2012-11-17 Joseph Myers <joseph@codesourcery.com>
6003 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
6005 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
6007 * posix/getconf-speclist.c: New file.
6008 * posix/posix-envs.def: Likewise.
6009 * posix/confstr.c (START_ENV_GROUP): New macro.
6010 (END_ENV_GROUP): Likewise.
6011 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
6012 (KNOWN_PRESENT_ENV_STRING): Likewise.
6013 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
6014 (UNKNOWN_ENVIRONMENT): Likewise.
6015 (confstr): Include posix-envs.def instead of handling
6016 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
6017 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
6018 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
6019 (END_ENV_GROUP): Likewise.
6020 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
6021 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
6022 (UNKNOWN_ENVIRONMENT): Likewise.
6023 (__sysconf): Include posix-envs.def instead of handling associated
6024 cases directly here.
6025 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
6026 preprocessing getconf-speclist.c rather than running getconf or
6027 generating empty file.
6029 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
6031 * scripts/check-local-headers.sh: Ignore 'mach' headers.
6033 2012-11-16 Andrej Lajovic <natrij@gmail.com>
6036 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
6038 2012-11-16 David S. Miller <davem@davemloft.net>
6040 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
6041 smaller than LDBL_EPSILON/2.0L, just return xm1.
6043 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
6045 * elf/tst-array1.c (init): Set constructor priority to 1000.
6046 (fini): Set destructor priority to 1000.
6047 * elf/tst-array2dep.c: Likewise.
6049 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6052 * libio/fileops.c (_IO_new_file_write): Correctly return error.
6053 (_IO_new_file_xsputn): Also return EOF if none of the input
6054 data was written when overflow failed.
6055 * libio/iopadn.c (_IO_padn): Likewise.
6056 * libio/iowpadn.c (_IO_wpadn): Likewise.
6057 * stdio-common/tst-put-error.c: Add copyright notice.
6058 (do_test): Add case for printing padded string.
6059 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
6060 _IO_padn returned error.
6061 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
6062 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
6065 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6067 * libio/libioP.h: Add comment note that the references to C++
6068 bits are now obsolete.
6070 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6072 * math/libm-test.inc (check_complex): Use asprintf.
6074 2012-11-14 Joseph Myers <joseph@codesourcery.com>
6076 * debug/pcprofiledump.c (print_version): Update copyright year.
6077 * malloc/memusagestat.c (print_version): Likewise.
6079 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
6082 * elf/Makefile (tests): Add tst-audit8.
6083 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
6084 ($(objpfx)tst-audit8.out): New target.
6085 (tst-audit8-ENV): New variable.
6086 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
6087 audit if l_reloc_result is NULL.
6088 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
6089 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
6090 * elf/tst-audit8.c: New file.
6092 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6094 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
6095 * misc/Makefile (CFLAGS-select.c): Define.
6096 * posix/Makefile (CFLAGS-pause.c): Define.
6098 2012-11-13 David S. Miller <davem@davemloft.net>
6100 * crypt/Makefile: Move test targets after toplevel Rules
6101 inclusion. Grab any necessary sysdep routines when linking.
6102 * crypt/md5.c (md5_process_block): Remove define, we will always
6103 name it __md5_process_block.
6104 (md5_finish_ctx): Update md5_process_block call.
6105 (md5_stream): Likewise.
6106 (md5_process_bytes): Likewise.
6107 (md5_process_block): Rename to __md5_process_block and move to ...
6108 * crypt/md5-block.c: ... here.
6109 * crypt/sha256.c (sha256_process_block): Move to ...
6110 * crypt/sha256-block.c: ... here.
6111 * crypt/sha512.c (sha512_process_block): Move to ...
6112 * crypt/sha512-block.c: ... here.
6113 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
6115 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
6116 * sysdeps/sparc/sparc64/multiarch/Makefile
6117 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
6119 (localedef-aux): Add md5 crypto assembler when in locale subdir.
6120 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
6122 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
6123 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
6124 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
6125 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
6126 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
6127 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
6128 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
6129 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
6130 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
6132 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
6133 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
6135 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
6137 2012-11-13 Joseph Myers <joseph@codesourcery.com>
6139 * timezone/tzselect.ksh: Update from tzcode git revision
6140 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
6141 * timezone/zdump.c: Likewise.
6142 * timezone/zic.c: Likewise.
6143 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
6144 in TZVERSION setting, not $(PKGVERSION).
6145 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
6146 REPORT_BUGS_TO settings.
6149 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
6152 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6154 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
6155 detection to immediately after _FP_ROUND().
6156 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
6159 2012-11-11 David S. Miller <davem@davemloft.net>
6161 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
6163 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
6164 __close rather than their public counterparts.
6166 2012-11-10 Joseph Myers <joseph@codesourcery.com>
6168 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
6170 [UNIX98] (sem_timedwait): Do not expect.
6171 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
6172 [XPG4 || UNIX98] (sockatmark): Do not expect.
6173 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
6174 (clock_getcpuclockid): Do not expect.
6175 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
6176 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
6178 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
6179 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
6180 [UNIX98] (vwscanf): Likewise.
6181 [UNIX98] (vswscanf): Likewise.
6183 2012-11-09 Joseph Myers <joseph@codesourcery.com>
6185 * timezone/version.h: Remove file.
6186 * timezone/README: Do not refer to version.h.
6187 * timezone/Makefile ($(objpfx)zic.o): New dependency on
6189 ($(objpfx)zdump.o): Likewise.
6190 ($(objpfx)version.h): New target.
6192 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
6194 * timezone/README: Don't mention modification to tzselect.ksh.
6195 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
6196 work on unmodified tzselect.ksh. Substitute version numbers in
6199 * Makefile (format-me): Remove.
6200 (INSTALL): Adjust indentation. Use commands directly instead of
6203 * aclocal.m4 (ACX_PKGVERSION): New macro.
6204 (ACX_BUGURL): Likewise.
6205 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
6206 (PKGVERSION): New AC_DEFINE_UNQUOTED.
6207 (REPORT_BUGS_TO): Likewise.
6208 * configure: Regenerated.
6209 * config.h.in (PKGVERSION): New macro.
6210 (REPORT_BUGS_TO): Likewise.
6211 * config.make.in (PKGVERSION): New variable.
6212 (PKGVERSION_TEXI): Likewise.
6213 (REPORT_BUGS_TO): Likewise.
6214 (REPORT_BUGS_TEXI): Likewise.
6215 * Makefile (format-me): Use -I$(common-objpfx)manual.
6216 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
6217 ($(common-objpfx)manual/%): New target.
6218 (manual/%): Remove target.
6219 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
6220 (print_version): Use PKGVERSION.
6221 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
6222 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
6224 ($(objpfx)xtrace): Likewise.
6225 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
6226 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
6227 (print_version): Use PKGVERSION.
6228 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
6229 (do_version): Use PKGVERSION.
6230 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
6232 (common-ldd-rewrite): Likewise.
6233 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
6234 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
6235 (print_version): Use PKGVERSION.
6236 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
6237 * elf/pldd.c (argp_program_bug_address): Remove variable.
6238 (more_help): New function.
6239 (argp): Use more_help.
6240 (print_version): Use PKGVERSION.
6241 * elf/sln.c (main): Use PKGVERSION.
6242 (usage): Use REPORT_BUGS_TO.
6243 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
6244 (top level): Use PKGVERSION.
6245 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
6246 (print_version): Use PKGVERSION.
6247 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
6248 (print_version): Use PKGVERSION.
6249 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
6250 (print_version): Use PKGVERSION.
6251 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
6252 (print_version): Use PKGVERSION.
6253 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
6254 (print_version): Use PKGVERSION.
6255 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
6256 (print_version): Use PKGVERSION.
6257 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
6259 ($(objpfx)memusage): Likewise.
6260 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
6261 (do_version): Use PKGVERSION.
6262 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
6263 (print_version): Use PKGVERSION.
6264 * malloc/mtrace.pl ($PACKAGE): Remove variable.
6265 ($PKGVERSION): New variable.
6266 ($REPORT_BUGS_TO): Likewise.
6267 (usage): Use $REPORT_BUGS_TO.
6268 (top level): Use $PKGVERSION.
6269 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
6270 ($(objpfx)pkgvers.texi): New rule.
6271 ($(objpfx)stamp-pkgvers): Likewise.
6272 * manual/install.texi: Include pkgvers.texi.
6273 (--with-pkgversion): Document new configure option.
6274 (--with-bugurl): Likewise.
6275 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
6276 than necessarily for this particular distribution. Use
6277 REPORT_BUGS_TO for where to report bugs.
6278 * INSTALL: Regenerated.
6279 * manual/libc.texinfo: Include pkgvers.texi.
6280 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
6281 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
6282 (print_version): Use PKGVERSION.
6283 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
6284 (print_version): Use PKGVERSION.
6285 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
6286 (print_version): Use PKGVERSION.
6287 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
6288 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
6290 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
6291 (print_version): Use PKGVERSION.
6292 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
6293 (print_version): Use PKGVERSION.
6294 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
6297 * timezone/checktab.awk: Update from tzcode 2012i.
6298 * timezone/ialloc.c: Likewise.
6299 * timezone/private.h: Likewise.
6300 * timezone/scheck.c: Likewise.
6301 * timezone/tzfile.h: Likewise.
6302 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
6303 (TZVERSION): Hardcode tzcode version number.
6304 * timezone/zdump.c: Update from tzcode 2012i.
6305 * timezone/zic.c: Likewise.
6306 * timezone/version.h: New file.
6307 * timezone/README: Describe version.h. Update upstream location.
6310 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
6311 (mktemp): Enable declaration.
6312 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
6313 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
6314 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
6315 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
6317 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
6319 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
6321 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
6323 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
6325 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
6329 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
6330 offset in buffer as u_int32_t not u_long. Consistently use memcpy
6331 for copies of such integer values.
6332 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
6333 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
6335 2012-11-09 Andreas Jaeger <aj@suse.de>
6337 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
6338 definitions and declarations that are provided by
6339 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
6341 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6343 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
6344 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
6345 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
6348 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6350 * elf/elf.h: Update comment before AArch64 relocations.
6352 2012-11-07 David S. Miller <davem@davemloft.net>
6354 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
6355 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
6356 (__start_context): Declare.
6357 (__makecontext_ret): Delete.
6358 (__makecontext): Hook up __start_context instead of
6360 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
6361 (sysdep_routines): Add __start_context when in stdlib.
6363 2012-11-07 Joseph Myers <joseph@codesourcery.com>
6365 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
6366 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
6367 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
6369 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
6370 (READELF): New variable. Use it instead of hardcoded "readelf".
6372 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
6374 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
6375 * sysdeps/x86/Makefile: Here.
6376 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
6377 * sysdeps/x86/tst-xmmymm.sh: This.
6379 2012-11-07 Joseph Myers <joseph@codesourcery.com>
6381 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
6383 [UNIX98] (pthread_barrier_t): Do not expect.
6384 [UNIX98] (pthread_barrierattr_t): Likewise.
6385 [UNIX98] (pthread_spinlock_t): Likewise.
6386 [UNIX98] (pthread_barrier_destroy): Likewise.
6387 [UNIX98] (pthread_barrier_init): Likewise.
6388 [UNIX98] (pthread_barrier_wait): Likewise.
6389 [UNIX98] (pthread_barrierattr_destroy): Likewise.
6390 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
6391 [UNIX98] (pthread_barrierattr_init): Likewise.
6392 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
6393 [UNIX98] (pthread_getcpuclockid): Likewise.
6394 [UNIX98] (pthread_mutex_timedlock): Likewise.
6395 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
6396 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
6397 [UNIX98] (pthread_sigmask): Likewise.
6398 [UNIX98] (pthread_spin_destroy): Likewise.
6399 [UNIX98] (pthread_spin_init): Likewise.
6400 [UNIX98] (pthread_spin_lock): Likewise.
6401 [UNIX98] (pthread_spin_trylock): Likewise.
6402 [UNIX98] (pthread_spin_unlock): Likewise.
6403 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
6405 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
6406 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
6407 [XPG3 || XPG4] (pthread_cond_t): Likewise.
6408 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
6409 [XPG3 || XPG4] (pthread_key_t): Likewise.
6410 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
6411 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
6412 [XPG3 || XPG4] (pthread_once_t): Likewise.
6413 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
6414 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
6415 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
6416 [XPG3 || XPG4] (pthread_t): Likewise.
6418 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
6420 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
6422 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
6423 Change function return type to int.
6425 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
6426 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
6427 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
6428 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
6429 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
6430 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
6431 [!POSIX] (posix_madvise): Likewise.
6432 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
6434 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
6435 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
6437 (posix_mem_offset): Likewise.
6438 (posix_typed_mem_get_info): Likewise.
6439 (posix_typed_mem_open): Likewise.
6441 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
6442 Change condition to [XOPEN2K8].
6444 * conform/conformtest.pl: Preprocess allow-header data with -x c
6445 instead of from stdin.
6446 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
6447 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
6448 [C99-based standards] (cerfc): Likewise.
6449 [C99-based standards] (cexp2): Likewise.
6450 [C99-based standards] (cexpm1): Likewise.
6451 [C99-based standards] (clog10): Likewise.
6452 [C99-based standards] (clog1p): Likewise.
6453 [C99-based standards] (clog2): Likewise.
6454 [C99-based standards] (clgamma): Likewise.
6455 [C99-based standards] (ctgamma): Likewise.
6456 [C99-based standards] (cerff): Likewise.
6457 [C99-based standards] (cerfcf): Likewise.
6458 [C99-based standards] (cexp2f): Likewise.
6459 [C99-based standards] (cexpm1f): Likewise.
6460 [C99-based standards] (clog10f): Likewise.
6461 [C99-based standards] (clog1pf): Likewise.
6462 [C99-based standards] (clog2f): Likewise.
6463 [C99-based standards] (clgammaf): Likewise.
6464 [C99-based standards] (ctgammaf): Likewise.
6465 [C99-based standards] (cerfl): Likewise.
6466 [C99-based standards] (cerfcl): Likewise.
6467 [C99-based standards] (cexp2l): Likewise.
6468 [C99-based standards] (cexpm1l): Likewise.
6469 [C99-based standards] (clog10l): Likewise.
6470 [C99-based standards] (clog1pl): Likewise.
6471 [C99-based standards] (clog2l): Likewise.
6472 [C99-based standards] (clgammal): Likewise.
6473 [C99-based standards] (ctgammal): Likewise.
6474 * conform/data/inttypes.h-data [C99-based standards]: Include
6475 stdint.h-data. Remove all expectations for stdint.h contents.
6476 [C99-based standards] (PRI*): Do not allow.
6477 [C99-based standards] (SCN*): Likewise.
6478 [C99-based standards] (*_t): Likewise.
6479 [C99-based-standards] (PRId8): Expect macro.
6480 [C99-based-standards] (PRIi8): Likewise.
6481 [C99-based-standards] (PRIo8): Likewise.
6482 [C99-based-standards] (PRIu8): Likewise.
6483 [C99-based-standards] (PRIx8): Likewise.
6484 [C99-based-standards] (PRIX8): Likewise.
6485 [C99-based-standards] (SCNd8): Likewise.
6486 [C99-based-standards] (SCNi8): Likewise.
6487 [C99-based-standards] (SCNo8): Likewise.
6488 [C99-based-standards] (SCNu8): Likewise.
6489 [C99-based-standards] (SCNx8): Likewise.
6490 [C99-based-standards] (PRIdLEAST8): Likewise.
6491 [C99-based-standards] (PRIiLEAST8): Likewise.
6492 [C99-based-standards] (PRIoLEAST8): Likewise.
6493 [C99-based-standards] (PRIuLEAST8): Likewise.
6494 [C99-based-standards] (PRIxLEAST8): Likewise.
6495 [C99-based-standards] (PRIXLEAST8): Likewise.
6496 [C99-based-standards] (SCNdLEAST8): Likewise.
6497 [C99-based-standards] (SCNiLEAST8): Likewise.
6498 [C99-based-standards] (SCNoLEAST8): Likewise.
6499 [C99-based-standards] (SCNuLEAST8): Likewise.
6500 [C99-based-standards] (SCNxLEAST8): Likewise.
6501 [C99-based-standards] (PRIdFAST8): Likewise.
6502 [C99-based-standards] (PRIiFAST8): Likewise.
6503 [C99-based-standards] (PRIoFAST8): Likewise.
6504 [C99-based-standards] (PRIuFAST8): Likewise.
6505 [C99-based-standards] (PRIxFAST8): Likewise.
6506 [C99-based-standards] (PRIXFAST8): Likewise.
6507 [C99-based-standards] (SCNdFAST8): Likewise.
6508 [C99-based-standards] (SCNiFAST8): Likewise.
6509 [C99-based-standards] (SCNoFAST8): Likewise.
6510 [C99-based-standards] (SCNuFAST8): Likewise.
6511 [C99-based-standards] (SCNxFAST8): Likewise.
6512 [C99-based-standards] (PRId16): Likewise.
6513 [C99-based-standards] (PRIi16): Likewise.
6514 [C99-based-standards] (PRIo16): Likewise.
6515 [C99-based-standards] (PRIu16): Likewise.
6516 [C99-based-standards] (PRIx16): Likewise.
6517 [C99-based-standards] (PRIX16): Likewise.
6518 [C99-based-standards] (SCNd16): Likewise.
6519 [C99-based-standards] (SCNi16): Likewise.
6520 [C99-based-standards] (SCNo16): Likewise.
6521 [C99-based-standards] (SCNu16): Likewise.
6522 [C99-based-standards] (SCNx16): Likewise.
6523 [C99-based-standards] (PRIdLEAST16): Likewise.
6524 [C99-based-standards] (PRIiLEAST16): Likewise.
6525 [C99-based-standards] (PRIoLEAST16): Likewise.
6526 [C99-based-standards] (PRIuLEAST16): Likewise.
6527 [C99-based-standards] (PRIxLEAST16): Likewise.
6528 [C99-based-standards] (PRIXLEAST16): Likewise.
6529 [C99-based-standards] (SCNdLEAST16): Likewise.
6530 [C99-based-standards] (SCNiLEAST16): Likewise.
6531 [C99-based-standards] (SCNoLEAST16): Likewise.
6532 [C99-based-standards] (SCNuLEAST16): Likewise.
6533 [C99-based-standards] (SCNxLEAST16): Likewise.
6534 [C99-based-standards] (PRIdFAST16): Likewise.
6535 [C99-based-standards] (PRIiFAST16): Likewise.
6536 [C99-based-standards] (PRIoFAST16): Likewise.
6537 [C99-based-standards] (PRIuFAST16): Likewise.
6538 [C99-based-standards] (PRIxFAST16): Likewise.
6539 [C99-based-standards] (PRIXFAST16): Likewise.
6540 [C99-based-standards] (SCNdFAST16): Likewise.
6541 [C99-based-standards] (SCNiFAST16): Likewise.
6542 [C99-based-standards] (SCNoFAST16): Likewise.
6543 [C99-based-standards] (SCNuFAST16): Likewise.
6544 [C99-based-standards] (SCNxFAST16): Likewise.
6545 [C99-based-standards] (PRId32): Likewise.
6546 [C99-based-standards] (PRIi32): Likewise.
6547 [C99-based-standards] (PRIo32): Likewise.
6548 [C99-based-standards] (PRIu32): Likewise.
6549 [C99-based-standards] (PRIx32): Likewise.
6550 [C99-based-standards] (PRIX32): Likewise.
6551 [C99-based-standards] (SCNd32): Likewise.
6552 [C99-based-standards] (SCNi32): Likewise.
6553 [C99-based-standards] (SCNo32): Likewise.
6554 [C99-based-standards] (SCNu32): Likewise.
6555 [C99-based-standards] (SCNx32): Likewise.
6556 [C99-based-standards] (PRIdLEAST32): Likewise.
6557 [C99-based-standards] (PRIiLEAST32): Likewise.
6558 [C99-based-standards] (PRIoLEAST32): Likewise.
6559 [C99-based-standards] (PRIuLEAST32): Likewise.
6560 [C99-based-standards] (PRIxLEAST32): Likewise.
6561 [C99-based-standards] (PRIXLEAST32): Likewise.
6562 [C99-based-standards] (SCNdLEAST32): Likewise.
6563 [C99-based-standards] (SCNiLEAST32): Likewise.
6564 [C99-based-standards] (SCNoLEAST32): Likewise.
6565 [C99-based-standards] (SCNuLEAST32): Likewise.
6566 [C99-based-standards] (SCNxLEAST32): Likewise.
6567 [C99-based-standards] (PRIdFAST32): Likewise.
6568 [C99-based-standards] (PRIiFAST32): Likewise.
6569 [C99-based-standards] (PRIoFAST32): Likewise.
6570 [C99-based-standards] (PRIuFAST32): Likewise.
6571 [C99-based-standards] (PRIxFAST32): Likewise.
6572 [C99-based-standards] (PRIXFAST32): Likewise.
6573 [C99-based-standards] (SCNdFAST32): Likewise.
6574 [C99-based-standards] (SCNiFAST32): Likewise.
6575 [C99-based-standards] (SCNoFAST32): Likewise.
6576 [C99-based-standards] (SCNuFAST32): Likewise.
6577 [C99-based-standards] (SCNxFAST32): Likewise.
6578 [C99-based-standards] (PRId64): Likewise.
6579 [C99-based-standards] (PRIi64): Likewise.
6580 [C99-based-standards] (PRIo64): Likewise.
6581 [C99-based-standards] (PRIu64): Likewise.
6582 [C99-based-standards] (PRIx64): Likewise.
6583 [C99-based-standards] (PRIX64): Likewise.
6584 [C99-based-standards] (SCNd64): Likewise.
6585 [C99-based-standards] (SCNi64): Likewise.
6586 [C99-based-standards] (SCNo64): Likewise.
6587 [C99-based-standards] (SCNu64): Likewise.
6588 [C99-based-standards] (SCNx64): Likewise.
6589 [C99-based-standards] (PRIdLEAST64): Likewise.
6590 [C99-based-standards] (PRIiLEAST64): Likewise.
6591 [C99-based-standards] (PRIoLEAST64): Likewise.
6592 [C99-based-standards] (PRIuLEAST64): Likewise.
6593 [C99-based-standards] (PRIxLEAST64): Likewise.
6594 [C99-based-standards] (PRIXLEAST64): Likewise.
6595 [C99-based-standards] (SCNdLEAST64): Likewise.
6596 [C99-based-standards] (SCNiLEAST64): Likewise.
6597 [C99-based-standards] (SCNoLEAST64): Likewise.
6598 [C99-based-standards] (SCNuLEAST64): Likewise.
6599 [C99-based-standards] (SCNxLEAST64): Likewise.
6600 [C99-based-standards] (PRIdFAST64): Likewise.
6601 [C99-based-standards] (PRIiFAST64): Likewise.
6602 [C99-based-standards] (PRIoFAST64): Likewise.
6603 [C99-based-standards] (PRIuFAST64): Likewise.
6604 [C99-based-standards] (PRIxFAST64): Likewise.
6605 [C99-based-standards] (PRIXFAST64): Likewise.
6606 [C99-based-standards] (SCNdFAST64): Likewise.
6607 [C99-based-standards] (SCNiFAST64): Likewise.
6608 [C99-based-standards] (SCNoFAST64): Likewise.
6609 [C99-based-standards] (SCNuFAST64): Likewise.
6610 [C99-based-standards] (SCNxFAST64): Likewise.
6611 [C99-based-standards] (PRIdMAX): Likewise.
6612 [C99-based-standards] (PRIiMAX): Likewise.
6613 [C99-based-standards] (PRIoMAX): Likewise.
6614 [C99-based-standards] (PRIuMAX): Likewise.
6615 [C99-based-standards] (PRIxMAX): Likewise.
6616 [C99-based-standards] (PRIXMAX): Likewise.
6617 [C99-based-standards] (SCNdMAX): Likewise.
6618 [C99-based-standards] (SCNiMAX): Likewise.
6619 [C99-based-standards] (SCNoMAX): Likewise.
6620 [C99-based-standards] (SCNuMAX): Likewise.
6621 [C99-based-standards] (SCNxMAX): Likewise.
6622 [C99-based-standards] (PRIdPTR): Likewise.
6623 [C99-based-standards] (PRIiPTR): Likewise.
6624 [C99-based-standards] (PRIoPTR): Likewise.
6625 [C99-based-standards] (PRIuPTR): Likewise.
6626 [C99-based-standards] (PRIxPTR): Likewise.
6627 [C99-based-standards] (PRIXPTR): Likewise.
6628 [C99-based-standards] (SCNdPTR): Likewise.
6629 [C99-based-standards] (SCNiPTR): Likewise.
6630 [C99-based-standards] (SCNoPTR): Likewise.
6631 [C99-based-standards] (SCNuPTR): Likewise.
6632 [C99-based-standards] (SCNxPTR): Likewise.
6633 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
6635 * conform/data/stdint.h-data: Update comments to clarify
6637 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
6639 [C99-based standards] (INT8_MAX): Likewise.
6640 [C99-based standards] (INT16_MIN): Likewise.
6641 [C99-based standards] (INT16_MAX): Likewise.
6642 [C99-based standards] (INT32_MIN): Likewise.
6643 [C99-based standards] (INT32_MAX): Likewise.
6644 [C99-based standards] (INT64_MIN): Likewise.
6645 [C99-based standards] (INT64_MAX): Likewise.
6646 [C99-based standards] (UINT8_MAX): Likewise.
6647 [C99-based standards] (UINT16_MAX): Likewise.
6648 [C99-based standards] (UINT32_MAX): Likewise.
6649 [C99-based standards] (UINT64_MAX): Likewise.
6650 [C99-based standards] (INT_LEAST8_MIN): Likewise.
6651 [C99-based standards] (INT_LEAST8_MAX): Likewise.
6652 [C99-based standards] (INT_LEAST16_MIN): Likewise.
6653 [C99-based standards] (INT_LEAST16_MAX): Likewise.
6654 [C99-based standards] (INT_LEAST32_MIN): Likewise.
6655 [C99-based standards] (INT_LEAST32_MAX): Likewise.
6656 [C99-based standards] (INT_LEAST64_MIN): Likewise.
6657 [C99-based standards] (INT_LEAST64_MAX): Likewise.
6658 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
6659 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
6660 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
6661 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
6662 [C99-based standards] (INT_FAST8_MIN): Likewise.
6663 [C99-based standards] (INT_FAST8_MAX): Likewise.
6664 [C99-based standards] (INT_FAST16_MIN): Likewise.
6665 [C99-based standards] (INT_FAST16_MAX): Likewise.
6666 [C99-based standards] (INT_FAST32_MIN): Likewise.
6667 [C99-based standards] (INT_FAST32_MAX): Likewise.
6668 [C99-based standards] (INT_FAST64_MIN): Likewise.
6669 [C99-based standards] (INT_FAST64_MAX): Likewise.
6670 [C99-based standards] (UINT_FAST8_MAX): Likewise.
6671 [C99-based standards] (UINT_FAST16_MAX): Likewise.
6672 [C99-based standards] (UINT_FAST32_MAX): Likewise.
6673 [C99-based standards] (UINT_FAST64_MAX): Likewise.
6674 [C99-based standards] (INTPTR_MIN): Likewise.
6675 [C99-based standards] (INTPTR_MAX): Likewise.
6676 [C99-based standards] (UINTPTR_MAX): Likewise.
6677 [C99-based standards] (INTMAX_MIN): Likewise.
6678 [C99-based standards] (INTMAX_MAX): Likewise.
6679 [C99-based standards] (UINTMAX_MAX): Likewise.
6680 [C99-based standards] (PTRDIFF_MIN): Likewise.
6681 [C99-based standards] (PTRDIFF_MAX): Likewise.
6682 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
6683 [C99-based standards] (SIZE_MAX): Likewise.
6684 [C99-based standards] (WCHAR_MAX): Likewise.
6685 [C99-based standards] (WINT_MAX): Likewise.
6686 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
6687 constraint on value.
6688 [C99-based standards] (WCHAR_MIN): Likewise.
6689 [C99-based standards] (WINT_MIN): Likewise.
6690 [C99-based standards] (*_t): Allow.
6691 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
6692 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
6693 Include math.h-data and complex.h-data. Remove all expectations
6694 of math.h and complex.h contents.
6695 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
6697 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
6698 (struct tm): Expect tag.
6699 [C99-based-standards] (wcstof): Expect function.
6700 [C99-based-standards] (wcstold): Likewise.
6701 [C99-based-standards] (wcstoll): Likewise.
6702 [C99-based-standards] (wcstoull): Likewise.
6703 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
6704 macro-int-constant. Specify type.
6705 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
6706 constraint on value.
6707 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
6709 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
6711 [ISO C standards]: Do not allow headers.
6712 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
6713 wcs[abcdefghijklmnopqrstuvwxyz]*.
6714 [ISO C standards] (*_t): Do not allow.
6715 * conform/data/wctype.h-data [C99-based standards] (iswblank):
6717 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
6718 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
6720 [ISO C standards]: Do not allow headers.
6721 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
6722 is[abcdefghijklmnopqrstuvwxyz]*.
6723 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
6724 to[abcdefghijklmnopqrstuvwxyz]*.
6725 [ISO C standards] (*_t): Do not allow.
6726 * conform/data/stdalign.h-data: New file.
6727 * conform/data/stdbool.h-data: Likewise.
6728 * conform/data/stdnoreturn.h-data: Likewise.
6730 2012-11-07 Roland McGrath <roland@hack.frob.com>
6733 * manual/filesys.texi (Directory Entries): Typo fix.
6734 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
6736 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6738 * elf/elf.h (EM_AARCH64): New macro.
6739 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
6740 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
6741 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
6742 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
6743 (R_AARCH64_TLSDESC): Likewise.
6744 (NT_ARM_TLS): Likewise.
6745 (NT_ARM_HW_BREAK): Likewise.
6746 (NT_ARM_HW_WATCH): Likewise.
6748 2012-11-07 Joseph Myers <joseph@codesourcery.com>
6751 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
6752 (__ieee754_powl): Saturate nonzero exponents with absolute value
6753 below 0x1p-79 to +/- 0x1p-79.
6754 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
6755 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
6756 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
6757 nonzero exponents with absolute value below 0x1p-32 to +/-
6759 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
6760 (__ieee754_powl): Saturate nonzero exponents with absolute value
6761 below 0x1p-79 to +/- 0x1p-79.
6762 * math/libm-test.inc (pow_test): Add more tests.
6764 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6766 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
6767 _dl_s390_cap_flags with kernel. Increase string length.
6768 (_dl_s390_platforms): Add z196 and zEC12.
6770 2012-11-07 Joseph Myers <joseph@codesourcery.com>
6772 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
6773 Change XOPEN21K to XOPEN2K.
6775 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
6777 * string/memmove.c: Use memcpy when possible.
6779 2012-11-06 Andreas Jaeger <aj@suse.de>
6781 * po/eo.po: Update from translation team.
6783 2012-11-06 Joseph Myers <joseph@codesourcery.com>
6786 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
6787 exponent and small x and y exponents, scale x or y up. Increase
6788 by 2 the exponent used in scaling up.
6789 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6790 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6791 * math/libm-test.inc (fma_test): Add more tests.
6792 (fma_test_towardzero): Likewise.
6793 (fma_test_downward): Likewise.
6794 (fma_test_upward): Likewise.
6796 2012-11-05 Joseph Myers <joseph@codesourcery.com>
6799 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
6803 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
6804 namespace for names of struct fields.
6805 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
6807 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
6808 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
6810 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
6813 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
6815 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
6817 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
6821 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
6824 2012-11-04 Joseph Myers <joseph@codesourcery.com>
6827 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
6828 definitely overflow as x * y not x * y + z.
6829 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6830 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6831 * math/libm-test.inc (fma_test): Add more tests.
6832 (fma_test_towardzero): Likewise.
6833 (fma_test_downward): Likewise.
6834 (fma_test_upward): Likewise.
6836 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
6840 * include/stub-tag.h: Remove file.
6841 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
6843 * manual/maint.texi (Porting): Don't reference it.
6844 * Makerules ($(objpfx)stubs): Likewise.
6845 * dirent/closedir.c: Don't include <stub-tag.h>.
6846 * dirent/dirfd.c: Likewise.
6847 * dirent/fdopendir.c: Likewise.
6848 * dirent/getdents.c: Likewise.
6849 * dirent/getdents64.c: Likewise.
6850 * dirent/opendir.c: Likewise.
6851 * dirent/readdir.c: Likewise.
6852 * dirent/readdir64.c: Likewise.
6853 * dirent/readdir64_r.c: Likewise.
6854 * dirent/readdir_r.c: Likewise.
6855 * dirent/rewinddir.c: Likewise.
6856 * dirent/seekdir.c: Likewise.
6857 * dirent/telldir.c: Likewise.
6858 * gmon/profil.c: Likewise.
6859 * grp/setgroups.c: Likewise.
6860 * inet/if_index.c: Likewise.
6861 * io/access.c: Likewise.
6862 * io/chdir.c: Likewise.
6863 * io/chmod.c: Likewise.
6864 * io/chown.c: Likewise.
6865 * io/close.c: Likewise.
6866 * io/dup.c: Likewise.
6867 * io/dup2.c: Likewise.
6868 * io/dup3.c: Likewise.
6869 * io/euidaccess.c: Likewise.
6870 * io/faccessat.c: Likewise.
6871 * io/fchdir.c: Likewise.
6872 * io/fchmod.c: Likewise.
6873 * io/fchmodat.c: Likewise.
6874 * io/fchown.c: Likewise.
6875 * io/fchownat.c: Likewise.
6876 * io/fcntl.c: Likewise.
6877 * io/flock.c: Likewise.
6878 * io/fstatfs.c: Likewise.
6879 * io/fstatfs64.c: Likewise.
6880 * io/fstatvfs.c: Likewise.
6881 * io/fstatvfs64.c: Likewise.
6882 * io/futimens.c: Likewise.
6883 * io/fxstat.c: Likewise.
6884 * io/fxstat64.c: Likewise.
6885 * io/fxstatat.c: Likewise.
6886 * io/fxstatat64.c: Likewise.
6887 * io/getcwd.c: Likewise.
6888 * io/isatty.c: Likewise.
6889 * io/lchmod.c: Likewise.
6890 * io/lchown.c: Likewise.
6891 * io/link.c: Likewise.
6892 * io/linkat.c: Likewise.
6893 * io/lseek.c: Likewise.
6894 * io/lseek64.c: Likewise.
6895 * io/lxstat64.c: Likewise.
6896 * io/mkdir.c: Likewise.
6897 * io/mkdirat.c: Likewise.
6898 * io/mkfifo.c: Likewise.
6899 * io/mkfifoat.c: Likewise.
6900 * io/open.c: Likewise.
6901 * io/open64.c: Likewise.
6902 * io/openat.c: Likewise.
6903 * io/openat64.c: Likewise.
6904 * io/pipe.c: Likewise.
6905 * io/pipe2.c: Likewise.
6906 * io/poll.c: Likewise.
6907 * io/posix_fadvise.c: Likewise.
6908 * io/posix_fadvise64.c: Likewise.
6909 * io/posix_fallocate.c: Likewise.
6910 * io/posix_fallocate64.c: Likewise.
6911 * io/read.c: Likewise.
6912 * io/readlink.c: Likewise.
6913 * io/readlinkat.c: Likewise.
6914 * io/rmdir.c: Likewise.
6915 * io/sendfile.c: Likewise.
6916 * io/sendfile64.c: Likewise.
6917 * io/statfs.c: Likewise.
6918 * io/statfs64.c: Likewise.
6919 * io/statvfs.c: Likewise.
6920 * io/statvfs64.c: Likewise.
6921 * io/symlink.c: Likewise.
6922 * io/symlinkat.c: Likewise.
6923 * io/ttyname.c: Likewise.
6924 * io/ttyname_r.c: Likewise.
6925 * io/umask.c: Likewise.
6926 * io/unlink.c: Likewise.
6927 * io/unlinkat.c: Likewise.
6928 * io/utime.c: Likewise.
6929 * io/utimensat.c: Likewise.
6930 * io/write.c: Likewise.
6931 * io/xmknod.c: Likewise.
6932 * io/xmknodat.c: Likewise.
6933 * io/xstat.c: Likewise.
6934 * io/xstat64.c: Likewise.
6935 * login/getpt.c: Likewise.
6936 * login/grantpt.c: Likewise.
6937 * login/unlockpt.c: Likewise.
6938 * math/e_acoshl.c: Likewise.
6939 * math/e_acosl.c: Likewise.
6940 * math/e_asinl.c: Likewise.
6941 * math/e_atan2l.c: Likewise.
6942 * math/e_atanhl.c: Likewise.
6943 * math/e_coshl.c: Likewise.
6944 * math/e_expl.c: Likewise.
6945 * math/e_fmodl.c: Likewise.
6946 * math/e_gammal_r.c: Likewise.
6947 * math/e_hypotl.c: Likewise.
6948 * math/e_j0l.c: Likewise.
6949 * math/e_j1l.c: Likewise.
6950 * math/e_jnl.c: Likewise.
6951 * math/e_lgammal_r.c: Likewise.
6952 * math/e_log10l.c: Likewise.
6953 * math/e_log2l.c: Likewise.
6954 * math/e_logl.c: Likewise.
6955 * math/e_powl.c: Likewise.
6956 * math/e_rem_pio2l.c: Likewise.
6957 * math/e_sinhl.c: Likewise.
6958 * math/e_sqrtl.c: Likewise.
6959 * math/fclrexcpt.c: Likewise.
6960 * math/fedisblxcpt.c: Likewise.
6961 * math/feenablxcpt.c: Likewise.
6962 * math/fegetenv.c: Likewise.
6963 * math/fegetexcept.c: Likewise.
6964 * math/fegetround.c: Likewise.
6965 * math/feholdexcpt.c: Likewise.
6966 * math/fesetenv.c: Likewise.
6967 * math/fesetround.c: Likewise.
6968 * math/feupdateenv.c: Likewise.
6969 * math/fgetexcptflg.c: Likewise.
6970 * math/fraiseexcpt.c: Likewise.
6971 * math/fsetexcptflg.c: Likewise.
6972 * math/ftestexcept.c: Likewise.
6973 * math/k_cosl.c: Likewise.
6974 * math/k_rem_pio2l.c: Likewise.
6975 * math/k_sinl.c: Likewise.
6976 * math/k_tanl.c: Likewise.
6977 * math/s_asinhl.c: Likewise.
6978 * math/s_atanl.c: Likewise.
6979 * math/s_cbrtl.c: Likewise.
6980 * math/s_erfl.c: Likewise.
6981 * math/s_expm1l.c: Likewise.
6982 * math/s_log1pl.c: Likewise.
6983 * math/s_tanhl.c: Likewise.
6984 * misc/acct.c: Likewise.
6985 * misc/brk.c: Likewise.
6986 * misc/chflags.c: Likewise.
6987 * misc/chroot.c: Likewise.
6988 * misc/fchflags.c: Likewise.
6989 * misc/fgetxattr.c: Likewise.
6990 * misc/flistxattr.c: Likewise.
6991 * misc/fremovexattr.c: Likewise.
6992 * misc/fsetxattr.c: Likewise.
6993 * misc/fsync.c: Likewise.
6994 * misc/ftruncate.c: Likewise.
6995 * misc/futimes.c: Likewise.
6996 * misc/futimesat.c: Likewise.
6997 * misc/getdomain.c: Likewise.
6998 * misc/getdtsz.c: Likewise.
6999 * misc/gethostid.c: Likewise.
7000 * misc/gethostname.c: Likewise.
7001 * misc/getloadavg.c: Likewise.
7002 * misc/getpagesize.c: Likewise.
7003 * misc/getsysstats.c: Likewise.
7004 * misc/getxattr.c: Likewise.
7005 * misc/gtty.c: Likewise.
7006 * misc/ioctl.c: Likewise.
7007 * misc/lgetxattr.c: Likewise.
7008 * misc/listxattr.c: Likewise.
7009 * misc/llistxattr.c: Likewise.
7010 * misc/lremovexattr.c: Likewise.
7011 * misc/lsetxattr.c: Likewise.
7012 * misc/lutimes.c: Likewise.
7013 * misc/madvise.c: Likewise.
7014 * misc/mincore.c: Likewise.
7015 * misc/mlock.c: Likewise.
7016 * misc/mlockall.c: Likewise.
7017 * misc/mmap.c: Likewise.
7018 * misc/mprotect.c: Likewise.
7019 * misc/msync.c: Likewise.
7020 * misc/munlock.c: Likewise.
7021 * misc/munlockall.c: Likewise.
7022 * misc/munmap.c: Likewise.
7023 * misc/preadv.c: Likewise.
7024 * misc/preadv64.c: Likewise.
7025 * misc/ptrace.c: Likewise.
7026 * misc/pwritev.c: Likewise.
7027 * misc/pwritev64.c: Likewise.
7028 * misc/readv.c: Likewise.
7029 * misc/reboot.c: Likewise.
7030 * misc/remap_file_pages.c: Likewise.
7031 * misc/removexattr.c: Likewise.
7032 * misc/revoke.c: Likewise.
7033 * misc/select.c: Likewise.
7034 * misc/setdomain.c: Likewise.
7035 * misc/setegid.c: Likewise.
7036 * misc/seteuid.c: Likewise.
7037 * misc/sethostid.c: Likewise.
7038 * misc/sethostname.c: Likewise.
7039 * misc/setregid.c: Likewise.
7040 * misc/setreuid.c: Likewise.
7041 * misc/setxattr.c: Likewise.
7042 * misc/sstk.c: Likewise.
7043 * misc/stty.c: Likewise.
7044 * misc/swapoff.c: Likewise.
7045 * misc/swapon.c: Likewise.
7046 * misc/sync.c: Likewise.
7047 * misc/syncfs.c: Likewise.
7048 * misc/syscall.c: Likewise.
7049 * misc/truncate.c: Likewise.
7050 * misc/ualarm.c: Likewise.
7051 * misc/usleep.c: Likewise.
7052 * misc/ustat.c: Likewise.
7053 * misc/utimes.c: Likewise.
7054 * misc/vhangup.c: Likewise.
7055 * misc/writev.c: Likewise.
7056 * posix/_exit.c: Likewise.
7057 * posix/alarm.c: Likewise.
7058 * posix/execve.c: Likewise.
7059 * posix/fexecve.c: Likewise.
7060 * posix/fork.c: Likewise.
7061 * posix/fpathconf.c: Likewise.
7062 * posix/getaddrinfo.c: Likewise.
7063 * posix/getegid.c: Likewise.
7064 * posix/geteuid.c: Likewise.
7065 * posix/getgid.c: Likewise.
7066 * posix/getgroups.c: Likewise.
7067 * posix/getlogin.c: Likewise.
7068 * posix/getlogin_r.c: Likewise.
7069 * posix/getpgid.c: Likewise.
7070 * posix/getpid.c: Likewise.
7071 * posix/getppid.c: Likewise.
7072 * posix/getresgid.c: Likewise.
7073 * posix/getresuid.c: Likewise.
7074 * posix/getsid.c: Likewise.
7075 * posix/getuid.c: Likewise.
7076 * posix/glob64.c: Likewise.
7077 * posix/nanosleep.c: Likewise.
7078 * posix/pathconf.c: Likewise.
7079 * posix/pause.c: Likewise.
7080 * posix/posix_madvise.c: Likewise.
7081 * posix/pread.c: Likewise.
7082 * posix/pread64.c: Likewise.
7083 * posix/pwrite.c: Likewise.
7084 * posix/pwrite64.c: Likewise.
7085 * posix/sched_getaffinity.c: Likewise.
7086 * posix/sched_getp.c: Likewise.
7087 * posix/sched_gets.c: Likewise.
7088 * posix/sched_primax.c: Likewise.
7089 * posix/sched_primin.c: Likewise.
7090 * posix/sched_rr_gi.c: Likewise.
7091 * posix/sched_setaffinity.c: Likewise.
7092 * posix/sched_setp.c: Likewise.
7093 * posix/sched_sets.c: Likewise.
7094 * posix/sched_yield.c: Likewise.
7095 * posix/setgid.c: Likewise.
7096 * posix/setlogin.c: Likewise.
7097 * posix/setpgid.c: Likewise.
7098 * posix/setresgid.c: Likewise.
7099 * posix/setresuid.c: Likewise.
7100 * posix/setsid.c: Likewise.
7101 * posix/setuid.c: Likewise.
7102 * posix/sleep.c: Likewise.
7103 * posix/spawni.c: Likewise.
7104 * posix/sysconf.c: Likewise.
7105 * posix/times.c: Likewise.
7106 * posix/wait.c: Likewise.
7107 * posix/wait3.c: Likewise.
7108 * posix/wait4.c: Likewise.
7109 * posix/waitpid.c: Likewise.
7110 * resolv/gai_sigqueue.c: Likewise.
7111 * resource/getpriority.c: Likewise.
7112 * resource/getrlimit.c: Likewise.
7113 * resource/getrusage.c: Likewise.
7114 * resource/nice.c: Likewise.
7115 * resource/setpriority.c: Likewise.
7116 * resource/setrlimit.c: Likewise.
7117 * resource/ulimit.c: Likewise.
7118 * rt/aio_cancel.c: Likewise.
7119 * rt/aio_fsync.c: Likewise.
7120 * rt/aio_read.c: Likewise.
7121 * rt/aio_sigqueue.c: Likewise.
7122 * rt/aio_suspend.c: Likewise.
7123 * rt/aio_write.c: Likewise.
7124 * rt/clock_getres.c: Likewise.
7125 * rt/clock_gettime.c: Likewise.
7126 * rt/clock_nanosleep.c: Likewise.
7127 * rt/clock_settime.c: Likewise.
7128 * rt/lio_listio.c: Likewise.
7129 * rt/mq_close.c: Likewise.
7130 * rt/mq_getattr.c: Likewise.
7131 * rt/mq_notify.c: Likewise.
7132 * rt/mq_open.c: Likewise.
7133 * rt/mq_receive.c: Likewise.
7134 * rt/mq_send.c: Likewise.
7135 * rt/mq_setattr.c: Likewise.
7136 * rt/mq_timedreceive.c: Likewise.
7137 * rt/mq_timedsend.c: Likewise.
7138 * rt/mq_unlink.c: Likewise.
7139 * rt/shm_open.c: Likewise.
7140 * rt/shm_unlink.c: Likewise.
7141 * rt/timer_create.c: Likewise.
7142 * rt/timer_delete.c: Likewise.
7143 * rt/timer_getoverr.c: Likewise.
7144 * rt/timer_gettime.c: Likewise.
7145 * rt/timer_settime.c: Likewise.
7146 * setjmp/__longjmp.c: Likewise.
7147 * setjmp/setjmp.c: Likewise.
7148 * signal/kill.c: Likewise.
7149 * signal/killpg.c: Likewise.
7150 * signal/raise.c: Likewise.
7151 * signal/sigaction.c: Likewise.
7152 * signal/sigaltstack.c: Likewise.
7153 * signal/sigblock.c: Likewise.
7154 * signal/sigignore.c: Likewise.
7155 * signal/sigintr.c: Likewise.
7156 * signal/signal.c: Likewise.
7157 * signal/sigpause.c: Likewise.
7158 * signal/sigpending.c: Likewise.
7159 * signal/sigqueue.c: Likewise.
7160 * signal/sigreturn.c: Likewise.
7161 * signal/sigset.c: Likewise.
7162 * signal/sigsetmask.c: Likewise.
7163 * signal/sigstack.c: Likewise.
7164 * signal/sigsuspend.c: Likewise.
7165 * signal/sigtimedwait.c: Likewise.
7166 * signal/sigvec.c: Likewise.
7167 * signal/sigwait.c: Likewise.
7168 * signal/sigwaitinfo.c: Likewise.
7169 * signal/sysv_signal.c: Likewise.
7170 * socket/accept.c: Likewise.
7171 * socket/accept4.c: Likewise.
7172 * socket/bind.c: Likewise.
7173 * socket/connect.c: Likewise.
7174 * socket/getpeername.c: Likewise.
7175 * socket/getsockname.c: Likewise.
7176 * socket/getsockopt.c: Likewise.
7177 * socket/isfdtype.c: Likewise.
7178 * socket/listen.c: Likewise.
7179 * socket/recv.c: Likewise.
7180 * socket/recvfrom.c: Likewise.
7181 * socket/recvmsg.c: Likewise.
7182 * socket/send.c: Likewise.
7183 * socket/sendmsg.c: Likewise.
7184 * socket/sendto.c: Likewise.
7185 * socket/setsockopt.c: Likewise.
7186 * socket/shutdown.c: Likewise.
7187 * socket/sockatmark.c: Likewise.
7188 * socket/socket.c: Likewise.
7189 * socket/socketpair.c: Likewise.
7190 * stdio-common/ctermid.c: Likewise.
7191 * stdio-common/cuserid.c: Likewise.
7192 * stdio-common/remove.c: Likewise.
7193 * stdio-common/rename.c: Likewise.
7194 * stdio-common/renameat.c: Likewise.
7195 * stdio-common/tempname.c: Likewise.
7196 * stdlib/getcontext.c: Likewise.
7197 * stdlib/makecontext.c: Likewise.
7198 * stdlib/setcontext.c: Likewise.
7199 * stdlib/swapcontext.c: Likewise.
7200 * stdlib/system.c: Likewise.
7201 * streams/fattach.c: Likewise.
7202 * streams/fdetach.c: Likewise.
7203 * streams/getmsg.c: Likewise.
7204 * streams/getpmsg.c: Likewise.
7205 * streams/putmsg.c: Likewise.
7206 * streams/putpmsg.c: Likewise.
7207 * sysdeps/unix/bsd/getpt.c: Likewise.
7208 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
7209 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
7210 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
7211 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
7213 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
7214 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
7215 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
7216 * sysvipc/msgctl.c: Likewise.
7217 * sysvipc/msgget.c: Likewise.
7218 * sysvipc/msgrcv.c: Likewise.
7219 * sysvipc/msgsnd.c: Likewise.
7220 * sysvipc/semctl.c: Likewise.
7221 * sysvipc/semget.c: Likewise.
7222 * sysvipc/semop.c: Likewise.
7223 * sysvipc/semtimedop.c: Likewise.
7224 * sysvipc/shmat.c: Likewise.
7225 * sysvipc/shmctl.c: Likewise.
7226 * sysvipc/shmdt.c: Likewise.
7227 * sysvipc/shmget.c: Likewise.
7228 * termios/tcdrain.c: Likewise.
7229 * termios/tcflow.c: Likewise.
7230 * termios/tcflush.c: Likewise.
7231 * termios/tcgetattr.c: Likewise.
7232 * termios/tcgetpgrp.c: Likewise.
7233 * termios/tcsendbrk.c: Likewise.
7234 * termios/tcsetattr.c: Likewise.
7235 * termios/tcsetpgrp.c: Likewise.
7236 * time/adjtime.c: Likewise.
7237 * time/clock.c: Likewise.
7238 * time/getitimer.c: Likewise.
7239 * time/gettimeofday.c: Likewise.
7240 * time/setitimer.c: Likewise.
7241 * time/settimeofday.c: Likewise.
7242 * time/stime.c: Likewise.
7243 * time/time.c: Likewise.
7245 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
7247 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
7250 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
7252 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
7254 2012-11-03 Joseph Myers <joseph@codesourcery.com>
7257 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
7258 FE_TONEAREST before applying Dekker multiplication and Knuth
7259 addition. Clear inexact exceptions and check for exact zero
7261 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7262 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
7263 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7264 * math/libm-test.inc (fma_test): Add more tests.
7265 (fma_test_towardzero): Likewise.
7266 (fma_test_downward): Likewise.
7267 (fma_test_upward): Likewise.
7268 * sysdeps/generic/math_private.h (default_libc_fesetround): New
7270 (libc_fesetround): New macro.
7271 (libc_fesetroundf): Likewise.
7272 (libc_fesetroundl): Likewise.
7273 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
7275 (libc_fesetround_387): Likewise.
7276 (libc_fesetroundf): New macro.
7277 (libc_fesetround): Likewise.
7278 (libc_fesetroundl): Likewise.
7279 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
7281 (libc_fesetroundf): New macro.
7282 (libc_fesetround): Likewise.
7283 (libc_fesetroundl): Likewise.
7284 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
7285 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
7286 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
7288 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
7289 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
7291 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
7292 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
7294 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
7298 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
7299 integer constant usable in #if and use that to give value to enum
7301 (FE_DIVBYZERO): Likewise.
7302 (FE_UNDERFLOW): Likewise.
7303 (FE_OVERFLOW): Likewise.
7304 (FE_INVALID): Likewise.
7305 (FE_INVALID_SNAN): Likewise.
7306 (FE_INVALID_ISI): Likewise.
7307 (FE_INVALID_IDI): Likewise.
7308 (FE_INVALID_ZDZ): Likewise.
7309 (FE_INVALID_IMZ): Likewise.
7310 (FE_INVALID_COMPARE): Likewise.
7311 (FE_INVALID_SOFTWARE): Likewise.
7312 (FE_INVALID_SQRT): Likewise.
7313 (FE_INVALID_INTEGER_CONVERSION): Likewise.
7314 (FE_TONEAREST): Likewise.
7315 (FE_TOWARDZERO): Likewise.
7316 (FE_UPWARD): Likewise.
7317 (FE_DOWNWARD): Likewise.
7318 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
7319 (FE_DIVBYZERO): Likewise.
7320 (FE_OVERFLOW): Likewise.
7321 (FE_UNDERFLOW): Likewise.
7322 (FE_INEXACT): Likewise.
7323 (FE_TONEAREST): Likewise.
7324 (FE_DOWNWARD): Likewise.
7325 (FE_UPWARD): Likewise.
7326 (FE_TOWARDZERO): Likewise.
7327 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
7328 (FE_UNDERFLOW): Likewise.
7329 (FE_OVERFLOW): Likewise.
7330 (FE_DIVBYZERO): Likewise.
7331 (FE_INVALID): Likewise.
7332 (FE_TONEAREST): Likewise.
7333 (FE_TOWARDZERO): Likewise.
7334 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
7335 (FE_OVERFLOW): Likewise.
7336 (FE_UNDERFLOW): Likewise.
7337 (FE_DIVBYZERO): Likewise.
7338 (FE_INEXACT): Likewise.
7339 (FE_TONEAREST): Likewise.
7340 (FE_TOWARDZERO): Likewise.
7341 (FE_UPWARD): Likewise.
7342 (FE_DOWNWARD): Likewise.
7343 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
7344 (FE_DIVBYZERO): Likewise.
7345 (FE_OVERFLOW): Likewise.
7346 (FE_UNDERFLOW): Likewise.
7347 (FE_INEXACT): Likewise.
7348 (FE_TONEAREST): Likewise.
7349 (FE_DOWNWARD): Likewise.
7350 (FE_UPWARD): Likewise.
7351 (FE_TOWARDZERO): Likewise.
7353 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
7355 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
7357 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
7359 * scripts/cross-test-ssh.sh (command): Use newlines to separate
7360 commands. Quote $PWD.
7361 (blacklist_exports): Don't use remove_newlines. Replace "declare
7363 (remove_newlines): Remove.
7365 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
7367 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
7368 * stdlib/stdlib.h (atof): Moved to ...
7369 * include/bits/stdlib-float.h: Here. New file.
7370 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
7371 * stdlib/bits/stdlib-float.h: New file.
7372 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
7374 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
7377 2012-11-02 Joseph Myers <joseph@codesourcery.com>
7379 * conform/conformtest.pl (@headers): Add fenv.h.
7380 * conform/data/fenv.h-data: New file.
7381 * include/fenv.h [_ISOMAC]: Disable all contents of file except
7382 include of <math/fenv.h>.
7384 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
7385 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
7386 && !UNIX98]. Enables tests for XOPEN2K8.
7387 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
7388 POSIX2008]: Likewise.
7390 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
7391 (struct rusage): Do not expect type or its members.
7394 * math/math.h (FP_NAN): Define macro to integer constant usable in
7395 #if and use that to give value to enum constant.
7396 (FP_INFINITE): Likewise.
7397 (FP_ZERO): Likewise.
7398 (FP_SUBNORMAL): Likewise.
7399 (FP_NORMAL): Likewise.
7401 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
7403 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
7404 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
7407 2012-11-02 Roland McGrath <roland@hack.frob.com>
7409 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
7410 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
7411 autoconf-time if not.
7412 * configure.in: Remove AC_PREREQ.
7414 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7416 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
7417 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
7418 of the internal implementation.
7420 2012-11-02 Joseph Myers <joseph@codesourcery.com>
7422 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
7423 except include of <misc/sys/syslog.h>.
7425 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
7427 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
7428 function returns with a NULL context exit with zero.
7430 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7432 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
7434 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
7436 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
7437 (run_program_cmd): This.
7438 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
7439 (tst_langinfo): New variable. Use it.
7441 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
7443 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
7444 floating point opcodes.
7446 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
7448 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
7451 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
7453 * sysdeps/mach/hurd/powerpc: Remove directory.
7454 * sysdeps/mach/powerpc: Likewise.
7456 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
7458 * scripts/check-local-headers.sh: Ignore c++ headers.
7460 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
7462 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
7463 __libc_cleanup_region_start argument.
7465 2012-11-01 Joseph Myers <joseph@codesourcery.com>
7469 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
7470 x * y using scaling, not as x * y + z.
7471 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7472 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7473 * math/libm-test.inc (fma_test): Add more tests.
7474 (fma_test_towardzero): Likewise.
7475 (fma_test_downward): Likewise.
7476 (fma_test_upward): Likewise.
7478 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
7480 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
7482 2012-10-31 Joseph Myers <joseph@codesourcery.com>
7484 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
7487 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
7489 * rt/tst-shm.c (worker): Correct checking for mmap failure.
7491 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
7493 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7498 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7500 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7501 Fix the order of the list for glibc 2.17.
7502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7505 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
7507 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7509 2012-10-31 Joseph Myers <joseph@codesourcery.com>
7512 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
7513 for low part of x being zero before using __atanl (y).
7514 * math/libm-test.inc (atan2_test): Add another test.
7516 * manual/install.texi (Configuring and compiling): Document
7517 general use of test-wrapper and test-wrapper-env.
7518 * INSTALL: Regenerated.
7520 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
7521 (__fma): Do not extract and scale down low bits on after-rounding
7522 systems when result rounded to normal precision would have normal
7524 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
7525 (__fmal): Do not extract and scale down low bits on after-rounding
7526 systems when result rounded to normal precision would have normal
7528 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
7529 (__fmal): Do not extract and scale down low bits on after-rounding
7530 systems when result rounded to normal precision would have normal
7532 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
7534 (fma_test): Add more tests.
7535 (fma_test_towardzero): Likewise.
7536 (fma_test_downward): Likewise.
7537 (fma_test_upward): Likewise.
7539 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
7541 * sysdeps/i386/tininess.h: Renamed to ...
7542 * sysdeps/x86/tininess.h: This.
7543 * sysdeps/x86_64/tininess.h: Removed.
7545 2012-10-30 Joseph Myers <joseph@codesourcery.com>
7547 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
7548 input. Use $(build-program-cmd).
7549 ($(objpfx)tst-array1-static.out): Likewise.
7550 ($(objpfx)tst-array2.out): Likewise.
7551 ($(objpfx)tst-array3.out): Likewise.
7552 ($(objpfx)tst-array4.out): Likewise.
7553 ($(objpfx)tst-array5.out): Likewise.
7554 ($(objpfx)tst-array5-static.out): Likewise.
7556 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
7558 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
7561 * nss/nsswitch.h (nss_interface_function): Provide new
7562 macro for use with NSS functions.
7563 * grp/initgroups.c: Use new macro.
7564 * nss/getXXbyYY.c: Likewise.
7565 * nss/getXXbyYY_r.c: Likewise.
7566 * nss/getXXent.c: Likewise.
7567 * nss/getXXent_r.c: Likewise.
7568 * sysdeps/posix/getaddrinfo.c: Likewise.
7570 2012-10-30 Andreas Jaeger <aj@suse.de>
7572 * po/ru.po: Update Russion translation from translation project.
7574 2012-10-30 Joseph Myers <joseph@codesourcery.com>
7578 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
7579 result and shift together with sticky bit instead of replicating
7580 round-to-nearest rounding.
7581 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7582 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7583 * math/libm-test.inc (fma_test): Add more tests. Do not permit
7584 missing underflow exceptions.
7585 (fma_test_towardzero): Add more tests.
7586 (fma_test_downward): Likewise.
7587 (fma_test_upward): Likewise.
7590 * sysdeps/generic/tininess.h: New file.
7591 * sysdeps/i386/tininess.h: Likewise.
7592 * sysdeps/sh/tininess.h: Likewise.
7593 * sysdeps/x86_64/tininess.h: Likewise.
7594 * stdlib/tst-strtod-underflow.c: Likewise.
7595 * stdlib/tst-tininess.c: Likewise.
7596 * stdlib/strtod_l.c: Include <tininess.h>.
7597 (round_and_return): Do not set errno for exact underflow cases.
7598 Force an underflow exception when setting errno for underflow.
7599 Determine underflow based on rounding to normal precision if
7600 TININESS_AFTER_ROUNDING.
7601 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
7602 ERANGE for exact underflow cases.
7603 * stdlib/Makefile (tests): Add tst-tininess and
7604 tst-strtod-underflow.
7605 ($(objpfx)tst-tininess): Use $(link-libm).
7606 ($(objpfx)tst-strtod-underflow): Likewise.
7608 2012-10-30 Andreas Jaeger <aj@suse.de>
7611 * elf/Makefile (tests): Remove conditional for have-initfini-array
7612 since this is now always required and the variable does not exist
7614 (tests-static): Likewise.
7615 (modules-names): Likewise.
7617 * po/eo.po: Add Esperanto translation from translation project.
7619 * elf/tst-array1.c (fini_array): Make writeable so that it can be
7620 merged with constructor/destructor.
7621 (init_array): Likewise.
7622 * elf/tst-array2dep.c (fini_array): Likewise.
7623 (init_array): Likewise.
7625 2012-10-29 Mike Frysinger <vapier@gentoo.org>
7627 * manual/message.texi: Delete @cartouche tags.
7629 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
7631 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
7633 * sysdeps/mach/hurd/fsync.c: Likewise.
7635 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
7636 [_POSIX_REALTIME_SIGNALS]: Change condition to
7637 [_POSIX_REALTIME_SIGNALS > 0].
7639 2012-10-27 Andreas Jaeger <aj@suse.de>
7641 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
7642 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
7643 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
7644 [__WORDSIZE != 64]: Likewise.
7646 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
7648 * iconvdata/tst-table.sh: Remove ${SHELL}.
7649 * iconvdata/tst-tables.sh: Likewise.
7651 2012-10-25 David S. Miller <davem@davemloft.net>
7653 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7654 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
7657 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
7659 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
7660 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
7661 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
7664 2012-10-25 Roland McGrath <roland@hack.frob.com>
7666 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7667 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
7670 2012-10-25 Joseph Myers <joseph@codesourcery.com>
7671 Jim Blandy <jimb@codesourcery.com>
7673 * scripts/cross-test-ssh.sh: New file.
7674 * manual/install.texi (Configuring and compiling): Document use of
7676 * INSTALL: Regenerated.
7678 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
7680 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
7683 2012-10-25 Joseph Myers <joseph@codesourcery.com>
7685 * Makeconfig (run-program-prefix): Fix comment.
7687 2012-10-24 Joseph Myers <joseph@codesourcery.com>
7688 Jim Blandy <jimb@codesourcery.com>
7690 * Makeconfig (test-wrapper): New variable,
7691 (test-wrapper-env): Likewise.
7692 [$(cross-compiling) = yes && $(test-wrapper) != ""]
7693 (run-built-tests): Define to yes.
7694 (run-program-prefix): Use $(test-wrapper).
7695 (built-program-cmd): Likewise.
7696 * Rules (make-test-out): Use $(test-wrapper-env) and
7697 $(host-built-program-cmd).
7698 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
7699 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
7701 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
7702 $(test-wrapper-env) to tst-rtld-load-self.sh.
7703 ($(objpfx)order2.out): Use $(test-wrapper).
7704 ($(objpfx)tst-initorder.out): Likewise.
7705 ($(objpfx)tst-initorder2.out): Likewise.
7706 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
7707 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
7708 (test_wrapper_env): New variable. Use it to run ld.so.
7709 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
7710 Use it to run ld.so.
7711 (test_wrapper_env): Likewise.
7712 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
7713 $(test-wrapper) to run-iconv-test.sh.
7714 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
7715 (ICONV): Use $test_wrapper.
7716 * posix/Makefile ($(objpfx)globtest.out): Pass
7717 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
7718 globtest.sh, not $(run-program-prefix).
7719 * posix/globtest.sh (run_via_rtld_prefix): New variable.
7720 (test_wrapper): Likewise.
7721 (test_wrapper_env): Likewise. Use it to run globtest with HOME
7722 set together with run_via_rtld_prefix.
7723 (run_program_prefix): Define in terms of test_wrapper and
7724 run_via_rtld_prefix.
7726 2012-10-24 Roland McGrath <roland@hack.frob.com>
7728 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
7729 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
7733 * include/time.h: Remove librt_hidden_proto (clock_gettime).
7734 Declare __clock_getres, __clock_gettime, __clock_settime,
7735 __clock_nanosleep, and __clock_getcpuclockid.
7736 * rt/clock_gettime.c: Define __clock_gettime as an alias.
7737 Remove librt_hidden_def (clock_gettime).
7738 * sysdeps/unix/clock_gettime.c: Likewise.
7739 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
7740 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
7741 * rt/clock_getres.c: Define __clock_getres as an alias.
7742 * sysdeps/posix/clock_getres.c: Likewise.
7743 * rt/clock_settime.c: Define __clock_settime as an alias.
7744 * sysdeps/unix/clock_settime.c: Likewise.
7745 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
7746 * sysdeps/unix/clock_nanosleep.c: Likewise.
7747 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
7748 * rt/clock-compat.c: New file.
7749 * rt/Makefile (librt-routines): Add clock-compat and move
7750 $(clock-routines) to ...
7751 (routines): ... here, new variable.
7752 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
7753 Don't add get_clockfreq here.
7754 * rt/Versions (libc: GLIBC_2.17): New version set.
7755 Add clock_* symbols here.
7756 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
7757 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
7758 (GLIBC_2.17): Add clock_* symbols.
7759 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
7760 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
7761 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
7762 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7764 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7766 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
7767 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
7768 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
7769 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
7770 * NEWS: Mention the move.
7772 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
7773 Use __open, __read, __close rather than their public counterparts.
7774 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7775 (__get_clockfreq_via_cpuinfo): Likewise.
7776 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
7777 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
7779 * config.h.in (HAVE_IFUNC): New #undef.
7780 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
7782 * configure: Regenerated.
7784 2012-10-24 Mike Frysinger <vapier@gentoo.org>
7786 * configure.in: Move READELF check to start of file.
7787 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
7788 libc_cv_asm_gnu_indirect_function in the process.
7789 * configure: Regenerated.
7791 2012-10-24 Mike Frysinger <vapier@gentoo.org>
7793 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
7794 send the output to /dev/null.
7795 (libc_cv_cc_with_libunwind): Likewise.
7796 (libc_cv_as_noexecstack): Likewise.
7797 * configure: Regenerate.
7799 2012-10-24 Joseph Myers <joseph@codesourcery.com>
7801 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
7803 * posix/globtest.sh (TMPDIR): Do not set.
7804 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
7805 (testout): Likewise.
7807 2012-10-24 Andreas Jaeger <aj@suse.de>
7809 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
7810 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
7811 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
7812 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
7813 posix_fadvise64, posix_fallocate64.
7815 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
7816 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
7817 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
7819 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
7821 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
7823 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
7824 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
7825 <bits/fcntl-linux.h>.
7826 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
7828 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
7829 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
7830 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
7831 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
7832 [__WORDSIZE != 64]: Likewise.
7834 2012-10-23 Joseph Myers <joseph@codesourcery.com>
7836 * Makeconfig (run-built-tests): New variable.
7837 * Rules [$(cross-compiling) = yes]: Change condition to
7838 [$(run-built-tests) = no].
7839 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
7840 to [$(run-built-tests) = yes].
7841 * elf/Makefile [$(cross-compiling) = no]: Likewise
7842 * grp/Makefile [$(cross-compiling) = no]: Likewise.
7843 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
7844 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
7845 * intl/Makefile [$(cross-compiling) = no]: Likewise.
7846 * io/Makefile [$(cross-compiling) = no]: Likewise.
7847 * libio/Makefile [$(cross-compiling) = no]: Likewise.
7848 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
7849 * misc/Makefile [$(cross-compiling) = no]: Likewise.
7850 * posix/Makefile [$(cross-compiling) = no]: Likewise.
7851 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
7852 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
7853 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
7854 * string/Makefile [$(cross-compiling) = no]: Likewise.
7856 * posix/Makefile ($(objpfx)globtest.out): Pass
7857 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
7858 $(rtld-installed-name).
7859 * posix/globtest.sh (elf_objpfx): Remove variable.
7860 (rtld_installed_name): Likewise.
7861 (library_path): Likewise.
7862 (run_program_prefix): New variable. Use for running globtest
7865 2012-10-23 Jim Blandy <jimb@codesourcery.com>
7866 Joseph Myers <joseph@codesourcery.com>
7868 * Makeconfig (host-built-program-cmd): New variable.
7869 * elf/Makefile (tst-stackguard1-ARGS): Use
7870 $(host-built-program-cmd).
7871 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
7872 (tst-spawn-ARGS): Likewise.
7873 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
7875 2012-10-23 Joseph Myers <joseph@codesourcery.com>
7876 Jim Blandy <jimb@codesourcery.com>
7878 * Makeconfig (run-via-rtld-prefix): New variable.
7879 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
7880 (built-program-cmd): Likewise.
7882 2012-10-22 Andreas Jaeger <aj@suse.de>
7884 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
7885 __O_RSYNC if it exists, otherwise to O_SYNC.
7887 2012-10-22 Jim Blandy <jimb@codesourcery.com>
7888 Joseph Myers <joseph@codesourcery.com>
7890 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
7892 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
7894 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
7897 2012-10-22 Andreas Jaeger <aj@suse.de>
7899 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
7901 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
7903 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7906 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
7907 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
7909 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
7911 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
7914 2012-10-21 Jim Blandy <jimb@codesourcery.com>
7915 Joseph Myers <joseph@codesourcery.com>
7917 * config.make.in (NM): New variable.
7919 2012-10-21 Andreas Jaeger <aj@suse.de>
7921 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
7922 definitions and declarations that are provided by
7923 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
7925 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
7928 * elf/Makefile (tests-static): Add tst-leaks1-static.
7929 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
7930 ($(objpfx)tst-leaks1-static): New rule.
7931 ($(objpfx)tst-leaks1-static-mem): Likewise.
7932 (tst-leaks1-static-ENV): New macro.
7933 * elf/dl-open.c (dl_open_worker): Check the main application
7934 only if SHARED is defined.
7935 * elf/tst-leaks1-static.c: New file.
7937 2012-10-20 Andreas Jaeger <aj@suse.de>
7939 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
7940 generic values for Linux.
7941 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
7942 and declarations that are provided by <bits/fcntl-linux.h> and
7943 include <bits/fcntl-linux.h>.
7944 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
7945 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
7947 2012-10-20 Roland McGrath <roland@hack.frob.com>
7949 * io/fcntl.h: Move include of <bits/types.h> to the top and
7950 include it unconditionally.
7952 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
7954 * wcsmbs/Makefile (tests-ifunc): New variable.
7955 (tests): Add $(tests-ifunc).
7956 * wcsmbs/test-wcschr-ifunc.c: New file.
7957 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
7958 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
7959 * wcsmbs/test-wcslen-ifunc.c: Likewise.
7960 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
7961 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
7963 * string/Makefile (tests-ifunc): New variable.
7964 (tests): Add $(tests-ifunc).
7965 * string/test-memccpy.c (TEST_NAME): New macro.
7966 * string/test-memchr.c (TEST_NAME): Likewise.
7967 * string/test-memcmp.c (TEST_NAME): Likewise.
7968 * string/test-memcpy.c (TEST_NAME): Likewise.
7969 * string/test-memmem.c (TEST_NAME): Likewise.
7970 * string/test-memmove.c (TEST_NAME): Likewise.
7971 * string/test-memset.c (TEST_NAME): Likewise.
7972 * string/test-rawmemchr.c (TEST_NAME): Likewise.
7973 * string/test-stpcpy.c (TEST_NAME): Likewise.
7974 * string/test-stpncpy.c (TEST_NAME): Likewise.
7975 * string/test-strcasecmp.c (TEST_NAME): Likewise.
7976 * string/test-strcasestr.c (TEST_NAME): Likewise.
7977 * string/test-strcat.c (TEST_NAME): Likewise.
7978 * string/test-strchr.c (TEST_NAME): Likewise.
7979 * string/test-strcmp.c(TEST_NAME): Likewise.
7980 * string/test-strcpy.c (TEST_NAME): Likewise.
7981 * string/test-strcspn.c (TEST_NAME): Likewise.
7982 * string/test-strlen.c (TEST_NAME): Likewise.
7983 * string/test-strncasecmp.c (TEST_NAME): Likewise.
7984 * string/test-strncmp.c (TEST_NAME): Likewise.
7985 * string/test-strncpy.c (TEST_NAME): Likewise.
7986 * string/test-strnlen.c (TEST_NAME): Likewise.
7987 * string/test-strpbrk.c (TEST_NAME): Likewise.
7988 * string/test-strrchr.c (TEST_NAME): Likewise.
7989 * string/test-strspn.c (TEST_NAME): Likewise.
7990 * string/test-strstr.c (TEST_NAME): Likewise.
7991 * string/test-bcopy-ifunc.c: New file.
7992 * string/test-bzero-ifunc.c: Likewise.
7993 * string/test-memccpy-ifunc.c: Likewise.
7994 * string/test-memchr-ifunc.c: Likewise.
7995 * string/test-memcmp-ifunc.c: Likewise.
7996 * string/test-memcpy-ifunc.c: Likewise.
7997 * string/test-memmem-ifunc.c: Likewise.
7998 * string/test-memmove-ifunc.c: Likewise.
7999 * string/test-mempcpy-ifunc.c: Likewise.
8000 * string/test-memset-ifunc.c: Likewise.
8001 * string/test-rawmemchr-ifunc.c: Likewise.
8002 * string/test-stpcpy-ifunc.c: Likewise.
8003 * string/test-stpncpy-ifunc.c: Likewise.
8004 * string/test-strcasecmp-ifunc.c: Likewise.
8005 * string/test-strcasestr-ifunc.c: Likewise.
8006 * string/test-strcat-ifunc.c: Likewise.
8007 * string/test-strchr-ifunc.c: Likewise.
8008 * string/test-strchrnul-ifunc.c: Likewise.
8009 * string/test-strcmp-ifunc.c: Likewise.
8010 * string/test-strcpy-ifunc.c: Likewise.
8011 * string/test-strcspn-ifunc.c: Likewise.
8012 * string/test-strlen-ifunc.c: Likewise.
8013 * string/test-strncasecmp-ifunc.c: Likewise.
8014 * string/test-strncat-ifunc.c: Likewise.
8015 * string/test-strncmp-ifunc.c: Likewise.
8016 * string/test-strncpy-ifunc.c: Likewise.
8017 * string/test-strnlen-ifunc.c: Likewise.
8018 * string/test-strpbrk-ifunc.c: Likewise.
8019 * string/test-strrchr-ifunc.c: Likewise.
8020 * string/test-strspn-ifunc.c: Likewise.
8021 * string/test-strstr-ifunc.c: Likewise.
8023 * debug/Makefile (tests-ifunc): New variable.
8024 (tests): Add $(tests-ifunc).
8025 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
8026 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
8027 * debug/test-stpcpy_chk-ifunc.c: New file.
8028 * debug/test-strcpy_chk-ifunc.c: Likewise.
8030 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
8033 * elf/dl-load.c (open_verify): Retry read if the entire ELF
8034 header is not read in.
8036 2012-10-19 Joseph Myers <joseph@codesourcery.com>
8038 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
8039 script to $(SHELL) as $<. Pass $(common-objpfx) to script
8040 directly. Pass built executable to script as
8041 $(built-program-cmd).
8042 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
8043 $testprogram without using LD_LIBRARY_PATH and $ldso.
8045 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
8046 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
8047 $(rtld-installed-name).
8048 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
8049 (rtld_installed_name): Likewise.
8050 (library_path): Likewise.
8051 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
8052 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
8053 $(run-program-prefix) to tst-tables.sh.
8054 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
8055 it to run tst-table-from and tst-table-to.
8056 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
8057 Pass it to tst-table.sh.
8058 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
8059 $(run-program-prefix) to tst-gettext.sh.
8060 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
8062 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
8064 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
8066 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
8067 to run tst-gettext2.
8068 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
8069 to run tst-translit.
8070 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
8071 $(run-program-prefix) to tst-mtrace.sh.
8072 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
8074 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
8075 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
8076 $(rtld-installed-name).
8077 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
8078 (rtld_installed_name): Likewise.
8079 (run_program_prefix): New variable. Use it to run wordexp-test.
8081 * Makeconfig (ARCH): Remove all definitions.
8082 (machine): Likewise.
8083 [ARCH]: Remove conditional code.
8084 [!objdir]: Give error.
8085 [!objdir] (objpfx): Remove.
8086 [!objdir] (common-objpfx): Likewise.
8087 [!objdir] (common-objdir): Likewise.
8088 * configure.in (config_makefile): Remove. Hardcode Makefile in
8089 AC_CONFIG_FILES call.
8090 * configure: Regenerated.
8093 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
8095 (testout): Likewise.
8097 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
8098 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
8099 $(rtld-installed-name).
8100 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
8101 (rtld_installed_name): Likwise.
8102 (runit): Remove function.
8103 (run_getconf): New variable, Use it for running getconf binary.
8105 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
8108 * string/test-memmem.c (check_result): New function.
8109 (do_one_test): Use it.
8110 (check1): New function.
8111 (test_main): Use it.
8113 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
8115 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
8117 2012-10-18 Joseph Myers <joseph@codesourcery.com>
8119 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
8120 (_G_LSEEK64): Likewise.
8121 (_G_MMAP64): Likewise.
8122 (_G_FSTAT64): Likewise.
8123 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
8124 (_G_LSEEK64): Likewise.
8125 (_G_MMAP64): Likewise.
8126 (_G_FSTAT64): Likewise.
8127 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
8128 unconditional. Call __mmap64 directly.
8129 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
8130 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
8132 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
8133 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
8135 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
8136 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
8138 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
8139 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
8141 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
8142 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
8144 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
8145 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
8146 __fxstat64 directly.
8147 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
8148 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
8150 (freopen64) [!_G_OPEN64]: Remove conditional code.
8151 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
8153 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
8154 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
8156 (ftello64) [!_G_LSEEK64]: Remove conditional code.
8157 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
8159 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
8160 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
8162 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
8163 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
8165 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
8166 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
8168 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
8169 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
8171 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
8173 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
8176 * manual/memory.texi (Malloc Tunable Parameters): Add note
8177 about free list pointers overwriting some perturb bytes.
8178 Wording suggested by Roland McGrath.
8180 2012-10-17 Joseph Myers <joseph@codesourcery.com>
8182 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
8183 (lgamma_test): Likewise.
8184 (tgamma_test): Likewise.
8186 2012-10-16 Florian Weimer <fweimer@redhat.com>
8189 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
8190 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
8192 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
8194 * NEWS: Mention BZ #14716.
8195 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
8196 when removing AVAILABLE1_USES_J macro.
8198 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
8200 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
8201 (__bswap_64): __uint64_t for unsigned 64-bit int.
8203 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
8205 * include/string.h (memmem): Declare libc hidden alias.
8206 * string/memmem.c (memmem): Define libc hidden alias.
8207 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
8208 __read, __close instead of open, read, close.
8210 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
8212 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
8213 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
8215 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
8216 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
8217 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
8219 (__rawmemchr_sse2): Likewise.
8220 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
8221 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
8222 (__strchr_sse2): Likewise.
8223 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
8224 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
8225 (__strcasecmp_sse2): Likewise.
8226 (__strncasecmp_sse2): Likewise.
8227 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
8228 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
8229 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
8230 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
8231 (__strrchr_sse2): Likewise.
8232 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
8234 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
8235 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
8236 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
8237 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
8238 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
8239 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
8240 * sysdeps/x86_64/multiarch/memset.S: Likewise.
8241 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8242 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
8243 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
8244 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
8245 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
8246 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
8247 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
8248 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
8249 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
8250 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
8251 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
8252 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
8253 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
8254 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
8255 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
8256 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
8257 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
8258 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
8259 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
8260 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
8261 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
8262 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
8263 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
8265 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
8267 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
8268 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
8269 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
8270 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
8272 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
8274 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
8275 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
8276 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
8277 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
8279 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
8280 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
8281 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
8282 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
8283 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
8284 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
8285 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
8286 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
8287 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
8288 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
8289 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
8290 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
8291 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
8292 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
8293 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
8294 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
8295 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
8296 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
8297 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
8298 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
8299 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
8300 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
8301 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
8302 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
8303 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
8304 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
8305 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
8306 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
8307 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
8308 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
8309 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
8310 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
8311 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
8312 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
8313 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
8314 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
8315 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
8316 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
8317 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
8318 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
8319 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
8321 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
8322 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
8323 * include/ifunc-impl-list.h: New file.
8324 * misc/ifunc-impl-list.c: Likewise.
8325 * misc/Makefile (routines): Add ifunc-impl-list.
8326 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
8327 * string/test-string.h: Include <ifunc-impl-list.h>.
8328 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
8329 impl_array): New variables.
8330 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
8332 (test_init): Call __libc_ifunc_impl_list to initialize
8333 func_list if TEST_IFUNC and TEST_NAME are defined.
8335 * string/Makefile (strop-tests): Add bcopy and bzero.
8336 * string/test-bcopy.c: New file.
8337 * string/test-bzero.c: Likewise.
8338 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
8340 * string/test-memset.c: Support bzero test if TEST_BZERO is
8342 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
8344 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
8346 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
8349 2012-10-10 Joseph Myers <joseph@codesourcery.com>
8351 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
8352 * configure: Regenerated.
8354 * Makeconfig (+link-static-before-libc): Don't include
8355 $(link-static-libc).
8357 * libio/libio.h (_IO_pos_t): Remove.
8359 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
8361 * NEWS: Add note about FIPS mode. Wording suggested by Roland
8364 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
8366 * crypt/crypt-entry.c: Include fips-private.h.
8367 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
8368 * crypt/md5c-test.c (main): Tolerate disabled MD5.
8369 * sysdeps/unix/sysv/linux/fips-private.h: New file.
8370 * sysdeps/generic/fips-private.h: New file, dummy fallback.
8372 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
8374 * crypt/crypt-private.h: Include stdbool.h.
8375 (_ufc_setup_salt_r): Return bool.
8376 * crypt/crypt-entry.c: Include errno.h.
8377 (__crypt_r): Return NULL with EINVAL for bad salt.
8378 * crypt/crypt_util.c (bad_for_salt): New.
8379 (_ufc_setup_salt_r): Check that salt is long enough and within
8380 the specified alphabet.
8381 * crypt/badsalttest.c: New file.
8382 * crypt/Makefile (tests): Add it.
8383 ($(objpfx)badsalttest): New.
8385 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
8387 * NEWS: Add entry for BZ #14602.
8389 2012-10-09 Joseph Myers <joseph@codesourcery.com>
8391 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
8393 * math/libm-test.inc: Update comment listing what functions and
8395 (isgreater_test): New function.
8396 (isgreaterequal_test): Likewise.
8397 (isless_test): Likewise.
8398 (islessequal_test): Likewise.
8399 (islessgreater_test): Likewise.
8400 (isunordered_test): Likewise.
8401 (main): Call the new functions.
8403 2012-10-09 Roland McGrath <roland@hack.frob.com>
8405 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
8406 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
8407 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
8408 * sysdeps/i386/configure: Regenerated.
8409 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
8410 * sysdeps/mach/configure: Regenerated.
8411 * sysdeps/mach/hurd/configure: Regenerated.
8412 * sysdeps/powerpc/configure: Regenerated.
8413 * sysdeps/powerpc/powerpc32/configure: Regenerated.
8414 * sysdeps/powerpc/powerpc64/configure: Regenerated.
8415 * sysdeps/s390/s390-32/configure: Regenerated.
8416 * sysdeps/s390/s390-64/configure: Regenerated.
8417 * sysdeps/sh/configure: Regenerated.
8418 * sysdeps/sparc/configure: Regenerated.
8419 * sysdeps/unix/sysv/linux/configure: Regenerated.
8420 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
8421 * sysdeps/x86_64/configure: Regenerated.
8423 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
8424 defined. Don't check if MAP is NULL.
8426 2012-10-09 Joseph Myers <joseph@codesourcery.com>
8428 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
8429 (_G_stat64): Likewise.
8430 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
8431 (_G_stat64): Likewise.
8432 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
8433 instead of struct _G_stat64.
8434 * libio/fileops.c (mmap_remap_check): Likewise.
8435 (decide_maybe_mmap): Likewise.
8436 (_IO_new_file_seekoff): Likewise.
8437 (_IO_file_stat): Likewise.
8438 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
8440 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
8441 instead of struct _G_stat64.
8442 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
8444 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
8447 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
8449 (CHECK_EOL): New macro.
8450 (two_way_short_needle): Check beginning of haystack for EOL. Use
8452 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
8453 Replace with CHECK_EOL.
8454 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
8455 Replace with CHECK_EOL.
8457 2012-10-08 Joseph Myers <joseph@codesourcery.com>
8459 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
8461 * math/libm-test.inc: Update comment listing what functions and
8463 (finite_test): New function.
8464 (isinf_test): Likewise.
8465 (isnan_test): Likewise.
8466 (fpclassify_test): Test subnormal input.
8467 (isfinite_test): Likewise.
8468 (isnormal_test): Likewise.
8469 (main): Call the new functions.
8471 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
8474 * Makerules (%.dynsym): Force C locale when running
8475 $(OBJDUMP) --dynamic-syms.
8477 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
8479 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
8482 2012-10-06 David S. Miller <davem@davemloft.net>
8484 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
8485 upper 32-bits of the length value in %o2 since we use branch-on-register
8486 tests which consider the entire 64-bit register.
8488 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
8490 * string/test-strstr.c (check2): Add a test for page boundary.
8492 2012-10-05 David S. Miller <davem@davemloft.net>
8494 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
8495 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
8497 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
8499 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
8500 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
8501 and bzero when HWCAP_SPARC_CRYPTO is present.
8503 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
8506 * string/test-strstr.c (check2): New function.
8507 (test_main): Call check2.
8509 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
8511 * string/bug-strcasestr1.c (do_test): Moved to ...
8512 * string/test-strcasestr.c (check1): Here. New function.
8513 (do_one_test): Break out result checking code into ...
8514 (check_result): This. New function.
8515 (do_one_test): Call check_result.
8516 (test_main): Call check1.
8517 * string/bug-strchr1.c (do_test): Moved to ...
8518 * string/test-strchr.c (check1): Here. New function.
8519 (do_one_test): Break out result checking code into ...
8520 (check_result): This. New function.
8521 (do_one_test): Call check_result.
8522 (test_main): Call check1.
8523 * string/bug-strstr1.c (main): Moved to ...
8524 * string/test-strstr.c (check1): Here. New function.
8525 (do_one_test): Break out result checking code into ...
8526 (check_result): This. New function.
8527 (do_one_test): Call check_result.
8528 (test_main): Call check1.
8529 * string/bug-strcasestr1.c: Removed.
8530 * string/bug-strchr1.c: Likewise.
8531 * string/bug-strstr1.c: Likewise.
8533 * elf/Makefile (dl-routines): Add hwcaps.
8534 * elf/dl-support.c (_dl_important_hwcaps): Removed.
8535 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
8536 (_dl_important_hwcaps): Moved to ...
8537 * elf/dl-hwcaps.c: Here. New file.
8538 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
8541 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
8542 if IS_IN_rtld isn't defined.
8544 * elf/dl-support.c (_dl_sysinfo_map): New.
8545 Include "get-dynamic-info.h" and "setup-vdso.h".
8546 (_dl_non_dynamic_init): Call setup_vdso.
8547 * elf/dynamic-link.h: Don't include <assert.h>.
8548 (elf_get_dynamic_info): Moved to ...
8549 * elf/get-dynamic-info.h: Here. New file.
8550 * elf/dynamic-link.h: Include "get-dynamic-info.h".
8551 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
8552 * elf/setup-vdso.h: Here. New file.
8553 * elf/rtld.c: Include "setup-vdso.h".
8554 (dl_main): Call setup_vdso.
8556 2012-10-05 Joseph Myers <joseph@codesourcery.com>
8558 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
8559 creal in comment listing functions tested. List finite, isinf,
8560 isnan, isless, islessequal, isgreater, isgreaterequal,
8561 islessgreater, isunordered, lgamma_r and pow10 as functions and
8562 macros not tested. Mention which functions not tested are aliases
8563 for other functions. Fix typo. Note that signs of NaNs are not
8566 * scripts/config.guess: Update from config.git.
8567 * scripts/config.sub: Likewise.
8569 2012-10-04 Roland McGrath <roland@hack.frob.com>
8571 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
8572 * misc/madvise.c (madvise): Renamed to __madvise.
8573 Make madvise a weak alias.
8574 * include/sys/mman.h: Declare __madvise.
8575 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
8576 * sysdeps/unix/syscalls.list
8577 (madvise): Make __madvise the strong name, and madvise a weak alias.
8578 * sysdeps/unix/sysv/linux/syscalls.list
8579 (madvise, mmap): Remove redundant entries.
8580 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
8581 * malloc/malloc.c (mtrim): Likewise.
8582 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
8584 2012-10-03 Roland McGrath <roland@hack.frob.com>
8586 * sysdeps/mach/hurd/dl-cache.c: File removed.
8587 * config.h.in (USE_LDCONFIG): New #undef.
8588 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
8589 * configure: Regenerated.
8590 * elf/Makefile (dl-routines): Add dl-cache only under
8591 [$(use-ldconfig) = yes].
8592 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
8593 cache on [USE_LDCONFIG].
8594 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
8596 * elf/rtld.c (dl_main): Likewise.
8598 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
8600 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
8601 _SC_LEVEL4_CACHE_LINESIZE.
8603 2012-10-03 Roland McGrath <roland@hack.frob.com>
8605 * sysdeps/unix/bsd/confstr.h: File removed.
8607 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
8609 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
8612 2012-10-02 Roland McGrath <roland@hack.frob.com>
8614 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
8615 Make 'mapoff' field ElfW(Off) rather than off_t.
8617 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
8619 * nscd/Makefile: Remove nscd-cflags and all its users.
8620 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
8621 (CFLAGS-nonlib): Add compiler flags for nscd modules.
8624 * malloc.c (malloc_printerr): Clarify error message.
8626 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
8629 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8630 Set bit_FMA_Usable if FMA is supported.
8631 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
8633 (bit_FMA4_Usable): Updated.
8634 (index_FMA_Usable): New macro.
8635 (CPUID_FMA): Likewise
8636 (HAS_FMA): Defined with bit_FMA_Usable.
8638 2012-10-01 Roland McGrath <roland@hack.frob.com>
8640 * bits/types.h (__swblk_t): Type removed.
8641 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
8642 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
8643 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8644 (__SWBLK_T_TYPE): Likewise.
8645 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
8646 (__SWBLK_T_TYPE): Likewise.
8647 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8648 (__SWBLK_T_TYPE): Likewise.
8649 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8650 (__SWBLK_T_TYPE): Likewise.
8652 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
8653 Honza Horak <hhorak@redhat.com>
8655 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
8656 (xdr_mapname): Use YPMAXMAP as maxsize.
8657 (xdr_peername): Use YPMAXPEER as maxsize.
8658 (xdr_keydat): Use YPAXRECORD as maxsize.
8659 (xdr_valdat): Use YPMAXRECORD as maxsize.
8661 2012-10-01 Roland McGrath <roland@hack.frob.com>
8663 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
8665 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
8666 * csu/init-first.c: ... here.
8667 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
8668 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
8669 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
8670 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
8671 * sysdeps/i386/init-first.c: File removed.
8672 * sysdeps/sh/init-first.c: File removed.
8674 2012-10-01 Joseph Myers <joseph@codesourcery.com>
8677 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
8678 if x * y might underflow to zero and z is zero.
8679 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8680 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8681 * math/libm-test.inc (min_subnorm_value): New variable.
8682 (fma_test): Add more tests.
8683 (fma_test_towardzero): Likewise.
8684 (fma_test_downward): Likewise
8685 (fma_test_upward): Likewise.
8686 (initialize): Set min_subnorm_value.
8688 2012-09-29 Joseph Myers <joseph@codesourcery.com>
8691 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
8693 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
8694 mode for addition resulting in exact zero.
8695 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
8696 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
8698 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
8699 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8700 * math/libm-test.inc (fma_test): Add more tests.
8701 (fma_test_towardzero): New function.
8702 (fma_test_downward): Likewise.
8703 (fma_test_upward): Likewise.
8704 (main): Call the new functions.
8706 2012-09-28 David S. Miller <davem@davemloft.net>
8708 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
8710 2012-09-28 Roland McGrath <roland@hack.frob.com>
8712 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
8715 * sysdeps/gnu/_G_config.h: Moved to ...
8716 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
8717 * sysdeps/mach/hurd/_G_config.h: Moved to ...
8718 * sysdeps/generic/_G_config.h: ... here.
8720 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
8722 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
8724 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
8725 Conditionalize target on [libnss_test1.so-version].
8727 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
8729 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
8730 (elfobjdir): Move out of conditionals.
8732 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
8733 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
8734 (__nss_lookup_function): Conditionalize label remove_from_tree on
8735 [!DO_STATIC_NSS || SHARED], matching its only use.
8737 2012-09-28 David S. Miller <davem@davemloft.net>
8739 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
8740 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
8742 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
8744 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
8745 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
8746 when HWCAP_SPARC_CRYPTO is present.
8748 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
8750 * io/tst-mknodat.c: Create a FIFO instead of a socket.
8752 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
8755 * stdio-common/vfprintf.c (process_string_arg): Revert
8758 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
8760 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
8762 * stdio-common/tst-sprintf.c: Include <locale.h>
8763 (main): Test sprintf's handling of incomplete multibyte
8766 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
8768 * elf/dl-runtime.c (VERSYMIDX): Removed.
8769 * elf/dl-version.c (VERSYMIDX): Likewise.
8770 * elf/do-rel.h (VERSYMIDX): Likewise.
8772 * elf/dynamic-link.h (VERSYMIDX): Likewise.
8773 * elf/rtld.c (VALIDX): Likewise.
8774 (ADDRIDX): Likewise.
8775 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
8776 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
8777 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
8778 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
8780 (ADDRIDX): Likewise.
8782 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
8784 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
8786 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
8789 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
8791 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
8792 addresses are in the same scope as 192.0.2/24.
8793 * posix/gai.conf: Document new scope table defaults.
8795 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8798 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
8799 for ftell. Compute offsets from write pointers instead.
8800 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
8802 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8805 * libio/Makefile (tests): New test case tst-fseek.
8806 * libio/tst-fseek.c: New test case to verify that fseek/ftell
8807 combination works in wide mode.
8808 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
8809 state when the external buffer state changes.
8811 2012-09-27 David S. Miller <davem@davemloft.net>
8814 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
8815 pass reloc->r_addend in as the 'high' argument to
8816 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
8818 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8820 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
8822 * rt/tst-aio2.c: Include <pthread.h>.
8823 * rt/tst-aio3.c: Likewise.
8825 2012-09-27 Steve Ellcey <sellcey@mips.com>
8827 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
8829 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
8831 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
8832 contents on [SHARED].
8834 2012-09-26 Marek Polacek <polacek@redhat.com>
8838 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
8839 for C++ and GCC <4.3 as well as for non GCC compilers.
8841 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
8843 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8845 2012-09-25 Roland McGrath <roland@hack.frob.com>
8847 * Makefile.in (all, install): Declare with .PHONY.
8848 Reported by Michael Hope <michael.hope@linaro.org>.
8850 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8852 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
8853 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
8855 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
8857 (sydep_routines): Add the new and the internal functions.
8858 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
8859 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
8860 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
8861 (GLIBC_2.17): Add the new function.
8862 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
8863 (GLIBC_2.17): Likewise.
8864 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
8865 (GLIBC_2.17): Likewise.
8866 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
8867 (GLIBC_2.17): Likewise.
8868 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
8870 2012-09-25 Alan Modra <amodra@gmail.com>
8872 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
8873 Add release barrier before setting once_control to say
8874 initialisation is done. Add hints on lwarx. Use macro in
8876 (clear_once_control): Add release barrier.
8878 2012-09-25 Joseph Myers <joseph@codesourcery.com>
8881 * math/s_clog.c (__clog): Handle more values close to |z| = 1
8883 * math/s_clog10.c (__clog10): Likewise.
8884 * math/s_clog10f.c (__clog10f): Likewise.
8885 * math/s_clog10l.c (__clog10l): Likewise.
8886 * math/s_clogf.c (__clogf): Likewise.
8887 * math/s_clogl.c (__clogl): Likewise.
8888 * math/Makefile (libm-calls): Add x2y2m1.
8889 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
8890 (__x2y2m1): Likewise.
8891 (__x2y2m1l): Likewise.
8892 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
8893 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
8894 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
8895 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
8896 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
8897 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
8898 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
8899 * sysdeps/i386/fpu/libm-test-ulps: Update.
8900 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8903 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
8904 int as type of variable DEPTH.
8905 (glob): Use size_t instead of int as type of variables NEWCOUNT
8908 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8910 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
8912 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
8913 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
8914 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
8915 macros for using routine as __sincosf_ia32.
8916 Use macro for function declaration and weak_alias.
8917 * sysdeps/i386/fpu/libm-test-ulps: Update.
8919 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
8920 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8922 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
8924 * math/s_cexpf.c (__cexpf): Likewise.
8925 * math/s_csinf.c (__csinf): Likewise.
8926 * math/s_csinhf.c (__csinhf): Likewise.
8927 * math/s_ctanf.c (__ctanf): Likewise.
8928 * math/s_ctanhf.c (__ctanhf): Likewise.
8929 * math/s_ccosh.c (__ccoshf): Likewise.
8930 * math/s_cexp.c (__cexpl): Likewise.
8931 * math/s_csin.c (__csin): Likewise.
8932 * math/s_csinh.c (__csinh): Likewise.
8933 * math/s_ctan.c (__ctan): Likewise.
8934 * math/s_ctanh.c (ctanh): Likewise.
8935 * math/s_ccoshl.c (__ccoshl): Likewise.
8936 * math/s_cexpl.c (__cexpl): Likewise.
8937 * math/s_csinl.c (__csinl): Likewise.
8938 * math/s_csinhl.c (__csinhl): Likewise.
8939 * math/s_ctanl.c (__ctanl): Likewise.
8940 * math/s_ctanhl.c (__ctanhl): Likewise.
8942 2012-09-25 Joseph Myers <joseph@codesourcery.com>
8944 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
8945 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
8946 (_IO_off_t): Define to __off_t, not _G_off_t.
8947 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
8948 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
8949 (_IO_wint_t): Define to wint_t, not _G_wint_t.
8950 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
8951 type of __dummy and __dummy2 fields.
8952 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
8953 (_G_ssize_t): Likewise.
8954 (_G_off_t): Likewise.
8955 (_G_pid_t): Likewise.
8956 (_G_uid_t): Likewise.
8957 (_G_wchar_t): Likewise.
8958 (_G_wint_t): Likewise.
8959 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
8960 (_G_ssize_t): Likewise.
8961 (_G_off_t): Likewise.
8962 (_G_pid_t): Likewise.
8963 (_G_uid_t): Likewise.
8964 (_G_wchar_t): Likewise.
8965 (_G_wint_t): Likewise.
8966 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
8967 (_G_ssize_t): Likewise.
8968 (_G_off_t): Likewise.
8969 (_G_pid_t): Likewise.
8970 (_G_uid_t): Likewise.
8971 (_G_wchar_t): Likewise.
8972 (_G_wint_t): Likewise.
8974 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8976 * malloc/arena.c: Include malloc-sysdep.h.
8977 (shrink_heap): Use check_may_shrink_heap to decide if madvise
8978 is sufficient to shrink the heap or an unmap is needed.
8979 * sysdeps/generic/malloc-sysdep.h: New file. Define
8980 new function check_may_shrink_heap.
8981 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
8982 new function check_may_shrink_heap.
8984 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8986 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
8989 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
8991 * catgets/test-gencat.sh: Add "set -e".
8992 * elf/tst-pathopt.sh: Likewise.
8993 * grp/tst_fgetgrent.sh: Likewise.
8994 * iconvdata/run-iconv-test.sh: Likewise.
8995 * intl/tst-gettext.sh: Likewise.
8996 * intl/tst-gettext2.sh: Likewise.
8997 * intl/tst-gettext4.sh: Likewise.
8998 * intl/tst-gettext6.sh: Likewise.
8999 * intl/tst-translit.sh: Likewise.
9000 * io/ftwtest-sh: Likewise.
9001 * libio/test-freopen.sh: Likewise.
9002 * malloc/tst-mtrace.sh: Likewise.
9003 * posix/globtest.sh: Likewise.
9004 * posix/tst-getconf.sh: Likewise.
9005 * posix/wordexp-tst.sh: Likewise.
9006 * stdio-common/tst-printf.sh: Likewise.
9007 * stdio-common/tst-unbputc.sh: Likewise.
9008 * stdlib/tst-fmtmsg.sh: Likewise.
9009 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
9010 * catgets/Makefile: Do not specify -e option when running
9011 testsuite shell scripts.
9012 * elf/Makefile: Likewise.
9013 * grp/Makefile: Likewise.
9014 * iconvdata/Makefile: Likewise.
9015 * intl/Makefile: Likewise.
9016 * io/Makefile: Likewise.
9017 * libio/Makefile: Likewise.
9018 * malloc/Makefile: Likewise.
9019 * posix/Makefile: Likewise.
9020 * stdio-common/Makefile: Likewise.
9021 * stdlib/Makefile: Likewise.
9022 * sysdeps/x86_64/Makefile: Likewise.
9024 * io/ftwtest-sh: Add copyright header.
9025 * posix/globtest.sh: Likewise.
9026 * posix/tst-getconf.sh: Likewise.
9027 * posix/wordexp-tst.sh: Likewise.
9028 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
9030 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
9033 * Makeconfig (+link): Defined as $(+link-static) if
9034 $(build-shared) isn't yes.
9035 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
9037 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
9039 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
9042 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
9043 new chunk size with MALLOC_ALIGN_MASK.
9045 2012-09-24 Joseph Myers <joseph@codesourcery.com>
9048 * stdio-common/printf_fphex.c: Include <stdbool.h> and
9050 (__printf_fphex): Determine rounding using get_rounding_mode and
9052 * stdio-common/tst-printf-round.c (struct hex_test): New
9054 (hex_tests): New variable.
9055 (test_hex_in_one_mode): New function.
9056 (do_test): Also run tests for hex float output.
9058 2012-09-21 Joseph Myers <joseph@codesourcery.com>
9060 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
9061 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
9062 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
9063 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
9064 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
9065 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
9066 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
9067 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
9069 2012-09-20 Joseph Myers <joseph@codesourcery.com>
9071 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
9072 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
9073 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
9074 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
9076 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
9079 * elf/rtld.c (dl_main): Limit the check for self loading to normal
9081 * elf/tst-rtld-load-self.sh: New test.
9082 * elf/Makefile: Run it.
9084 2012-09-18 Joseph Myers <joseph@codesourcery.com>
9086 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
9087 (tst-writev-ENV): Remove.
9088 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
9090 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
9092 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
9094 2012-09-17 Joseph Myers <joseph@codesourcery.com>
9096 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
9098 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
9100 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
9101 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
9102 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
9105 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
9108 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
9109 * config.make.in (have-cpp-asm-debuginfo): Removed.
9110 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
9111 * configure: Regenerated.
9113 2012-09-14 Joseph Myers <joseph@codesourcery.com>
9116 * stdio-common/printf_fp.c: Include <stdbool.h> and
9118 (___printf_fp): Determine rounding using get_rounding_mode and
9120 * stdio-common/tst-printf-round.c: New file.
9121 * stdio-common/Makefile (tests): Add tst-printf-round.
9122 (link-libm): New variable.
9123 ($(objpfx)tst-printf-round): Depend in $(link-libm).
9125 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
9128 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
9129 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
9131 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
9134 2012-09-13 Joseph Myers <joseph@codesourcery.com>
9136 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
9137 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
9138 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
9139 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
9141 2012-09-12 Joseph Myers <joseph@codesourcery.com>
9144 * include/rounding-mode.h: New file.
9145 * sysdeps/generic/get-rounding-mode.h: Likewise.
9146 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
9147 * stdlib/strtod_l.c: Include <rounding-mode.h>.
9148 (MAX_VALUE): New macro.
9149 (MIN_VALUE): Likewise.
9150 (overflow_value): New function.
9151 (underflow_value): Likewise.
9152 (round_and_return): Use overflow_value and underflow_value to
9153 determine return values in overflow and underflow cases. Use
9154 round_away to determine rounding depending on rounding mode.
9155 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
9156 determine return values in overflow and underflow cases.
9157 * stdlib/tst-strtod-round.c: Include <fenv.h>.
9158 (struct test_results): New structure.
9159 (struct test): Use struct test_results to store expected results
9160 for all rounding modes.
9161 (TEST): Include expected results for all rounding modes.
9162 (test_in_one_mode): New function.
9163 (do_test): Use test_in_one_mode to compute and check results.
9164 Check results for all rounding modes.
9165 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
9168 2012-12-09 Allan McRae <allan@archlinux.org>
9170 * sysdeps/i386/fpu/libm-test-ulps: Update
9172 2012-09-11 Joseph Myers <joseph@codesourcery.com>
9174 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
9175 (_G_int32_t): Likewise.
9176 (_G_uint16_t): Likewise.
9177 (_G_uint32_t): Likewise.
9178 (_G_HAVE_BOOL): Likewise.
9179 (_G_HAVE_ATEXIT): Likewise.
9180 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
9181 (_G_HAVE_IO_FILE_OPEN): Likewise.
9182 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
9183 (_G_int32_t): Likewise.
9184 (_G_uint16_t): Likewise.
9185 (_G_uint32_t): Likewise.
9186 (_G_HAVE_BOOL): Likewise.
9187 (_G_HAVE_ATEXIT): Likewise.
9188 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
9189 (_G_HAVE_IO_FILE_OPEN): Likewise.
9190 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
9191 (_G_int32_t): Likewise.
9192 (_G_uint16_t): Likewise.
9193 (_G_uint32_t): Likewise.
9194 (_G_HAVE_BOOL): Likewise.
9195 (_G_HAVE_ATEXIT): Likewise.
9196 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
9197 (_G_HAVE_IO_FILE_OPEN): Likewise.
9199 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
9201 * csu/libc-tls.c: Update copyright years.
9203 2012-09-10 Joseph Myers <joseph@codesourcery.com>
9205 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
9206 [!_G_USING_THUNKS]: Remove conditional code.
9207 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
9208 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
9210 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
9211 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
9212 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
9213 (_G_VTABLE_LABEL_PREFIX): Likewise.
9214 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
9215 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
9216 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
9217 (_G_VTABLE_LABEL_PREFIX): Likewise.
9218 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
9219 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
9220 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
9221 (_G_VTABLE_LABEL_PREFIX): Likewise.
9222 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
9224 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
9226 * libio/Makefile: Include ../Makeconfig before tests.
9227 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
9228 only if $(build-shared) is yes.
9230 * iconv/gconv_db.c: Update copyright years.
9232 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9234 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
9235 unwind info if defined PIC. Fix special cases description.
9236 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
9238 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
9240 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
9242 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
9244 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
9246 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
9249 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
9250 (LDLIBS-tst-chk4): This.
9251 (LDFLAGS-tst-chk5): Renamed to ...
9252 (LDLIBS-tst-chk5): This.
9253 (LDFLAGS-tst-chk6): Renamed to ...
9254 (LDLIBS-tst-chk6): This.
9255 (LDFLAGS-tst-lfschk4): Renamed to ...
9256 (LDLIBS-tst-lfschk4): This.
9257 (LDFLAGS-tst-lfschk5): Renamed to ...
9258 (LDLIBS-tst-lfschk5): This.
9259 (LDFLAGS-tst-lfschk6): Renamed to ...
9260 (LDLIBS-tst-lfschk6): This.
9262 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
9263 on $(common-objpfx)soversions.mk.
9265 2012-09-07 Joseph Myers <joseph@codesourcery.com>
9268 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
9271 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
9273 * malloc/arena.c (arena_get_retry): New function that gets
9274 another arena for the caller to try its request on.
9275 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
9276 current arena cannot fulfill the request.
9277 (__libc_memalign): Likewise.
9278 (__libc_memalign): Likewise.
9279 (__libc_pvalloc): Likewise.
9280 (__libc_calloc): Likewise.
9282 2012-09-05 John Tobey <john.tobey@gmail.com>
9285 * manual/arith.texi (Operations on Complex): Fix description
9288 2012-09-06 Joseph Myers <joseph@codesourcery.com>
9291 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
9295 * manual/memory.texi (Memory): Make order of menu items match
9298 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
9300 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
9301 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
9302 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
9304 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
9306 * csu/libc-tls.c (static_dtv): Renamed to ...
9307 (_dl_static_dtv): This. Make it global.
9308 (_dl_initial_dtv): Removed.
9309 (__libc_setup_tls): Updated.
9310 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
9311 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
9314 2012-09-06 Petr Machata <pmachata@redhat.com>
9316 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
9317 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
9318 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
9319 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
9321 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
9324 * csu/libc-tls.c (_dl_initial_dtv): New variable.
9325 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
9328 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
9331 * Makeconfig (link-static-before-libc): Replace $(+prector)
9333 (link-static-after-libc): Replace $(+postctor) with
9335 (link-bounded): Replace $(+prector)/$(+postctor) with
9336 $(+prectorT)/$(+postctorT).
9337 (+prectorT): New macro.
9338 (+postctorT): Likewise.
9340 2012-09-06 Joseph Myers <joseph@codesourcery.com>
9342 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
9343 (round_str): Handle values above the maximum for IBM long double
9345 * stdlib/tst-strtod-round.c (tests): Regenerated.
9347 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9349 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
9351 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
9352 zarch_nohighgprs around the zarch optimized routines.
9353 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
9354 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
9355 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
9358 2012-09-05 David S. Miller <davem@davemloft.net>
9360 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9362 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
9363 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
9364 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
9365 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
9368 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
9370 * malloc/arena.c: Fold copyright years.
9371 * malloc/mcheck.c, malloc/memusage.c: Likewise.
9373 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
9375 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
9377 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
9379 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
9381 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
9383 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
9384 change internal state upon failure.
9386 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
9388 * malloc/mcheck.c (mcheck_check_all): Fix typo.
9389 * malloc/memusage.c (mmap): Likewise.
9390 (mmap64, mremap): Likewise. Adjust name in comment.
9392 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
9394 * libio/fileops.c: Fix typos in comments.
9395 * libio/oldfileops.c: Likewise.
9396 * libio/wfileops.c: Likewise.
9398 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
9401 * malloc/Makefile (tests): Add tst-malloc-usable test case.
9402 (tst-malloc-usable-ENV): Set environment for test case.
9403 * malloc/hooks.c (malloc_check_get_size): New function to get
9405 * malloc/malloc.c (musable): Use malloc_check_get_size.
9406 * malloc/tst-malloc-usable.c: New test case.
9408 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
9410 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
9412 2012-09-05 Allan McRae <allan@archlinux.org>
9415 * configure.in (CXX_SYSINCLUDES): Use compiler output to
9416 determine header location.
9417 * configure: Regenerated.
9419 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
9421 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
9423 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
9424 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
9428 2012-09-04 David S. Miller <davem@davemloft.net>
9430 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
9431 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
9432 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
9434 2012-09-04 Florian Weimer <fweimer@redhat.com>
9436 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
9439 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
9441 2012-09-04 Joseph Myers <joseph@codesourcery.com>
9444 * libio/iogetdelim.c: Include <limits.h>.
9445 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
9446 + len + 1 would overflow.
9448 2012-09-03 Andreas Jaeger <aj@suse.de>
9450 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9451 * sysdeps/i386/fpu/libm-test-ulps: Update.
9453 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9455 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
9456 Add s_sinf-sse2, s_conf-sse2.
9458 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
9459 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
9460 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
9461 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
9463 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
9464 for using routine as __sinf_ia32.
9465 Use macro for function declaration and weak_alias.
9466 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
9467 for using routine as __cosf_ia32.
9468 Use macro for function declaration and weak_alias.
9470 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
9471 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
9473 * sysdeps/x86_64/fpu/s_sinf.S: New file.
9474 * sysdeps/x86_64/fpu/s_cosf.S: New file.
9475 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9477 * math/libm-test.inc (cos_test): Add more test cases.
9478 (sin_test): Likewise.
9479 (sincos_test): Likewise.
9481 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9483 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
9484 (IFUNC_RESOLVE): Make pointers to the specialized implementations
9486 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
9488 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
9491 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
9492 first element of the GOT.
9493 (elf_machine_load_address): Return the difference between
9494 the runtime address of _DYNAMIC and elf_machine_dynamic ().
9496 2012-09-01 Allan McRae <allan@archlinux.org>
9499 * configure.in (AWK): Require gawk version 3.0 or later.
9500 * configure: Regenerated.
9502 2012-09-01 Joseph Myers <joseph@codesourcery.com>
9504 * sysdeps/unix/sysv/linux/kernel-features.h
9505 (__ASSUME_POSIX_CPU_TIMERS): Remove.
9506 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
9507 [__NR_clock_getres]: Make code unconditional.
9508 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
9509 (clock_getcpuclockid): Remove code left unreachable by removal of
9511 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
9513 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
9514 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
9515 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
9516 Make code unconditional.
9517 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
9518 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
9519 * sysdeps/unix/sysv/linux/clock_settime.c
9520 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
9522 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
9523 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
9525 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
9528 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
9529 scripts/test-installation.pl.
9531 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
9532 and $ld_so_version if it is set.
9534 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
9537 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
9538 failure if reading from procfs failed.
9539 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
9541 2012-08-27 Joseph Myers <joseph@codesourcery.com>
9543 * sysdeps/unix/sysv/linux/kernel-features.h
9544 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
9545 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
9546 Remove conditional code.
9547 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9548 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
9549 Remove conditional code.
9550 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9551 * sysdeps/unix/sysv/linux/i386/fxstat.c
9552 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
9553 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9554 * sysdeps/unix/sysv/linux/i386/fxstatat.c
9555 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
9556 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9557 * sysdeps/unix/sysv/linux/i386/lxstat.c
9558 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
9559 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9560 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
9561 Remove conditional code.
9562 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9563 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
9564 Remove conditional code.
9565 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9566 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
9567 <kernel-features.h>.
9568 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
9570 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
9571 Remove conditional code.
9572 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9573 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
9576 2012-08-27 Mike Frysinger <vapier@gentoo.org>
9579 * NEWS: Add fixed bug number.
9581 2012-08-27 Joseph Myers <joseph@codesourcery.com>
9584 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
9585 underflowing exponent in case of negative sign.
9586 * stdlib/tst-strtod-round-data: Add more tests.
9587 * stdlib/tst-strtod-round.c (tests): Regenerated.
9590 * stdlib/strtod_l.c (NDIG): Remove.
9591 (HEXNDIG): Likewise.
9592 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
9593 smallest representable value.
9594 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
9595 lie within an exact representation of 1/2 ulp of the result.
9596 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
9598 (TENS_P9_IDX): Define unconditionally.
9599 (TENS_P9_SIZE): Likewise.
9600 (TENS_P10_IDX): Likewise.
9601 (TENS_P10_SIZE): Likewise.
9602 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
9603 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
9604 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
9605 entries for 10^2^13 and 10^2^14.
9606 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
9607 (TENS_P13_IDX): Define.
9608 (TENS_P13_SIZE): Likewise.
9609 (TENS_P14_IDX): Likewise.
9610 (TENS_P14_SIZE): Likewise.
9611 (_fpioconst_pow10): Change array size to
9612 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
9614 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
9615 1024]: Add entries for 10^2^13 and 10^2^14.
9616 [LAST_POW10 > _LAST_POW10]: Remove #error.
9617 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
9618 (_fpioconst_pow10): Change array size to
9619 FPIOCONST_POW10_ARRAY_SIZE.
9620 * stdlib/gen-fpioconst.c: New file.
9621 * stdlib/gen-tst-strtod-round.c: Likewise.
9622 * stdlib/tst-strtod-round-data: Likewise.
9623 * stdlib/tst-strtod-round.c: Likewise.
9624 * stdlib/Makefile (tests): Add tst-strtod-round.
9627 * stdlib/strtod_l.c: Include <stdint.h>.
9628 (NDEBUG): Do not define.
9629 (round_and_return): Change EXPONENT parameter to type intmax_t.
9630 Rearrange calculations to avoid internal overflow possibilities.
9631 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
9632 Rearrange calculations to avoid internal overflow possibilities.
9633 Assert that number fits inside MPNSIZE limbs.
9634 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
9635 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
9636 calculations and add assertions to avoid internal overflow
9637 possibilities. Add casts to avoid signed/unsigned operations.
9638 * stdlib/tst-strtod-overflow.c: New file.
9639 * stdlib/Makefile (tests): Add tst-strtod-overflow.
9641 2012-08-25 Marek Polacek <polacek@redhat.com>
9643 * time/time.h: Fix some typos in comments.
9645 2012-08-23 Roland McGrath <roland@hack.frob.com>
9647 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
9648 * posix/tst-rfc3484-2.c: Likewise.
9649 * posix/tst-rfc3484-3.c: Likewise.
9651 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
9653 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
9654 (EF_ARM_ABI_FLOAT_HARD): Likewise.
9656 2012-08-23 Joseph Myers <joseph@codesourcery.com>
9658 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
9659 #include of fxstatat64.c.
9661 2012-08-22 Roland McGrath <roland@hack.frob.com>
9663 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
9664 * shadow/getspent_r.c: Likewise.
9665 * shadow/getspnam.c: Likewise.
9666 * shadow/getspnam_r.c: Likewise.
9667 * gshadow/getsgent.c: Likewise.
9668 * gshadow/getsgent_r.c: Likewise.
9669 * gshadow/getsgnam.c: Likewise.
9670 * gshadow/getsgnam_r.c: Likewise.
9671 * inet/getnetbyad.c: Likewise.
9672 * inet/getnetbyad_r.c: Likewise.
9673 * inet/getnetbynm.c: Likewise.
9674 * inet/getnetbynm_r.c: Likewise.
9675 * inet/getnetent.c: Likewise.
9676 * inet/getnetent_r.c: Likewise.
9677 * inet/getproto.c: Likewise.
9678 * inet/getproto_r.c: Likewise.
9679 * inet/getprtent.c: Likewise.
9680 * inet/getprtent_r.c: Likewise.
9681 * inet/getprtname.c: Likewise.
9682 * inet/getprtname_r.c: Likewise.
9683 * inet/getrpcbyname.c: Likewise.
9684 * inet/getrpcbyname_r.c: Likewise.
9685 * inet/getrpcbynumber.c: Likewise.
9686 * inet/getrpcbynumber_r.c: Likewise.
9687 * inet/getrpcent.c: Likewise.
9688 * inet/getrpcent_r.c: Likewise.
9689 * inet/getaliasent.c: Likewise.
9690 * inet/getaliasent_r.c: Likewise.
9691 * inet/getaliasname.c: Likewise.
9692 * inet/getaliasname_r.c: Likewise.
9693 * nscd/getgrgid_r.c: Likewise.
9694 * nscd/getgrnam_r.c: Likewise.
9695 * nscd/gethstbyad_r.c: Likewise.
9696 * nscd/gethstbynm3_r.c: Likewise.
9697 * nscd/getpwnam_r.c: Likewise.
9698 * nscd/getpwuid_r.c: Likewise.
9699 * nscd/getsrvbynm_r.c: Likewise.
9700 * nscd/getsrvbypt_r.c: Likewise.
9701 * nscd/gai.c: Likewise.
9703 * configure.in (build_nscd): New substituted variable, set
9704 by --disable-build-nscd and defaults to $use_nscd.
9705 * configure: Regenerated.
9706 * config.make.in (build-nscd): New substituted variable.
9707 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
9708 Change conditional to require [$(build-nscd) = yes] as well.
9709 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
9712 * configure.in (use_nscd): New substituted variable, set by
9713 --disable-nscd. If enabled, define USE_NSCD.
9714 * configure: Regenerated.
9715 * config.h.in: Add USE_NSCD.
9716 * config.make.in (use-nscd): New substituted variable.
9717 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
9718 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
9719 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
9720 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
9721 (CFLAGS-getgrnam_r.c): Likewise.
9722 (CFLAGS-initgroups.c): Likewise.
9723 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
9724 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
9726 * inet/getnetgrent_r.c
9727 (nscd_setnetgrent): New function, broken out of ...
9728 (setnetgrent): ... here. Call it.
9729 (innetgr): Conditionalize nscd bits on [USE_NSCD].
9730 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
9731 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
9732 * nscd/Makefile (routines, aux): Move definitions after include of
9733 Makeconfig. Conditionalize on [$(use-nscd) != no].
9734 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
9735 Conditionalize on [USE_NSCD].
9736 (is_nscd, nscd_init_cb): Likewise.
9737 (nss_load_library): Conditionalize init callback on [USE_NSCD].
9738 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
9739 * nss/nss_db/db-init.c: Likewise.
9740 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
9742 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
9743 (make_request): Use it.
9744 (cache_valid_p): New function.
9745 (__check_pf): Use it.
9746 * NEWS: Add item for --disable-nscd.
9748 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
9750 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
9751 to support sed >= 4.2.1-20-ga9bf076.
9752 * configure: Regenerated.
9754 2012-08-22 Roland McGrath <roland@hack.frob.com>
9756 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
9757 Conditionalize whole body on [IREL].
9759 2012-08-22 Jeff Law <law@redhat.com>
9762 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
9763 if the family is PF_UNSPEC.
9765 2012-08-22 Mike Frysinger <vapier@gentoo.org>
9767 * Makerules (lib-version): Rename from V.
9768 (install-lib-nosubdir): Change V to lib-version.
9770 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
9773 * powerpc32/power6/wcschr.c: New file.
9774 * powerpc32/power6/wcscpy.c: New file.
9775 * powerpc32/power6/wcsrchr.c: New file.
9776 * powerpc64/power6/wcschr.c: New file.
9777 * powerpc64/power6/wcscpy.c: New file.
9778 * powerpc64/power6/wcsrchr.c: New file.
9780 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
9782 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
9783 (two_way_short_needle): Use it.
9784 * string/strstr.c (AVAILABLE1_USES_J): Define.
9785 * string/strcasestr.c: Likewise.
9787 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
9789 * string/strcasestr.c (TOLOWER): Make side-effect safe.
9792 * NEWS: Add an entry.
9793 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
9794 define their defaults.
9795 (two_way_short_needle): Detect end-of-string on-the-fly.
9796 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
9797 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
9798 * string/bug-strcasestr1.c: New test.
9799 * string/Makefile: Run it.
9801 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
9804 * string/str-two-way.h (two_way_short_needle): Optimize matching of
9805 the first character.
9807 2012-08-21 Roland McGrath <roland@hack.frob.com>
9809 * csu/elf-init.c (__libc_csu_irel): Function removed.
9810 * csu/libc-start.c (apply_irel): New function.
9811 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
9813 2012-08-21 Joseph Myers <joseph@codesourcery.com>
9815 * sysdeps/unix/sysv/linux/kernel-features.h
9816 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
9817 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
9818 <kernel-features.h>.
9819 [__NR_fadvise64_64]: Make code unconditional.
9820 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
9821 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
9822 !__NR_fadvise64_64)]: Likewise.
9823 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
9824 !__NR_fadvise64_64))]: Likewise.
9825 [__NR_fadvise64]: Make code unconditional.
9826 [!__NR_fadvise64]: Remove conditional code.
9827 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
9828 <kernel-features.h>.
9829 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
9831 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
9833 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
9834 not include <kernel-features.h>.
9835 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
9837 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
9839 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
9840 include <kernel-features.h>.
9841 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
9843 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
9846 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
9848 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
9849 slight instruction rearrangements per scrollpipe analysis.
9850 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
9852 2012-08-20 Roland McGrath <roland@hack.frob.com>
9854 * manual/syslog.texi (syslog; vsyslog, closelog):
9855 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
9856 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
9858 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
9859 DSOCAPS to match condition on defining it.
9861 2012-08-20 Joseph Myers <joseph@codesourcery.com>
9863 * sysdeps/unix/sysv/linux/kernel-features.h
9864 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
9865 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
9866 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
9867 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
9868 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
9869 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
9870 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
9871 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
9872 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
9873 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
9875 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
9876 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
9878 * sysdeps/unix/sysv/linux/kernel-features.h
9879 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
9880 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
9882 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9883 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
9884 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
9885 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9886 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
9887 Make code unconditional.
9888 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9889 (__mmap64) [!__NR_mmap2]: Likewise.
9890 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
9891 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
9892 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9893 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
9894 [__NR_mmap2]: Make code unconditional.
9895 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9896 (__mmap64) [!__NR_mmap2]: Likewise.
9898 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9900 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
9902 2012-08-18 Andreas Jaeger <aj@suse.de>
9904 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
9906 2012-08-18 Mike Frysinger <vapier@gentoo.org>
9908 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
9909 * include/unistd.h (__have_sock_cloexec): Likewise.
9910 (__have_pipe2): Likewise.
9911 (__have_dup3): Likewise.
9913 2012-08-18 Mike Frysinger <vapier@gentoo.org>
9916 * include/unistd.h (__have_pipe2): Change define into an extern int.
9917 (__have_dup3): Likewise.
9918 * socket/have_sock_cloexec.c: Include fcntl.h.
9919 (__have_pipe2): New variable.
9920 (__have_dup3): Likewise.
9922 2012-08-17 Mike Frysinger <vapier@gentoo.org>
9924 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
9926 2012-08-17 Marek Polacek <polacek@redhat.com>
9928 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
9929 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
9931 2012-08-17 Roland McGrath <roland@hack.frob.com>
9933 * configure.in: Add AC_SUBST for sysheaders.
9934 * configure: Regenerated.
9935 * config.make.in (sysheaders): New substituted variable.
9937 * sysdeps/unix/mkfifo.c: Moved ...
9938 * sysdeps/posix/mkfifo.c: ... here.
9939 * sysdeps/unix/mkfifoat.c: Moved ...
9940 * sysdeps/posix/mkfifoat.c: ... here.
9942 * sysdeps/unix/utime.c: Moved ...
9943 * sysdeps/posix/utime.c: ... here.
9945 * sysdeps/unix/time.c: Moved ...
9946 * sysdeps/posix/time.c: ... here.
9947 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
9948 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
9950 * sysdeps/unix/nice.c: Moved ...
9951 * sysdeps/posix/nice.c: ... here.
9953 * sysdeps/unix/alarm.c: Moved ...
9954 * sysdeps/posix/alarm.c: ... here.
9956 * intl/Makefile ($(codeset_mo)): Depend on the input file.
9958 2012-08-17 Jeff Law <law@redhat.com>
9960 * intl/Makefile (codeset_mo): New variable.
9961 ($(codeset_mo)): New target.
9962 (tst-codeset.out): Depend on that. Remove explicit rule.
9963 (tst-gettext3.out, tst-gettext5.out): Likewise.
9964 (LOCPATH-ENV, tst-codeset-ENV): New variables.
9965 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
9966 * intl/tst-codeset.sh: Remove.
9967 * intl/tst-gettext3.sh: Likewise.
9968 * intl/tst-gettext5.sh: Likewise.
9970 2012-08-17 Roland McGrath <roland@hack.frob.com>
9972 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
9973 * sysdeps/unix/syscalls.list: ... here.
9975 * sysdeps/posix/getaddrinfo.c
9976 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
9977 (gaiconf_init, gaiconf_reload): Use them.
9979 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
9980 Define using time_t rather than struct timespec.
9982 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
9983 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
9985 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
9987 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
9988 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
9991 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
9992 __libc_cleanup_push argument.
9994 * bits/param.h: New file.
9995 * misc/sys/param.h: New file.
9996 * include/sys/param.h: New file.
9997 * misc/Makefile (headers): Add bits/param.h.
9998 * sysdeps/generic/sys/param.h: File removed.
9999 * sysdeps/unix/sysv/linux/bits/param.h: New file.
10000 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
10001 * sysdeps/mach/hurd/bits/param.h: New file.
10002 * sysdeps/mach/hurd/sys/param.h: File removed.
10004 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
10007 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
10009 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
10010 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
10013 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
10014 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
10015 rather than -D_IO_MTSAFE_IO conditionally.
10016 * stdio-common/Makefile (CPPFLAGS): Likewise.
10017 * wcsmbs/Makefile (CPPFLAGS): Likewise.
10018 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
10019 Use $(libio-mtsafe).
10020 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
10021 of -D_IO_MTSAFE_IO.
10022 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
10023 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
10024 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
10025 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
10026 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
10027 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
10028 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
10029 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
10030 (CFLAGS-fread_u_chk.c): Likewise.
10031 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
10032 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
10033 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
10034 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
10035 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
10036 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
10037 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
10038 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
10039 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
10041 * libio/Makefile: Test [$(libc-reentrant) = yes]
10042 instead of [$(filter %REENTRANT, $(defines)) nonempty].
10045 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
10046 * sysdeps/pthread/configure: File removed.
10047 * sysdeps/pthread/Makeconfig: New file.
10048 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
10049 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
10051 2012-08-16 Gary Benson <gbenson@redhat.com>
10053 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
10054 unmapping the first object in a namespace.
10056 2012-08-16 Roland McGrath <roland@hack.frob.com>
10058 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
10059 (__internal_setnetgrent): ... this. Add internal_function to
10060 definition. Add libc_hidden_def.
10061 (setnetgrent): Update caller.
10062 (internal_endnetgrent): Renamed to ...
10063 (__internal_endnetgrent): ... this. Add internal_function to
10064 definition. Add libc_hidden_def.
10065 (endnetgrent): Update caller.
10066 (internal_getnetgrent_r): Renamed to ...
10067 (__internal_getnetgrent_r): ... this. Add internal_function to
10068 definition. Add libc_hidden_def.
10069 (__getnetgrent_r): Update caller.
10070 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
10072 2012-08-16 Joseph Myers <joseph@codesourcery.com>
10074 * stdlib/longlong.h: Update from GCC.
10076 2012-08-16 Roland McGrath <roland@hack.frob.com>
10078 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
10079 on _QL, which is set by umul_ppmm but never used.
10080 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
10081 variables, which are set by GMP macros but never used.
10082 * stdio-common/_itowa.c (_itowa): Likewise.
10083 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
10084 * stdlib/mod_1.c (mpn_mod_1): Likewise.
10086 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
10088 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
10089 struct La_sh_regs is not constant.
10090 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
10091 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
10092 and struct La_sparc64_regs are not constant.
10094 2012-08-16 Joseph Myers <joseph@codesourcery.com>
10096 * sysdeps/unix/sysv/linux/kernel-features.h
10097 (__ASSUME_POSIX_TIMERS): Remove.
10098 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
10099 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
10100 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
10101 Make code unconditional.
10102 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
10103 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
10104 Make code unconditional.
10105 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
10106 * sysdeps/unix/sysv/linux/clock_nanosleep.c
10107 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
10108 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
10109 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
10110 Make code unconditional.
10111 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
10112 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
10113 (__libc_missing_posix_timers): Remove.
10115 2012-08-15 Roland McGrath <roland@hack.frob.com>
10117 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
10118 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
10120 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
10122 * elf/dl-sym.c: Include <stdlib.h>.
10124 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
10125 constants, which avoids warnings in 32-bit builds.
10127 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
10128 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
10130 * misc/lseek.c: File moved to ...
10131 * io/lseek.c: ... here.
10133 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
10135 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
10136 shifting LEN more than 31 bits at once.
10138 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10141 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
10142 segmentation fault for a case of two empty input strings.
10143 * string/test-strncasecmp.c (check1): Renamed to...
10144 (bz12205): ...this.
10145 (bz14195): Add new testcase for two empty input strings and N > 0.
10146 (test_main): Call new testcase, adapt for renamed function.
10148 2012-08-15 Andreas Jaeger <aj@suse.de>
10151 * crypt/md5test2.c: New test, based on test supplied by Serge
10152 Belyshev <belyshev@depni.sinp.msu.ru>.
10153 * crypt/Makefile (xtests): Add md5test-giant..
10154 * crypt/Makefile ($(objpfx)md5test-giant): Add.
10156 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
10159 * crypt/md5.c (md5_process_block): Don't assume the buffer
10160 length is less than 2**32.
10161 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
10162 length is less than 2**64.
10164 2012-08-15 Roland McGrath <roland@hack.frob.com>
10166 * string/str-two-way.h: Include <sys/param.h>.
10167 (MAX): Macro removed.
10169 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
10170 Move #define and #undef of memmove to just before and after
10171 including <string.h>.
10173 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
10174 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
10175 and after including <string.h>. Move declarations of
10176 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
10177 to before #include "string/memmove.c".
10179 * include/dirent.h: Declare __getdirentries.
10181 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
10182 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
10184 2012-08-14 Mike Frysinger <vapier@gentoo.org>
10186 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
10187 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
10188 * sysdeps/i386/configure: Regenerated.
10189 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
10190 STABS_CURRENT_FILE, and STABS_FUN.
10191 (END): Remove call to STABS_FUN_END.
10192 (STABS_CURRENT_FILE1): Delete.
10193 (STABS_CURRENT_FILE): Likewise.
10194 (STABS_FUN): Likewise.
10195 (STABS_FUN_END): Likewise.
10196 (STABS_FUN2): Likewise.
10197 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
10198 * sysdeps/x86_64/configure: Regenerated.
10200 2012-08-14 Roland McGrath <roland@hack.frob.com>
10202 * elf/dl-open.c: Include <atomic.h>.
10203 * elf/dl-lookup.c: Likewise.
10205 2012-08-14 Joseph Myers <joseph@codesourcery.com>
10207 * sysdeps/unix/sysv/linux/kernel-features.h
10208 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
10209 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
10211 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
10213 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
10214 condition on __ASSUME_CLONE_THREAD_FLAGS.
10216 2012-08-14 Andreas Jaeger <aj@suse.de>
10218 * sysdeps/i386/fpu/libm-test-ulps: Update.
10220 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
10222 * include/atomic.h (atomic_exchange_and_add): Split into ...
10223 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
10226 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
10228 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10230 2012-08-13 Jeff Law <law@redhat.com>
10232 * manual/stdio.texi (snprintf): Clarify handling of the trailing
10233 null byte in the output string.
10235 2012-08-10 Joseph Myers <joseph@codesourcery.com>
10237 * sysdeps/unix/sysv/linux/kernel-features.h
10238 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
10239 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
10240 (__ASSUME_ARG_MAX_STACK_BASED): Define.
10241 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
10242 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
10243 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
10244 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
10246 2012-08-09 Jeff Law <law@redhat.com>
10249 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
10250 When avoid_arena is set, don't retry in the that arena. Pick the
10251 next one, whatever it might be.
10252 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
10253 (arena_lock): Pass in new parameter to arena_get2.
10254 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
10256 (__libc_malloc): Unify retrying after main arena failure with
10257 __libc_memalign version.
10258 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
10260 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
10263 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
10264 to __redirect_strstr.
10265 (__strstr_sse42): Use typeof __redirect_strstr.
10266 (__strstr_ia32): Likewise.
10267 (__libc_strstr): New prototype.
10268 (strstr): Renamed to ...
10269 (__libc_strstr): This.
10270 (strstr): New strong alias of __libc_strstr.
10271 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
10272 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
10275 (__libc_time): New prototype.
10276 (time_ifunc): Replace time with __libc_time.
10277 (time): New strong alias and hidden definition of __libc_time.
10278 (__GI_time): Remove strong alias.
10279 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
10280 Include <stddef.h>.
10281 (memmove): Redefined to __redirect_memmove.
10282 (__memmove_sse2): Use typeof __redirect_memmove.
10283 (__memmove_ssse3): Likewise.
10284 (__memmove_ssse3_back): Likewise.
10285 (__libc_memmove): New prototype.
10286 (memmove): Renamed to ...
10287 (__libc_memmove): This.
10288 (memmove): New strong alias of __libc_memmove.
10290 2012-08-08 Mark Salter <msalter@redhat.com>
10293 (R_MN10300_TLS_GD): Define.
10294 (R_MN10300_TLS_LD): Likewise.
10295 (R_MN10300_TLS_LDO): Likewise.
10296 (R_MN10300_TLS_GOTIE): Likewise.
10297 (R_MN10300_TLS_IE): Likewise.
10298 (R_MN10300_TLS_LE): Likewise.
10299 (R_MN10300_TLS_DTPMOD): Likewise.
10300 (R_MN10300_TLS_DTPOFF): Likewise.
10301 (R_MN10300_TLS_TPOFF): Likewise.
10302 (R_MN10300_SYM_DIFF): Likewise.
10303 (R_MN10300_ALIGN): Likewise.
10304 (R_MN10300_NUM): Update.
10306 2012-08-08 Joseph Myers <joseph@codesourcery.com>
10308 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
10311 2012-08-08 Roland McGrath <roland@hack.frob.com>
10313 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
10315 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
10316 sysdeps/unix -> sysdeps/posix move.
10317 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
10319 2012-08-07 Allan McRae <allan@archlinux.org>
10322 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
10323 (SUNOS_CPP): Likewise.
10324 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
10326 (open_input): Call CPP using execvp.
10328 2012-08-07 Joseph Myers <joseph@codesourcery.com>
10330 * sysdeps/unix/sysv/linux/kernel-features.h
10331 (__ASSUME_PROT_GROWSUPDOWN): Remove.
10332 (__ASSUME_NO_CLONE_DETACHED): Likewise.
10333 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
10334 (__ASSUME_WAITID_SYSCALL): Likewise.
10335 * sysdeps/unix/sysv/linux/dl-execstack.c
10336 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
10337 code unconditional.
10338 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
10340 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
10341 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
10342 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
10344 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
10346 [__ASSUME_WAITID_SYSCALL]: Likewise.
10347 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
10349 2012-08-07 Roland McGrath <roland@hack.frob.com>
10351 * sysdeps/unix/closedir.c: Renamed to ...
10352 * sysdeps/posix/closedir.c: ... here.
10353 * sysdeps/unix/dirfd.c: Renamed to ...
10354 * sysdeps/posix/dirfd.c: ... here.
10355 * sysdeps/unix/dirstream.h: Renamed to ...
10356 * sysdeps/posix/dirstream.h: ... here.
10357 * sysdeps/unix/fdopendir.c: Renamed to ...
10358 * sysdeps/posix/fdopendir.c: ... here.
10359 * sysdeps/unix/opendir.c: Renamed to ...
10360 * sysdeps/posix/opendir.c: ... here.
10361 * sysdeps/unix/readdir.c: Renamed to ...
10362 * sysdeps/posix/readdir.c: ... here.
10363 * sysdeps/unix/readdir_r.c: Renamed to ...
10364 * sysdeps/posix/readdir_r.c: ... here.
10365 * sysdeps/unix/rewinddir.c: Renamed to ...
10366 * sysdeps/posix/rewinddir.c: ... here.
10367 * sysdeps/unix/seekdir.c: Renamed to ...
10368 * sysdeps/posix/seekdir.c: ... here.
10369 * sysdeps/unix/telldir.c: Renamed to ...
10370 * sysdeps/posix/telldir.c: ... here.
10371 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
10372 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
10373 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
10374 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
10376 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
10377 * bits/fcntl.h: ... here.
10379 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
10381 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
10382 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
10383 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
10384 (struct flock): Move l_start, l_len to the beginning.
10385 Use __pid_t for l_pid.
10386 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
10387 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
10388 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
10389 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
10390 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
10391 [__USE_LARGEFILE64] (struct flock64): New type.
10392 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
10394 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
10395 * bits/dirent.h: ... here.
10397 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
10398 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
10400 2012-08-07 Joseph Myers <joseph@codesourcery.com>
10402 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
10403 Change from 2.6.0 to 2.6.16.
10404 * sysdeps/unix/sysv/linux/configure: Regenerated.
10405 * sysdeps/unix/sysv/linux/kernel-features.h
10406 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
10407 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
10409 (__ASSUME_UTIMES): Likewise.
10410 (__ASSUME_CLONE_STOPPED): Remove.
10411 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
10412 architectures, not kernel version.
10413 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
10414 (__ASSUME_NO_CLONE_DETACHED): Likewise.
10415 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
10416 (__ASSUME_WAITID_SYSCALL): Likewise.
10417 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
10418 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
10419 * README: State 2.6.16 as minimum Linux kernel version. Do not
10420 refer to older versions.
10422 2012-08-06 Roland McGrath <roland@hack.frob.com>
10424 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
10425 Define alphasort64 as an alias.
10426 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
10427 Define versionsort64 as an alias.
10428 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
10429 Define scandir64 as an alias.
10430 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
10431 Define scandirat64 as an alias.
10432 * dirent/alphasort64.c (alphasort64):
10433 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
10434 * dirent/versionsort64.c: Likewise.
10435 * dirent/scandir64.c: Likewise.
10436 * dirent/scandirat64.c: Likewise.
10437 * sysdeps/wordsize-64/alphasort.c: File removed.
10438 * sysdeps/wordsize-64/alphasort64.c: File removed.
10439 * sysdeps/wordsize-64/scandir.c: File removed.
10440 * sysdeps/wordsize-64/scandir64.c: File removed.
10441 * sysdeps/wordsize-64/scandirat.c: File removed.
10442 * sysdeps/wordsize-64/scandirat64.c: File removed.
10443 * sysdeps/wordsize-64/versionsort.c: File removed.
10444 * sysdeps/wordsize-64/versionsort64.c: File removed.
10445 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
10446 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
10447 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
10448 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
10449 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
10450 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
10451 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
10452 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
10454 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
10455 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
10456 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
10457 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10458 [defined __arch64__ || defined __sparcv9]
10459 (__INO_T_MATCHES_INO64_T): New macro.
10460 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
10461 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
10462 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
10463 * sysdeps/unix/sysv/linux/bits/dirent.h
10464 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
10465 (_DIRENT_MATCHES_DIRENT64): New macro.
10467 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
10468 Define lockf64 as an alias.
10469 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
10470 Define fseeko64 as an alias.
10471 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
10472 Define ftello64 as an alias.
10473 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
10474 Define _IO_fgetpos64 and fgetpos64 as aliases.
10475 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
10476 Define _IO_fsetpos64 and fsetpos64 as aliases.
10477 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
10478 Conditionalize body on this.
10479 * libio/fseeko64.c: Likewise.
10480 * libio/ftello64.c: Likewise.
10481 * libio/iofgetpos64.c: Likewise.
10482 * libio/iofsetpos64.c: Likewise.
10483 * sysdeps/wordsize-64/lockf.c: File removed.
10484 * sysdeps/wordsize-64/lockf64.c: File removed.
10485 * sysdeps/wordsize-64/fseeko.c: File removed.
10486 * sysdeps/wordsize-64/fseeko64.c: File removed.
10487 * sysdeps/wordsize-64/ftello.c: File removed.
10488 * sysdeps/wordsize-64/ftello64.c: File removed.
10489 * sysdeps/wordsize-64/iofgetpos.c: File removed.
10490 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
10491 * sysdeps/wordsize-64/iofsetpos.c: File removed.
10492 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
10493 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
10494 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
10495 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
10496 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
10497 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
10498 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
10499 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
10500 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
10501 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
10502 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
10504 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
10505 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
10506 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
10507 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10508 [defined __arch64__ || defined __sparcv9]
10509 (__OFF_T_MATCHES_OFF64_T): New macro.
10510 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
10511 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
10512 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
10513 (__OFF_T_MATCHES_OFF64_T): New macro.
10515 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
10517 * stdlib/secure-getenv.c (__secure_getenv): Replace
10518 GLIBC_2_16 with GLIBC_2_17.
10520 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
10522 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
10523 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
10525 2012-08-03 David S. Miller <davem@davemloft.net>
10527 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10529 2012-08-03 Joseph Myers <joseph@codesourcery.com>
10531 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
10533 (__ASSUME_CORRECT_SI_PID): Likewise.
10534 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
10535 (__ASSUME_TMPFS_NAME): Likewise.
10536 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
10537 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
10538 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
10539 (HAVE_AUX_SECURE): Make definition unconditional.
10540 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
10541 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
10543 2012-08-03 Roland McGrath <roland@hack.frob.com>
10545 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
10546 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
10547 * sysdeps/mach/hurd/eloop-threshold.h: New file.
10548 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
10549 __eloop_threshold instead of SYMLOOP_MAX.
10551 * sysdeps/generic/eloop-threshold.h: New file.
10552 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
10554 * elf/chroot_canon.c (chroot_canon): Likewise.
10556 2012-08-03 Joseph Myers <joseph@codesourcery.com>
10559 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
10560 Change to 2.6.0 everywhere.
10561 * sysdeps/unix/sysv/linux/configure: Regenerated.
10562 * sysdeps/unix/sysv/linux/kernel-features.h
10563 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
10564 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
10566 (__ASSUME_POSIX_TIMERS): Define unconditionally.
10567 (__ASSUME_FUTEX_REQUEUE): Remove.
10568 (__ASSUME_STATFS64): Define unconditionally.
10569 (__ASSUME_AT_SECURE): Likewise.
10570 (__ASSUME_CORRECT_SI_PID): Likewise.
10571 (__ASSUME_TGKILL): Define without depending on kernel version for
10573 (__ASSUME_UTIMES): Likewise.
10574 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
10576 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
10577 (__ASSUME_TMPFS_NAME): Likewise.
10578 * README: Update reference to Linux kernel versions.
10580 2012-08-02 Marek Polacek <polacek@redhat.com>
10583 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
10584 libc_cv_asm_type_prefix with %.
10585 * configure: Regenerated.
10586 * include/libc-symbols.h: Remove comment about
10587 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
10588 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
10589 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
10590 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
10591 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
10592 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
10593 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
10594 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
10595 * elf/tst-unique2mod1.c: Likewise.
10596 * elf/tst-unique1mod2.c: Likewise.
10597 * elf/tst-unique1mod1.c: Likewise.
10598 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
10599 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
10600 Replace ASM_TYPE_DIRECTIVE with .type.
10601 * sysdeps/s390/s390-64/sysdep.h: Likewise.
10602 * sysdeps/i386/sysdep.h: Likewise.
10603 * sysdeps/x86_64/sysdep.h: Likewise.
10604 * sysdeps/sh/sysdep.h: Likewise.
10605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
10606 Do not define ASM_TYPE_DIRECTIVE.
10607 * sysdeps/powerpc/sysdep.h: Likewise.
10608 * sysdeps/powerpc/powerpc32/sysdep.h:
10609 Replace ASM_TYPE_DIRECTIVE with .type.
10610 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
10611 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
10612 * sysdeps/i386/fpu/e_powf.S: Likewise.
10613 * sysdeps/i386/fpu/e_expl.S: Likewise.
10614 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
10615 * sysdeps/i386/fpu/e_acosh.S: Likewise.
10616 * sysdeps/i386/fpu/e_pow.S: Likewise.
10617 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
10618 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
10619 * sysdeps/i386/fpu/s_expm1.S: Likewise.
10620 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
10621 * sysdeps/i386/fpu/e_log2.S: Likewise.
10622 * sysdeps/i386/fpu/e_log2l.S: Likewise.
10623 * sysdeps/i386/fpu/e_scalb.S: Likewise.
10624 * sysdeps/i386/fpu/e_powl.S: Likewise.
10625 * sysdeps/i386/fpu/e_log10f.S: Likewise.
10626 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
10627 * sysdeps/i386/fpu/e_logl.S: Likewise.
10628 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
10629 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
10630 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
10631 * sysdeps/i386/fpu/e_log2f.S: Likewise.
10632 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
10633 * sysdeps/i386/fpu/e_log.S: Likewise.
10634 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
10635 * sysdeps/i386/fpu/e_logf.S: Likewise.
10636 * sysdeps/i386/fpu/e_log10l.S: Likewise.
10637 * sysdeps/i386/fpu/e_atanh.S: Likewise.
10638 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
10639 * sysdeps/i386/fpu/e_log10.S: Likewise.
10640 * sysdeps/i386/fpu/s_frexp.S: Likewise.
10641 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
10642 * sysdeps/i386/fpu/s_asinh.S: Likewise.
10643 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
10644 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
10645 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
10646 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
10647 * sysdeps/i386/i686/strtok.S: Likewise.
10648 * sysdeps/i386/i386-mcount.S: Likewise.
10649 * sysdeps/i386/strtok.S: Likewise.
10650 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
10651 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
10652 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
10653 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
10654 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
10655 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
10656 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
10657 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
10658 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
10659 * sysdeps/x86_64/_mcount.S: Likewise.
10660 * sysdeps/x86_64/strtok.S: Likewise.
10661 * sysdeps/sh/_mcount.S: Likewise.
10663 2012-08-01 Roland McGrath <roland@hack.frob.com>
10665 * libio/iofopen.c: Include <fcntl.h>.
10666 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
10667 (_IO_fopen64, fopen64): Define as aliases.
10668 * libio/iofopen64.c: Include <fcntl.h>.
10669 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
10670 Conditionalize body on this.
10671 * sysdeps/wordsize-64/iofopen.c: File removed.
10672 * sysdeps/wordsize-64/iofopen64.c: File removed.
10674 2012-08-01 Marek Polacek <polacek@redhat.com>
10676 * libc/Makeconfig: Use elf in place of binfmt-subdir.
10677 Use dlfcn directly instead of a variable.
10678 (binfmt-subdir): Do not define.
10681 2012-08-01 Joseph Myers <joseph@codesourcery.com>
10683 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
10684 Remove all definitions.
10685 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
10686 <kernel-features.h>.
10687 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
10688 (miss_F_GETOWN_EX): Remove all definitions.
10689 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
10691 [!__ASSUME_FCNTL64]: Remove conditional code.
10692 [__ASSUME_FCNTL64]: Make code unconditional.
10693 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
10694 <kernel-features.h>.
10695 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
10696 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
10697 (lockf64) [__NR_fcntl64]: Make code unconditional.
10698 (lockf64) [__ASSUME_FCNTL64]: Likewise.
10700 * sysdeps/unix/sysv/linux/kernel-features.h
10701 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
10702 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
10703 Make code unconditional.
10704 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
10705 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
10706 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
10707 [__NR_vfork]: Make code unconditional.
10708 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
10709 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
10710 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
10711 [__NR_vfork]: Make code unconditional.
10712 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
10713 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
10715 2012-08-01 Roland McGrath <roland@hack.frob.com>
10717 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
10718 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
10720 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
10721 Define mkstemp64 as an alias.
10722 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
10723 Define mkstemps64 as an alias.
10724 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
10725 Define mkostemp64 as an alias.
10726 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
10727 Define mkostemps64 as an alias.
10728 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
10729 Conditionalize body on this.
10730 * misc/mkostemp64.c: Likewise.
10731 * misc/mkostemps64.c: Likewise.
10732 * misc/mkstemps64.c: Likewise.
10733 * sysdeps/wordsize-64/mkstemp64.c: File removed.
10734 * sysdeps/wordsize-64/mkostemp64.c: File removed.
10735 * sysdeps/wordsize-64/mkostemp.c: File removed.
10736 * sysdeps/wordsize-64/mkstemp.c: File removed.
10737 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
10738 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
10739 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
10740 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
10743 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
10744 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
10745 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
10746 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
10748 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
10749 compat_symbol macros from <shlib-compat.h> rather than the underlying
10750 default_symbol_version and symbol_version macros, so that DEFAULT
10751 lines in shlib-versions are respected.
10752 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
10754 2012-08-01 Florian Weimer <fweimer@redhat.com>
10756 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
10757 Declare with warn_unused_result.
10758 (setgid, setregid, setegid, setresgid): Likewise.
10759 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
10761 * WUR-REPORT: Remove set*id functions.
10763 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
10765 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
10767 2012-07-31 Roland McGrath <roland@hack.frob.com>
10769 * include/sys/socket.h (__libc_accept, __libc_accept4):
10770 Add attribute_hidden.
10771 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
10773 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
10775 * inet/getnetgrent_r.c (setup): Likewise.
10777 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
10779 2012-07-31 David S. Miller <davem@davemloft.net>
10781 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10783 2012-07-31 Joseph Myers <joseph@codesourcery.com>
10786 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
10787 value between 1.0 and 2.0 and smaller part has absolute value less
10789 * math/s_clog10.c (__clog10): Likewise.
10790 * math/s_clog10f.c (__clog10f): Likewise.
10791 * math/s_clog10l.c (__clog10l): Likewise.
10792 * math/s_clogf.c (__clogf): Likewise.
10793 * math/s_clogl.c (__clogl): Likewise.
10794 * math/libm-test.inc (clog_test): Add more tests.
10795 (clog10_test): Likewise.
10796 * sysdeps/i386/fpu/libm-test-ulps: Update.
10797 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10799 2012-07-31 Florian Weimer <fweimer@redhat.com>
10801 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
10802 Exit with zero in case no suitable GID is found, and write a
10803 message to standard error.
10805 2012-07-30 Roland McGrath <roland@hack.frob.com>
10807 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
10809 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
10810 (MAXPATHLEN): Removed.
10811 (NOGROUP, NODEV): New macros.
10812 (setbit, clrbit, isset, isclr): New macros.
10813 (howmany, roundup, powerof2): New macros.
10814 (DEV_BSIZE): New macro.
10816 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
10817 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
10819 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
10820 definition on [!__NO_LONG_DOUBLE_MATH].
10822 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
10823 PTR_MANGLE and PTR_DEMANGLE.
10825 * socket/accept4.c (accept4): Rename to __libc_accept4.
10826 Define accept4 as a weak alias.
10828 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
10829 on [_DIRENT_HAVE_D_TYPE].
10830 * io/ftw.c (ftw_dir): Likewise.
10832 * io/xmknod.c (__xmknod): Don't check PATH for being null.
10834 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
10836 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
10837 Use the BSD numbers rather than the arbitrary ones we had.
10838 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
10839 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
10840 (SIGXCPU, SIGXFSZ): New macros.
10843 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
10844 initializer on [_LIBC_REENTRANT].
10846 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
10847 definitions inside [_POSIX_MAPPED_FILES].
10849 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
10851 * dirent/opendir.c: Include <fcntl.h>.
10853 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
10854 (__libc_getspecific): Likewise.
10855 (__libc_key_create): Likewise.
10857 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
10858 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
10859 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
10860 (tmpfile64): Define as alias.
10861 * sysdeps/wordsize-64/tmpfile.c: File removed.
10862 * sysdeps/wordsize-64/tmpfile64.c: File removed.
10863 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
10864 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
10866 * stdio-common/vfscanf.c: Include <stdbool.h>.
10867 * nss/makedb.c: Likewise.
10868 * stdio-common/_i18n_number.h: Likewise.
10869 * argp/argp-help.c: Likewise.
10870 * posix/wordexp.c: Likewise.
10871 * sysdeps/posix/spawni.c: Likewise.
10872 * nss/nss_files/files-initgroups.c: Likewise.
10873 * stdio-common/reg-modifier.c: Include <stdlib.h>.
10874 * nss/nss_files/files-initgroups.c: Likewise.
10875 * nss/nss_db/db-netgrp.c: Likewise.
10876 * nss/nss_db/db-initgroups.c: Likewise.
10877 * io/fchmodat.c: Include <sys/stat.h>.
10879 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
10880 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
10882 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
10885 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
10886 Add multiple inclusion protection.
10888 2012-07-27 David S. Miller <davem@davemloft.net>
10890 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10892 2012-07-27 Gary Benson <gbenson@redhat.com>
10895 * elf/rtld.c: Include <stap-probe.h>.
10896 (dl_main): Added static probes "init_start" and "init_complete".
10897 * elf/dl-load.c: Include <stap-probe.h>.
10898 (lose): Take new parameter "nsid".
10899 Added static probe "map_failed".
10900 (_dl_map_object_from_fd): Pass namespace id to lose.
10901 Added static probe "map_start".
10902 (open_verify): Pass namespace id to lose.
10903 * elf/dl-open.c: Include <stap-probe.h>.
10904 (dl_open_worker) Added static probes "map_complete", "reloc_start"
10905 and "reloc_complete".
10906 * elf/dl-close.c: Include <stap-probe.h>.
10907 (_dl_close_worker): Added static probes "unmap_start" and
10909 * elf/rtld-debugger-interface.txt: New file documenting the above.
10911 2012-07-26 Roland McGrath <roland@hack.frob.com>
10913 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
10914 rather than a string variable.
10915 * sunrpc/rpc_main.c (h_output): Likewise.
10916 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
10918 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
10920 * inet/check_native.c: New file.
10922 2012-07-26 Joseph Myers <joseph@codesourcery.com>
10925 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
10926 if larger part has absolute value 1.0.
10927 * math/s_clog10.c (__clog10): Likewise.
10928 * math/s_clog10f.c (__clog10f): Likewise.
10929 * math/s_clog10l.c (__clog10l): Likewise.
10930 * math/s_clogf.c (__clogf): Likewise.
10931 * math/s_clogl.c (__clogl): Likewise.
10932 * math/libm-test.inc (clog_test): Add more tests.
10933 (clog10_test): Likewise.
10934 * sysdeps/i386/fpu/libm-test-ulps: Update.
10935 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10937 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
10938 (pltexit): Likewise.
10939 (La_regs): Likewise.
10940 (La_retval): Likewise.
10941 (int_retval): Likewise.
10942 Update #error for removed macros to refer only to definitions in
10944 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
10946 (pltexit): Likewise.
10947 (La_regs): Likewise.
10948 (La_retval): Likewise.
10949 (int_retval): Likewise.
10950 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
10952 (pltexit): Likewise.
10953 (La_regs): Likewise.
10954 (La_retval): Likewise.
10955 (int_retval): Likewise.
10956 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
10958 (pltexit): Likewise.
10959 (La_regs): Likewise.
10960 (La_retval): Likewise.
10961 (int_retval): Likewise.
10962 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
10964 (pltexit): Likewise.
10965 (La_regs): Likewise.
10966 (La_retval): Likewise.
10967 (int_retval): Likewise.
10968 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
10970 (pltexit): Likewise.
10971 (La_regs): Likewise.
10972 (La_retval): Likewise.
10973 (int_retval): Likewise.
10974 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
10976 (pltexit): Likewise.
10977 (La_regs): Likewise.
10978 (La_retval): Likewise.
10979 (int_retval): Likewise.
10980 * sysdeps/generic/tst-audit.h: Update comment to refer only to
10981 macro definitions in tst-audit.h.
10982 * sysdeps/i386/tst-audit.h: New file.
10983 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
10984 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
10985 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
10986 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
10987 * sysdeps/sh/tst-audit.h: Likewise.
10988 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
10989 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
10990 * sysdeps/x86_64/tst-audit.h: Likewise.
10992 2012-07-26 Andreas Jaeger <aj@suse.de>
10994 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
10997 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
10998 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
10999 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
11001 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
11002 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
11003 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
11005 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
11008 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
11010 (si_call_addr, si_syscall, si_arch): Define new macro.
11011 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
11013 (si_call_addr, si_syscall, si_arch): Define new marcro.
11014 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
11016 (si_call_addr, si_syscall, si_arch): Define new macro.
11017 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
11019 (si_call_addr, si_syscall, si_arch): Define new macro.
11021 2012-07-25 Joseph Myers <joseph@codesourcery.com>
11024 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
11025 Change to 2.4.21 where previously 2.4.1.
11026 * sysdeps/unix/sysv/linux/configure: Regenerated.
11027 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
11028 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
11029 Linux kernel version.
11030 (__ASSUME_STD_AUXV): Remove.
11031 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
11033 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
11034 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
11035 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
11036 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
11037 (__ASSUME_NETLINK_SUPPORT): Likewise.
11038 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
11039 (__no_netlink_support): Remove conditional definition.
11040 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
11042 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
11043 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
11044 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
11045 (if_nameindex_ioctl): Remove.
11046 (if_nameindex_netlink): Do not handle __no_netlink_support.
11047 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
11049 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
11050 Remove conditional code.
11051 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
11053 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
11055 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
11056 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
11057 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
11059 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
11060 [!__ASSUME_STD_AUXV]: Remove conditional code.
11061 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
11062 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
11063 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
11064 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
11065 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
11066 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
11068 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
11069 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
11070 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
11071 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
11073 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
11074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
11075 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
11077 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
11078 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
11080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
11081 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
11082 code unconditional.
11083 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11085 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
11087 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
11090 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
11092 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
11095 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
11096 code unconditional.
11097 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11099 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
11101 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
11104 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
11105 code unconditional.
11106 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11108 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
11110 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11113 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
11115 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
11116 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
11117 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
11118 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
11119 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
11120 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
11121 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
11122 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
11123 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
11124 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
11125 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
11126 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
11127 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
11128 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
11129 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
11130 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
11131 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
11132 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
11133 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
11134 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
11135 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
11136 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
11137 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
11139 2012-07-25 Florian Weimer <fweimer@redhat.com>
11141 * Versions.def: Add GLIBC_2.17.
11142 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
11143 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
11144 Introduce __libc_secure_getenv.
11145 * stdlib/Versions (2.17): Add secure_getenv
11146 (GLIBC_PRIVATE): Add __libc_secure_getenv.
11147 * stdlib/secure-getenv.c: Rename __secure_getenv to
11148 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
11149 symbol __secure_getenv for GLIBC_2.0.
11150 * stdlib/tst-secure-getenv.c: New.
11151 * stdlib/Makefile (tests): Add testcase.
11152 * manual/startup.texi (Environment Access): Document
11154 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
11155 __libc_secure_getenv.
11156 * inet/ruserpass.c (ruserpass): Likewise.
11157 * malloc/mtrace.c (mtrace): Likewise.
11158 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
11159 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
11160 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
11161 * sysdeps/posix/tempname.c: Likewise. Evaluate
11162 HAVE_SECURE_GETENV.
11163 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
11164 __secure_getenv to __libc_secure_getenv.
11165 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
11166 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11168 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11170 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
11171 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
11172 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
11173 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
11174 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
11175 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
11176 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
11178 2012-07-25 Joseph Myers <joseph@codesourcery.com>
11180 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
11181 (struct La_i86_retval): Likewise.
11182 (struct La_x86_64_regs): Likewise.
11183 (struct La_x86_64_retval): Likewise.
11184 (struct La_x32_regs): Likewise.
11185 (struct La_x32_retval): Likewise.
11186 (struct La_ppc32_regs): Likewise.
11187 (struct La_ppc32_retval): Likewise.
11188 (struct La_ppc64_regs): Likewise.
11189 (struct La_ppc64_retval): Likewise.
11190 (struct La_sh_regs): Likewise.
11191 (struct La_sh_retval): Likewise.
11192 (struct La_s390_32_regs): Likewise.
11193 (struct La_s390_32_retval): Likewise.
11194 (struct La_s390_64_regs): Likewise.
11195 (struct La_s390_64_retval): Likewise.
11196 (struct La_sparc32_regs): Likewise.
11197 (struct La_sparc32_retval): Likewise.
11198 (struct La_sparc64_regs): Likewise.
11199 (struct La_sparc64_retval): Likewise.
11200 (struct audit_ifaces): Remove architecture-specific pltenter and
11202 * sysdeps/i386/ldsodefs.h: New file.
11203 * sysdeps/powerpc/ldsodefs.h: Likewise.
11204 * sysdeps/s390/ldsodefs.h: Likewise.
11205 * sysdeps/sh/ldsodefs.h: Likewise.
11206 * sysdeps/sparc/ldsodefs.h: Likewise.
11207 * sysdeps/x86_64/ldsodefs.h: Likewise.
11209 2012-07-25 Marek Polacek <polacek@redhat.com>
11212 * math/libm-test.inc (yn_test): Add another test.
11213 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
11214 to ERANGE when the result is +-Inf.
11215 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
11216 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
11217 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
11218 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
11220 2012-07-24 Joseph Myers <joseph@codesourcery.com>
11222 * conform/data/time.h-data (NULL): Use macro-constant. Require
11224 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
11226 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
11228 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
11230 * configure.in <sysdeps resolving>: Correct printing
11232 * configure: Regenerate.
11234 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
11236 * math/w_ilogb.c: Include <limits.h>.
11237 * math/w_ilogbl.c: Likewise.
11239 2012-07-20 Joseph Myers <joseph@codesourcery.com>
11241 * manual/lang.texi (__va_copy): Document primarily as ISO C99
11242 va_copy. Document allowing for unavailable va_copy only as
11243 pre-C99 compatibility.
11244 * manual/string.texi (Copying and Concatenation): Use va_copy
11245 instead of __va_copy in concat example.
11247 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
11249 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
11250 (__sendto): Use create_address_port. Initialize APORT and deallocate
11253 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
11254 with O_NOLINK passed to __file_name_lookup.
11256 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
11257 with O_NOLINK passed to __file_name_lookup.
11259 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
11260 negative N or less than NGIDS.
11262 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
11263 type to string_t. Set ERANGE as errno and return it if NAME is not big
11264 enough. Use memcpy instead of strncpy.
11266 2012-07-20 Joseph Myers <joseph@codesourcery.com>
11268 * elf/Makefile (check-data): Remove.
11269 (localplt.data): New vpath directive.
11270 ($(objpfx)check-localplt.out): Use localplt.data from vpath
11271 instead of $(check-data).
11272 * scripts/data/localplt-generic.data: Move to ...
11273 * sysdeps/generic/localplt.data: ... here.
11274 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
11275 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
11276 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
11277 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
11279 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
11280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
11282 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
11283 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
11285 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
11286 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
11288 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
11289 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
11291 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
11292 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
11295 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11297 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
11298 PPC32 and PPC64 files.
11299 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
11300 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
11302 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11304 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
11305 __makecontext_ret to ...
11306 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
11307 ... here and call exit if uc_link is NULL. New file.
11308 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
11309 __makecontext_ret.S.
11310 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
11311 __makecontext_ret to ...
11312 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
11313 ... here and call exit if uc_link is NULL. New file.
11314 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
11315 __makecontext_ret.S.
11317 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11319 * elf/elf.h (R_390_IRELATIVE): New definition.
11320 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
11321 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
11322 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
11323 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
11324 (elf_machine_lazy_rel): Likewise.
11325 * sysdeps/s390/dl-irel.h: New file.
11326 * sysdeps/s390/s390-64/memcpy.S: New asm code.
11327 * sysdeps/s390/s390-64/memset.S: New asm code.
11328 * sysdeps/s390/s390-64/memcmp.S: New asm code.
11329 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
11330 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
11331 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
11332 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
11333 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
11334 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
11335 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
11336 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
11337 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
11338 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
11339 * sysdeps/s390/s390-32/memcpy.S: New asm code.
11340 * sysdeps/s390/s390-32/memset.S: New asm code.
11341 * sysdeps/s390/s390-32/memcmp.S: New asm code.
11343 2012-07-17 Marek Polacek <polacek@redhat.com>
11346 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
11347 * sysdeps/s390/s390-64/configure.in: Likewise.
11348 * sysdeps/sparc/configure.in: Likewise.
11349 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
11350 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
11351 * sysdeps/i386/configure.in: Likewise.
11352 * sysdeps/x86_64/configure.in: Likewise.
11353 * sysdeps/sh/configure.in: Likewise.
11354 * sysdeps/s390/s390-32/configure: Regenerated.
11355 * sysdeps/s390/s390-64/configure: Likewise.
11356 * sysdeps/x86_64/configure: Likewise.
11357 * sysdeps/sh/configure: Likewise.
11358 * sysdeps/powerpc/powerpc64/configure: Likewise.
11359 * sysdeps/powerpc/powerpc32/configure: Likewise.
11360 * sysdeps/sparc/configure: Likwise.
11361 * sysdeps/i386/configure: Likewise.
11363 * elf/dl-open.c: Comment fixes.
11365 2012-07-17 Joseph Myers <joseph@codesourcery.com>
11367 * Makefile [CXX] (check-data): Remove.
11368 [CXX] (c++-types.data): New vpath directive.
11369 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
11370 vpath. Do not allow for C++ type data being missing.
11371 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
11372 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
11373 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
11374 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
11375 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
11376 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
11377 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
11378 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
11380 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
11381 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
11383 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
11384 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
11386 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
11387 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
11389 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
11390 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
11392 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
11393 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
11395 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
11396 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
11398 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
11399 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
11401 * elf/tls-macros.h (TLS_LE): Move architecture-specific
11402 definitions to architecture-specific files.
11403 (TLS_IE): Likewise.
11404 (TLS_LD): Likewise.
11405 (TLS_GD): Likewise.
11406 * sysdeps/i386/tls-macros.h: New file.
11407 * sysdeps/powerpc/tls-macros.h: Likewise.
11408 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
11409 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
11410 * sysdeps/sh/tls-macros.h: Likewise.
11411 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
11412 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
11413 * sysdeps/x86_64/tls-macros.h: Likewise.
11415 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
11417 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
11418 zero value for regular exit case.
11420 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
11421 (__start_context): Preserve zero value for regular exit case.
11423 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
11424 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11426 * manual/setjmp.texi (setcontext): Clarify normal process
11427 termination when uc_link is the null pointer.
11428 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
11431 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
11433 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
11434 preprocessor. Test for each exception mask separately.
11436 2012-07-16 Andreas Jaeger <aj@suse.de>
11438 * po/ru.po: Update from translation team.
11440 2012-07-15 Joseph Myers <joseph@codesourcery.com>
11442 * conform/data/string.h-data (NULL): Use macro-constant. Require
11444 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
11445 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
11446 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
11447 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
11448 [ISO || ISO99 || ISO11] (*_t): Do not allow.
11450 2012-07-13 Andreas Jaeger <aj@suse.de>
11452 * po/fr.po: Update from translation team.
11454 2012-07-12 Marek Polacek <polacek@redhat.com>
11457 * math/libm-test.inc (yn_test): Add test for BZ #14173.
11458 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
11461 2012-07-12 Joseph Myers <joseph@codesourcery.com>
11464 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
11465 Change to 2.4.1 where previously 2.4.0.
11466 * sysdeps/unix/sysv/linux/configure: Regenerated.
11467 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
11468 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
11470 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
11471 (__ASSUME_AT_CLKTCK): Remove.
11472 (__ASSUME_AT_PAGESIZE): Likewise.
11473 (__ASSUME_AT_XID): Likewise.
11474 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
11475 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
11476 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
11478 (HAVE_AUX_PAGESIZE): Likewise.
11479 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
11480 [__ASSUME_AT_CLKTCK]: Make code unconditional.
11481 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
11483 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
11486 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
11487 the temporary buffer used to invoke __gethostbyname2_r,
11488 __gethostbyaddr_r and gethostbyname4_r to make room for struct
11489 host_data / struct gaih_addrtuple.
11490 * resolv/nss_dns/dns-host.c (global scope): Move definition of
11491 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
11492 header file nss/nsswitch.h.
11493 * nss/nsswitch.h (global scope): Add definition of implementation
11494 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
11495 resolv/nss_dns/dns-host.c).
11497 2012-07-11 Andreas Jaeger <aj@suse.de>
11499 * po/fr.po: Update from translation team.
11501 * po/sv.po: Update from translation team
11502 * po/fr.po: Another update from translation team.
11504 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11506 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
11507 for subnormals or multiply small sinh result by itself.
11508 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
11509 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11511 2012-07-11 David S. Miller <davem@davemloft.net>
11513 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11515 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
11518 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
11519 (INTERNAL_MARK): Shift it here.
11521 2012-07-10 Marek Polacek <polacek@redhat.com>
11524 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
11525 libc_cv_asm_global_directive with .globl.
11526 * configure: Regenerated.
11527 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
11529 * sysdeps/i386/configure: Regenerated.
11530 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
11532 * sysdeps/x86_64/configure: Regenerated.
11533 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
11534 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
11535 * elf/tst-unique2mod2.c: Likewise.
11536 * elf/tst-unique2mod1.c: Likewise.
11537 * elf/tst-unique1mod2.c: Likewise.
11538 * elf/tst-unique1mod1.c: Likewise.
11539 * sysdeps/s390/s390-32/sysdep.h: Likewise.
11540 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
11541 * sysdeps/s390/s390-64/sysdep.h: Likewise.
11542 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
11543 * sysdeps/mach/sysdep.h: Likewise.
11544 * sysdeps/i386/sysdep.h: Likewise.
11545 * sysdeps/i386/i386-mcount.S: Likewise.
11546 * sysdeps/x86_64/_mcount.S: Likewise.
11547 * sysdeps/x86_64/sysdep.h: Likewise.
11548 * sysdeps/sh/_mcount.S: Likewise.
11549 * sysdeps/sh/sysdep.h: Likewise.
11550 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
11551 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
11552 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
11553 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
11554 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
11555 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
11556 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
11557 * locale/localeinfo.h: Likewise.
11558 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
11559 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
11561 2012-07-09 Roland McGrath <roland@hack.frob.com>
11564 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
11566 * manual/message.texi (The Uniforum approach): Likewise.
11567 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
11568 (glibc iconv Implementation): Likewise.
11570 2012-07-09 Joseph Myers <joseph@codesourcery.com>
11573 * math/s_clog.c (__clog): Avoid scaling a value down where that
11574 could result in underflow.
11575 * math/s_clog10.c (__clog10): Likewise.
11576 * math/s_clog10f.c (__clog10f): Likewise.
11577 * math/s_clog10l.c (__clog10l): Likewise.
11578 * math/s_clogf.c (__clogf): Likewise.
11579 * math/s_clogl.c (__clogl): Likewise.
11580 * math/libm-test.inc (clog_test): Add more tests.
11581 (clog10_test): Likewise.
11582 * sysdeps/i386/fpu/libm-test-ulps: Update.
11583 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11585 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
11588 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
11589 by 7 not 8 to examine high bit of fractional part.
11592 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
11593 for call to __mcount_internal.
11594 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
11595 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
11596 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
11598 2012-07-06 Joseph Myers <joseph@codesourcery.com>
11601 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
11602 approximation for values within 0x1p-13f of an odd multiple of
11604 * math/libm-test.inc (tan_test): Do not allow spurious underflow
11605 exception. Add more tests.
11606 * sysdeps/i386/fpu/libm-test-ulps: Update.
11609 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
11610 inputs and return -1 for them. Do not check for +Inf in case not
11611 reachable for +Inf.
11612 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
11613 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
11614 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
11615 and return -1 for them. Do not check for +Inf in case not
11616 reachable for +Inf.
11617 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
11619 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
11620 and return -1 for them. Do not check for +Inf in case not
11621 reachable for +Inf.
11622 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
11623 spurious underflow.
11624 * sysdeps/i386/fpu/libm-test-ulps: Update.
11625 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11627 2012-07-06 Mike Frysinger <vapier@gentoo.org>
11629 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
11631 2012-07-05 Joseph Myers <joseph@codesourcery.com>
11635 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
11636 could result in spurious underflow. Scale down values above
11637 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
11638 * math/s_csqrtf.c (__csqrtf): Likewise.
11639 * math/s_csqrtl.c (__csqrtl): Likewise.
11640 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
11641 spurious underflow.
11642 * sysdeps/i386/fpu/libm-test-ulps: Update.
11643 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11645 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
11647 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
11649 * catgets/xopen-msg.awk: New file.
11650 * catgets/xopen-msg.sed: Removed.
11652 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
11654 * intl/po2test.awk: New file.
11655 * intl/po2test.sed: Removed.
11657 2012-07-04 Joseph Myers <joseph@codesourcery.com>
11660 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
11661 or multiply small sinh result by itself.
11662 * math/s_ctanf.c (__ctanf): Likewise.
11663 * math/s_ctanh.c (__ctanh): Likewise.
11664 * math/s_ctanhf.c (__ctanhf): Likewise.
11665 * math/s_ctanhl.c (__ctanhl): Likewise.
11666 * math/s_ctanl.c (__ctanl): Likewise.
11667 * math/libm-test.inc (ctan_test_tonearest): New function.
11668 (ctan_test_towardzero): Likewise.
11669 (ctan_test_downward): Likewise.
11670 (ctan_test_upward): Likewise.
11671 (ctanh_test_tonearest): Likewise.
11672 (ctanh_test_towardzero): Likewise.
11673 (ctanh_test_downward): Likewise.
11674 (ctanh_test_upward): Likewise.
11675 (main): Call these new functions.
11676 * sysdeps/i386/fpu/libm-test-ulps: Update.
11677 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11679 2012-07-03 Mike Frysinger <vapier@gentoo.org>
11681 * .gitignore: Delete /ports entry.
11683 2012-07-03 Andreas Jaeger <aj@suse.de>
11685 * po/bg.po: Update from translation team.
11686 * po/cs.po: Likewise.
11687 * po/de.po: Likewise.
11688 * po/hr.po: Likewise.
11689 * po/nl.pl: Likewise.
11690 * po/pl.po: Likewise.
11691 * po/vi.po: Likewise.
11693 2012-07-03 Joseph Myers <joseph@codesourcery.com>
11695 * Makeconfig [!+link] (+link-before-libc): New variable.
11696 [!+link] (+link-after-libc): Likewise.
11697 [!+link] (+link-tests): Likewise.
11698 [!+link] (+link): Define in terms of $(+link-before-libc) and
11699 $(+link-after-libc).
11700 [!+link-static] (+link-static-before-libc): New variable.
11701 [!+link-static] (+link-static-after-libc): Likewise.
11702 [!+link-static] (+link-static-tests): Likewise.
11703 [!+link-static] (+link-static): Define in terms of
11704 $(+link-static-before-libc) and $(+link-static-after-libc).
11705 [build-shared] (link-libc-before-gnulib): New variable.
11706 [build-shared] (link-libc-tests): Likewise.
11707 [build-shared] (link-libc): Define in terms of
11708 $(link-libc-before-gnulib).
11709 [!build-shared] (link-libc-tests): New variable.
11710 (link-libc-static-tests): New variable.
11711 [!gnulib] (gnulib-arch): New variable.
11712 [!gnulib] (gnulib-tests): Likewise.
11713 [!gnulib] (static-gnulib-arch): Likewise.
11714 [!gnulib] (static-gnulib-tests): Likewise.
11715 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
11716 Define with "=" instead of ":=".
11717 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
11718 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
11719 * Rules (binaries-all-notests): New variable.
11720 (binaries-all-tests): Likewise.
11721 (binaries-static-notests): Likewise.
11722 (binaries-static-tests): Likewise.
11723 (binaries-all): Define using $(binaries-all-notests) and
11724 $(binaries-all-tests).
11725 (binaries-static): Define using $(binaries-static-notests) and
11726 $(binaries-static-tests).
11727 (binaries-shared-tests): New variable.
11728 (binaries-shared-notests): Likewise.
11729 (binaries-shared): Remove variable.
11730 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
11731 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
11732 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
11733 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
11734 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
11735 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
11736 * elf/Makefile (sln-modules): New variable.
11737 (extra-objs): Add $(sln-modules:=.o).
11738 (ldconfig-modules): Add static-stubs.
11739 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
11740 * elf/static-stubs.c: New file.
11743 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
11744 by 7 not 8 to examine high bit of fractional part. Use volatile
11745 variables when splitting into final array of floats if
11746 __FLT_EVAL_METHOD__ != 0.
11747 * math/libm-test.inc (cos_test): Add another test.
11748 (sin_test): Likewise.
11749 * sysdeps/i386/fpu/libm-test-ulps: Update.
11752 * math/libm-test.inc (cosh_test): Add more tests.
11754 * version.h (RELEASE): Set to "development".
11755 (VERSION): Set to "2.16.90".
11757 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
11759 * NEWS: Update copyright. Remove last-updated date.
11760 Mention math library bug fixes and timezone data changes.
11761 * README: Mention GNU/Hurd, x32, and HPPA support status.
11763 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
11765 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
11767 2012-06-27 Andreas Jaeger <aj@suse.de>
11769 * manual/contrib.texi (Contributors): Add Samuel Thibault.
11771 2012-06-25 Andreas Jaeger <aj@suse.de>
11773 * sysdeps/s390/fpu/libm-test-ulps: Update.
11775 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
11776 Thomas Schwinge <thomas@codesourcery.com>
11778 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
11779 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
11780 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
11783 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
11785 * sysdeps/mach/start.c: Remove file.
11786 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
11787 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
11788 * sysdeps/sh/init-first.c: Likewise.
11790 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
11791 registers for frame unwinding purposes, add CFI directives.
11792 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
11793 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
11794 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
11797 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
11798 __fortify_fail returning.
11799 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
11801 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
11802 sysdeps/sh/____longjmp_chk.S.
11803 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
11804 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
11805 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
11806 (gen-as-const-headers): Append sigaltstack-offsets.sym.
11808 * sysdeps/sh/abort-instr.h: New file.
11809 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
11810 process in case exit returns.
11812 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
11813 initialize the GOT register before use.
11815 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
11816 calculation of ARGC > 4.
11818 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
11819 meaningful names to some local labels.
11821 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11822 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11824 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
11825 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
11826 (__arch_compare_and_exchange_val_16_acq): Likewise.
11827 (__arch_compare_and_exchange_val_32_acq): Likewise.
11828 (atomic_exchange_and_add): Fix gUSA sequence.
11829 (atomic_add): Likewise.
11830 (atomic_add_negative): Likewise.
11831 (atomic_add_zero): Likewise.
11832 (atomic_bit_test_set): Likewise.
11834 2012-06-22 Andreas Schwab <schwab@redhat.com>
11837 * include/link.h (struct link_map): Add l_free_initfini.
11838 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
11840 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
11841 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
11842 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
11845 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
11847 * configure.in: Use AC_LANG_SOURCE.
11848 * configure: Regenerate.
11850 2012-06-22 Roland McGrath <roland@hack.frob.com>
11852 * configure.in (libc_cv_localstatedir): New substituted variable.
11853 * configure: Regenerated.
11854 * config.make.in (localstatedir): New variable, substituted from
11855 libc_cv_localstatedir.
11856 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
11857 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
11858 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
11859 * sysdeps/gnu/configure: Regenerated.
11861 2012-06-21 Jeff Law <law@redhat.com>
11864 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
11865 free. Simplify list management for _LIBC case.
11867 2012-06-21 Joseph Myers <joseph@codesourcery.com>
11870 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
11871 Clear sign bit of 64-bit integer value before comparing against
11874 * sysdeps/mach/configure: Regenerated.
11876 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
11879 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
11881 2012-06-21 Jeff Law <law@redhat.com>
11884 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
11885 uint16_t for elements in the "seen" array to avoid char overflows.
11886 * elf/dl-fini.c (_dl_sort_fini): Likewise.
11887 * elf/dl-open.c (dl_open_worker): Likewise.
11889 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
11891 * scripts/list-sources.sh: Scan PORTS for translations.
11892 * po/libc.pot: Regenerated.
11894 2012-06-21 Andreas Jaeger <aj@suse.de>
11897 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
11899 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
11900 * bits/byteswap-16.h (__bswap_16): Likewise.
11901 * bits/byteswap.h (__bswap_constant_16): Likewise.
11903 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
11906 * sysdeps/i386/fpu_control.h: Removed.
11907 * sysdeps/x86_64/fpu_control.h: Moved to ...
11908 * sysdeps/x86/fpu_control.h: Here.
11910 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
11911 (_FPU_SETCW): Likewise.
11913 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
11916 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
11917 * sysdeps/x86/fpu/bits/mathinline.h: This.
11918 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
11922 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
11923 functions if __x86_64__ is defined.
11925 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
11927 * string/endian.h: Add !__ASSEMBLER__ condition for including
11928 conversion interfaces.
11930 2012-06-15 Joseph Myers <joseph@codesourcery.com>
11933 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
11934 of ABS(x) in calculating zero to negative powers other than odd
11936 * math/libm-test.inc (pow_test): Add more tests.
11938 2012-06-15 Andreas Jaeger <aj@suse.de>
11940 * manual/contrib.texi (Contributors): Update entry of Liubov
11941 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
11944 2012-06-15 Cyril Hrubis <metan@ucw.cz>
11946 * string/string.h: Add __wur to GNU version of strerror_r.
11948 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
11951 * string/Makefile (tests): Add tst-strtok_r.
11952 * string/tst-strtok_r.c: New file.
11953 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
11954 RAX_LP/RDX_LP on SAVE_PTR.
11956 2012-06-14 Roland McGrath <roland@hack.frob.com>
11958 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
11960 2012-06-14 Joseph Myers <joseph@codesourcery.com>
11962 * libm_test.inc (csqrt_test): Allow more spurious underflow
11964 (j0_test): Likewise.
11965 (j1_test): Likewise.
11966 (y0_test): Likewise.
11967 (y1_test): Likewise.
11969 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
11971 * po/Makefile (libc.pot): Use UTF-8 charset.
11973 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
11976 Suppress sign-conversion warning from FD_SET.
11977 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
11978 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
11979 not unsigned long int.
11980 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
11982 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
11986 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
11987 __extern_always_inline instead of __extern_inline.
11988 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
11989 (__signbit): Likewise.
11990 (__signbitl): Support C++ namespace.
11991 (lrintf): New inline function.
11993 (llrintf): Likewise.
11994 (llrint): Likewise.
12004 (floorf): Likewise.
12005 (nearbyint): Likewise.
12006 (nearbyintf): Likewise.
12008 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
12010 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
12011 non-default versions.
12013 2012-06-11 Roland McGrath <roland@hack.frob.com>
12016 * manual/argp.texi (Argp): Reword argp_parse description slightly.
12018 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
12020 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
12021 (FE_UPWARD, FE_DOWNWARD): Don't define.
12022 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
12023 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
12025 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
12027 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
12028 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
12030 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12032 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
12033 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
12034 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
12035 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
12037 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
12040 * sysdeps/i386/fpu/bits/fenv.h: Removed.
12041 * sysdeps/i386/fpu/Implies: New file.
12042 * sysdeps/x86_64/fpu/Implies: Likewise.
12043 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
12044 * sysdeps/x86/fpu/bits/fenv.h: This.
12046 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
12049 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
12052 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
12053 character 0xffff that matches the last element of the
12056 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12058 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
12061 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12063 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
12064 values higher than 25.6283.
12066 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12068 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
12069 subnormal exponent extraction and add some __builtin_expect.
12070 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
12071 Fix for subnormal mantissa calculation.
12073 2012-06-04 Mike Frysinger <vapier@gentoo.org>
12075 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
12076 cpu2 is -1 and errno is not ENOSYS.
12078 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
12081 * sysdeps/i386/i486/bits/string.h: Renamed to ...
12082 * sysdeps/x86/bits/string.h: This.
12083 * sysdeps/x86_64/bits/string.h: Removed.
12085 * sysdeps/i386/i486/bits/string.h: Define inline functions only
12086 if not compiling for x86-64, but compiling for >= i486.
12088 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
12089 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
12091 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
12092 New macro from Linux kernel 3.4.0.
12093 (FP_XSTATE_MAGIC2): Likewise.
12094 (FP_XSTATE_MAGIC2_SIZE): Likewise.
12095 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
12096 (struct _fpx_sw_bytes): New struct.
12097 (struct _xsave_hdr): Likewise.
12098 (struct _ymmh_state): Likewise.
12099 (struct _xstate): Likewise.
12101 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
12102 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
12103 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
12104 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
12105 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
12106 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
12108 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
12109 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
12110 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
12111 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
12112 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
12113 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
12115 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12118 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
12119 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
12120 (sysdep_headers): Include sys/platform/ppc.h.
12121 * sysdeps/powerpc/test-gettimebase.c: Test for
12122 __ppc_get_timebase() to catch future ISA opcode/insn changes.
12123 * manual/Makefile (appendices): Include platform.texi.
12124 * manual/contrib.texi (Contributors): Update @node pointers.
12125 * manual/maint.texi (Maintenance): Likewise.
12126 (Platform): New node.
12127 * manual/platform.texi: New file. Document the new features.
12129 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12130 Jakub Jelinek <jakub@redhat.com>
12133 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
12134 where __builtin_expect is unavailable.
12136 2012-06-03 David S. Miller <davem@davemloft.net>
12138 * stdlib/longlong.h: Updated from GCC.
12140 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
12143 * sysdeps/powerpc/powerpc32/mcount.c: New file.
12144 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
12146 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
12147 (GLIBC_2.16): Likewise.
12149 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
12151 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
12153 2012-06-01 Joseph Myers <joseph@codesourcery.com>
12155 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
12156 (default-abi): New variable.
12157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
12158 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
12160 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
12162 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
12164 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
12167 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
12168 definition. Document in comment.
12170 2012-06-01 David S. Miller <davem@davemloft.net>
12172 * stdlib/longlong.h: Updated from GCC.
12174 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
12177 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
12178 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
12179 sys/debugreg.h sys/io.h here.
12180 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
12181 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
12183 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
12184 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
12185 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
12186 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
12187 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
12188 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
12190 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
12191 Define only if __x86_64__ is defined.
12193 2012-06-01 Joseph Myers <joseph@codesourcery.com>
12196 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
12197 Use int64_t for variable i.
12198 * math/libm-test.inc (fmod_test): Add more tests.
12200 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
12201 z computation is not scheduled after fetestexcept.
12202 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
12203 Use math_force_eval instead of asm to ensure calculation scheduled
12204 before exception test.
12205 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
12206 Ensure a1 + u.d computation is not scheduled after fetestexcept.
12208 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
12210 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
12211 computation is not scheduled after fetestexcept.
12213 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
12216 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
12217 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
12219 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12221 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
12222 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
12224 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
12227 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
12229 (__WCHAR_MIN): Support __WORDSIZE == 64.
12230 (__WCHAR_MAX): Likewise.
12232 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
12233 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
12236 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
12237 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
12240 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
12241 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
12243 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
12244 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
12246 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
12247 Defined to 1 if __x86_64__ isn't defined.
12248 (_STAT_VER_LINUX_OLD): New.
12249 (st_atime): Remove duplicate.
12250 (st_mtime): Likewise.
12251 (st_ctime): Likewise.
12253 2012-05-31 David S. Miller <davem@davemloft.net>
12255 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
12258 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
12260 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
12264 * elf/dl-reloc.c: Include <_itoa.h>.
12265 (_dl_reloc_bad_type): Remove use of INTUSE.
12266 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
12267 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
12268 * stdio-common/psiginfo.c (psiginfo): Likewise.
12269 * stdio-common/psignal.c (psignal): Likewise.
12270 * string/strsignal.c (strsignal): Likewise.
12271 * include/signal.h (_sys_siglist): Declare hidden proto.
12272 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
12273 INTVARDEF with libc_hidden_data_def.
12274 * stdio-common/itoa-udigits.c: Likewise.
12275 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
12276 (_itoa_lower_digits_internal): Remove declaration.
12277 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
12278 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
12279 (_sys_sigabbrev_internal): Remove aliases.
12280 (_sys_siglist): Define hidden alias.
12282 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
12284 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12287 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
12290 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
12291 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
12293 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
12294 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
12295 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
12296 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
12297 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
12298 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
12300 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
12301 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
12302 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
12304 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
12312 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
12313 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
12314 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
12316 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
12317 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
12318 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
12319 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
12320 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
12321 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
12323 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
12324 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
12326 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
12327 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
12329 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
12330 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
12331 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
12333 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
12334 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
12336 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
12338 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
12339 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
12340 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
12342 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
12344 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
12346 2012-05-31 Joseph Myers <joseph@codesourcery.com>
12348 * math/math.h (M_El): Use two more decimal places.
12349 (M_LOG2El): Likewise.
12350 (M_LOG10El): Likewise.
12351 (M_LN2l): Likewise.
12352 (M_LN10l): Likewise.
12354 (M_PI_2l): Likewise.
12355 (M_PI_4l): Likewise.
12356 (M_1_PIl): Likewise.
12357 (M_2_PIl): Likewise.
12358 (M_2_SQRTPIl): Likewise.
12359 (M_SQRT2l): Likewise.
12360 (M_SQRT1_2l): Likewise.
12362 2012-05-31 David S. Miller <davem@davemloft.net>
12364 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
12365 values between float registers.
12366 * sysdeps/sparc/sparc64/memset.S: Likewise.
12367 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
12369 2012-05-31 Mike Frysinger <vapier@gentoo.org>
12371 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
12372 -D_FORTIFY_SOURCE=1.
12373 (CPPFLAGS-tst-longjmp_chk.c): Define.
12374 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
12375 (CPPFLAGS-tst-longjmp_chk2.c): Define.
12376 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
12377 CFLAGS-tst-wchar-h.c.
12379 2012-05-31 Marek Polacek <polacek@redhat.com>
12382 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
12383 __endmntent_internal): Remove declaration.
12384 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
12385 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
12386 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
12388 2012-05-30 David S. Miller <davem@davemloft.net>
12390 * sysdeps/sparc/sparc32/soft-fp/q_util.c
12391 (___Q_simulate_exceptions): Use real FP ops rather than writing
12393 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
12396 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
12399 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
12400 * sysdeps/x86/bits/xtitypes.h: This.
12402 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
12403 * sysdeps/x86/bits/wordsize.h: This.
12405 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
12406 * sysdeps/x86/bits/huge_vall.h: This.
12408 * sysdeps/i386/bits/select.h: Removed.
12409 * sysdeps/x86_64/bits/select.h: Renamed to ...
12410 * sysdeps/x86/bits/select.h: This.
12412 * sysdeps/i386/bits/setjmp.h: Removed.
12413 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
12414 * sysdeps/x86/bits/setjmp.h: This.
12416 * sysdeps/i386/bits/mathdef.h: Removed.
12417 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
12418 * sysdeps/x86/bits/mathdef.h: This.
12420 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
12423 * include/sys/socket.h (__connect_internal)
12424 (__libc_sa_len_internal): Remove declaration.
12425 (__connect, __libc_sa_len): Declare hidden_proto.
12426 (SA_LEN): Remove use of INTUSE.
12427 * socket/connect.c: Add libc_hidden_def.
12428 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
12429 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
12430 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
12432 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
12433 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
12434 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
12435 of adding _internal alias.
12437 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
12440 * sysdeps/i386/bits/link.h: Removed.
12441 * sysdeps/i386/bits/linkmap.h: Likewise.
12442 * sysdeps/x86_64/bits/link.h: Renamed to ...
12443 * sysdeps/x86/bits/link.h: This.
12444 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
12445 * sysdeps/x86/bits/linkmap.h: This.
12447 * sysdeps/i386/bits/endian.h: Removed.
12448 * sysdeps/x86_64/bits/endian.h: Renamed to ...
12449 * sysdeps/x86/bits/endian.h: This.
12451 * sysdeps/i386/bits/byteswap.h: Removed.
12452 * sysdeps/i386/bits/byteswap-16.h: Likewise.
12453 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
12454 * sysdeps/x86/bits/byteswap.h: This.
12455 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
12456 * sysdeps/x86/bits/byteswap-16.h: This.
12457 * sysdeps/i386/Implies: Add x86.
12458 * sysdeps/x86_64/Implies: Likewise.
12460 2012-05-30 David S. Miller <davem@davemloft.net>
12462 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
12463 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
12464 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
12465 (FP_TRAPPING_EXCEPTIONS): Define.
12466 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
12467 (FP_TRAPPING_EXCEPTIONS): Define.
12468 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
12469 subnormals only when inexact has been signalled or underflow
12470 exceptions are enabled.
12471 (_FP_PACK_CANONICAL): Likewise.
12473 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
12476 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
12477 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
12479 2012-05-30 Richard Henderson <rth@twiddle.net>
12481 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
12482 with #ifndef NOT_IN_libc.
12484 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
12485 marked to avoid plt entry.
12487 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
12490 * Makeconfig (default-abi): New macro.
12491 (abi-includes): Likewise.
12492 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
12493 $(abi-$(default-abi)-lib-soname) for soname if defined.
12494 ($(common-objpfx)gnu/lib-names.stmp): Generate from
12496 * Makefile (installed-stubs): Likewise.
12497 * include/stubs-biarch.h: Removed.
12498 * scripts/lib-names.awk: Only handle one library at a time.
12499 * scripts/soversions.awk: Remove WORDSIZE support.
12500 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
12502 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
12504 (syscall-list-default-condition): Likewise.
12505 (syscall-list-default-condition): Likewise.
12506 (syscall-list-includes): Likewise.
12507 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
12508 syscall-list-* with abi-*. Handle undefined abi-variants.
12509 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
12510 * sysdeps/unix/sysv/linux/i386/Implies: New file.
12511 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
12512 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
12513 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
12514 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
12516 (syscall-list-32-options): Likewise.
12517 (syscall-list-32-condition): Likewise.
12518 (syscall-list-64-options): Likewise.
12519 (syscall-list-64-condition): Likewise.
12520 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
12522 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
12525 (abi-64-ld-soname): New macro.
12526 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
12527 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
12530 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
12531 * sysdeps/x86_64/x32/shlib-versions: Likewise.
12533 2012-05-30 Joseph Myers <joseph@codesourcery.com>
12535 * sysdeps/unix/sysv/linux/kernel-features.h
12536 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
12537 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
12538 include <kernel-features.h>.
12539 [!__NR_ftruncate64]: Remove conditional code.
12540 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12541 [__NR_ftruncate64]: Make code unconditional.
12542 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12543 * sysdeps/unix/sysv/linux/truncate64.c: Do not
12544 include <kernel-features.h>.
12545 [!__NR_ftruncate64]: Remove conditional code.
12546 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12547 [__NR_ftruncate64]: Make code unconditional.
12548 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12549 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
12550 include <kernel-features.h>.
12551 [!__NR_ftruncate64]: Remove conditional code.
12552 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12553 [__NR_ftruncate64]: Make code unconditional.
12554 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12555 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
12556 include <kernel-features.h>.
12557 [!__NR_ftruncate64]: Remove conditional code.
12558 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12559 [__NR_ftruncate64]: Make code unconditional.
12560 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12562 * configure.in (libc_cv_fpie): Weaken to a compile test using
12563 LIBC_TRY_CC_OPTION.
12564 * configure: Regenerated.
12566 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12568 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
12569 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
12570 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
12571 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
12573 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
12574 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
12575 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
12576 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
12577 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
12578 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
12581 2012-05-27 David S. Miller <davem@davemloft.net>
12583 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
12585 (__Q_simulate_exceptions): Return void. Change to simulate
12586 exceptions by writing into the %fsr.
12587 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
12588 (__Qp_handle_exceptions): Likewise.
12590 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
12591 __Qp_handle_exceptions.
12592 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
12593 __Qp_handle_exceptions.
12594 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
12595 as unused and give dummy FP_RND_NEAREST initializer.
12596 (FP_INHIBIT_RESULTS): Define.
12597 (___Q_simulate_exceptions): Update declaration.
12598 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
12600 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
12601 as unused and give dummy FP_RND_NEAREST initializer.
12602 (__Qp_handle_exceptions): Update declaration.
12603 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
12606 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
12608 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
12609 the temporary FPU control word.
12610 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
12611 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
12612 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
12613 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
12614 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
12615 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
12616 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
12617 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
12618 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
12619 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
12620 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
12622 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12624 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
12627 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
12629 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
12630 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
12631 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
12632 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
12634 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
12635 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
12638 2012-05-27 Ulrich Drepper <drepper@gmail.com>
12640 * po/h.po: Update from translation team.
12642 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
12644 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
12646 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
12647 handling of denormals.
12648 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
12649 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
12650 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
12651 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
12652 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
12653 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
12654 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
12657 2012-05-26 Marek Polacek <polacek@redhat.com>
12660 * math/libm-test.inc (fma_test): Don't always expect underflow
12663 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12666 * elf/tst-execstack.c: Include stackinfo.h.
12667 (do_test): Adjust test case to ensure that pthread_getattr_np
12668 behaviour remains the same after marking stack executable.
12670 2012-05-25 Joseph Myers <joseph@codesourcery.com>
12672 * sysdeps/unix/sysv/linux/kernel-features.h
12673 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
12674 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
12676 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
12677 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
12678 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
12680 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
12681 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
12683 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
12685 * configure.in: Define the default includes to being none.
12686 * configure: Regenerated.
12688 2012-05-25 Roland McGrath <roland@hack.frob.com>
12690 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
12691 * sysdeps/x86_64/setjmp.S: Likewise.
12692 * sysdeps/i386/bsd-setjmp.S: Likewise.
12693 * sysdeps/i386/bsd-_setjmp.S: Likewise.
12694 * sysdeps/i386/setjmp.S: Likewise.
12695 * sysdeps/i386/__longjmp.S: Likewise.
12696 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
12697 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
12699 * include/stap-probe.h: New file.
12700 * configure.in: Handle --enable-systemtap.
12701 * configure: Regenerated.
12702 * config.h.in (USE_STAP_PROBE): New #undef.
12703 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
12704 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
12705 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
12707 2012-05-25 Joseph Myers <joseph@codesourcery.com>
12710 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
12711 to 2.4.0 where earlier.
12712 * sysdeps/unix/sysv/linux/configure: Regenerated.
12713 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
12714 <kernel-features.h>.
12715 [__ASSUME_32BITUIDS]: Make code unconditional.
12716 [!__ASSUME_32BITUIDS]: Remove conditional code.
12717 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
12718 <kernel-features.h>.
12719 [__ASSUME_32BITUIDS]: Make code unconditional.
12720 [!__ASSUME_32BITUIDS]: Remove conditional code.
12721 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
12722 [__ASSUME_32BITUIDS]: Make code unconditional.
12723 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
12724 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
12725 <kernel-features.h>.
12726 [__ASSUME_32BITUIDS]: Make code unconditional.
12727 [!__ASSUME_32BITUIDS]: Remove conditional code.
12728 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
12729 <kernel-features.h>.
12730 [__ASSUME_32BITUIDS]: Make code unconditional.
12731 [!__ASSUME_32BITUIDS]: Remove conditional code.
12732 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
12733 <kernel-features.h>.
12734 [__ASSUME_32BITUIDS]: Make code unconditional.
12735 [!__ASSUME_32BITUIDS]: Remove conditional code.
12736 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
12737 <kernel-features.h>.
12738 [__ASSUME_32BITUIDS]: Make code unconditional.
12739 [!__ASSUME_32BITUIDS]: Remove conditional code.
12740 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
12741 <kernel-features.h>.
12742 [__ASSUME_32BITUIDS]: Make code unconditional.
12743 [!__ASSUME_32BITUIDS]: Remove conditional code.
12744 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
12745 <kernel-features.h>.
12746 [__ASSUME_32BITUIDS]: Make code unconditional.
12747 [!__ASSUME_32BITUIDS]: Remove conditional code.
12748 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
12749 <kernel-features.h>.
12750 [__ASSUME_32BITUIDS]: Make code unconditional.
12751 [!__ASSUME_32BITUIDS]: Remove conditional code.
12752 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
12753 <kernel-features.h>.
12754 [__ASSUME_32BITUIDS]: Make code unconditional.
12755 [!__ASSUME_32BITUIDS]: Remove conditional code.
12756 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
12757 <kernel-features.h>.
12758 [__ASSUME_32BITUIDS]: Make code unconditional.
12759 [!__ASSUME_32BITUIDS]: Remove conditional code.
12760 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
12761 <kernel-features.h>.
12762 [__ASSUME_32BITUIDS]: Make code unconditional.
12763 [!__ASSUME_32BITUIDS]: Remove conditional code.
12764 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
12765 <kernel-features.h>.
12766 [__NR_setresgid] (__setresgid): Do not declare.
12767 [__ASSUME_32BITUIDS]: Make code unconditional.
12768 [!__ASSUME_32BITUIDS]: Remove conditional code.
12769 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
12770 <kernel-features.h>.
12771 [__NR_setresuid] (__setresuid): Do not declare.
12772 [__ASSUME_32BITUIDS]: Make code unconditional.
12773 [!__ASSUME_32BITUIDS]: Remove conditional code.
12774 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
12775 <kernel-features.h>.
12776 [__ASSUME_32BITUIDS]: Make code unconditional.
12777 [!__ASSUME_32BITUIDS]: Remove conditional code.
12778 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
12779 <kernel-features.h>.
12780 [__ASSUME_32BITUIDS]: Make code unconditional.
12781 [!__ASSUME_32BITUIDS]: Remove conditional code.
12782 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
12783 <kernel-features.h>.
12784 [__ASSUME_32BITUIDS]: Make code unconditional.
12785 [!__ASSUME_32BITUIDS]: Remove conditional code.
12786 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
12787 <kernel-features.h>.
12788 [__ASSUME_32BITUIDS]: Make code unconditional.
12789 [!__ASSUME_32BITUIDS]: Remove conditional code.
12790 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
12791 <kernel-features.h>.
12792 [__ASSUME_32BITUIDS]: Make code unconditional.
12793 [!__ASSUME_32BITUIDS]: Remove conditional code.
12794 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
12795 <kernel-features.h>.
12796 [__ASSUME_32BITUIDS]: Make code unconditional.
12797 [!__ASSUME_32BITUIDS]: Remove conditional code.
12798 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
12799 <kernel-features.h>.
12800 [__ASSUME_32BITUIDS]: Make code unconditional.
12801 [!__ASSUME_32BITUIDS]: Remove conditional code.
12802 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
12803 <kernel-features.h>.
12804 [__ASSUME_32BITUIDS]: Make code unconditional.
12805 [!__ASSUME_32BITUIDS]: Remove conditional code.
12806 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
12807 <kernel-features.h>.
12808 [__ASSUME_32BITUIDS]: Make code unconditional.
12809 [!__ASSUME_32BITUIDS]: Remove conditional code.
12810 * sysdeps/unix/sysv/linux/i386/shmctl.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/kernel-features.h
12815 (__ASSUME_SETRESUID_SYSCALL): Remove.
12816 (__ASSUME_SETRESGID_SYSCALL): Likewise.
12817 (__ASSUME_32BITUIDS): Likewise.
12818 (__ASSUME_LDT_WORKS): Likewise.
12819 (__ASSUME_O_DIRECTORY): Likewise.
12820 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
12821 architecture but not kernel version.
12822 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
12823 (__ASSUME_MMAP2_SYSCALL): Likewise.
12824 (__ASSUME_STAT64_SYSCALL): Likewise.
12825 (__ASSUME_IPC64): Likewise.
12826 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
12827 <kernel-features.h>.
12828 [__ASSUME_32BITUIDS]: Make code unconditional.
12829 [!__ASSUME_32BITUIDS]: Remove conditional code.
12830 * sysdeps/unix/sysv/linux/opendir.c: Do not include
12831 <kernel-features.h>.
12832 [__ASSUME_O_DIRECTORY]: Make code unconditional.
12833 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
12834 132096]: Remove conditional code.
12835 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
12836 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
12837 <kernel-features.h>.
12838 [__ASSUME_32BITUIDS]: Make code unconditional.
12839 [!__ASSUME_32BITUIDS]: Remove conditional code.
12840 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
12841 <kernel-features.h>.
12842 [__ASSUME_32BITUIDS]: Make code unconditional.
12843 [!__ASSUME_32BITUIDS]: Remove conditional code.
12844 * sysdeps/unix/sysv/linux/setegid.c: Do not include
12845 <kernel-features.h>.
12846 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
12848 (__setresgid): Do not declare.
12849 [__ASSUME_32BITUIDS]: Make code unconditional.
12850 [!__ASSUME_32BITUIDS]: Remove conditional code.
12851 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
12852 <kernel-features.h>.
12853 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
12855 (__setresuid): Do not declare.
12856 [__ASSUME_32BITUIDS]: Make code unconditional.
12857 [!__ASSUME_32BITUIDS]: Remove conditional code.
12858 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
12859 <kernel-features.h>.
12860 [__ASSUME_32BITUIDS]: Make code unconditional.
12861 [!__ASSUME_32BITUIDS]: Remove conditional code.
12862 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
12863 <kernel-features.h>.
12864 [__ASSUME_32BITUIDS]: Make code unconditional.
12865 [!__ASSUME_32BITUIDS]: Remove conditional code.
12867 2012-05-25 Richard Henderson <rth@twiddle.net>
12869 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
12870 dl_hwcap to ifunc resolver.
12871 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
12873 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
12874 dl_hwcap to ifunc resolver.
12875 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
12877 2012-05-24 Joseph Myers <joseph@codesourcery.com>
12880 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
12881 for |x| <= 2**-26, not 2**-57.
12882 * math/libm-test.inc (acos_test): Do not allow spurious underflow
12885 2012-05-24 Jeff Law <law@redhat.com>
12887 * stdio-common/Makefile (tests): Add bug25.
12888 * stdio-common/bug25.c: New test.
12890 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
12893 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
12894 multiple of MALLOC_ALIGNMENT in size.
12895 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
12897 2012-05-24 Joseph Myers <joseph@codesourcery.com>
12899 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
12901 (FILENAME_MAX): Use macro-int-constant.
12902 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
12903 (_IOFBF): Use macro-int-constant.
12904 (_IOLBF): Likewise.
12905 (_IONBF): Likewise.
12906 (SEEK_CUR): Likewise.
12907 (SEEK_END): Likewise.
12908 (SEEK_SET): Likewise.
12909 (TMP_MAX): Likewise.
12910 (EOF): Use macro-int-constant. Require < 0.
12911 (NULL): Use macro-constant. Require == 0.
12912 (stdin): Require type to be FILE *.
12913 (stdout): Likewise.
12914 (stderr): Likewise.
12915 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
12916 macro-int-constant.
12917 (EXIT_SUCCESS): Likewise.
12918 (NULL): Use macro-constant. Require == 0.
12919 (RAND_MAX): Use macro-int-constant.
12920 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
12921 [C99-based standards] (strtof): Require function.
12922 [C99-based standards] (strtold): Likewise.
12923 [C99-based standards] (strtoll): Likewise.
12924 [C99-based standards] (strtoull): Likewise.
12925 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
12926 [ISO || ISO99 || ISO11] (limits.h): Likewise.
12927 [ISO || ISO99 || ISO11] (math.h): Likewise.
12928 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
12929 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
12930 [ISO || ISO99 || ISO11] (*_t): Do not allow.
12932 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
12935 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
12936 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
12937 * intl/dgettext.c (DCGETTEXT): Likewise.
12938 * intl/gettext.c (DCGETTEXT): Likewise.
12939 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
12940 * posix/regex_internal.h (gettext): Likewise.
12941 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
12942 Remove declaration.
12943 * include/argz.h (__argz_count_internal)
12944 (__argz_stringify_internal): Remove declaration.
12945 (__argz_count, __argz_stringify): Declare hidden proto.
12946 * intl/dcgettext.c: Remove use of INTDEF.
12947 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
12948 * string/argz-stringify.c: Likewise.
12949 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
12950 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
12951 Declare hidden proto.
12952 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
12953 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
12954 Declare hidden proto.
12955 * include/stdio.h (__asprintf_internal): Don't declare.
12956 (__asprintf): Don't define as macro. Declare hidden proto.
12957 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
12958 (__fsetlocking): Declare hidden proto.
12959 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
12960 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
12962 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
12963 (_IO_setlinebuf): Remove use of INTUSE.
12964 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
12965 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
12966 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
12967 Remove declaration.
12968 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
12969 (_IO_do_flush): Remove use of INTUSE.
12970 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
12971 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
12972 (_IO_adjust_column, _IO_least_wmarker)
12973 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
12974 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
12975 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
12976 (_IO_default_doallocate, _IO_wdefault_doallocate)
12977 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
12978 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
12979 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
12980 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
12981 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
12982 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
12983 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
12984 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
12985 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
12986 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
12987 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
12988 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
12989 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
12991 (_IO_flush_all_internal, _IO_adjust_column_internal)
12992 (_IO_default_uflow_internal, _IO_default_finish_internal)
12993 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
12994 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
12995 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
12996 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
12997 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
12998 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
12999 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
13000 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
13001 (_IO_file_close_internal, _IO_file_close_it_internal)
13002 (_IO_file_underflow_internal, _IO_file_overflow_internal)
13003 (_IO_file_init_internal, _IO_file_attach_internal)
13004 (_IO_file_fopen_internal, _IO_file_read_internal)
13005 (_IO_file_sync_internal, _IO_file_seek_internal)
13006 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
13007 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
13008 (_IO_str_underflow_internal, _IO_str_overflow_internal)
13009 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
13010 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
13011 (_IO_list_all_internal, _IO_link_in_internal)
13012 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
13013 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
13014 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
13015 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
13016 (_IO_do_write_internal, _IO_padn_internal)
13017 (_IO_getline_info_internal, _IO_getline_internal)
13018 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
13019 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
13020 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
13021 (_IO_vfscanf_internal, _IO_vfprintf_internal)
13022 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
13023 (_IO_init_internal, _IO_un_link_internal): Don't declare.
13024 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
13025 with libc_hidden_ver, remove use of INTUSE.
13026 * libio/genops.c: Likewise.
13027 * libio/freopen.c: Likewise.
13028 * libio/freopen64.c: Likewise.
13029 * libio/iofclose.c: Likewise.
13030 * libio/iofdopen.c: Likewise.
13031 * libio/iofflush.c: Likewise.
13032 * libio/iofflush_u.c: Likewise.
13033 * libio/iofgets.c: Likewise.
13034 * libio/iofgets_u.c: Likewise.
13035 * libio/iofopen.c: Likewise.
13036 * libio/iofopncook.c: Likewise.
13037 * libio/iofread.c: Likewise.
13038 * libio/iofread_u.c: Likewise.
13039 * libio/ioftell.c: Likewise.
13040 * libio/iofwrite.c: Likewise.
13041 * libio/iogetline.c: Likewise.
13042 * libio/iogets.c: Likewise.
13043 * libio/iogetwline.c: Likewise.
13044 * libio/iopadn.c: Likewise.
13045 * libio/iopopen.c: Likewise.
13046 * libio/ioseekoff.c: Likewise.
13047 * libio/ioseekpos.c: Likewise.
13048 * libio/iosetbuffer.c: Likewise.
13049 * libio/iosetvbuf.c: Likewise.
13050 * libio/ioungetc.c: Likewise.
13051 * libio/ioungetwc.c: Likewise.
13052 * libio/iovdprintf.c: Likewise.
13053 * libio/iovsprintf.c: Likewise.
13054 * libio/iovsscanf.c: Likewise.
13055 * libio/memstream.c: Likewise.
13056 * libio/obprintf.c: Likewise.
13057 * libio/oldfileops.c: Likewise.
13058 * libio/oldiofclose.c: Likewise.
13059 * libio/oldiofdopen.c: Likewise.
13060 * libio/oldiofopen.c: Likewise.
13061 * libio/oldiopopen.c: Likewise.
13062 * libio/oldstdfiles.c: Likewise.
13063 * libio/putc.c: Likewise.
13064 * libio/setbuf.c: Likewise.
13065 * libio/setlinebuf.c: Likewise.
13066 * libio/stdfiles.c: Likewise.
13067 * libio/strops.c: Likewise.
13068 * libio/vasprintf.c: Likewise.
13069 * libio/vscanf.c: Likewise.
13070 * libio/vsnprintf.c: Likewise.
13071 * libio/vswprintf.c: Likewise.
13072 * libio/wfiledoalloc.c: Likewise.
13073 * libio/wfileops.c: Likewise.
13074 * libio/wgenops.c: Likewise.
13075 * libio/wmemstream.c: Likewise.
13076 * libio/wstrops.c: Likewise.
13077 * libio/__fpurge.c: Likewise.
13078 * libio/__fsetlocking.c: Likewise.
13079 * assert/assert.c: Likewise.
13080 * debug/fgets_chk.c: Likewise.
13081 * debug/fgets_u_chk.c: Likewise.
13082 * debug/fread_chk.c: Likewise.
13083 * debug/fread_u_chk.c: Likewise.
13084 * debug/gets_chk.c: Likewise.
13085 * debug/obprintf_chk.c: Likewise.
13086 * debug/vasprintf_chk.c: Likewise.
13087 * debug/vdprintf_chk.c: Likewise.
13088 * debug/vsnprintf_chk.c: Likewise.
13089 * debug/vsprintf_chk.c: Likewise.
13090 * malloc/mtrace.c: Likewise.
13091 * misc/error.c: Likewise.
13092 * misc/syslog.c: Likewise.
13093 * stdio-common/asprintf.c: Likewise.
13094 * stdio-common/fxprintf.c: Likewise.
13095 * stdio-common/getw.c: Likewise.
13096 * stdio-common/isoc99_fscanf.c: Likewise.
13097 * stdio-common/isoc99_scanf.c: Likewise.
13098 * stdio-common/isoc99_vfscanf.c: Likewise.
13099 * stdio-common/isoc99_vscanf.c: Likewise.
13100 * stdio-common/isoc99_vsscanf.c: Likewise.
13101 * stdio-common/printf-prs.c: Likewise.
13102 * stdio-common/printf_fp.c: Likewise.
13103 * stdio-common/printf_fphex.c: Likewise.
13104 * stdio-common/printf_size.c: Likewise.
13105 * stdio-common/putw.c: Likewise.
13106 * stdio-common/scanf.c: Likewise.
13107 * stdio-common/sprintf.c: Likewise.
13108 * stdio-common/tmpfile.c: Likewise.
13109 * stdio-common/vfprintf.c: Likewise.
13110 * stdio-common/vfscanf.c: Likewise.
13111 * stdlib/strfmon_l.c: Likewise.
13112 * sunrpc/openchild.c: Likewise.
13113 * sunrpc/xdr_stdio.c: Likewise.
13114 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
13115 * sysdeps/mach/hurd/tmpfile.c: Likewise.
13117 2012-05-24 Roland McGrath <roland@hack.frob.com>
13119 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
13121 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
13122 in the third column, to generate for the shared library an IFUNC
13123 that uses _dl_vdso_vsym.
13124 * Makerules (COMPILE.c, compile-stdin.c): New variables.
13125 * Makeconfig (object-suffixes-noshared): New variable.
13127 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
13128 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
13129 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
13130 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
13133 * include/sys/time.h (__gettimeofday): Remove macro.
13134 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
13135 * time/gettimeofday.c (__gettimeofday): Remove #undef.
13137 (__gettimeofday): Add libc_hidden_def.
13138 (gettimeofday): Add libc_hidden_weak.
13139 * sysdeps/mach/gettimeofday.c: Likewise.
13140 * sysdeps/posix/gettimeofday.c: Likewise.
13141 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
13142 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
13143 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
13144 (__gettimeofday_internal): Remove strong_alias.
13145 (__gettimeofday): Add libc_hidden_def.
13146 (gettimeofday): Add libc_hidden_weak.
13147 * sysdeps/unix/syscalls.list (gettimeofday):
13148 Remove __gettimeofday_internal alias.
13150 2012-05-24 Daniel Jacobowitz <drow@false.org>
13151 H.J. Lu <hongjiu.lu@intel.com>
13154 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
13155 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
13156 (largebin_index_32_big): New.
13157 (largebin_index): Use it for 16-byte alignment.
13158 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
13159 correction with front_misalign.
13161 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
13163 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
13164 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
13166 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
13168 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
13170 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
13172 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
13174 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
13176 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
13178 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
13180 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
13182 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
13184 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
13186 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
13189 * scripts/data/c++-types-x32-linux-gnu.data: New file.
13190 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
13192 2012-05-24 Joseph Myers <joseph@codesourcery.com>
13196 * math/libm-test.inc (exp_test): Add test from bug 14036.
13197 (pow_test): Add test from bug 10846.
13199 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
13201 (special_function): Do not include flags in test name.
13202 (parse_args): Likewise.
13203 * sysdeps/i386/fpu/libm-test-ulps: Update.
13204 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13205 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
13206 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
13207 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13209 * math/gen-libm-test.pl (%beautify): Add entries for underflow
13211 * math/libm-test.inc ("Philosophy"): Update comment about
13213 (UNDERFLOW_EXCEPTION): New macro.
13214 (UNDERFLOW_EXCEPTION_OK): Likewise.
13215 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
13216 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
13217 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
13218 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
13219 (INVALID_EXCEPTION_OK): Update value.
13220 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
13221 (OVERFLOW_EXCEPTION_OK): Likewise.
13222 (IGNORE_ZERO_INF_SIGN): Likewise.
13223 (test_exceptions): Handle underflow exceptions.
13224 (acos_test): Update for underflow exception expectations.
13225 (cexp_test): Likewise.
13226 (clog_test): Likewise.
13227 (clog10_test): Likewise.
13228 (csqrt_test): Likewise.
13229 (ctan_test): Likewise.
13230 (ctanh_test): Likewise.
13231 (exp_test): Likewise.
13232 (exp10_test): Likewise.
13233 (exp2_test): Likewise.
13234 (expm1_test): Likewise.
13235 (fma_test): Likewise.
13236 (j0_test): Likewise.
13237 (jn_test): Likewise.
13238 (nexttoward_test): Likewise.
13239 (pow_test): Likewise.
13240 (scalbn_test): Likewise.
13241 (scalbln_test): Likewise.
13242 (tan_test): Likewise.
13243 (y1_test): Likewise.
13244 * sysdeps/i386/fpu/libm-test-ulps: Update.
13245 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13247 2012-05-23 David S. Miller <davem@davemloft.net>
13249 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
13250 (__libc_sigaction): Remove unused local variables.
13252 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
13254 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
13256 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
13258 mktime: avoid signed integer overflow
13259 * time/mktime.c (__mktime_internal): Do not mishandle the case
13260 where diff == INT_MIN.
13262 mktime: simplify computation of average
13263 * time/mktime.c (ranged_convert): Use new time_t_avg function
13264 instead of rolling our own (probably-slower) code.
13266 mktime: do not assume signed right shift propagates sign bit
13267 * time/mktime.c (isdst_differ): New static function.
13268 (__mktime_internal): No need to normalize tm_isdst now.
13269 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
13272 mktime: merge another wrapv change from gnulib
13273 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
13274 from some compilers.
13276 mktime: remove incorrect attempt at unusual arithmetics
13277 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
13278 The code didn't really work on such machines anyway.
13279 (TYPE_MINIMUM): Assume two's complement.
13280 (twos_complement_arithmetic): Verify that long_int and time_t
13281 are two's complement (or unsigned, in the latter case).
13283 mktime: check signed shifts on long_int and time_t, too
13284 * time/mktime.c (SHR): Check that shifts work as desired
13285 on the types long_int and time_t too, as SHR is used on
13288 mktime: do not assume 'long' is wide enough
13289 * time/mktime.c (verify): Move decl up.
13290 (long_int): New type.
13291 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
13292 to remove assumption in the code that 'long' is wide enough to
13293 store year values. This assumption is not true on x32 and on
13294 some non-glibc platforms.
13296 mktime: merge wrapv change from gnulib
13297 * time/mktime.c (WRAPV): New macro.
13298 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
13299 (guess_time_tm, __mktime_internal): Do not assume that signed
13300 integer overflow wraps around; modern compilers generate code
13301 where this assumption is no longer valid.
13303 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
13305 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
13306 Replace "jmp L(pseudo_end)" with "ret".
13307 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
13310 2012-05-23 Andreas Jaeger <aj@suse.de>
13312 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
13313 * sysdeps/unix/sysv/linux/poll.c: Remove file.
13315 2012-05-23 Andreas Jaeger <aj@suse.de>
13316 Maximilian Attems <max@stro.at>
13318 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
13321 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
13323 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
13324 code so that pseudo_end is just ret and the stack pointer is
13325 correct also for static library in error case.
13327 2012-05-23 Joseph Myers <joseph@codesourcery.com>
13329 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
13330 move to syscalls.list.
13331 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
13332 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
13333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
13334 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
13336 * manual/install.texi (Running make install): Do not mention Linux
13337 kernel version for which pt_chown is not needed.
13338 (Linux): Do not mention problems with nscd with 2.0 kernels.
13339 * INSTALL: Regenerated.
13341 2012-05-23 Andreas Jaeger <aj@suse.de>
13343 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
13344 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
13346 * sysdeps/unix/sysv/linux/s390/bits/mman.h
13347 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13348 * sysdeps/unix/sysv/linux/sh/bits/mman.h
13349 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13350 * sysdeps/unix/sysv/linux/i386/bits/mman.h
13351 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13352 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
13353 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13354 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
13355 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13356 * sysdeps/unix/sysv/linux/bits/in.h
13357 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
13359 2012-05-22 Roland McGrath <roland@hack.frob.com>
13361 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
13362 (PREPARE_VERSION): Just use assert instead, it will be elided
13363 under [NDEBUG] anyway.
13365 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
13367 * sysdeps/unix/sysv/linux/Makefile: Include
13368 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
13369 (sysdep_routines): Remove sysctl.
13370 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
13371 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
13372 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
13373 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
13374 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
13376 2012-05-22 Andreas Jaeger <aj@suse.de>
13378 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
13379 that pseudo_end is just ret and the stack pointer is correct also
13380 for static library in error case.
13382 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
13385 * nss/nsswitch.c (defconfig_entries): New variable.
13386 (__nss_database_lookup): Don't leak defconfig entries.
13387 (nss_parse_service_list): Don't leak on error paths.
13388 (free_database_entries): New function.
13389 (free_defconfig): New function.
13390 (free_mem): Move common code to free_database_entries.
13392 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
13394 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
13396 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
13398 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
13399 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
13400 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
13402 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
13403 (INTERNAL_SYSCALL_TYPES): Likewise.
13404 (LOAD_ARGS_TYPES_[1-6]): Likewise.
13405 (LOAD_REGS_TYPES_[1-6]): Likewise.
13406 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
13407 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
13409 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13411 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
13412 copysignl for GLIBC_2_0.
13413 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
13414 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
13415 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
13416 logbl for GLIBC_2_0.
13417 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
13418 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
13420 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
13422 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
13423 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
13425 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
13428 * time/mktime.c: Update copyright years.
13430 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
13432 mktime: merge comment-quoting-style change from gnulib
13433 * time/mktime.c: Quote 'like this' in comments.
13434 The GNU coding standards suggest that we no longer quote `like this',
13435 as "`" and "'" are typically rendered asymmetrically nowadays.
13436 The typical gnulib style is to quote 'like this' when quoting
13437 code, and "like this" when quoting English.
13439 * time/mktime.c (compile-command): Add "-I.".
13441 mktime: merge mktime-internal.h change from gnulib
13442 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
13444 mktime: merge time_r change from gnulib
13445 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
13447 mktime: merge DEBUG change from gnulib
13448 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
13449 case system <time.h> has a #define.
13451 mktime: merge <sys/types.h> change from gnulib
13452 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
13453 since <time.t> is now guaranteed to define time_t.
13455 mktime: merge HAVE_CONFIG_H change from gnulib
13456 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
13458 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
13460 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
13463 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
13465 (struct rusage): Use anonymous union to pad each field to
13468 2012-05-21 David S. Miller <davem@davemloft.net>
13470 * Makefules (o-iterator): Remove .s cases.
13471 (compile-command.s): Delete.
13472 (COMPILE.s): Delete.
13473 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
13475 2012-05-21 Joseph Myers <joseph@codesourcery.com>
13477 * configure.in (libc_cv_predef_stack_protector): Only consider
13478 "foobar" and "__stack_chk_fail" lines in libc_undefs.
13479 * configure: Regenerated.
13481 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
13483 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
13484 New macro. Use R*LP on int and pointer.
13485 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
13486 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
13487 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
13488 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
13490 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
13491 [__WORDSIZE_TIME64_COMPAT32] instead of
13492 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
13493 (struct utmp): Likewise.
13494 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
13495 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
13497 (__WORDSIZE_TIME64_COMPAT32): This.
13498 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
13499 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
13500 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
13501 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
13502 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
13503 (__WORDSIZE_TIME64_COMPAT32): New macro.
13505 2012-05-21 Andreas Jaeger <aj@suse.de>
13507 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
13508 only if [SHARED]. Add prototype for __wcschr_ia32.
13510 2012-05-21 Roland McGrath <roland@hack.frob.com>
13512 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
13513 of %rbp unmolested in the jmp_buf while mangling the low bits.
13514 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
13515 unmolested high bits of %rbp while demangling the low bits.
13516 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
13518 2012-05-21 Andreas Jaeger <aj@suse.de>
13520 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
13521 * sunrpc/svc_simple.c: Use it for registerrpc.
13522 * sunrpc/xcrypt.c: Use it for passwd2des.
13524 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
13526 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
13528 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
13529 Don't define if [__SYSCALL_WORDSIZE != 32].
13530 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
13533 2012-05-21 Bruno Haible <bruno@clisp.org>
13534 Andreas Jaeger <aj@suse.de>
13536 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
13537 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
13538 inptr and inend for must_buffer_ch.
13539 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
13540 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
13541 * stdio-common/Makefile (tests): Remove bug15.
13542 (bug15-ENV): Remove macro.
13543 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
13546 2012-05-19 Andreas Jaeger <aj@suse.de>
13547 Roland McGrath <roland@hack.frob.com>
13549 * manual/contrib.texi: Completely rewritten. It contains now an
13550 alphabetical list of contributors and their contributions.
13552 2012-05-21 Richard Henderson <rth@twiddle.net>
13554 * misc/getauxval.c (__getauxval): Use unsigned long int.
13555 * misc/sys/auxv.h: Include <sys/cdefs.h>.
13556 (getauxval): Use unsigned long int.
13558 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
13560 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
13562 2012-05-21 Roland McGrath <roland@hack.frob.com>
13564 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
13565 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
13566 __alignof__ (long double).
13568 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13570 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13572 2012-05-20 Richard Henderson <rth@twiddle.net>
13574 * misc/getauxval.c: New file.
13575 * misc/sys/auxv.h: New file.
13576 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
13577 (routines): Add getauxval.
13578 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
13579 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
13580 * elf/dl-sysdep.c (_dl_auxv): Remove.
13581 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
13582 * elf/dl-support.c (_dl_auxv): New variable.
13583 (_dl_aux_init): Initialize it.
13584 * manual/startup.texi (Auxiliary Vector): New node.
13585 * sysdeps/generic/bits/hwcap.h: New file.
13586 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
13587 * sysdeps/powerpc/sysdep.h: ... here. Include it.
13588 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
13589 * sysdeps/sparc/sysdep.h: ... here. Include it.
13590 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
13591 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
13592 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
13595 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
13596 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
13597 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
13598 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
13599 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
13600 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
13601 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
13603 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13605 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13607 2012-05-19 David S. Miller <davem@davemloft.net>
13609 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13611 2012-05-19 Joseph Myers <joseph@codesourcery.com>
13614 * math/s_ccosh.c: Include <float.h>
13615 (__ccosh): Avoid internal overflow calculating sinh and cosh
13616 values before multiplying by sin and cos values.
13617 * math/s_ccoshf.c: Likewise.
13618 * math/s_ccoshl.c: Likewise.
13619 * math/s_csin.c: Likewise.
13620 * math/s_csinf.c: Likewise.
13621 * math/s_csinl.c: Likewise.
13622 * math/s_csinh.c: Likewise.
13623 * math/s_csinhf.c: Likewise.
13624 * math/s_csinhl.c: Likewise.
13625 * math/libm-test.inc (ccos_test): Add more tests.
13626 (ccosh_test): Likewise.
13627 (csin_test): Likewise.
13628 (csinh_test): Likewise.
13629 * sysdeps/i386/fpu/libm-test-ulps: Update.
13630 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13632 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
13634 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
13635 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
13637 * sysdeps/x86_64/x32/_itoa.h: Add comment.
13639 2012-05-19 Joseph Myers <joseph@codesourcery.com>
13641 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
13642 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
13643 * sysdeps/powerpc/soft-fp/Versions: Likewise.
13644 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
13645 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
13646 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
13647 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
13648 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
13649 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
13650 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
13651 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
13652 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
13653 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
13654 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
13655 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
13656 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
13657 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
13658 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
13659 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
13660 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
13661 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
13662 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
13663 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
13664 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
13665 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
13666 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
13667 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
13668 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
13669 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
13670 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
13671 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
13673 2012-05-18 Andreas Jaeger <aj@suse.de>
13675 * csu/.gitignore: Delete.
13677 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
13679 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
13680 (timex): Use __syscall_slong_t.
13682 2012-05-18 Andreas Jaeger <aj@suse.de>
13683 Carlos O'Donell <carlos_odonell@mentor.com>
13685 * manual/install.texi (Configuring and compiling): Update
13686 description about files modified in the source directory.
13687 * INSTALL: Regenerated.
13689 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
13691 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
13692 value. Use "or" to set return value to -1.
13693 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
13694 negate return value.
13696 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13698 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
13699 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
13700 failure if the compiler has Graphite support disabled.
13701 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
13703 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
13704 CFLAGS-memmove.c): Likewise.
13705 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
13708 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
13710 * sysdeps/x86_64/x32/_itoa.h: New file.
13712 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
13713 getdents system call only if kernel and user dirents have the
13714 same d_ino and d_off.
13716 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
13717 LLONG_MAX != LONG_MAX.
13718 (_itoa_word): Use _ITOA_WORD_TYPE on value.
13719 (_fitoa_word): Likewise.
13721 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
13723 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
13724 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
13725 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
13727 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
13728 include <bits/wordsize.h>. Check __x86_64__ instead of
13730 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
13731 if __x86_64__ is defined. Use anonymous union on fpstate.
13733 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
13736 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
13738 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
13739 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
13740 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
13741 Refer to _rtld_local_ro instead of _rtld_global_ro.
13742 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
13744 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
13746 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
13748 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
13749 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
13750 of _rtld_global, and rtld_progname instead of _dl_argv[0].
13752 * sysdeps/powerpc/powerpc32/dl-machine.c
13753 (__elf_machine_runtime_setup) [PROF]: Don't reference
13756 2012-05-18 Andreas Jaeger <aj@suse.de>
13758 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
13759 function only available for GCCs before 3.4 since GCC 3.4
13760 introduced a builtin.
13762 (llrintf): Likewise.
13763 (llrint): Likewise.
13770 (nearbyint): Likewise.
13771 (nearbyintf): Likewise.
13775 (floorf): Likewise.
13777 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
13779 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
13780 on both fields and cast pointer to __syscall_ulong_t.
13782 * bits/types.h (__fsword_t): New type.
13783 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
13784 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
13785 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13786 (__FSWORD_T_TYPE): Likewise.
13787 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13788 (__FSWORD_T_TYPE): Likewise.
13789 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13790 (__FSWORD_T_TYPE): Likewise.
13791 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
13792 (__FSWORD_T_TYPE): Likewise.
13793 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
13794 __SWORD_TYPE with __fsword_t.
13795 (statfs64): Likewise.
13797 2012-05-17 David S. Miller <davem@davemloft.net>
13799 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
13801 2012-05-17 Andreas Jaeger <aj@suse.de>
13803 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
13806 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
13808 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
13810 2012-05-17 Andreas Jaeger <aj@suse.de>
13812 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
13815 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
13817 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
13819 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
13821 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
13822 * sysdeps/x86_64/tst-mallocalign1.c: New file.
13824 2012-05-17 Andreas Jaeger <aj@suse.de>
13825 Carlos O'Donell <carlos_odonell@mentor.com>
13828 * sysdeps/x86_64/multiarch/init-arch.h
13829 (bit_YMM_Usable): Rename to...
13830 (bit_AVX_Usable): ... this.
13831 (bit_FMA4_Usable): New macro.
13832 (bit_XMM_state): New macro.
13833 (bit_YMM_state): New macro.
13834 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
13835 [__ASSEMBLER__] (index_AVX_Usable): ... this.
13836 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
13837 (CPUID_OSXSAVE): New macro.
13838 (CPUID_AVX): New macro.
13839 (CPUID_FMA4): New macro.
13840 (index_YMM_Usable): Rename to...
13841 (index_AVX_Usable): ... this.
13842 (HAS_AVX): Use HAS_ARCH_FEATURE.
13843 (HAS_FMA4): Likewise.
13844 (HAS_YMM_USABLE): Remove.
13845 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13846 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
13848 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
13849 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
13850 * sysdeps/x86_64/multiarch/Makefile: Likewise.
13851 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
13852 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
13854 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
13856 * math/libm-test.c: Support platforms without multiple rounding modes.
13857 * math/bug-nextafter.c: Support platforms without FP exceptions.
13858 * math/bug-nexttoward.c: Likewise.
13859 * math/test-fenv.c: Likewise.
13860 * math/test-misc.c: Likewise.
13861 * stdlib/bug-getcontext.c: Likewise.
13863 2012-05-17 Andreas Jaeger <aj@suse.de>
13865 * manual/examples/search.c (critter_cmp): Change signature to
13867 * manual/string.texi (Collation Functions): Likewise.
13869 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13871 * bits/types.h: Fold copyright years.
13872 * bits/typesizes.h: Likewise.
13873 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
13874 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
13875 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
13876 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
13877 * time/time.h: Likewise.
13879 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
13882 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
13883 in instead of returning them. Return void.
13884 (__libc_mallinfo): Accumulate over all arenas.
13885 (__malloc_stats): Adjust for change in int_mallinfo interface.
13887 2012-05-16 Roland McGrath <roland@hack.frob.com>
13890 * configure.in (NM): Add AC_CHECK_TOOL for it.
13891 (libc_extra_cflags): New substituted variable.
13892 Check for -fstack-protector being used implicitly.
13893 * configure: Regenerated.
13894 * config.make.in (config-extra-cflags): New variable,
13895 gets @libc_extra_cflags@.
13896 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
13899 * configure.in: Check for _FORTIFY_SOURCE being predefined.
13900 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
13901 * configure: Regenerated.
13902 * config.make.in (CPPUNDEFS): New substituted variable.
13903 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
13904 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
13905 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
13907 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13909 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
13910 (mq_attr): Use __syscall_slong_t.
13912 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13914 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
13915 Check __x86_64__ instead of __WORDSIZE.
13916 (_STAT_VER_LINUX): Likewise.
13917 (stat): Check __x86_64__ instead of __WORDSIZE. Use
13918 __syscall_ulong_t and __syscall_slong_t.
13919 (stat64): Likewise.
13921 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13923 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
13925 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13927 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
13929 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13931 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
13934 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
13935 include <bits/wordsize.h>. Check __x86_64__ instead of
13937 (greg_t): Use "__extension__ long long int" if __x86_64__ is
13939 (mcontext_t): Replace "unsigned long" with "unsigned long long".
13941 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
13942 include <bits/wordsize.h>. Check __x86_64__ instead of
13944 (user_regs_struct): Use "__extension__ unsigned long long"
13945 instead of "unsigned long" if __x86_64__ is defined.
13946 (user): Likewise. Pad after pointer field if __ILP32__ is
13949 2012-05-16 Joseph Myers <joseph@codesourcery.com>
13951 * configure.in (makeinfo): Require version 4.5 or later. Allow
13953 * configure: Regenerated.
13954 * manual/install.texi (texinfo): Increase version requirement to
13956 * INSTALL: Regenerated.
13958 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
13960 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13962 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
13964 * sysdeps/x86_64/x32/ffs.c: New file.
13966 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
13968 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
13969 defined. Use __syscall_ulong_t.
13970 (shminfo): Use __syscall_ulong_t.
13971 (shm_info): Likewise.
13973 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
13976 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
13978 (msgqnum_t): Use __syscall_ulong_t.
13979 (msglen_t): Likewise.
13980 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
13983 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
13984 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
13986 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
13988 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
13989 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
13991 * sysvipc/sys/msg.h (msgbuf): Replace long int with
13994 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
13995 include <bits/wordsize.h>. Check __x86_64__ instead of
13998 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
13999 "unsigned long long int" if __x86_64__ is defined.
14000 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
14002 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
14003 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
14004 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
14006 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
14008 (GET_PC): Cast to uintptr_t first.
14009 (GET_FRAME): Likewise.
14010 (GET_STACK): Likewise.
14012 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
14013 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
14014 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
14015 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
14016 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
14017 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
14018 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
14019 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
14020 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
14021 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
14022 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
14023 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
14024 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
14025 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
14026 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
14027 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
14028 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
14029 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
14030 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
14031 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
14032 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
14033 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
14034 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
14035 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
14036 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
14037 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
14038 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
14039 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
14040 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
14042 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
14044 * Makerules (+depfiles): Also collect depfiles from .oS in
14046 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
14047 .oS, $(libnldbl-routines)).
14049 * Makerules (native-compile-mkdep-flags): Define.
14050 * sunrpc/Makefile (extra-objs): Add $(addprefix
14051 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
14052 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
14053 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
14054 calling $(make-target-directory).
14056 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14058 * bits/types.h (__snseconds_t): Removed.
14059 * time/time.h (struct timespec): Replace __snseconds_t with
14061 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
14062 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
14064 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14065 (__SNSECONDS_T_TYPE): Likewise.
14066 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
14067 (__SNSECONDS_T_TYPE): Likewise.
14068 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14069 (__SNSECONDS_T_TYPE): Likewise.
14071 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14073 * sysdeps/mach/hurd/bits/typesizes.h
14074 (__SYSCALL_SLONG_TYPE): New macro.
14075 (__SYSCALL_ULONG_TYPE): Likewise.
14077 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14079 * bits/types.h (__syscall_slong_t): New type.
14080 (__syscall_ulong_t): Likewise.
14082 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
14083 (__SYSCALL_ULONG_TYPE): Likewise.
14084 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14085 (__SYSCALL_SLONG_TYPE): Likewise.
14086 (__SYSCALL_ULONG_TYPE): Likewise.
14087 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
14088 (__SYSCALL_SLONG_TYPE): Likewise.
14089 (__SYSCALL_ULONG_TYPE): Likewise.
14090 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14091 (__SYSCALL_SLONG_TYPE): Likewise.
14092 (__SYSCALL_ULONG_TYPE): Likewise.
14094 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14096 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
14097 Add sigaltstack-offsets.sym.
14098 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
14099 <sigaltstack-offsets.h>.
14100 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
14101 longjmp_msg pointer.
14102 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
14103 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
14105 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
14107 2012-05-15 Joseph Myers <joseph@codesourcery.com>
14109 * elf/stackguard-macros.h: Remove file.
14110 * sysdeps/generic/stackguard-macros.h: New file.
14111 * sysdeps/i386/stackguard-macros.h: Likewise.
14112 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
14113 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
14114 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
14115 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
14116 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
14117 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
14118 * sysdeps/x86_64/stackguard-macros.h: Likewise.
14119 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
14120 <elf/stackguard-macros.h>.
14123 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
14124 __aligned__ in attribute.
14125 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
14126 (gregset_t): Likewise.
14128 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14130 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
14131 * sysdeps/x86_64/64/Implies-after: Here. New file.
14132 * sysdeps/x86_64/x32/Implies-after: New file.
14134 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14136 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
14137 and access return value for _dl_profile_fixup. Use R10_LP to
14140 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14142 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
14144 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14146 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
14147 * sysdeps/x86_64/x32/sysdep.h: New file.
14149 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14151 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
14152 * sysdeps/x86_64/setjmp.S: Likewise.
14154 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14156 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
14157 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
14158 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
14159 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
14160 remove unused global constant.
14162 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
14164 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
14165 include of <not-cancel.h>.
14167 2012-05-15 Roland McGrath <roland@hack.frob.com>
14169 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
14171 2012-05-15 Jeff Law <law@redhat.com>
14172 Andreas Jaeger <aj@suse.de>
14175 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
14177 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
14178 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
14179 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
14180 code changing __hst_map_handle.map.
14182 2012-05-15 Roland McGrath <roland@hack.frob.com>
14184 * configure.in (sysnames): Look for Implies-before and Implies-after
14186 * configure: Regenerated.
14188 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14190 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
14191 8-byte data alignment with LP_SIZE alignment.
14193 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14195 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
14198 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14200 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
14202 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14204 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
14205 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
14206 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
14208 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
14210 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14212 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
14213 (stackinfo_sub_sp): Likewise.
14215 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14217 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
14220 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14222 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
14225 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14227 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
14230 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14232 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
14234 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14236 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
14237 into R11_LP and load __x86_64_shared_cache_size_half into
14240 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14242 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
14245 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14247 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
14249 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
14251 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
14253 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
14254 powerpc32/power7/fpu/s_logb.c via #include.
14255 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
14256 powerpc32/power7/fpu/s_logbf.c via #include.
14257 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
14258 powerpc32/power7/fpu/s_logbl.c via #include.
14260 2012-05-15 Joseph Myers <joseph@codesourcery.com>
14262 * README.libm: Remove file.
14264 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14266 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
14267 count for x32. Use R*_LP and omit operand-size suffix.
14269 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14271 * shlib-versions: Move x86_64-.*-linux.* entries to ...
14272 * sysdeps/x86_64/64/shlib-versions: Here. New file.
14273 * sysdeps/x86_64/x32/shlib-versions: New file.
14275 2012-05-14 Roland McGrath <roland@hack.frob.com>
14277 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
14278 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
14279 Use _dl_fatal_printf instead.
14281 2012-05-14 Joseph Myers <joseph@codesourcery.com>
14283 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
14284 set if not set by the user. Do not allow for being unset.
14285 * sysdeps/unix/sysv/linux/configure: Regenerated.
14287 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14289 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
14290 the `q' suffix from lea and replace .quad with ASM_ADDR.
14292 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14294 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
14295 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
14297 (PTR_DEMANGLE): Likewise.
14299 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14301 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
14303 (ASM_ADDR): Likewise.
14304 (RAX_LP): Likewise.
14305 (RBP_LP): Likewise.
14306 (RBX_LP): Likewise.
14307 (RCX_LP): Likewise.
14308 (RDI_LP): Likewise.
14309 (RSI_LP): Likewise.
14310 (RSP_LP): Likewise.
14313 (R10_LP): Likewise.
14314 (R10_LP): Likewise.
14315 (R11_LP): Likewise.
14316 (R12_LP): Likewise.
14317 (R13_LP): Likewise.
14318 (R14_LP): Likewise.
14319 (R15_LP): Likewise.
14321 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14323 * sysdeps/x86_64/x32/dl-machine.h: New file.
14325 2012-05-14 Andreas Jaeger <aj@suse.de>
14327 * manual/Makefile (subdir): Remove export of subdir.
14328 (all): Remove target.
14329 (.PHONY): Remove all from list.
14330 (mkinstalldirs): Remove.
14331 (.PHONY): Remove installdirs from list.
14332 ($(inst_infodir)/libc.info): Use make-target-directory.
14333 (installdirs): Remove.
14334 (subdir_%): Remove.
14335 (glibc-targets): Remove.
14338 ($(objpfx)stubs ../po/manual.pot): Remove.
14339 ($(objpfx)stamp%): Remove.
14340 (make-target-directory): Remove.
14341 (subdir_install): Remove.
14342 (routines): Remove.
14349 * manual/.gitignore: Remove, it's not needed anymore.
14350 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
14352 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
14354 (texis): Renamed to $(objpfx)texis.
14355 (texis-path): New, contains path to generated files.
14356 (chapters.%): Use texis-path for complete path, add extra argument
14358 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
14359 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
14360 (summary,texi, stamp-summary): Use complete path of
14361 files. Generate files in build dir.
14362 (dir-add.texi): Build in build dir.
14363 (libm-err.texi,stamp-libm-err): Likewise.
14364 (version.texi, stamp-version): Likewise.
14365 (.%c.texi): Likewise.
14366 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
14367 (mostlyclean): Remove target.
14368 (realclean): Remove target.
14369 (generated): Add new variable with contents from mostlyclean and
14370 realclean, remove entries duplicated in common-mostlyclean, add
14371 stamp-libm-err and stamp-version.
14372 (generated-dirs): Add libc directory.
14373 ($(inst_infodir)/libc.info): Install files from build dir.
14375 * manual/install.texi (Configuring and compiling): Adjust since
14376 the info files are not part of the tar ball anymore.
14378 2012-05-14 Andreas Jaeger <aj@suse.de>
14380 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
14383 2012-05-14 Joseph Myers <joseph@codesourcery.com>
14386 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
14387 to 2.2.0 where earlier.
14388 * sysdeps/unix/sysv/linux/configure: Regenerated.
14389 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
14390 Remove conditional code.
14391 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
14392 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
14393 Remove conditional code.
14394 [!__NR_lchown]: Likewise.
14395 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
14396 [__NR_lchown]: Likewise.
14397 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
14398 comment referencing __ASSUME_LCHOWN_SYSCALL.
14399 * sysdeps/unix/sysv/linux/i386/sigaction.c
14400 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
14401 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
14402 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
14403 Remove conditional code.
14404 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
14405 (__protocol_available): Remove #if 0 code.
14406 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
14408 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
14409 * sysdeps/unix/sysv/linux/kernel-features.h
14410 (__ASSUME_GETCWD_SYSCALL): Don't define.
14411 (__ASSUME_REALTIME_SIGNALS): Likewise.
14412 (__ASSUME_PREAD_SYSCALL): Likewise.
14413 (__ASSUME_PWRITE_SYSCALL): Likewise.
14414 (__ASSUME_POLL_SYSCALL): Likewise.
14415 (__ASSUME_LCHOWN_SYSCALL): Likewise.
14416 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
14418 (__ASSUME_SIOCGIFNAME): Don't define.
14419 (__ASSUME_MSG_NOSIGNAL): Likewise.
14420 (__ASSUME_SENDFILE): Define unconditionally.
14421 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
14422 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
14424 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
14425 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
14426 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
14427 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
14428 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
14429 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
14430 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
14431 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
14432 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
14433 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14434 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
14435 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
14436 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14437 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
14438 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
14439 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14440 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
14441 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
14442 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14443 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
14444 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
14445 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14446 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
14447 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
14448 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14449 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
14450 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
14451 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14452 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
14453 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
14454 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14455 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
14456 Remove conditional code.
14457 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14458 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
14459 Remove conditional code.
14460 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14461 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
14462 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
14463 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
14464 Remove conditional code.
14465 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14466 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
14467 Remove conditional code.
14468 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14469 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
14470 Remove conditional code.
14471 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14472 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
14473 Remove conditional code.
14474 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14475 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
14476 Remove conditional code.
14477 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14478 * sysdeps/unix/sysv/linux/sh/pwrite64.c
14479 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
14480 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14481 * sysdeps/unix/sysv/linux/sigaction.c
14482 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
14483 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
14484 * sysdeps/unix/sysv/linux/sigpending.c
14485 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
14486 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
14487 * sysdeps/unix/sysv/linux/sigprocmask.c
14488 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
14489 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
14490 * sysdeps/unix/sysv/linux/sigsuspend.c
14491 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
14492 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
14493 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
14494 (__libc_missing_rt_sigs): Remove.
14495 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
14496 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
14497 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
14498 Remove conditional code.
14499 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
14500 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
14502 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
14503 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
14504 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
14505 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
14507 2012-05-14 Andreas Jaeger <aj@suse.de>
14509 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
14510 it's not used in glibc.
14511 (__coshm1): Likewise.
14512 (__acosh1p): Likewise.
14515 * manual/string.texi (Copying and Concatenation): Add missing
14516 variable in concat example.
14517 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
14519 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14522 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
14523 __builtin_clzl with __builtin_clzll.
14525 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14528 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
14531 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14533 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
14534 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
14535 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
14536 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
14538 2012-05-14 Mike Frysinger <vapier@gentoo.org>
14540 * NEWS: Update ia64 info.
14542 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
14544 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
14547 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
14549 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
14550 * sysdeps/unix/syscalls.list (dup3): Likewise.
14551 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
14552 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
14554 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
14556 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
14557 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
14559 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
14561 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
14563 (TLS_IE): Use mov/add instead of movq/addq to load thread
14565 (TLS_GD_PREFIX): New.
14568 2012-05-11 David S. Miller <davem@davemloft.net>
14570 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
14571 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
14572 (_FPU_SETCW): Likewise.
14574 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
14576 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
14577 is 32-byte aligned.
14579 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
14582 * iconvdata/gb18030.c: Update tables.
14583 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
14584 characters specially.
14585 (BODY for TO_LOOP): Add encoding of missing ranges.
14587 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
14590 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
14591 * sysdeps/mach/hurd/dup3.c: Likewise.
14592 * sysdeps/mach/hurd/readlinkat.c: Likewise.
14593 * sysdeps/powerpc/memmove.c:: Likewise.
14595 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
14597 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
14598 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
14600 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
14602 * elf/elf.h (R_X86_64_RELATIVE64): New.
14603 (R_X86_64_NUM): Updated.
14604 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
14605 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
14606 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
14607 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
14608 tst-quad1pie tst-quad2pie
14609 (modules-names): Add tst-quadmod1 tst-quadmod2.
14610 ($(objpfx)tst-quad1): New dependency.
14611 ($(objpfx)tst-quad2): Likewise.
14612 ($(objpfx)tst-quad1pie): Likewise.
14613 ($(objpfx)tst-quad2pie): Likewise.
14614 * sysdeps/x86_64/tst-quad1.c: New file.
14615 * sysdeps/x86_64/tst-quad1pie.c: New file.
14616 * sysdeps/x86_64/tst-quad2.c: Likewise.
14617 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
14618 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
14619 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
14620 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
14621 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
14623 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14625 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
14626 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
14627 * streams/stropts.h (t_scalar_t): Define type.
14629 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
14630 (_PATH_PRESERVE): Set to "/var/lib".
14631 (_PATH_RWHODIR): Set to "/var/spool/rwho".
14633 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
14636 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
14637 if __dir_mkfile succeeded.
14639 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
14640 checking for _hurd_dtablesize. Unlock it right after having
14641 finished _hurd_dtable allocation.
14643 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
14645 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
14646 * sysdeps/mach/hurd/configure: Regenerated.
14647 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
14648 special-casing to...
14649 * sysdeps/gnu/configure.in: ... this new file.
14650 * sysdeps/unix/sysv/linux/configure: Regenerated.
14651 * sysdeps/gnu/configure: New generated file.
14653 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
14654 for Linux: use nsec instead of usec, as well as:
14655 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
14656 members of type struct timespec.
14657 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
14659 (struct stat64): Likewise.
14660 (_STATBUF_ST_NSEC): New macro.
14661 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
14663 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
14664 __strtoul_internal rather than strtoul.
14666 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
14668 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
14671 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14673 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
14674 which preserves existing values.
14675 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
14677 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
14679 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
14680 TIMEOUT values. Return EINVAL for NFDS values either negative or
14681 greater than FD_SETSIZE.
14683 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14685 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
14686 allocated, call __vm_protect to finish enabling the existing space, and
14687 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
14688 allocate the remainder.
14690 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
14692 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
14693 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
14695 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14697 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
14698 sysdeps/mach/hurd/readlink.c.
14700 * posix/tst-sysconf.c (posix_options): Only use
14701 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
14702 _POSIX_SYNCHRONIZED_IO when they are defined
14703 * sysdeps/mach/hurd/bits/posix_opt.h:
14704 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
14705 (_XOPEN_REALTIME): Undefine macro.
14706 (_XOPEN_REALTIME_THREADS): Undefine macro.
14707 (_XOPEN_SHM): Undefine macro.
14708 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
14710 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
14712 (_POSIX_ASYNC_IO): Undefine macro.
14713 (_POSIX_PRIORITIZED_IO): Undefine macro.
14714 (_POSIX_SPIN_LOCKS): Define macro to -1.
14716 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
14717 SA_NODEFER, SA_RESETHAND.
14718 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
14719 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
14722 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
14724 * elf/Makefile (pldd-modules): Define unconditionally.
14726 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
14728 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
14730 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14732 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
14733 Return ENOENT when name is empty.
14734 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
14736 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
14738 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
14740 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
14742 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14744 Fix mlock in all cases except non-readable pages.
14745 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
14746 instead of VM_PROT_ALL as parameter to __vm_wire function.
14748 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
14749 (__mkdir): When path is `/', just fail with EEXIST.
14750 * sysdeps/mach/hurd/mkdirat.c: Likewise.
14752 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
14754 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
14755 <sys/uio.h> (for writev).
14756 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
14757 and <sys/param.h> (for MIN).
14759 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
14761 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
14762 REQUESTED_TIME. Properly set the remaining time and return EINTR
14765 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
14767 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
14768 Depend on against $(link-rpcuserlibs).
14770 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14772 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
14773 (__libc_stack_end): Do not use attribute_relro.
14774 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
14775 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
14776 to libthread-provided value.
14777 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
14780 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
14783 * bits/libc-lock.h (__libc_once_get): New macro.
14784 * sysdeps/mach/bits/libc-lock.h: Likewise.
14785 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
14786 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
14787 instead of using implementation details.
14789 * libio/fileops.c: Unconditionally include <kernel-features.h>.
14790 * libio/freopen.c: Likewise.
14791 * libio/freopen64.c: Likewise.
14792 * misc/syslog.c: Likewise.
14793 * nscd/connections.c: Likewise.
14794 * nscd/netgroupcache.c: Likewise.
14795 * sysdeps/posix/getcwd.c: Likewise.
14797 2012-05-10 Roland McGrath <roland@hack.frob.com>
14799 * math/w_ilogbf.c: Add #include <limits.h>.
14801 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14803 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
14804 path instead of returning without unlocking.
14806 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
14807 immediate-write ioctls.
14808 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
14810 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
14812 * sysdeps/mach/hurd/i386/init-first.c (init): Use
14813 __builtin_frame_address instead of making assumptions about the
14814 location of the return address relative to DATA. Force early load of
14815 the return address.
14816 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
14817 __builtin_frame_address.
14820 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
14821 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
14822 implement dup3 and do some further code clean-ups.
14823 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
14824 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
14826 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14828 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
14830 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
14831 HURD_CRITICAL_END around holding _hurd_dtable_lock.
14832 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
14833 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
14834 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
14837 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
14838 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
14839 when handler == SIG_ERR, not when handler != SIG_ERR.
14841 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
14843 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
14844 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
14847 accept4 for GNU Hurd.
14848 * include/sys/socket.h (__libc_accept4): New prototype.
14849 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
14850 to implement __libc_accept4.
14851 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
14853 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
14855 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
14856 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
14857 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
14858 signal-defines.sym.
14860 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14862 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
14864 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
14866 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
14867 assertion on O_CLOEXEC flag.
14868 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
14869 * hurd/intern-fd.c: Likewise.
14870 * hurd/port2fd.c: Likewise.
14872 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14875 * bits/in.h (IPV6_PKTINFO): Define new macro.
14876 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
14878 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14883 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
14884 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
14885 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
14886 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
14887 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
14888 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
14889 * math/libm-test.inc (logb_test) : Additional logb tests.
14891 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
14892 Andreas Jaeger <aj@suse.de>
14894 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
14895 * configure: Regenerated.
14896 * config.h.in (LINK_OBSOLETE_RPC): New macro.
14897 * config.make.in (link-obsolete-rpc): New substituted variable.
14898 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
14899 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
14900 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
14901 (shared-only-routines): Don't set it under [link-obsolete-rpc],
14902 so that libc.a contains the symbols.
14903 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
14904 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
14905 * sunrpc/auth_none.c: Likewise.
14906 * sunrpc/auth_unix.c: Likewise.
14907 * sunrpc/authdes_prot.c: Likewise.
14908 * sunrpc/authuxprot.c: Likewise.
14909 * sunrpc/clnt_gen.c: Likewise.
14910 * sunrpc/clnt_perr.c: Likewise.
14911 * sunrpc/clnt_raw.c: Likewise.
14912 * sunrpc/clnt_simp.c: Likewise.
14913 * sunrpc/clnt_tcp.c: Likewise.
14914 * sunrpc/clnt_udp.c: Likewise.
14915 * sunrpc/clnt_unix.c: Likewise.
14916 * sunrpc/des_crypt.c: Likewise.
14917 * sunrpc/des_soft.c: Likewise.
14918 * sunrpc/get_myaddr.c: Likewise.
14919 * sunrpc/key_call.c: Likewise.
14920 * sunrpc/key_prot.c: Likewise.
14921 * sunrpc/netname.c: Likewise.
14922 * sunrpc/pm_getmaps.c: Likewise.
14923 * sunrpc/pm_getport.c: Likewise.
14924 * sunrpc/pmap_clnt.c: Likewise.
14925 * sunrpc/pmap_prot.c: Likewise.
14926 * sunrpc/pmap_prot2.c: Likewise.
14927 * sunrpc/pmap_rmt.c: Likewise.
14928 * sunrpc/publickey.c: Likewise.
14929 * sunrpc/rpc_cmsg.c: Likewise.
14930 * sunrpc/rpc_common.c: Likewise.
14931 * sunrpc/rpc_dtable.c: Likewise.
14932 * sunrpc/rpc_prot.c: Likewise.
14933 * sunrpc/rpc_thread.c: Likewise.
14934 * sunrpc/rtime.c: Likewise.
14935 * sunrpc/svc.c: Likewise.
14936 * sunrpc/svc_auth.c: Likewise.
14937 * sunrpc/svc_raw.c: Likewise.
14938 * sunrpc/svc_run.c: Likewise.
14939 * sunrpc/svc_tcp.c: Likewise.
14940 * sunrpc/svc_udp.c: Likewise.
14941 * sunrpc/svc_unix.c: Likewise.
14942 * sunrpc/svcauth_des.c: Likewise.
14943 * sunrpc/xcrypt.c: Likewise.
14944 * sunrpc/xdr.c: Likewise.
14945 * sunrpc/xdr_array.c: Likewise.
14946 * sunrpc/xdr_float.c: Likewise.
14947 * sunrpc/xdr_intXX_t.c: Likewise.
14948 * sunrpc/xdr_mem.c: Likewise.
14949 * sunrpc/xdr_rec.c: Likewise.
14950 * sunrpc/xdr_ref.c: Likewise.
14951 * sunrpc/xdr_sizeof.c: Likewise.
14952 * sunrpc/xdr_stdio.c: Likewise.
14954 2012-05-10 Roland McGrath <roland@hack.frob.com>
14956 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
14957 change. Update copyright years.
14959 2012-05-10 Joseph Myers <joseph@codesourcery.com>
14961 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
14963 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
14964 Joseph Myers <joseph@codesourcery.com>
14965 Paul Pluzhnikov <ppluzhnikov@google.com>
14968 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
14970 [cross-compiling] (extra-libs): Likewise.
14971 [cross-compiling] (extra-libs-others): Likewise.
14972 [cross-compiling] (librpcsvc-routines): Likewise.
14973 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
14974 [cross-compiling] (omit-deps): Likewise.
14975 (sunrpc-CPPFLAGS): New variable.
14976 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
14977 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
14978 (cross-rpcgen-objs): New variable.
14979 (extra-objs): Append $(cross-rpcgen-objs).
14980 ($(cross-rpcgen-objs)): New rule.
14981 ($(objpfx)cross-rpcgen): Likewise.
14982 (rpcgen-cmd): Define to use $(built-program-file). Expand
14984 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
14985 ($(objpfx)x%.stmp): Likewise.
14986 * sunrpc/proto.h [IS_IN_build] (_): Define.
14987 [IS_IN_build] (_libc_intl_domainname): Likewise.
14989 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
14991 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
14992 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
14993 and R_X86_64_TPOFF64.
14995 2012-05-10 Joseph Myers <joseph@codesourcery.com>
14997 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
14998 sysdeps/unix/sysv/syscalls.list.
15001 * sysdeps/unix/sysv/syscalls.list: Remove file.
15003 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
15006 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
15007 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
15008 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
15009 (__LC_IDENTIFICATION): Make these macros useful in #if
15010 expressions, as required by C99.
15012 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
15014 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
15015 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
15018 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
15020 * stdlib/longlong.h: Updated from GCC.
15022 2012-05-09 Andreas Jaeger <aj@suse.de>
15024 * nscd/nscd.c (run_modes): Make named enum, reorder so that
15025 default is first entry.
15026 (run_mode): Set type.
15027 (main): Remove informal message about syslog.
15028 (options): Fix typo.
15031 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
15034 (llrintf): Likewise.
15035 (llrint): Likewise.
15038 (nearbyint): Likewise.
15039 (nearbyintf): Likewise.
15041 2012-05-09 Andreas Jaeger <aj@suse.de>
15042 Pedro Alves <palves@redhat.com>
15044 * nscd/nscd.c (run_mode): Use enum.
15045 (main): Cleanup coding style issue.
15047 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
15048 Andreas Jaeger <aj@suse.de>
15050 * nscd/nscd.c (go_background): Replaced with...
15051 (run_mode): ... this.
15052 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
15053 (options): Add -F --foreground.
15054 (main): Implement it.
15055 (parse_opt): Parse it.
15057 2012-05-09 Andreas Jaeger <aj@suse.de>
15060 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
15061 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
15062 -Wconversion warning.
15063 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
15066 2012-05-09 Joseph Myers <joseph@codesourcery.com>
15068 * conform/data/locale.h-data (NULL): Use macro-constant. Require
15070 (LC_ALL): Use macro-int-constant.
15071 (LC_COLLATE): Likewise.
15072 (LC_CTYPE): Likewise.
15073 (LC_MESSAGES): Likewise.
15074 (LC_MONETARY): Likewise.
15075 (LC_NUMERIC): Likewise.
15076 (LC_TIME): Likewise.
15077 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
15078 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
15079 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15080 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
15082 [C99-based standards] (float_t): Expect type.
15083 [C99-based standards] (double_t): Expect type.
15084 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
15086 [C99-based standards] (HUGE_VALL): Likewise.
15087 [C99-based standards] (INFINITY): Likewise.
15088 [C99-based standards] (NAN): Likewise.
15089 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
15090 [C99-based standards] (FP_NAN): Likewise.
15091 [C99-based standards] (FP_NORMAL): Likewise.
15092 [C99-based standards] (FP_SUBNORMAL): Likewise.
15093 [C99-based standards] (FP_ZERO): Likewise.
15094 [C99-based standards] (FP_FAST_FMA): Use
15095 optional-macro-int-constant. Specify type. Require == 1.
15096 [C99-based standards] (FP_FAST_FMAF): Likewise.
15097 [C99-based standards] (FP_FAST_FMAL): Likewise.
15098 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
15099 [C99-based standards] (FP_ILOGBNAN): Likewise.
15100 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
15102 [C99-based standards] (MATH_ERREXCEPT): Likewise.
15103 [C99-based standards] (math_errhandling): Specify type.
15104 [ISO99 || ISO11] (signgam): Do not allow.
15105 [non-C99-based standards] (copysignf): Do not allow.
15106 [non-C99-based standards] (exp2f): Likewise.
15107 [non-C99-based standards] (log2f): Likewise.
15108 [non-C99-based standards] (modff): Allow.
15109 [non-C99-based standards] (erff): Do not allow.
15110 [non-C99-based standards] (erfcf): Likewise.
15111 [non-C99-based standards] (gammaf): Likewise.
15112 [non-C99-based standards] (hypotf): Likewise.
15113 [non-C99-based standards] (j0f): Likewise.
15114 [non-C99-based standards] (j1f): Likewise.
15115 [non-C99-based standards] (jnf): Likewise.
15116 [non-C99-based standards] (lgammaf): Likewise.
15117 [non-C99-based standards] (tgammaf): Likewise.
15118 [non-C99-based standards] (y0f): Likewise.
15119 [non-C99-based standards] (y1f): Likewise.
15120 [non-C99-based standards] (ynf): Likewise.
15121 [non-C99-based standards] (isnanf): Likewise.
15122 [non-C99-based standards] (acoshf): Likewise.
15123 [non-C99-based standards] (asinhf): Likewise.
15124 [non-C99-based standards] (atanhf): Likewise.
15125 [non-C99-based standards] (cbrtf): Likewise.
15126 [non-C99-based standards] (expm1f): Likewise.
15127 [non-C99-based standards] (ilogbf): Likewise.
15128 [non-C99-based standards] (log1pf): Likewise.
15129 [non-C99-based standards] (logbf): Likewise.
15130 [non-C99-based standards] (nextafterf): Likewise.
15131 [non-C99-based standards] (remainderf): Likewise.
15132 [non-C99-based standards] (rintf): Likewise.
15133 [non-C99-based standards] (scalbf): Likewise.
15134 [non-C99-based standards] (copysignl): Likewise.
15135 [non-C99-based standards] (exp2l): Likewise.
15136 [non-C99-based standards] (log2l): Likewise.
15137 [non-C99-based standards] (modfl): Allow.
15138 [non-C99-based standards] (erfl): Do not allow.
15139 [non-C99-based standards] (erfcl): Likewise.
15140 [non-C99-based standards] (gammal): Likewise.
15141 [non-C99-based standards] (hypotl): Likewise.
15142 [non-C99-based standards] (j0l): Likewise.
15143 [non-C99-based standards] (j1l): Likewise.
15144 [non-C99-based standards] (jnl): Likewise.
15145 [non-C99-based standards] (lgammal): Likewise.
15146 [non-C99-based standards] (tgammal): Likewise.
15147 [non-C99-based standards] (y0l): Likewise.
15148 [non-C99-based standards] (y1l): Likewise.
15149 [non-C99-based standards] (ynl): Likewise.
15150 [non-C99-based standards] (isnanl): Likewise.
15151 [non-C99-based standards] (acoshl): Likewise.
15152 [non-C99-based standards] (asinhl): Likewise.
15153 [non-C99-based standards] (atanhl): Likewise.
15154 [non-C99-based standards] (cbrtl): Likewise.
15155 [non-C99-based standards] (expm1l): Likewise.
15156 [non-C99-based standards] (ilogbl): Likewise.
15157 [non-C99-based standards] (log1pl): Likewise.
15158 [non-C99-based standards] (logbl): Likewise.
15159 [non-C99-based standards] (nextafterl): Likewise.
15160 [non-C99-based standards] (remainderl): Likewise.
15161 [non-C99-based standards] (rintl): Likewise.
15162 [non-C99-based standards] (scalbl): Likewise.
15163 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15164 [non-C99-based standards] (FP_*): Do not allow.
15165 [C99-based standards] (FP_*): Change to
15166 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
15167 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
15169 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
15170 (SIG_ERR): Likewise.
15171 [X/Open-based standards] (SIG_HOLD): Likewise.
15172 (SIG_IGN): Likewise.
15173 (SIGABRT): Use macro-int-constant. Specify type. Require
15175 (SIGFPE): Likewise.
15176 (SIGILL): Likewise.
15177 (SIGINT): Likewise.
15178 (SIGSEGV): Likewise.
15179 (SIGTER): Likewise.
15180 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
15181 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
15182 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
15183 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
15184 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
15185 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
15186 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
15187 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
15188 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
15189 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
15190 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
15191 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
15192 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
15193 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
15194 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
15195 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
15196 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
15197 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
15198 [X/Open-based standards] (SIGTRAP): Likewise.
15199 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
15200 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
15201 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
15202 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
15203 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
15206 2012-05-08 Ian Wienand <ianw@vmware.com>
15209 * time/tzset.c (__tzset_parse_tz): Update default rules for
15210 daylight time changes in the Energy Policy Act of 2005.
15212 2012-05-09 Andreas Jaeger <aj@suse.de>
15215 * elf/ldconfig.c (parse_conf): Change string to make clear that
15216 ldconfig only issued a warning if ld.so.conf does not exist.
15218 2012-05-08 David S. Miller <davem@davemloft.net>
15220 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
15221 movxtod instead of popping the value on the stack.
15223 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15225 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
15227 * config.h.in: Add HAVE_ARM_PCS_VFP.
15229 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
15232 * include/features.h: Warn if user requests __FORTIFY_SOURCE
15233 checking but the checks are disabled for any reason.
15235 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
15237 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
15238 and ELF64_R_TYPE with ELFW(R_TYPE).
15240 2012-05-08 Joseph Myers <joseph@codesourcery.com>
15242 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
15243 (ulimit): Likewise.
15245 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
15246 (settimeofday): Likewise.
15248 2012-05-08 Mike Frysinger <vapier@gentoo.org>
15250 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
15251 a struct th_u2 inside the union, and move tu_block/tu_code into
15252 a new th_u3 union of tu_block/tu_code inside of that. Move
15253 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
15254 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
15255 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
15256 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
15257 (th_stuff): Change to th_u1.tu_stuff.
15259 (th_msg): Change to th_u1.th_u2.tu_data.
15261 2012-05-07 David S. Miller <davem@davemloft.net>
15263 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15266 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
15267 (SETUP_PIC_REG): Use it.
15268 (SETUP_PIC_REG_LEAF): Use it.
15270 2012-05-07 Joseph Myers <joseph@codesourcery.com>
15274 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
15276 (EXPL_FINITE): Likewise.
15277 (FLDLOG): Likewise.
15278 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
15279 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
15281 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
15283 (EXPL_FINITE): Likewise.
15284 (FLDLOG): Likewise.
15285 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
15286 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
15288 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
15289 test of -max_value argument for long double.
15290 * sysdeps/i386/fpu/libm-test-ulps: Update.
15291 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15293 2012-05-06 David S. Miller <davem@davemloft.net>
15295 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
15296 quad soft-float symbols whose references which are compiler
15298 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
15300 2012-05-06 Joseph Myers <joseph@codesourcery.com>
15304 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
15306 (EXPL_FINITE): Likewise.
15307 (FLDLOG): Likewise.
15310 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
15311 Adjust comments for base varying.
15312 (__expl_finite): Change alias to EXPL_FINITE.
15313 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
15315 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
15316 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
15317 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
15318 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
15319 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
15321 (EXPL_FINITE): Likewise.
15322 (FLDLOG): Likewise.
15325 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
15326 Adjust comments for base varying.
15327 (__expl_finite): Change alias to EXPL_FINITE.
15328 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
15330 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15333 * math/libm-test.inc (check_float_internal): Correct ulp
15334 calculation for subnormal expected results.
15336 2012-05-06 Andreas Jaeger <aj@suse.de>
15338 * Makeconfig (+math-flags): New, set to -frounding-math.
15339 (+cflags): Add +math-flags so that all of glibc gets compiled with
15342 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
15344 2012-05-05 Joseph Myers <joseph@codesourcery.com>
15346 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
15352 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
15353 (__ieee754_expl): Allow for and saturate large arguments.
15354 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
15355 (u_threshold): Likewise.
15356 (__exp): Call __ieee754_exp before checking for overflow and
15358 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
15359 (u_threshold): Likewise.
15360 (__expf): Call __ieee754_expf before checking for overflow and
15362 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
15363 (u_threshold): Likewise.
15364 (__expl): Call __ieee754_expl before checking for overflow and
15366 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
15367 (__ieee754_expl): Allow for and saturate large arguments.
15368 * math/libm-test.inc (exp_test): Add another test. Do not allow
15369 missing overflow exception on overflow.
15370 (expm1_test): Do not allow missing overflow exception on overflow.
15372 * sysdeps/i386/fpu/e_expl.c: Move to ...
15373 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
15374 rather than using inline asm.
15375 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
15376 * sysdeps/x86_64/fpu/e_expl.S: Copy from
15377 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
15379 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
15382 (signal): Likewise.
15386 2012-05-04 Joseph Myers <joseph@codesourcery.com>
15388 * sysdeps/unix/syscalls.list (adjtime): Add entry from
15389 sysdeps/unix/common/syscalls.list.
15390 (fchmod): Likewise.
15391 (fchown): Likewise.
15392 (ftruncate): Likewise.
15393 (getrusage): Likewise.
15394 (gettimeofday): Likewise.
15395 (setpgid): Likewise.
15396 (setregid): Likewise.
15397 (setreuid): Likewise.
15398 (sigaction): Likewise.
15399 (truncate): Likewise.
15400 (vhangup): Likewise.
15401 * sysdeps/unix/common/syscalls.list: Remove file.
15402 * sysdeps/unix/bsd/Implies: Don't include unix/common.
15403 * sysdeps/unix/sysv/linux/Implies: Likewise.
15405 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
15407 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
15408 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
15409 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
15411 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
15413 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
15415 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
15416 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
15418 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
15419 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
15421 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
15422 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
15424 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
15425 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
15427 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
15428 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
15430 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
15431 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
15433 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
15435 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
15437 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
15439 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
15441 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
15442 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
15444 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
15446 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
15448 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
15450 2012-05-04 Joseph Myers <joseph@codesourcery.com>
15452 * sysdeps/unix/common/bits/dirent.h: Remove file.
15453 * sysdeps/unix/common/bits/fcntl.h: Likewise.
15455 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
15456 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
15457 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
15458 * sysdeps/unix/bsd/isatty.c: Likewise.
15459 * sysdeps/unix/bsd/tcdrain.c: Likewise.
15460 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
15461 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
15463 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15466 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
15467 long double comparison inaccuracies.
15468 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
15469 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15471 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
15473 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
15474 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
15476 2012-05-04 Joseph Myers <joseph@codesourcery.com>
15479 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
15480 nonzero digits before rounding a hex value.
15481 * stdlib/tst-strtod.c (tests): Add another test.
15483 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15485 * sysdeps/s390/fpu/libm-test-ulps: Update.
15487 2012-05-03 Andreas Jaeger <aj@suse.de>
15489 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
15490 does not get optimized out.
15491 (malloc_opt_barrier): New.
15493 2012-05-03 Andreas Jaeger <aj@suse.de>
15494 Roland McGrath <roland@hack.frob.com>
15496 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
15497 intermediate file deletion.
15498 (generated): Add .symlist files.
15500 2012-05-03 Joseph Myers <joseph@codesourcery.com>
15503 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
15504 Redirect under this condition.
15505 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
15506 [__USE_GNU] (__dprintf_chk): Not under this condition.
15507 [__USE_GNU] (__vdprintf_chk): Likewise.
15508 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
15509 under this condition.
15510 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
15511 [__USE_XOPEN2K8] (dprintf): Define under this condition.
15512 [__USE_XOPEN2K8] (vdprintf): Likewise.
15513 [__USE_GNU] (__dprintf_chk): Not under this condition.
15514 [__USE_GNU] (__vdprintf_chk): Likewise.
15515 [__USE_GNU] (dprintf): Likewise.
15516 [__USE_GNU] (vdprintf): Likewise.
15518 2012-05-03 Roland McGrath <roland@hack.frob.com>
15520 * elf/Makefile (common-generated): Set this instead of generated for
15521 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
15522 $(all-built-dso)-derived lists.
15524 2012-05-03 Andreas Jaeger <aj@suse.de>
15526 * sysdeps/i386/fpu/libm-test-ulps: Update.
15529 * FAQ.in: Likewise.
15530 * scripts/gen-FAQ.pl: Likewise.
15531 * manual/install.texi (Installation): Point to online location of
15533 * Makefile (files-for-dist): Remove FAQ.
15536 2012-05-02 Allan McRae <allan@archlinux.org>
15538 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
15539 (LDFLAGS-reldepmod5.so): Likewise.
15540 (LDFLAGS-reldep6mod1.so): Likewise.
15541 (LDFLAGS-reldep6mod4.so): Likewise.
15542 (LDFLAGS-reldep8mod3.so): Likewise.
15543 (LDFLAGS-unload4mod1.so): Likewise.
15544 (LDFLAGS-unload4mod2.so): Likewise.
15545 (LDFLAGS-tst-initorder): Likewise.
15546 (LDFLAGS-tst-initordera2.so): Likewise.
15547 (LDFLAGS-tst-initordera3.so): Likewise.
15548 (LDFLAGS-tst-initordera4.so): Likewise.
15549 (LDFLAGS-tst-initorderb2.so): Likewise.
15550 (LDFLAGS-noload): Likewise.
15551 (LDFLAGS-next): Likewise.
15552 (LDFLAGS-order2mod1.so): Likewise.
15553 (LDFLAGS-order2mod2.so): Likewise.
15554 (LDFLAGS-tst-initorder2): Likewise.
15555 (LDFLAGS-tst-initorder2a.so): Likewise.
15556 (LDFLAGS-tst-initorder2b.so): Likewise.
15557 (LDFLAGS-tst-initorder2c.so): Likewise.
15558 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
15560 2012-05-02 David S. Miller <davem@davemloft.net>
15562 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15564 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
15567 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
15569 2012-05-02 Andreas Jaeger <aj@suse.de>
15571 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
15572 since we manipulate rounding mode.
15573 (CPPFLAGS-test-idouble.c): Likewise.
15574 (CPPFLAGS-test-ifloat.c): Likewise.
15575 (CFLAGS-test-ldouble.c): Likewise.
15576 (CFLAGS-test-double.c): Likewise.
15577 (CFLAGS-test-float.c): Likewise.
15578 (CFLAGS-test-misc.c): Likewise.
15579 (CFLAGS-test-test-fenv.c): Likewise.
15581 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15585 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
15586 comparisons to determine direction to adjust input.
15588 2012-05-01 Roland McGrath <roland@hack.frob.com>
15590 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
15591 output to the target.
15593 * scripts/localplt.awk: New file.
15594 * elf/Makefile ($(objpfx)check-localplt): Target removed.
15595 (check-localplt-CFLAGS): Variable removed.
15596 ($(all-built-dso:=.jmprel)): New static pattern rule.
15597 (generated): Add those targets.
15598 (localplt-built-dso): New variable.
15599 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
15601 * elf/check-localplt.c: File removed.
15603 * scripts/check-execstack.awk: New file.
15604 * elf/Makefile ($(objpfx)check-execstack): Target removed.
15605 (check-execstack-CFLAGS): Variable removed.
15606 ($(objpfx)check-execstack.h): Target removed.
15607 ($(objpfx)execstack-default): New target.
15608 (generated): Add that instead of check-execstack.h.
15609 ($(all-built-dso:=.phdr)): New static pattern rule.
15610 (generated): Add those targets.
15611 * elf/check-execstack.c: File removed.
15613 * scripts/check-textrel.awk: New file.
15614 * elf/Makefile ($(objpfx)check-textrel): Target removed.
15615 (check-textrel-CFLAGS): Variable removed.
15616 (all-built-dso): Use := to define.o
15617 ($(all-built-dso:=.dyn)): New static pattern rule.
15618 (generated): Add those targets.
15619 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
15620 * config.make.in (READELF): New substituted variable.
15621 * elf/check-textrel.c: File removed.
15623 2012-05-01 Joseph Myers <joseph@codesourcery.com>
15625 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
15627 * conform/data/ctype.h-data [C99-based standards] (isblank):
15629 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
15630 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
15631 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15632 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
15633 Specify type. Require positive value.
15634 (EILSEQ): Likewise.
15635 (ERANGE): Likewise.
15636 [ISO || POSIX] (EILSEQ): Do not expect.
15637 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
15638 Specify type. Require positive value.
15639 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
15640 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
15641 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
15642 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
15643 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
15644 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
15645 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
15646 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
15647 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
15648 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
15649 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
15650 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
15651 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
15652 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
15653 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
15654 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
15655 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
15656 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
15657 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
15658 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
15659 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
15660 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
15661 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
15662 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
15663 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
15664 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
15665 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
15666 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
15667 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
15668 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
15669 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
15670 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
15671 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
15672 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
15673 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
15674 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
15675 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
15676 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
15677 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
15678 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
15679 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
15680 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
15681 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
15682 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
15683 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
15684 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
15685 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
15686 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
15687 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
15688 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
15689 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
15690 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
15691 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
15692 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
15693 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
15694 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
15695 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
15696 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
15697 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
15698 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
15699 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
15700 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
15701 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
15702 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
15703 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
15704 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
15705 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
15706 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
15707 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
15708 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
15709 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
15710 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
15711 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
15712 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
15713 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
15714 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
15715 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
15717 (FLT_ROUNDS): Expect as macro, not constant.
15718 (FLT_MANT_DIG): Use macro-int-constant.
15719 (DBL_MANT_DIG): Likewise.
15720 (LDBL_MANT_DIG): Likewise.
15721 (FLT_DIG): Likewise.
15722 (DBL_DIG): Likewise.
15723 (LDBL_DIG): Likewise.
15724 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
15725 (DBL_MIN_EXP): Likewise.
15726 (LDBL_MIN_EXP): Likewise.
15727 (FLT_MAX_EXP): Use macro-int-constant.
15728 (DBL_MAX_EXP): Likewise.
15729 (LDBL_MAX_EXP): Likewise.
15730 (FLT_MAX_10_EXP): Likewise.
15731 (DBL_MAX_10_EXP): Likewise.
15732 (LDBL_MAX_10_EXP): Likewise.
15733 (FLT_MAX): Use macro-constant.
15734 (DBL_MAX): Likewise.
15735 (LDBL_MAX): Likewise.
15736 (FLT_EPSILON): Use macro-constant. Give upper bound.
15737 (DBL_EPSILON): Likewise.
15738 (LDBL_EPSILON): Likewise.
15739 (FLT_MIN): Likewise.
15740 (DBL_MIN): Likewise.
15741 (LDBL_MIN): Likewise.
15742 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
15743 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
15744 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
15745 [ISO11] (FLT_HAS_SUBNORM): Likewise.
15746 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
15747 [ISO11] (DBL_DECIMAL_DIG): Likewise.
15748 [ISO11] (FLT_DECIMAL_DIG): Likewise.
15749 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
15750 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
15751 [ISO11] (FLT_TRUE_MIN): Likewise.
15752 [ISO11] (LDBL_TRUE_MIN): Likewise.
15753 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15754 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
15755 (SCHAR_MIN): Use macro-int-constant. Specify type.
15756 (SCHAR_MAX): Likewise.
15757 (UCHAR_MAX): Likewise.
15758 (CHAR_MIN): Likewise.
15759 (CHAR_MAX): Likewise.
15760 (MB_LEN_MAX): Use macro-int-constant.
15761 (SHRT_MIN): Use macro-int-constant. Specify type.
15762 (SHRT_MAX): Likewise.
15763 (USHRT_MAX): Likewise.
15764 (INT_MAX): Likewise.
15765 (INT_MIN): Use macro-int-constant. Specify type. Make upper
15767 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
15769 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
15771 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
15772 bound negative. Suffix upper bound with "L".
15773 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
15775 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
15777 [C99-based standards] (LLONG_MAX): Likewise.
15778 [C99-based standards] (ULLONG_MAX): Likewise.
15779 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
15781 [ISO11] (max_align_t): Require type.
15782 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15784 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
15785 from $CFLAGS, without defining away __attribute__ calls.
15786 (checknamespace): Use $CFLAGS_namespace.
15788 * conform/conformtest.pl (@keywords): Only include C99 keywords
15789 for standards based on C99 or C11.
15791 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
15793 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
15796 * conform/conformtest.pl: Handle "macro-int-constant" and test for
15797 usability of symbols in #if.
15799 * conform/conformtest.pl: If macro or constant types start
15800 "promoted:", expect the symbol to be of the following type
15801 promoted by the integer promotions.
15803 * conform/conformtest.pl: Parse all "constant" and "macro" lines
15804 in one place. Also handle "macro-constant".
15806 * conform/conformtest.pl: Only accept expected macro values with
15807 "==". Parse all "macro" lines in one place.
15808 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
15810 * conform/conformtest.pl: Handle braced types on "constant" lines
15811 instead of handling "typed-constant".
15812 * conform/data/signal.h-data: Use "constant" instead of
15815 * conform/conformtest.pl: Handle "optional-" at start of lines in
15816 one place rather than duplicating several cases. Handle each
15817 format of "macro" line with initial "optional-".
15819 * conform/conformtest.pl: Only accept expected constant or
15820 optional-constant values with "==". Parse all "constant" lines in
15821 one place. Parse all "optional-constant" lines in one place.
15822 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
15823 * conform/data/fmtmsg.h-data: Likewise.
15824 * conform/data/netinet/in.h-data: Likewise.
15825 * conform/data/tar.h-data: Likewise.
15826 * conform/data/limits.h-data: Use "==" form on "constant" and
15827 "optional-constant" lines.
15829 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
15830 Use -std=c99 for XOPEN2K.
15831 (@knownproblems): Remove.
15832 (newtoken): Don't check %isknown.
15834 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
15835 Do not expect macro.
15836 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
15837 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
15838 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
15839 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
15840 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
15841 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
15842 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
15843 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
15844 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
15845 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
15846 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
15847 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
15848 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
15849 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
15850 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
15851 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
15852 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
15853 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
15854 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
15855 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
15856 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
15857 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
15858 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
15859 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
15860 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
15861 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
15862 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
15863 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
15864 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
15865 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
15866 [XPG3] (acosh): Likewise.
15867 [XPG3] (asinh): Likewise.
15868 [XPG3] (atanh): Likewise.
15869 [XPG3] (cbrt): Likewise.
15870 [XPG3] (expm1): Likewise.
15871 [XPG3] (ilogb): Likewise.
15872 [XPG3] (log1p): Likewise.
15873 [XPG3] (logb): Likewise.
15874 [XPG3] (nextafter): Likewise.
15875 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
15876 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
15877 [XPG3] (remainder): Likewise.
15878 [XPG3] (rint): Likewise.
15879 [XPG3 || XPG4 || UNIX98] (round): Likewise.
15880 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
15881 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
15882 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
15883 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
15884 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
15885 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
15886 [UNIX98 || XOPEN2K] (scalb): Expect.
15887 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
15888 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
15889 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
15890 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
15891 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
15892 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
15893 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
15894 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
15895 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
15896 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
15897 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
15898 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
15899 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
15900 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
15901 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
15902 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
15903 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
15904 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
15905 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
15906 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
15907 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
15908 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
15909 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
15910 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
15911 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
15912 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
15913 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
15914 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
15915 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
15916 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
15917 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
15918 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
15919 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
15920 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
15921 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
15922 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
15923 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
15924 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
15925 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
15926 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
15927 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
15928 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
15929 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
15930 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
15931 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
15932 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
15933 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
15934 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
15935 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
15936 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
15937 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
15938 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
15939 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
15940 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
15941 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
15942 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
15943 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
15944 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
15945 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
15946 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
15947 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
15948 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
15949 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
15950 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
15951 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
15952 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
15953 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
15954 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
15955 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
15956 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
15957 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
15958 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
15959 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
15960 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
15961 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
15962 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
15963 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
15964 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
15965 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
15966 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
15967 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
15968 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
15969 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
15970 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
15971 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
15972 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
15973 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
15974 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
15975 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
15976 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
15977 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
15978 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
15979 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
15980 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
15981 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
15982 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
15983 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
15984 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
15985 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
15986 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
15987 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
15988 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
15989 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
15990 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
15991 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
15992 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
15993 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
15994 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
15995 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
15996 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
15997 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
15998 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
15999 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
16000 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
16001 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
16002 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
16003 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
16004 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
16005 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
16006 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
16007 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
16008 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
16009 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
16010 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
16011 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
16012 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
16013 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
16014 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
16015 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
16016 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
16017 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
16018 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
16019 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
16020 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
16021 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
16022 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
16023 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
16025 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
16026 _XOPEN_SOURCE_EXTENDED for XPG4.
16028 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
16030 * Makeconfig (localtime): Remove variable.
16031 (inst_localtime-file): Likewise.
16033 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
16035 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
16037 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16039 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
16041 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
16043 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
16045 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
16047 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16049 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
16051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
16054 2012-05-01 Joseph Myers <joseph@codesourcery.com>
16058 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
16059 comparisons to determine direction to adjust input.
16060 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
16061 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
16062 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
16064 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
16066 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
16068 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
16069 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
16071 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
16073 * math/libm-test.inc (nexttoward_test): Add more tests.
16075 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
16078 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
16079 in version GLIBC_2.1, not GLIBC_2.0.
16080 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
16083 2012-04-30 Joseph Myers <joseph@codesourcery.com>
16086 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
16088 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
16089 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
16090 * math/libm-test.inc (acos_test): Add more tests.
16091 (asin_test): Likewise.
16092 * sysdeps/i386/fpu/libm-test-ulps: Update.
16093 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16096 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
16098 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
16099 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
16100 * math/libm-test.inc (acos_test_tonearest): New function.
16101 (acos_test_towardzero): Likewise.
16102 (acos_test_downward): Likewise.
16103 (acos_test_upward): Likewise.
16104 (asin_test_tonearest): Likewise.
16105 (asin_test_towardzero): Likewise.
16106 (asin_test_downward): Likewise.
16107 (asin_test_upward): Likewise.
16108 (main): Call the new functions.
16109 * sysdeps/i386/fpu/libm-test-ulps: Update.
16110 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16114 * math/e_exp10.c: Include <float.h>.
16115 (__ieee754_exp10): Handle underflow here rather than multiplying
16116 large negative argument by M_LN10.
16117 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
16119 * math/e_exp10l.c: Include <float.h>.
16120 (__ieee754_exp10l): Handle underflow here rather than multiplying
16121 large negative argument by M_LN10l.
16122 * math/libm-test.inc (exp10_test): Add another test. Do not allow
16123 spurious overflow exception on underflow.
16125 2012-04-29 Marek Polacek <polacek@redhat.com>
16127 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
16128 (__fortify_function): New macro.
16129 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
16130 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
16131 __extern_always_inline.
16132 * libio/bits/stdio2.h: Likewise.
16133 * libio/bits/stdio.h: Likewise.
16134 * string/string.h: Likewise.
16135 * string/bits/string3.h: Likewise.
16136 * include/stdio.h: Likewise.
16137 * stdlib/bits/stdlib.h: Likewise.
16138 * stdlib/stdlib.h: Likewise.
16139 * rt/bits/mqueue2.h: Likewise.
16140 * rt/mqueue.h: Likewise.
16141 * posix/bits/unistd.h: Likewise.
16142 * posix/unistd.h: Likewise.
16143 * io/bits/poll2.h: Likewise.
16144 * io/bits/fcntl2.h: Likewise.
16145 * io/fcntl.h: Likewise.
16146 * io/sys/poll.h: Likewise.
16147 * misc/bits/syslog.h: Likewise.
16148 * misc/bits/syslog-ldbl.h: Likewise.
16149 * misc/sys/syslog.h: Likewise.
16150 * socket/bits/socket2.h: Likewise.
16151 * socket/sys/socket.h: Likewise.
16152 * debug/tst-chk1.c: Likewise.
16153 * wcsmbs/bits/wchar2.h: Likewise.
16154 * wcsmbs/bits/wchar-ldbl.h: Likewise.
16155 * wcsmbs/wchar.h: Likewise.
16157 2012-04-29 Andreas Jaeger <aj@suse.de>
16159 * Makerules (tests): Remove enable-check-abi protection.
16160 (check-abi-warn): Remove.
16161 (check-abi-%): Remove check-abi-warn usage.
16163 * configure.in: Remove check-abi configure option.
16164 * configure: Regenerated.
16165 * config.make.in (enable-check-abi): Remove.
16167 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
16170 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
16171 double functions to double *_finite functions.
16174 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
16175 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
16177 * stdio-common/Makefile (tests): Add tst-sprintf3.
16178 * stdio-common/tst-sprintf3.c: New file.
16180 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
16181 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
16183 2012-04-28 Joseph Myers <joseph@codesourcery.com>
16185 * conform/conformtest.pl: Remove duplicate typed-constant
16188 2012-04-28 David S. Miller <davem@davemloft.net>
16190 * Makerules (%.abilist): Add vpath on sysdep_dirs.
16191 (check-abi-%): Remove AWK script prerequisite and explicit
16193 (check-abi): Rewrite to just diff the symlist with the abilist.
16194 (config-tls, config-abi-config): Delete, no longer used.
16195 (update-abi-%): Remove AWK script and explicit abilist directory.
16196 (update-abi): Rewrite to simply compare and conditionally copy the
16197 symlist and the sysdep abilist file. Remove update-abi-config
16199 * abilist/ld.abilist: Remove.
16200 * abilist/libBrokenLocale.abilist: Remove.
16201 * abilist/libanl.abilist: Remove.
16202 * abilist/libcrypt.abilist: Remove.
16203 * abilist/libdl.abilist: Remove.
16204 * abilist/librt.abilist: Remove.
16205 * abilist/libthread_db.abilist: Remove.
16206 * abilist/libutil.abilist: Remove.
16207 * scripts/extract-abilist.awk: Remove.
16208 * scripts/merge-abilist.awk: Remove.
16209 * sysdeps/generic/libcidn.abilist: New file.
16210 * sysdeps/generic/libnss_compat.abilist: New file.
16211 * sysdeps/generic/libnss_db.abilist: New file.
16212 * sysdeps/generic/libnss_dns.abilist: New file.
16213 * sysdeps/generic/libnss_files.abilist: New file.
16214 * sysdeps/generic/libnss_hesiod.abilist: New file.
16215 * sysdeps/generic/libnss_nis.abilist: New file.
16216 * sysdeps/generic/libnss_nisplus.abilist: New file.
16217 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
16218 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
16219 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
16221 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
16222 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
16223 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
16224 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
16225 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
16226 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
16227 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
16228 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
16229 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
16231 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
16232 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
16233 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
16234 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
16236 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
16237 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
16238 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
16239 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
16240 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
16241 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
16243 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
16244 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
16245 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
16247 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
16248 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
16250 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
16252 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
16254 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
16256 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
16258 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
16260 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
16262 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
16264 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
16266 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
16268 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
16270 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
16272 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
16274 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
16276 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
16278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
16280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
16282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
16284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
16286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
16288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
16290 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
16292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
16294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
16296 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
16298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
16300 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
16301 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
16303 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
16305 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
16307 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
16309 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
16311 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
16313 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
16315 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
16317 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
16319 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
16321 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
16323 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
16325 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
16326 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
16328 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
16330 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
16332 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
16334 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
16336 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
16338 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
16340 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
16342 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
16344 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
16346 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
16348 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
16350 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
16351 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
16352 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
16354 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
16355 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
16356 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
16357 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
16358 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
16359 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
16360 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
16361 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
16362 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
16363 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
16364 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
16365 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
16367 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
16369 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
16371 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
16373 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
16375 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
16377 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
16379 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
16381 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
16383 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
16385 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
16387 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
16389 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
16390 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
16392 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
16394 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
16396 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
16398 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
16400 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
16402 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
16404 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
16406 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
16408 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
16410 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
16412 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
16415 2012-04-28 Joseph Myers <joseph@codesourcery.com>
16417 * conform/conformtest.pl: Fix typo in handling typed-constant from
16420 2012-04-27 Joseph Myers <joseph@codesourcery.com>
16422 * README: Cut down references to pre-2.6 Linux kernels and
16423 Linuxthreads. Update lists of configurations in libc and ports
16424 and sort alphabetically. Say "or newer" with Linux kernel version
16427 * config.h.in [IS_IN_build]: Allow compiling without optimization.
16429 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16432 * math/libm-test.inc (logb_test_downward): New test to expose
16433 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
16436 2012-04-27 Joseph Myers <joseph@codesourcery.com>
16439 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
16441 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
16442 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
16444 2012-04-26 Joseph Myers <joseph@codesourcery.com>
16446 * sysdeps/unix/i386/brk.S: Remove file.
16447 * sysdeps/unix/i386/dl-brk.S: Likewise.
16448 * sysdeps/unix/i386/pipe.S: Likewise.
16449 * sysdeps/unix/i386/sigreturn.S: Likewise.
16450 * sysdeps/unix/i386/syscall.S: Likewise.
16451 * sysdeps/unix/i386/vfork.S: Likewise.
16452 * sysdeps/unix/i386/wait.S: Likewise.
16454 * sysdeps/unix/common/tcsendbrk.c: Move to ...
16455 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
16457 * configure.in (arm*-none*): Do not allow without
16458 --enable-hacker-mode.
16459 (netbsd*): Remove case setting base_os.
16460 (386bsd*): Likewise.
16461 (freebsd*): Likewise.
16464 (sunos*): Likewise.
16465 (ultrix*): Likewise.
16466 (newsos*): Likewise.
16467 (dynix*): Likewise.
16473 (minix*): Likewise.
16474 (irix4*): Likewise.
16475 (irix6*): Likewise.
16476 (solaris[2-9]*): Likewise.
16478 * configure: Regenerated.
16480 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16483 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
16484 overflow or cancellation in calculating denominator.
16485 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
16486 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
16487 down expression to avoid unexpected rounding in newer GCCs.
16488 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
16490 2012-04-26 David S. Miller <davem@davemloft.net>
16492 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
16493 long-double compat symbols.
16494 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
16495 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
16496 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
16497 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
16498 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
16499 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
16500 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
16501 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
16502 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
16503 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
16504 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
16505 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
16506 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
16508 2012-04-25 David S. Miller <davem@davemloft.net>
16510 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
16511 HWCAP_* values only after the memory barriers have been defined.
16512 (atomic_full_barrier): Define.
16513 (atomic_read_barrier): Define.
16514 (atomic_write_barrier): Define.
16516 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16518 * shlib-versions: Add libgcc_s version information.
16519 * sysdeps/generic/libgcc_s.h: Remove.
16520 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
16522 * sysdeps/gnu/unwind-resume.c: Likewise.
16523 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
16525 2012-04-25 David S. Miller <davem@davemloft.net>
16527 * sysdeps/unix/sparc/brk.S: Delete.
16528 * sysdeps/unix/sparc/dl-brk.S: Delete.
16529 * sysdeps/unix/sparc/pipe.S: Delete.
16530 * sysdeps/unix/sparc/sysdep.S: Delete.
16531 * sysdeps/unix/sparc/sysdep.h: Delete.
16532 * sysdeps/unix/sparc/vfork.S: Delete.
16533 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
16534 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
16535 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
16536 ret_ERRVAL, r0, r1, MOVE): Define.
16537 (JUMPTARGET): Remove.
16538 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
16539 sysdeps/unix/sparc/sysdep.h
16540 (ENTRY, END): Remove.
16541 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
16543 2012-04-25 Joseph Myers <joseph@codesourcery.com>
16545 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
16546 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
16549 * timezone/README: Update upstream location and email address for
16551 * timezone/zdump.c: Update from tzcode 2012b.
16552 * timezone/zic.c: Likewise.
16554 * configure.in (libc_cv_as_needed): Remove test.
16555 * configure: Regenerated.
16556 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
16557 conditional definition.
16558 [$(have-as-needed) != yes] (no-as-needed): Likewise.
16559 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
16560 * config.make.in (have-as-needed): Remove variable.
16562 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
16563 Paul Pluzhnikov <ppluzhnikov@google.com>
16565 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
16568 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
16570 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
16571 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
16572 * sysdeps/sh/strlen.S: Likewise.
16574 2012-04-24 Joseph Myers <joseph@codesourcery.com>
16576 * sysdeps/unix/fork.S: Remove file.
16577 * sysdeps/unix/i386/fork.S: Likewise.
16578 * sysdeps/unix/sparc/fork.S: Likewise.
16580 * sysdeps/unix/system.c: Remove file.
16581 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
16583 * sysdeps/unix/getegid.S: Remove file.
16584 * sysdeps/unix/geteuid.S: Likewise.
16586 2012-04-24 Roland McGrath <roland@hack.frob.com>
16588 * scripts/check-localplt.awk: New file.
16589 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
16591 * scripts/data/localplt-generic.data: Add a comment.
16593 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
16594 NODE when __dir_mkfile failed.
16595 * sysdeps/mach/hurd/symlinkat.c: Likewise.
16596 Reported by Ludovic Courtès <ludo@gnu.org>.
16598 2012-04-24 Andreas Jaeger <aj@suse.de>
16600 * Makerules (common-clean): Also remove gen-as-const-headers
16603 2012-04-24 Joseph Myers <joseph@codesourcery.com>
16605 * Makerules (native-compile): Do not change working directory for
16606 build. Use $(OUTPUT_OPTION) in command.
16607 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
16609 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16612 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
16613 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
16614 * math/libm-test.inc (floor_test): Add more tests.
16615 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
16617 2012-04-24 Joseph Myers <joseph@codesourcery.com>
16619 * sysdeps/unix/getdents.c: Remove file.
16620 * sysdeps/unix/sysv/getdents.c: Likewise.
16621 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
16623 * sysdeps/unix/syscalls.list (madvise): Add syscall from
16624 sysdeps/unix/mman/syscalls.list.
16626 (mprotect): Likewise.
16628 (munmap): Likewise.
16629 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
16630 * sysdeps/unix/mman/syscalls.list: Remove.
16631 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
16633 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
16634 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
16635 * configure: Regenerated.
16636 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
16637 $(libgcc_s_suffix).
16638 * config.make.in (libgcc_s_suffix): Remove variable.
16640 2012-04-23 Joseph Myers <joseph@codesourcery.com>
16642 * sysdeps/unix/sysv/gethostname.c: Move to ...
16643 * sysdeps/posix/gethostname.c: ... here.
16645 * sysdeps/unix/execve.S: Remove file.
16647 * sysdeps/unix/_exit.S: Remove file.
16649 2012-04-23 Andreas Jaeger <aj@suse.de>
16652 * manual/Makefile: Remove make dist support, there's no
16653 need for a stand-alone documentation tar ball.
16654 (TEXI2DVI): Define always, it's not in Makeconfig.
16657 (edition): Removed.
16658 (glibc-doc-$(edition).tar): Removed
16662 (ETAGS): Remove, it's in Makeconfig.
16663 (move-if-change): Remove, it's in Makeconfig.
16665 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
16668 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
16669 (strtod, strtof, strtold, strtol, strtoul, strtoq)
16670 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
16671 (strtod_l, strtof_l, strtold_l): Remove __wur.
16672 It is not necessarily an error to ignore strtol's return value.
16673 One can reliably look at the stored endptr to decide whether
16674 the number had valid syntax.
16676 2012-04-21 Andreas Jaeger <aj@suse.de>
16679 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
16681 2012-04-21 Joseph Myers <joseph@codesourcery.com>
16683 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
16684 * sysdeps/unix/sysv/Versions: Remove file.
16686 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
16689 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16691 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
16694 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
16695 version from __vm86.
16697 2012-04-20 Joseph Myers <joseph@codesourcery.com>
16699 * sysdeps/unix/common/lxstat.c: Remove file.
16700 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
16702 * sysdeps/unix/sysv/Makefile: Remove file.
16704 * sysdeps/unix/sysv/direct.h: Remove file.
16706 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
16707 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
16708 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
16709 * sysdeps/unix/sysv/bits/signum.h: Likewise.
16710 * sysdeps/unix/sysv/bits/stat.h: Likewise.
16711 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
16712 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
16714 * sysdeps/unix/sysv/setrlimit.c: Remove file.
16716 * sysdeps/unix/xmknod.c: Remove file.
16717 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
16719 * sysdeps/unix/sysv/settimeofday.c: Remove file.
16721 * sysdeps/unix/sysv/i386/time.S: Remove file.
16723 * sysdeps/unix/fxstat.c: Remove file.
16724 * sysdeps/unix/xstat.c: Likewise.
16725 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
16727 * sysdeps/unix/sysv/sigaction.c: Remove file.
16729 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
16730 (sysdep_headers): Remove variable.
16731 [termio.h not in sysdep_headers] (generated): Likewise.
16732 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
16733 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
16734 * sysdeps/unix/sysv/tcdrain.c: Likewise.
16735 * sysdeps/unix/sysv/tcflow.c: Likewise.
16736 * sysdeps/unix/sysv/tcflush.c: Likewise.
16737 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
16738 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
16739 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
16740 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
16741 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
16743 * sysdeps/unix/siglist.c: Remove file.
16745 * sysdeps/unix/getppid.S: Remove file.
16747 * sysdeps/unix/mkdir.c: Remove file.
16748 * sysdeps/unix/rmdir.c: Likewise.
16750 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
16752 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
16754 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
16755 errlist-compat value.
16757 2012-04-18 David S. Miller <davem@davemloft.net>
16759 * sysdeps/generic/memcopy.h (reg_char): Delete.
16760 * debug/strcat_chk.c: Use char, not reg_char.
16761 * debug/strcpy_chk.c: Likewise.
16762 * debug/strncat_chk.c: Likewise.
16763 * debug/strncpy_chk.c: Likewise.
16764 * string/memchr.c: Likewise.
16765 * string/memrchr.c: Likewise.
16766 * string/rawmemchr.c: Likewise.
16767 * string/strcat.c: Likewise.
16768 * string/strchr.c: Likewise.
16769 * string/strchrnul.c: Likewise.
16770 * string/strcmp.c: Likewise.
16771 * string/strcpy.c: Likewise.
16772 * string/strncat.c: Likewise.
16773 * string/strncmp.c: Likewise.
16774 * string/strncpy.c: Likewise.
16776 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
16778 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
16779 __builtin_memcopy is called when src and dest ranges are known to not
16782 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
16784 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
16785 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
16786 fwd_align_merge macro call.
16787 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
16788 bwd_align_merge macro call.
16789 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
16791 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
16793 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
16794 bwd_align_merge macros.
16795 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
16796 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
16797 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
16799 2012-04-18 David S. Miller <davem@davemloft.net>
16801 * sysdeps/sparc/sparc64/memcopy.h: Delete.
16803 2012-04-18 Andreas Jaeger <aj@suse.de>
16806 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
16807 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
16808 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
16810 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
16811 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
16812 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
16814 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
16815 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
16816 Adjust for changed ldbl-128 files.
16818 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
16819 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
16820 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
16822 2012-04-17 David S. Miller <davem@davemloft.net>
16824 * sysdeps/sparc/sparc32/memcopy.h: Delete.
16826 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
16828 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
16829 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
16830 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
16831 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
16832 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
16833 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
16835 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16838 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
16839 * math/libm-test.inc: Add ilogb errno and exception tests.
16840 * math/w_ilogb.c: New file: ilogb wrapper.
16841 * math/w_ilogbf.c: New file: ilogbf wrapper.
16842 * math/w_ilogbl.c: New file: ilogbl wrapper.
16843 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
16844 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
16845 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
16846 exception being thrown with 0.0 as argument.
16847 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
16848 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
16849 exception being thrown with 0.0 as argument.
16850 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
16851 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
16852 exception being thrown with 0.0 as argument.
16853 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
16854 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
16855 exception being thrown with 0.0 as argument.
16856 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
16857 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
16858 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
16859 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
16860 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
16861 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
16862 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
16863 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
16864 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
16866 2012-04-17 Petr Baudis <pasky@ucw.cz>
16868 * include/sys/uio.h: Change __vector to __iovec to avoid clash
16871 2012-04-16 Marek Polacek <polacek@redhat.com>
16873 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
16875 2012-04-16 Marek Polacek <polacek@redhat.com>
16877 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
16878 operands of fdivp instruction.
16880 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
16882 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
16883 * elf/tst-auditmod3b.c: Likewise.
16884 * elf/tst-auditmod4b.c: Likewise.
16885 * elf/tst-auditmod5b.c: Likewise.
16886 * elf/tst-auditmod6b.c: Likewise.
16887 * elf/tst-auditmod6c.c: Likewise.
16888 * elf/tst-auditmod7b.c: Likewise.
16889 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
16890 * sysdeps/x86_64/preconfigure.in: Likewise.
16891 * sysdeps/x86_64/preconfigure: Regenerated.
16893 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
16895 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
16898 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
16900 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
16901 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
16903 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
16906 * locale/iso-639.def: Fix gl language name. Spotted by
16909 2012-04-12 Roland McGrath <roland@hack.frob.com>
16912 * libio/libio.h (__io_write_fn): Update comment.
16914 2012-04-12 Petr Baudis <pasky@ucw.cz>
16917 * stdio.texi (Hook Functions): The user provided writer function
16918 is not allowed to return -1.
16920 2012-04-11 David S. Miller <davem@davemloft.net>
16922 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16924 2012-04-11 Mike Frysinger <vapier@gentoo.org>
16926 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
16927 Add a leading slash to rtkaio.
16929 2012-04-11 Jim Meyering <meyering@redhat.com>
16932 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
16933 It is not necessarily an error to ignore fwrite's return
16934 value. One can reliably use ferror to test for errors after
16937 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
16939 * bits/types.h (__snseconds_t): New type.
16940 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
16942 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
16943 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
16944 (__SNSECONDS_T_TYPE): Likewise.
16945 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
16946 (__SNSECONDS_T_TYPE): Likewise.
16947 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16948 (__SNSECONDS_T_TYPE): Likewise.
16950 2012-04-10 Andreas Jaeger <aj@suse.de>
16953 * manual/time.texi (Processor Time): Return type of times is
16954 elapsed real time since an arbitrary point in the past.
16955 (CPU Time): Move CLK_TCK from here...
16956 (Processor Time): ...to here. Correct description.
16957 * manual/conf.texi (Constants for Sysconf): Correct description of
16960 2012-04-10 David S. Miller <davem@davemloft.net>
16963 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
16964 where the is a gap between DT_REL(A) and DT_JMPREL.
16966 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
16968 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
16969 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
16970 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
16972 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16974 * elf/dl-support.c (_dl_inhibit_cache): New variable.
16975 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
16976 (dl_main): Handle --inhibit-cache.
16977 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
16979 * elf/dl-load.c (_dl_map_object): Use it.
16980 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
16982 2012-04-09 Joseph Myers <joseph@codesourcery.com>
16985 * sysdeps/i386/fpu/e_powl.S (p78): New object.
16986 (__ieee754_powl): Saturate large exponents rather than testing for
16987 overflow of y*log2(x).
16988 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
16989 * math/libm-test.inc (pow_test): Do not permit spurious overflow
16993 * math/s_ctan.c: Include <float.h>.
16994 (__ctan): Avoid internal overflow or cancellation in calculating
16996 * math/s_ctanf.c: Likewise.
16997 * math/s_ctanl.c: Likewise.
16998 * math/s_ctanh.c: Likewise.
16999 * math/s_ctanhf.c: Likewise.
17000 * math/s_ctanhl.c: Likewise.
17001 * math/libm-test.inc (ctan_test): Add more tests.
17002 (ctanh_test): Likewise.
17003 * sysdeps/i386/fpu/libm-test-ulps: Update.
17004 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17006 2012-04-09 Andreas Jaeger <aj@suse.de>
17009 * manual/filesys.texi (Directory Entries): Mention that d_namlen
17010 is an optional BSD extension.
17013 * manual/stdio.texi (Opening Streams): Document additional fopen
17016 2012-04-09 Roland McGrath <roland@hack.frob.com>
17018 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
17019 %eax without telling the compiler.
17021 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
17024 * manual/install.texi: Use sourceware.org.
17026 2012-04-09 Joseph Myers <joseph@codesourcery.com>
17029 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
17030 (__ieee754_pow): Generate overflow and underflow using huge*huge
17031 and tiny*tiny rather than just returning constant infinity or zero
17032 for large exponents.
17033 * math/libm-test.inc (pow_test): Require overflow exceptions for
17034 applicable cases of large exponents.
17037 * sysdeps/i386/fpu/e_pow.S (p10): New object.
17038 (__ieee754_pow): Use iterative multiplication algorithm only for
17039 integer exponents with absolute value below 1024. Check for odd
17040 integer exponents when using algorithm for real exponents.
17041 * math/libm-test.inc (pow_test): Add more tests.
17042 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17044 2012-04-08 Joseph Myers <joseph@codesourcery.com>
17047 * math/libm-test.inc (exp_test): Do not allow overflow exception
17050 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
17053 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
17054 instead of __kernel_standard_f.
17056 2012-04-08 Mike Frysinger <vapier@gentoo.org>
17058 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
17059 * sysdeps/x86_64/memset_chk.S: Likewise.
17061 2012-04-08 Andreas Jaeger <aj@suse.de>
17064 * manual/startup.texi (Environment Access): Describe return value
17065 for putenv and setenv.
17068 * manual/filesys.texi (Directory Entries): Add description for
17072 * manual/filesys.texi (Directory Entries): Clarify that it's file
17073 system not operating system in the description of DT_UNKNOWN.
17076 * manual/syslog.texi (closelog): Fix reference, it's openlog.
17078 2012-04-08 Stephen Compall <s11@member.fsf.org>
17081 * manual/llio.texi (Opening and Closing Files): Add cross
17082 reference to explain mode argument.
17084 2012-04-07 Mike Frysinger <vapier@gentoo.org>
17086 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
17087 * sysdeps/x86_64/memset_chk.S: Likewise.
17089 2012-04-07 David S. Miller <davem@davemloft.net>
17091 * elf/elf.h (R_SPARC_WDISP10): Define.
17092 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
17094 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
17095 R_SPARC_SIZE64 and R_SPARC_H34.
17097 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
17099 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
17100 conditions and remove no longer applicable assertion.
17102 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
17104 * bits/byteswap.h: Include <features.h>.
17105 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
17106 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
17108 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
17110 * bits/byteswap.h (__bswap_16): Removed.
17111 Include <bits/byteswap-16.h> to get __bswap_16.
17112 * sysdeps/i386/bits/byteswap.h: Likewise.
17113 * sysdeps/s390/bits/byteswap.h: Likewise.
17114 * sysdeps/x86_64/bits/byteswap.h: Likewise.
17115 * bits/byteswap-16.h: New file.
17116 * sysdeps/i386/bits/byteswap-16.h: Likewise.
17117 * sysdeps/s390/bits/byteswap-16.h: Likewise.
17118 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
17119 * string/Makefile (headers): Add bits/byteswap-16.h.
17121 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
17124 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
17126 * nss/Makefile (tests-static, tests): Add tst-nss-static.
17127 * nss/tst-nss-static.c: New.
17129 2012-04-06 Robert Millan <rmh@gnu.org>
17132 * manual/llio.texi (File Position Primitive): lseek
17133 refers to WHENCE when it really means OFFSET.
17135 2012-04-06 Andreas Jaeger <aj@suse.de>
17137 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
17138 strncmp declarations.
17140 * abilist/libc.abilist: Add __poll and __ppoll.
17142 2012-04-05 David S. Miller <davem@davemloft.net>
17144 * scripts/check-local-headers.sh: Accept a host triplet in the
17145 path matched by the exclude regexp.
17147 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
17149 * sysdeps/powerpc/powerpc32/dl-machine.h
17150 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
17151 * sysdeps/s390/s390-32/dl-machine.h
17152 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
17153 * sysdeps/sparc/sparc32/dl-machine.h
17154 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
17155 * sysdeps/sparc/sparc64/dl-machine.h
17156 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
17158 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
17160 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
17161 undefined symbol errors.
17163 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
17166 2012-04-05 Michael Matz <matz@suse.de>
17169 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
17171 2012-04-05 Andreas Jaeger <aj@suse.de>
17174 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
17177 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17179 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
17180 which ROUND is no valid rounding mode.
17182 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17184 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
17186 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
17188 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17190 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
17191 an exception using FPU order intentionally.
17193 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17195 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
17196 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
17197 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
17198 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
17200 2012-04-05 Simon Josefsson <simon@josefsson.org>
17203 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
17204 EINVAL when BUFLEN is too smal.
17206 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
17209 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
17210 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
17212 2012-04-03 Andreas Jaeger <aj@suse.de>
17215 * manual/setjmp.texi (System V contexts): Fix sentence.
17218 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
17219 New macro for this case.
17220 [!__GNUC__] (__bswap_64): New inline function for this case.
17221 * sysdeps/x86_64/bits/byteswap.h: Likewise.
17222 * bits/byteswap.h: Likewise.
17223 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
17224 ull, guard with __GLIBC_HAVE_LONG_LONG.
17226 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
17227 __GLIBC_HAVE_LONG_LONG.
17229 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
17230 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
17232 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17235 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
17236 inptr and inend, rather than using last_ch.
17238 2012-04-02 David S. Miller <davem@davemloft.net>
17240 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
17241 * stdio-common/printf-parse.h (read_int): Change return type to
17242 'int', return -1 on INT_MAX overflow.
17243 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
17244 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
17245 overflows INT_MAX. Check for overflow of in-format-string precision
17246 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
17247 SIZE_MAX not INT_MAX for integer overflow test.
17248 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
17249 skip the construct in the format string but do not record anything.
17250 * stdio-common/bug22.c: Adjust to test both width/prevision
17251 INT_MAX overflow as well as total length INT_MAX overflow. Check
17252 explicitly for proper errno values.
17254 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
17256 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
17258 * string/test-strcmp.c [! WIDE]: Likewise.
17259 * time/tst-mktime2.c: Likewise for INT_MAX.
17260 * string/test-string.h: #include <sys/param.h> for MIN.
17262 * csu/init-first.c (__libc_init_first): Call __ctype_init.
17263 * sysdeps/i386/init-first.c (init): Likewise.
17264 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
17265 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
17266 * sysdeps/sh/init-first.c (init): Likewise.
17268 2012-04-01 Ulrich Drepper <drepper@gmail.com>
17270 * po/ru.po: Update from translation team.
17271 * po/vi.po: Likewise.
17273 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
17275 * resolv/nss_dns/dns-host.c: Merge copyright years.
17277 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17279 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
17280 Optimize memcpy with prefetch if
17281 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
17282 src, dst pointers have unequal 16 byte alignments.
17284 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
17287 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
17288 from a CNAME entry and return the minimum ttl for the query.
17289 (gaih_getanswer_slice): Likewise.
17291 2012-03-30 Jeff Law <law@redhat.com>
17293 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
17295 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
17296 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
17298 * resolv/nss_dns/dns-host.c: Update copyright year.
17300 2012-03-30 Ulrich Drepper <drepper@gmail.com>
17302 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
17303 requests to save a system call. Fix check that all bytes are sent.
17305 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
17306 comments for sendmmsg.
17308 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17311 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
17312 with only 1 character between 0x0041 and 0x01b0.
17313 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
17314 * wcsmbs/tst-mbsnrtowcs.c: New file.
17316 2012-03-29 David S. Miller <davem@davemloft.net>
17318 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
17319 small copies by hand.
17321 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17324 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
17325 _nss_compat_initgroups_dyn): Fall back to malloc/free
17326 for large group memberships.
17328 2012-03-28 David S. Miller <davem@davemloft.net>
17330 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
17331 that branches into memcpy.
17332 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
17333 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
17334 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
17335 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
17336 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
17338 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
17339 implementation too.
17340 * sysdeps/sparc/mempcpy.S: New file.
17342 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
17343 the IFUNC routine in the libc case.
17344 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
17346 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
17347 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
17348 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
17349 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
17350 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
17351 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
17352 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
17353 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
17355 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
17356 loop to 256 bytes instead of 64 bytes and fix test signedness.
17358 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
17359 * sysdeps/sparc/sparc32/Makefile: rather than here...
17360 * sysdeps/sparc/sparc64/Makefile: and here.
17362 2012-03-28 Ulrich Drepper <drepper@gmail.com>
17364 * malloc/mallocbug.c: Avoid warnings about unused variables.
17366 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
17369 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
17370 in the right place. Discard and retry query if response is
17371 larger than input buffer size.
17373 2012-03-28 Joseph Myers <joseph@codesourcery.com>
17378 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
17379 x for large integer exponent.
17380 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
17381 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
17382 sign of result as needed afterwards.
17383 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
17384 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
17385 result for underflowing pow the same as for overflow.
17386 (__kernel_standard_l): Handle powl overflow and underflow here
17387 rather than calling __kernel_standard.
17388 * math/libm-test.inc (pow_test): Add more tests.
17403 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
17404 * sysdeps/ieee754/k_standard.c: Include <float.h>.
17405 (__kernel_standard_l): New function.
17406 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
17408 * math/w_acosl.c (__acosl): Likewise.
17409 * math/w_asinl.c (__asinl): Likewise.
17410 * math/w_atan2l.c (__atan2l): Likewise.
17411 * math/w_atanhl.c (__atanhl): Likewise.
17412 * math/w_coshl.c (__coshl): Likewise.
17413 * math/w_exp10l.c (__exp10l): Likewise.
17414 * math/w_exp2l.c (__exp2l): Likewise.
17415 * math/w_fmodl.c (__fmodl): Likewise.
17416 * math/w_hypotl.c (__hypotl): Likewise.
17417 * math/w_j0l.c (__j0l, __y0l): Likewise.
17418 * math/w_j1l.c (__j1l, __y1l): Likewise.
17419 * math/w_jnl.c (__jnl, __ynl): Likewise.
17420 * math/w_lgammal.c (__lgammal): Likewise.
17421 * math/w_log10l.c (__log10l): Likewise.
17422 * math/w_log2l.c (__log2l): Likewise.
17423 * math/w_logl.c (__logl): Likewise.
17424 * math/w_powl.c (__powl): Likewise.
17425 * math/w_remainderl.c (__remainderl): Likewise.
17426 * math/w_scalbl.c (sysv_scalbl): Likewise.
17427 * math/w_sinhl.c (__sinhl): Likewise.
17428 * math/w_sqrtl.c (__sqrtl): Likewise.
17429 * math/w_tgammal.c (__tgammal): Likewise.
17430 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
17431 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
17432 * math/libm-test.inc (acos_test): Add more tests.
17433 (acosh_test): Likewise.
17434 (asin_test): Likewise.
17435 (atanh_test): Likewise.
17436 (exp_test): Likewise.
17437 (exp10_test): Likewise.
17438 (exp2_test): Likewise.
17439 (expm1_test): Likewise.
17440 (lgamma_test): Likewise.
17441 (log_test): Likewise.
17442 (log10_test): Likewise.
17443 (log1p_test): Likewise.
17444 (log2_test): Likewise.
17445 (pow_test): Do not allow some spurious overflow exceptions.
17446 (sqrt_test): Add more tests.
17447 (tgamma_test): Likewise.
17448 (y0_test): Likewise.
17449 (y1_test): Likewise.
17450 (yn_test): Likewise.
17452 2012-03-27 Anton Blanchard <anton@samba.org>
17454 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
17456 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
17457 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
17458 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
17460 2012-03-27 David S. Miller <davem@davemloft.net>
17462 * conform/Makefile: Run run-conformtest.sh using $(BASH).
17464 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
17465 have-as-vis3 check.
17467 2012-03-27 Andreas Jaeger <aj@suse.de>
17469 * sysdeps/x86_64/elf/configure.in: Moved to ...
17470 * sysdeps/x86_64/configure.in: ... here.
17471 * sysdeps/x86_64/elf/start.S: Moved to ...
17472 * sysdeps/x86_64/start.S: ... here.
17473 * sysdeps/x86_64/elf/configure: Delete.
17475 * sysdeps/x86_64/configure.in: Merge contents from
17476 sysdeps/i386/configure.in (without i686 check).
17478 * sysdeps/i386/elf/Versions: Merge into ...
17479 * sysdeps/i386/Versions: ... this.
17480 * sysdeps/i386/elf/Versions: Delete file.
17481 * sysdeps/i386/elf/start.S: Moved to ...
17482 * sysdeps/i386/start.S: ...here.
17483 * sysdeps/i386/elf/configure.in: Merge into...
17484 * sysdeps/i386/configure.in: ...here.
17485 * sysdeps/i386/elf/configure.in: Delete file.
17486 * sysdeps/i386/elf/configure: Delete file.
17488 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
17489 * debug/backtracesyms.c: ... here.
17490 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
17491 * debug/backtracesymsfd.c: ... here.
17492 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
17493 * sysdeps/generic/ifunc-sel.h: ... here.
17495 * sysdeps/unix/i386/start.c: Delete file.
17496 * sysdeps/unix/sparc/start.c: Delete file.
17497 * sysdeps/unix/start.c: Delete file.
17499 * sysdeps/sh/elf/configure.in: Moved to ...
17500 * sysdeps/sh/configure.in: ... here.
17501 * sysdeps/sh/elf/start.S: Moved to ...
17502 * sysdeps/sh/start.S: ... here.
17503 * sysdeps/sh/elf/configure: Delete file.
17505 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
17506 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
17507 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
17508 * sysdeps/powerpc/powerpc64/entry.h: ... here.
17509 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
17510 * sysdeps/powerpc/powerpc64/start.S: here.
17511 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
17512 * sysdeps/powerpc/powerpc64/Makefile: ... this.
17513 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
17514 * sysdeps/powerpc/powerpc64/configure.in: ... this.
17515 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
17517 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
17518 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
17519 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
17520 * sysdeps/powerpc/powerpc32/start.S: ... here.
17521 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
17522 * sysdeps/powerpc/powerpc32/configure.in: ... this.
17523 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
17525 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
17526 * sysdeps/powerpc/ifunc-sel.h: ... here.
17527 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
17528 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
17530 * sysdeps/sparc/elf/configure.in: Moved to ...
17531 * sysdeps/sparc/configure.in: ... here.
17532 * sysdeps/sparc/elf/configure: Delete file.
17533 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
17534 * sysdeps/sparc/sparc32/start.S: ... here.
17535 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
17536 * sysdeps/sparc/sparc64/start.S: ... here.
17537 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
17538 * sysdeps/sparc/sparc32/Makefile: ... this.
17539 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
17540 * sysdeps/sparc/sparc64/Makefile: ... this.
17542 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
17543 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
17544 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
17545 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
17546 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
17547 * sysdeps/s390/s390-32/setjmp.S: ... here.
17548 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
17549 * sysdeps/s390/s390-32/configure.in: ... here.
17550 * sysdeps/s390/s390-32/elf/configure: Delete file.
17551 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
17552 * sysdeps/s390/s390-32/start.S: ... here.
17554 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
17555 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
17556 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
17557 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
17558 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
17559 * sysdeps/s390/s390-64/setjmp.S: ... here.
17560 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
17561 * sysdeps/s390/s390-64/configure.in: ... here
17562 * sysdeps/s390/s390-64/elf/configure: Delete file.
17563 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
17564 * sysdeps/s390/s390-64/start.S: ... here.
17565 * sysdeps/s390/s390-64/elf/configure: Delete.
17567 * configure.in: Remove support for elf directories in sysdeps.
17569 * configure: Regenerated.
17570 * sysdeps/i386/configure: Regenerated.
17571 * sysdeps/powerpc/powerpc32/configure: Regenerated.
17572 * sysdeps/powerpc/powerpc64/configure: Regenerated.
17573 * sysdeps/s390/s390-32/configure: Regenerated.
17574 * sysdeps/s390/s390-64/configure: Regenerated.
17575 * sysdeps/sh/configure: Regenerated.
17576 * sysdeps/sparc/configure: Regenerated.
17577 * sysdeps/x86_64/configure: Regenerated.
17579 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
17581 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17583 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
17584 denormal result into account.
17586 2012-03-25 Roland McGrath <roland@hack.frob.com>
17588 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
17589 Reported by Allan McRae <allan@archlinux.org>.
17591 2012-03-23 Jeff Law <law@redhat.com>
17593 * nss/getnssent.c (__nss_getent): Fix typo.
17595 2012-03-23 David S. Miller <davem@davemloft.net>
17597 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17599 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
17601 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
17602 to pad to uint64_t for each field.
17603 (dl_tls_index): Replace unsigned long with uint64_t.
17605 2012-03-23 Daniel Jacobowitz <dmj@google.com>
17606 Paul Pluzhnikov <ppluzhnikov@google.com>
17609 * grp/Makefile (otherlibs): Don't set it.
17610 * inet/Makefile (otherlibs): Likewise.
17611 * login/Makefile (otherlibs): Likewise.
17612 * nscd/Makefile (otherlibs): Likewise.
17613 * posix/Makefile (otherlibs): Likewise.
17614 * pwd/Makefile (otherlibs): Likewise.
17615 * rt/Makefile (otherlibs): Likewise.
17616 * sunrpc/Makefile (otherlibs): Likewise.
17617 * nss/Makefile (otherlibs): Likewise.
17618 Add libnss_files to routines and static-only-routines.
17619 ($(objpfx)getent): Remove rule.
17620 * resolv/Makefile: Add libnss_dns and libresolv to routines and
17621 static-only-routines.
17623 2012-03-22 Joseph Myers <joseph@codesourcery.com>
17626 * math/s_cexp.c: Include <float.h>.
17627 (__cexp): Handle exp result overflowing not necessarily
17628 overflowing both real and imaginary parts of result.
17629 * math/s_cexpf.c: Likewise.
17630 * math/s_cexpl.c: Likewise.
17631 * math/libm-test.inc (cexp_test): Add more tests.
17632 * sysdeps/i386/fpu/libm-test-ulps: Update.
17633 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17635 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
17637 * include/link.h (ELFW): New macro.
17638 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
17639 Replace ELF64_R_TYPE with ELFW(R_TYPE).
17641 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
17643 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
17646 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
17648 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
17650 (struct La_x32_retval): Likewise.
17652 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
17654 * sysdeps/x86_64/preconfigure.in: New file.
17655 * sysdeps/x86_64/preconfigure: New generated file.
17657 2012-03-22 Joseph Myers <joseph@codesourcery.com>
17660 * math/e_exp2l.c: Include <float.h>.
17661 (__ieee754_exp2l): Handle overflow and underflow cases
17662 separately. Only pass fractional part of argument to
17664 * math/libm-test.inc (exp2_test): Add more tests.
17666 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
17667 negating x to take absolute value.
17668 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
17670 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
17671 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
17673 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
17674 computing low part if x was negated.
17675 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
17677 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
17679 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
17680 la_x32_gnu_pltexit.
17681 (pltexit): Cast int_retval to ptrdiff_t.
17682 * elf/tst-auditmod3b.c: Likewise.
17683 * elf/tst-auditmod4b.c: Likewise.
17684 * elf/tst-auditmod5b.c: Likewise.
17685 * elf/tst-auditmod6b.c: Likewise.
17686 * elf/tst-auditmod6c.c: Likewise.
17687 * elf/tst-auditmod7b.c: Likewise.
17689 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
17690 and x32_gnu_pltexit.
17692 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
17693 __ELF_NATIVE_CLASS.
17694 (La_x32_regs): New macro.
17695 (La_x32_retval): Likewise.
17696 (la_x32_gnu_pltenter): New function prototype.
17697 (la_x32_gnu_pltexit): Likewise.
17699 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
17701 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
17704 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17706 * configure.in (libc_cv_cc_nofma): Check for option to disable
17707 generation of FMA instructions.
17708 * configure: Regenerate.
17709 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
17710 * sysdeps/ieee754/dbl-64/Makefile: New file.
17711 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
17712 Remove brandred-fma4.
17713 (CFLAGS-brandred-fma4.c): Remove.
17714 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
17715 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
17717 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
17720 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
17722 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
17723 LLONG_MAX != LONG_MAX.
17724 (_itoa_word): Use _ITOA_WORD_TYPE on value.
17725 (_fitoa_word): Likewise.
17726 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
17727 LLONG_MAX != LONG_MAX.
17728 * stdio-common/_itowa.h: Include <_itoa.h>.
17729 (_itowa_word): Use _ITOA_WORD_TYPE on value.
17730 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
17731 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
17732 only if not defined.
17733 (_ITOA_WORD_TYPE): Likewise.
17734 (_itoa_word): Use _ITOA_WORD_TYPE on value.
17735 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
17737 2012-03-21 David S. Miller <davem@davemloft.net>
17739 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17741 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
17743 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
17744 of x86_64 when setting libc_cv_slibdir, libdir and
17746 * sysdeps/unix/sysv/linux/configure: Regenerated.
17748 2012-03-21 Joseph Myers <joseph@codesourcery.com>
17750 * manual/lang.texi (Old Varargs): Remove section.
17751 (How Variadic): Update menu.
17752 (va_start): Do not mention varargs.h.
17754 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
17755 Joseph Myers <joseph@codesourcery.com>
17757 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
17759 * configure: Regenerated.
17761 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
17763 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
17764 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
17767 2012-03-21 Joseph Myers <joseph@codesourcery.com>
17770 * Makefile (files-for-dist): Remove NOTES.
17771 (NOTES): Remove rule.
17772 * README: Don't refer to NOTES.
17773 * manual/creature.texi: Don't include macros.texi.
17774 * manual/intro.texi (creature.texi): Remove comment referring to
17777 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
17778 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
17779 * configure: Regenerated.
17780 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
17781 LIBC_TRY_CC_OPTION.
17782 (libc_cv_as_i686): Likewise.
17783 (libc_cv_cc_avx): Likewise.
17784 (libc_cv_cc_sse2avx): Likewise.
17785 (libc_cv_cc_fma4): Likewise.
17786 (libc_cv_cc_novzeroupper): Likewise.
17787 * sysdeps/i386/configure: Regenerated.
17790 * sysdeps/i386/fpu/s_cexp.S: Remove.
17791 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
17792 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
17793 * math/libm-test.inc (cexp_test): Add more tests.
17794 * sysdeps/i386/fpu/libm-test-ulps: Update.
17795 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17797 2012-03-21 Allan McRae <allan@archlinux.org>
17799 * timezone/Makefile: Do not install iso3166.tab and zone.tab
17801 2012-03-21 Joseph Myers <joseph@codesourcery.com>
17804 * math/w_exp2.c: Do not include <float.h>.
17805 (o_threshold, u_threshold): Remove.
17806 (__exp2): Calculate result before checking finiteness and calling
17808 * math/w_exp2f.c: Likewise.
17809 * math/w_exp2l.c: Likewise.
17810 * math/libm-test.inc (exp2_test): Require overflow exception for
17814 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
17815 range of signed 64-bit integers before using fistpll. Remove
17816 checks for whether integers fit in mantissa bits.
17817 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
17818 the range of signed 32-bit integers before using fistpl. Remove
17819 checks for whether integers fit in mantissa bits.
17820 * sysdeps/i386/fpu/e_powl.S (p64): New object.
17821 (__ieee754_powl): Test for y outside the range of signed 64-bit
17822 integers before using fistpll. Reduce 64-bit values to 63-bit
17824 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
17825 divide-by-zero is raised for zero to large negative powers.
17826 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
17827 (__ieee754_powl): Test for y outside the range of signed 64-bit
17828 integers before using fistpll. Reduce 64-bit values to 63-bit
17830 * math/libm-test.inc (pow_test): Add more tests.
17832 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
17834 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
17835 <stdio-common/_itoa.h>.
17836 * debug/segfault.c: Likewise.
17837 * elf/dl-cache.c: Likewise.
17838 * elf/dl-minimal.c: Likewise.
17839 * elf/dl-misc.c: Likewise.
17840 * elf/dl-sysdep.c: Likewise.
17841 * elf/dl-version.c: Likewise.
17842 * elf/rtld.c: Likewise.
17843 * hurd/hurdsock.c: Likewise.
17844 * hurd/lookup-retry.c: Likewise.
17845 * malloc/malloc.c: Likewise.
17846 * malloc/mtrace.c: Likewise.
17847 * nscd/nscd_getgr_r.c: Likewise.
17848 * nscd/nscd_getpw_r.c: Likewise.
17849 * nscd/nscd_getserv_r.c: Likewise.
17850 * posix/getopt_init.c: Likewise.
17851 * posix/wordexp.c: Likewise.
17852 * stdio-common/_itoa.c: Likewise.
17853 * stdio-common/printf_fphex.c: Likewise.
17854 * stdio-common/vfprintf.c: Likewise.
17855 * string/_strerror.c: Likewise.
17856 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
17857 * sysdeps/i386/i686/hp-timing.h: Likewise.
17858 * sysdeps/mach/_strerror.c: Likewise.
17859 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
17860 * sysdeps/mach/hurd/sethostid.c: Likewise.
17861 * sysdeps/mach/hurd/xmknodat.c: Likewise.
17862 * sysdeps/mach/xpg-strerror.c: Likewise.
17863 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
17864 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
17865 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
17866 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
17867 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
17868 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
17869 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
17870 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
17871 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
17872 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
17873 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
17874 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
17875 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
17876 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
17877 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
17878 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
17879 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
17880 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
17881 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
17882 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
17883 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
17885 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
17887 * stdio-common/_itoa.h: Moved to ...
17888 * sysdeps/generic/_itoa.h: Here.
17890 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
17892 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
17893 instead of "_itoa.h" and "_itowa.h".
17894 * stdio-common/vfprintf.: Likewise.
17896 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
17898 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
17900 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
17901 (__signbit): Likwise.
17902 (llrintf): Likwise.
17905 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
17907 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
17910 2012-03-20 Joseph Myers <joseph@codesourcery.com>
17912 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
17913 OVERFLOW_EXCEPTION_OK.
17914 * math/libm-test.inc ("Philosophy"): Update comment about
17916 (OVERFLOW_EXCEPTION): Define.
17917 (OVERFLOW_EXCEPTION_OK): Likewise.
17918 (INVALID_EXCEPTION_OK): Renumber.
17919 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
17920 (IGNORE_ZERO_INF_SIGN): Likewise.
17921 (test_exceptions): Handle FE_OVERFLOW.
17922 (exp10_test): Expect overflow exceptions.
17923 (exp2_test): Likewise.
17924 (expm1_test): Likewise.
17925 (nextafter_test): Likewise.
17926 (pow_test): Likewise.
17927 (scalbn_test): Likewise.
17928 (scalbln_test): Likewise.
17930 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17932 * sysdeps/x86_64/bits/atomic.h
17933 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
17935 (atomic_exchange_acq): Likewise.
17936 (__arch_exchange_and_add_body): Likewise.
17937 (__arch_add_body): Likewise.
17938 (atomic_add_negative): Likewise.
17939 (atomic_add_zero): Likewise.
17941 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17943 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
17944 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
17946 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17948 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
17949 Check __x86_64__ instead of __WORDSIZE.
17951 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17953 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
17955 2012-03-19 David S. Miller <davem@davemloft.net>
17957 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17959 * sysdeps/sparc/fpu/fenv_private.h: New file.
17960 * sysdeps/sparc/fpu/math_private.h: Use it.
17961 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
17963 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
17964 (libc_feholdexcept_setroundl): Remove.
17965 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
17967 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
17968 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
17970 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17972 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
17973 int64_t instead of long int.
17974 (INSERT_WORDS64): Likwise.
17976 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17978 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
17979 _Unwind_GetCFA return to _Unwind_Ptr first.
17981 2012-03-19 Joseph Myers <joseph@codesourcery.com>
17984 * math/s_clog.c: Include <float.h>.
17985 (__clog): Scale large or subnormal inputs.
17986 * math/s_clogf.c: Likewise.
17987 * math/s_clogl.c: Likewise.
17988 * math/s_clog10.c: Include <float.h>.
17989 (M_LOG10_2): Define.
17990 (__clog10): Scale large or subnormal inputs.
17991 * math/s_clog10f.c: Likewise.
17992 * math/s_clog10l.c: Likewise.
17993 * math/libm-test.inc (clog_test): Add more tests.
17994 (clog10_test): Likewise.
17995 * sysdeps/i386/fpu/libm-test-ulps: Update.
17996 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17999 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
18001 * math/libm-test.inc (atan2_test): Add another test.
18003 * Makerules (common-objdir-compile): Remove.
18004 * sysdeps/unix/Makefile (config-generated): Do not add
18005 $(unix-generated) to variable.
18006 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
18007 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
18009 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
18011 [generic bits/local_lim.h] (before-compile): Do not append to
18013 [generic bits/local_lim.h] (common-generated): Likewise.
18014 [generic sys/param.h] (before-compile): Do not append to variable.
18015 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
18016 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
18017 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
18018 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
18020 [generic sys/param.h] (sys/param.h-includes): Remove variable.
18021 [generic sys/param.h] (sys/param.h-includes): Remove rule.
18022 [generic sys/param.h] ($(addprefix
18023 $(common-objpfx),$(sys/param.h-includes))): Likewise.
18024 [generic sys/param.h] (common-generated): Do not append to
18026 [generic sys/param.h] (sysdep_headers): Likewise.
18027 [generic bits/errno.h] (before-compile): Do not append to
18029 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
18031 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
18032 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
18033 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
18034 [generic bits/errno.h] (common-generated): Do not append to
18036 [generic bits/ioctls.h] (before-compile): Do not append to
18038 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
18040 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
18041 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
18042 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
18044 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
18045 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
18046 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
18047 [generic bits/ioctls.h] (common-generated): Do not append to
18049 [generic sys/syscall.h] (syscall.h): Remove variable.
18050 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
18052 [generic sys/syscall.h] (before-compile): Do not append to
18054 [generic sys/syscall.h] (common-generated): Likewise.
18055 * sysdeps/unix/errnos-tmpl.c: Remove file.
18056 * sysdeps/unix/errnos.awk: Likewise.
18057 * sysdeps/unix/ioctls-tmpl.c: Likewise.
18058 * sysdeps/unix/ioctls.awk: Likewise.
18059 * sysdeps/unix/mk-local_lim.c: Likewise.
18060 * sysdeps/unix/snarf-ioctls: Likewise.
18062 2012-03-19 Richard Henderson <rth@twiddle.net>
18064 * sysdeps/i386/fpu/fenv_private.h: New file.
18065 * sysdeps/i386/fpu/math_private.h: Use it.
18066 (math_opt_barrier, math_force_eval): Remove.
18067 (libc_feholdexcept_setround_53bit): Remove.
18068 (libc_feupdateenv_53bit): Remove.
18069 * sysdeps/x86_64/fpu/math_private.h: Likewise.
18070 (math_opt_barrier, math_force_eval): Remove.
18071 (libc_feholdexcept): Remove.
18072 (libc_feholdexcept_setround): Remove.
18073 (libc_fetestexcept, libc_fesetenv): Remove.
18074 (libc_feupdateenv_test): Remove.
18075 (libc_feupdateenv, libc_feholdsetround): Remove.
18076 (libc_feresetround): Remove.
18078 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
18079 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
18081 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
18082 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
18083 (libc_feupdateenv_testl): New.
18084 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
18085 (libc_feupdateenv_testf): New.
18086 (libc_feupdateenv): Use libc_feupdateenv_test.
18087 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
18088 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
18090 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
18091 (libc_feholdsetroundf, libc_feholdsetroundl): New.
18092 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
18093 (libc_feresetround_noex): New.
18094 (libc_feresetround_noexf): New.
18095 (libc_feresetround_noexl): New.
18096 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
18097 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
18098 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
18099 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
18101 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
18102 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
18104 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
18105 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
18106 SET_RESTORE_ROUND_NOEX.
18107 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
18108 SET_RESTORE_ROUND_NOEXF.
18109 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
18110 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
18111 (libc_feholdsetroundf): New.
18112 (libc_feresetround, libc_feresetroundf): New.
18114 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
18115 (libc_feholdexcept_setround_53bit): Convert from macro to function.
18116 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
18118 * sysdeps/generic/math_private.h: Include <fenv.h>.
18119 (default_libc_feholdexcept): New.
18120 (default_libc_feholdexcept_setround): New.
18121 (default_libc_fesetenv, default_libc_feupdateenv): New.
18122 (libc_feholdexcept): Only define if undefined.
18123 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
18124 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
18125 (libc_feholdexcept_setroundl): Likewise.
18126 (libc_feholdexcept_setround_53bit): Likewise.
18127 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
18128 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
18129 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
18130 (libc_feupdateenv_53bit): Likewise.
18131 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
18132 (libc_feholdexcept): Convert from macro to inline function.
18133 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
18134 (libc_fesetenv, libc_feupdateenv): Likewise.
18136 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
18137 not previously defined.
18138 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
18139 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
18140 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
18141 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
18142 * sysdeps/ieee754/flt-32/math_private.h: New file.
18143 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
18144 math_private.h below SET_FLOAT_WORD.
18145 (__isnan, __isinf_ns, __finite): Remove.
18146 (__isnanf, __isinf_nsf, __finitef): Remove.
18148 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
18150 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18152 2012-03-17 David S. Miller <davem@davemloft.net>
18155 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
18158 2012-03-16 David S. Miller <davem@davemloft.net>
18160 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
18164 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
18166 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
18167 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
18168 sysdep_routines when subdir is sysvipc.
18169 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
18170 __getshmlba helper.
18172 * sysdeps/sparc/fpu/libm-test/ulps: Update.
18174 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
18176 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
18179 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
18181 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
18182 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
18183 (__lround): Renamed to ...
18184 (__llround): This. Replace long int with long long int.
18185 Define lround functions as aliases of llround functions.
18186 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
18188 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
18190 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
18191 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
18192 adresses to uintptr_t. Replace "long int" and "unsigned long
18193 int" with "greg_t" on va_arg.
18195 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
18197 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
18198 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
18200 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
18201 Move e_machine check before EI_CLASS check. Handle x32
18202 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
18203 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
18204 SKIP_EM_IA_64 and include
18205 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
18207 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
18208 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
18209 (add_system_dir): New macro.
18211 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
18212 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
18214 2012-03-16 Joseph Myers <joseph@codesourcery.com>
18225 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
18227 * math/w_j0f.c (j0f): Likewise.
18229 * math/w_j0l.c (__j0l): Likewise.
18231 * math/w_j1.c (j1): Likewise.
18233 * math/w_j1f.c (j1f): Likewise.
18235 * math/w_j1l.c (__j1l): Likewise.
18237 * math/w_jn.c (jn): Likewise.
18239 * math/w_jnf.c (jnf): Likewise.
18241 * math/w_jnl.c (__jnl): Likewise.
18243 * math/libm-test.inc (j0_test): Add more tests.
18244 (j1_test): Likewise.
18245 (jn_test): Likewise. Add trailing semicolon to existing test.
18246 (y0_test): Likewise.
18247 (y1_test): Likewise.
18248 * sysdeps/i386/fpu/libm-test-ulps: Update.
18249 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18253 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
18254 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
18255 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
18256 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
18257 (__tanl): Set errno for infinite argument.
18258 * sysdeps/i386/fpu/mptan.c: Remove.
18259 * sysdeps/i386/fpu/s_tan.S: Likewise.
18260 * sysdeps/i386/fpu/s_tanl.S: Likewise.
18261 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
18262 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
18263 * math/libm-test.inc (tan_test): Add more tests and enable more
18264 tests for double and long double.
18265 * sysdeps/i386/fpu/libm-test-ulps: Update.
18266 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18268 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
18270 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
18271 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
18273 2012-03-16 Roland McGrath <roland@hack.frob.com>
18275 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
18276 * configure.in: Use it for both main tree and add-ons.
18277 * configure: Regenerated.
18279 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
18281 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
18283 2012-03-16 Joseph Myers <joseph@codesourcery.com>
18285 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
18289 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
18290 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
18291 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
18292 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
18293 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
18295 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
18296 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
18297 != 0 for prec == 2.
18298 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
18299 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
18300 * sysdeps/i386/fpu/s_cosl.S: Likewise.
18301 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
18302 * sysdeps/i386/fpu/s_sinl.S: Likewise.
18303 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
18304 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
18305 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
18306 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
18307 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
18308 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
18309 * math/libm-test.inc (cos_test): Add more tests and enable more
18310 tests for long double.
18311 (sin_test): Likewise.
18312 (sincos_test): Likewise.
18313 * sysdeps/i386/fpu/libm-test-ulps: Update.
18314 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18316 2012-03-16 David S. Miller <davem@davemloft.net>
18318 * sysdeps/sparc/fpu/math_private.h: New file.
18320 2012-03-15 David S. Miller <davem@davemloft.net>
18322 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
18324 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
18325 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
18327 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
18328 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
18329 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
18330 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
18331 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
18332 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
18334 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
18336 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
18337 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
18339 * sysdeps/sparc/sparc-ifunc.h: New file.
18340 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
18342 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
18343 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
18345 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
18347 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
18348 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
18349 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
18350 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
18352 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
18353 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
18354 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
18355 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
18356 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
18358 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
18360 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
18361 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
18362 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
18363 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
18364 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
18365 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
18366 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
18367 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
18368 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
18369 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
18370 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
18371 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
18372 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
18373 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
18374 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
18375 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
18376 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
18377 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
18378 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
18379 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
18380 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
18381 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
18382 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
18383 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
18385 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
18387 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
18389 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18391 2012-03-15 Andreas Jaeger <aj@suse.de>
18394 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
18395 ieee754/flt-32 implementation for sin, cos and sincos.
18396 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
18397 * sysdeps/i386/fpu/s_cosf.S: Likewise.
18398 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
18399 * sysdeps/i386/fpu/s_sinf.S: Likewise.
18400 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
18401 ieee754/flt-32 implementation for tan.
18403 * math/libm-test.inc (cos_test): Enable some large input tests for
18405 (sin_test): Likewise.
18406 (sincos_test): Likewise.
18407 (tan_test): Add tests for large input.
18409 * sysdeps/i386/fpu/libm-test-ulps: Update.
18411 2012-03-15 Andreas Jaeger <aj@suse.de>
18414 * math/libm-test.inc (cos_test): Add more test cases.
18415 (sin_test): Likewise.
18416 (sincos_test): Likewise.
18418 2012-03-15 Andreas Jaeger <aj@suse.de>
18421 * math/libm-test.inc (cos_test): Add a test case for large input
18423 (sin_test): Likewise.
18424 (sincos_test): Likewise.
18426 2012-03-15 Andreas Jaeger <aj@suse.de>,
18427 Joseph Myers <joseph@codesourcery.com>
18430 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
18431 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
18432 * sysdeps/i386/fpu/branred.c: Likewise.
18433 * sysdeps/i386/fpu/dosincos.c: Likewise.
18434 * sysdeps/i386/fpu/mpa.c: Likewise.
18435 * sysdeps/i386/fpu/s_cos.S: Likewise.
18436 * sysdeps/i386/fpu/s_sin.S: Likewise.
18437 * sysdeps/i386/fpu/s_sincos.S: Likewise.
18438 * sysdeps/i386/fpu/sincos32.c: Likewise.
18440 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
18442 (libc_feupdateenv_53bit): Define.
18443 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
18445 (libc_feupdateenv_53bit): Define.
18447 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
18448 53 bit (without extend i386 double precision).
18450 * math/libm-test.inc (sincos_test): Add tests for large input.
18454 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
18456 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
18458 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18460 2012-03-15 David S. Miller <davem@davemloft.net>
18462 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
18463 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
18464 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
18465 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
18466 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
18467 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
18468 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
18469 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
18470 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
18471 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
18472 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
18473 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
18474 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
18475 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
18476 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
18477 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
18479 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
18480 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
18482 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
18483 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
18485 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
18486 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
18488 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
18489 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
18490 fmin/fmax sysdep routines.
18491 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
18493 2012-03-14 David S. Miller <davem@davemloft.net>
18495 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
18496 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
18497 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
18498 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
18499 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
18500 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
18501 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
18502 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
18503 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
18504 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
18505 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
18506 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
18507 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
18508 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
18509 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
18510 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
18511 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
18512 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
18513 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
18514 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
18515 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
18516 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
18517 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
18518 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
18519 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
18520 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
18521 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
18522 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
18523 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
18525 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
18527 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
18528 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
18530 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
18531 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
18533 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
18534 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
18536 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
18537 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
18539 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
18540 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
18542 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
18544 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
18546 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
18548 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
18550 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
18552 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
18554 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
18555 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
18557 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
18558 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
18560 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
18561 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
18563 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
18564 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
18567 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
18570 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18572 * sysdeps/sparc/configure.in: New file.
18573 * sysdeps/sparc/configure: Generate.
18574 * configure.in (libc_cv_sparc_as_vis3): Substitute.
18575 * configure: Regenerate.
18576 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
18577 * config.make.in (have-as-vis3): New.
18578 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
18579 available use -Av9d instead of -Av9a.
18580 * sysdeps/sparc/sparc64/Makefile: Likewise.
18581 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
18582 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
18584 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
18586 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
18588 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
18590 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
18591 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
18592 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
18593 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
18594 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
18596 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
18597 fzeros/fnegs to load 0x80000000 into a float register instead of
18599 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
18601 2012-03-14 Joseph Myers <joseph@codesourcery.com>
18603 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18605 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
18606 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
18607 ($(inst_includedir)/bits/syscall.h): Remove rule.
18608 ($(objpfx)bits/syscall.d): Include instead of
18609 $(objpfx)syscall-list.d.
18610 (generated): Change syscall-list.h and syscall-list.d to
18611 bits/syscall.h and bits/syscall.d.
18613 2012-03-14 Roland McGrath <roland@hack.frob.com>
18616 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
18618 2012-03-14 Joseph Myers <joseph@codesourcery.com>
18621 * math/s_csqrt.c: Include <float.h>.
18622 (__csqrt): Scale large or subnormal inputs.
18623 * math/s_csqrtf.c: Likewise.
18624 * math/s_csqrtl.c: Likewise.
18625 * math/libm-test.inc (csqrt_test): Add more tests.
18626 * sysdeps/i386/fpu/libm-test-ulps: Update.
18627 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18630 * math/libm-test.inc (hypot_test): Add more tests.
18632 2012-03-13 David S. Miller <davem@davemloft.net>
18635 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
18636 double-precision for the calculation instead of scaling.
18638 2012-03-13 Joseph Myers <joseph@codesourcery.com>
18640 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
18641 manipulate bits before adding and subtracting TWO52[sx].
18642 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
18643 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
18645 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
18647 2012-03-13 David S. Miller <davem@davemloft.net>
18649 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
18650 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
18651 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
18652 rtld-global-offsets.h
18653 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
18655 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
18658 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
18660 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
18661 'err' in the ifdef scope in which it is actually used.
18663 * nss/nss_db/db-init.c: Include string.h
18665 2012-03-12 David S. Miller <davem@davemloft.net>
18667 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
18668 masking out of the most significant byte of random value used.
18669 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
18670 Fix coding style in previous change.
18672 * sysdeps/unix/sysv/linux/kernel-features.h
18673 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
18674 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
18676 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
18679 2012-03-11 David S. Miller <davem@davemloft.net>
18681 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
18682 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
18683 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
18684 for 'resultvar' otherwise things get truncated on 64-bit.
18686 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
18687 Fix masking out of the most significant byte of random value used.
18689 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18691 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
18693 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18695 2012-03-09 David S. Miller <davem@davemloft.net>
18697 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
18698 variables with appropriate CPP guards.
18699 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
18700 frame pointer, not the stack pointer. Correct layout comments. Fix test
18701 on resulting framesize and the management of the outregs buffer for pltexit.
18702 Preserve floating point return values across _dl_call_pltexit call.
18703 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
18704 framesize and the management of the outregs buffer for pltexit.
18705 Preserve floating point return values across _dl_call_pltexit
18707 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
18708 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
18709 (print_exit): Fix format string for return register value.
18711 2012-03-10 Joseph Myers <joseph@codesourcery.com>
18713 * sunrpc/Makefile (others): Add rpcgen.
18714 ($(objpfx)rpcgen): Remove special build rule and dependency on
18716 * sunrpc/rpcgen.c: New file.
18718 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
18721 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
18722 * stdio-common/bug-vfprintf-nargs.c: Likewise.
18723 * sysdeps/i386/crti.S: Likewise.
18724 * sysdeps/i386/crtn.S: Likewise.
18725 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
18726 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
18727 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
18728 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
18729 * sysdeps/sh/crti.S: Likewise.
18730 * sysdeps/sh/crtn.S: Likewise.
18731 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
18734 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
18736 * locale/programs/locfile-kw.gperf: Likewise.
18737 * locale/programs/charmap-kw.h: Regenerated.
18738 * locale/programs/locfile-kw.h: Likewise.
18741 * intl/plural.y: Replace FSF snail mail address with URL.
18742 * intl/plural.c: Regenerated.
18744 2012-03-09 Richard Henderson <rth@twiddle.net>
18746 * include/math_private.h: Remove file.
18747 * math/math_private.h: Move file ...
18748 * sysdeps/generic/math_private.h: ... here.
18750 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
18751 * sysdeps/powerpc/fpu/math_private.h: Likewise.
18752 * sysdeps/x86_64/fpu/math_private.h: Likewise.
18754 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
18755 and <math_private.h>.
18756 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
18757 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
18758 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
18759 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
18760 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
18761 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
18762 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
18763 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18764 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
18765 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
18766 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18767 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
18768 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
18769 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
18770 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
18771 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
18772 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
18773 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
18774 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
18775 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
18776 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18777 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
18778 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
18779 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18780 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
18781 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
18782 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
18783 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
18784 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18785 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
18786 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
18787 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
18788 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
18789 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
18790 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
18791 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
18792 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
18793 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
18794 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
18795 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
18796 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
18797 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
18798 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
18799 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
18800 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
18801 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
18802 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
18803 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
18804 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
18805 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
18806 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
18807 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
18808 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
18809 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
18810 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
18811 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
18812 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
18813 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
18814 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
18815 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
18816 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
18817 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
18818 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18819 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
18820 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
18821 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
18822 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
18823 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
18824 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
18825 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
18826 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
18827 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
18828 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
18829 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
18830 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
18831 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
18832 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
18833 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
18834 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
18835 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
18836 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
18837 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
18838 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
18839 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
18840 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
18841 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
18842 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
18843 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
18844 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
18845 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
18846 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
18847 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
18848 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
18849 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
18850 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
18851 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
18852 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
18853 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
18854 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
18855 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
18856 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
18857 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
18858 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
18859 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
18860 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
18861 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
18862 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
18863 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
18864 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
18865 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
18866 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
18867 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
18868 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
18869 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
18870 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
18871 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
18872 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
18873 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
18874 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
18875 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
18876 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
18877 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
18878 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
18879 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
18880 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
18881 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
18882 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
18883 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
18884 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
18885 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
18886 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
18887 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
18888 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
18889 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
18890 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
18891 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
18892 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
18893 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
18894 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
18895 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
18896 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
18897 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
18898 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
18899 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
18900 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
18901 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
18902 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
18903 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
18904 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
18905 * sysdeps/ieee754/k_standard.c: Likewise.
18906 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
18907 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
18908 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
18909 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
18910 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
18911 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
18912 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
18913 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
18914 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
18915 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
18916 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
18917 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
18918 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
18919 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
18920 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
18921 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
18922 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
18923 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
18924 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
18925 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
18926 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
18927 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
18928 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
18929 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
18930 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
18931 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
18932 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
18933 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
18934 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
18935 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
18936 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
18937 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
18938 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
18939 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
18940 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
18941 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
18942 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
18943 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
18944 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
18945 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
18946 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
18947 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
18948 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
18949 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
18950 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
18951 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
18952 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
18953 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
18954 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
18955 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
18956 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
18957 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
18958 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
18959 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
18960 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
18961 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
18962 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
18963 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
18964 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
18965 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
18966 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
18967 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
18968 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
18969 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
18970 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
18971 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
18972 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
18973 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
18974 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
18975 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
18976 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
18977 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
18978 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
18979 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
18980 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
18981 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
18982 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
18983 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
18984 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
18985 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
18986 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
18987 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
18988 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
18989 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
18990 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
18991 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
18992 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
18993 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
18994 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
18995 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
18996 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
18997 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
18998 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
18999 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
19000 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
19001 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
19002 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
19003 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
19004 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
19005 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
19006 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
19007 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
19008 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
19009 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
19010 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
19011 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
19012 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
19013 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
19014 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
19015 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
19016 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
19017 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
19018 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
19019 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
19020 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
19021 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
19022 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
19023 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
19024 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
19025 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
19026 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
19027 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
19028 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
19029 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
19030 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
19031 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
19032 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
19033 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
19034 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
19035 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
19036 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
19037 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
19038 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
19039 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
19040 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
19041 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
19042 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
19043 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
19044 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
19045 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
19046 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
19047 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
19048 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
19049 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
19050 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
19051 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
19052 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
19053 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
19054 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
19055 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
19056 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
19057 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
19058 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
19059 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
19060 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
19061 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
19062 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
19063 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
19064 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
19065 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
19066 * sysdeps/ieee754/s_lib_version.c: Likewise.
19067 * sysdeps/ieee754/s_matherr.c: Likewise.
19068 * sysdeps/ieee754/s_signgam.c: Likewise.
19069 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
19070 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
19071 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
19072 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
19073 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
19074 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
19075 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
19076 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
19077 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
19078 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
19079 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
19080 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
19081 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
19082 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
19083 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
19084 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
19085 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
19086 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
19087 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
19088 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
19089 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
19091 2012-03-09 Joseph Myers <joseph@codesourcery.com>
19093 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
19094 * sunrpc/rpc_main.c: Likewise.
19095 * sunrpc/rpc_svcout.c: Likewise.
19097 2012-03-09 David S. Miller <davem@davemloft.net>
19099 * include/math_private.h: New file.
19101 2012-03-09 Joseph Myers <joseph@codesourcery.com>
19103 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
19104 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
19105 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
19106 from <bits/socket_type.h>.
19107 (enum __socket_type): Don't define here.
19108 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
19109 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19110 bits/socket_type.h.
19113 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
19114 checking __USE_GNU.
19116 * Makerules ($(inst_includedir)/%.h): New rule.
19117 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
19118 (install-others): Remove variable setting.
19119 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
19121 2012-03-08 Richard Henderson <rth@twiddle.net>
19123 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
19124 from macro to inline function; merge with the
19125 !__LIBC_INTERNAL_MATH_INLINES version.
19126 (__ieee754_sqrtf): Likewise.
19128 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
19129 to inline function.
19130 (__rintf, __floor, __floorf): Likewise.
19132 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
19133 macro to inline function.
19134 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
19136 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
19137 not <math/math_private.h>.
19139 2012-03-08 David S. Miller <davem@davemloft.net>
19141 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
19143 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
19145 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
19147 * resolv/gai_misc.c (handle_requests): Fix struct timespec
19149 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
19150 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
19152 2012-03-08 Ulrich Drepper <drepper@gmail.com>
19154 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
19155 be defined individually, they must be defined as a block. Define
19156 S for printing a string instead of hidint the different by using a
19157 macro for adding the 'l'.
19158 * stdio-common/tst-fphex-wide.c: Adjust.
19160 2012-03-07 Marek Polacek <polacek@redhat.com>
19162 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
19164 2012-03-08 Marek Polacek <polacek@redhat.com>
19167 * stdio-common/Makefile (tests): Add tst-fphex-wide.
19168 * stdio-common/tst-fphex.c: Define a few macros to make the
19169 test reusable. Use them.
19170 * stdio-common/tst-fphex-wide.c: New file.
19172 2012-03-08 Joseph Myers <joseph@codesourcery.com>
19175 * manual/macros.texi (gnusystems): New macro.
19176 (nongnusystems): Likewise.
19177 (gnulinuxhurdsystems): Likewise.
19178 (gnuhurdsystems): Likewise..
19179 (gnulinuxsystems): Likewise.
19180 * manual/charset.texi: Use new macros or @theglibc{} to refer to
19181 variants of the GNU system, not "GNU system".
19182 * manual/conf.texi: Likewise.
19183 * manual/errno.texi: Likewise. Update example of errno macro
19185 * manual/filesys.texi: Likewise.
19186 (getumask): Document as specific to GNU/Hurd.
19187 * manual/install.texi: Likewise. Reword some references to
19189 * manual/intro.texi: Likewise.
19190 * manual/io.texi: Likewise.
19191 (File Name Portability): Detail which constraints are inapplicable
19192 to all GNU systems and which are only inapplicable to GNU/Hurd.
19193 * manual/job.texi: Likewise.
19194 * manual/llio.texi: Likewise.
19195 (O_NOCTTY): Document as present on GNU/Linux.
19196 * manual/maint.texi: Likewise.
19197 * manual/memory.texi: Likewise.
19198 * manual/pattern.texi: Likewise.
19199 * manual/pipe.texi: Likewise.
19200 * manual/process.texi: Likewise.
19201 * manual/resource.texi: Likewise.
19202 (RUSAGE_CHILDREN): Remove statement about specifying a particular
19204 * manual/setjmp.texi: Likewise.
19205 * manual/signal.texi: Likewise.
19206 * manual/startup.texi: Likewise.
19207 * manual/stdio.texi: Likewise.
19208 * manual/terminal.texi: Likewise.
19209 (ONLCR): Document as POSIX.
19210 (OXTABS): Document availability on GNU/Linux as XTABS.
19211 (ONOEOT): Document availability separately from other bits.
19212 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
19213 * manual/time.texi: Likewise.
19214 * manual/users.texi: Likewise.
19215 * INSTALL: Regenerated.
19216 * sysdeps/gnu/errlist.c: Regenerated.
19218 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
19219 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
19220 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
19222 * configure: Regenerated.
19224 2012-03-07 Joseph Myers <joseph@codesourcery.com>
19226 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
19227 default includes instead of AC_HEADER_CHECK.
19228 * sysdeps/i386/configure: Regenerated.
19231 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
19232 * math/s_cacoshf.c (__cacoshf): Likewise.
19233 * math/s_cacoshl.c (__cacoshl): Likewise.
19234 * math/s_casinh.c (__casinh): Set signs of result from argument.
19235 * math/s_casinhf.c (__casinhf): Likewise.
19236 * math/s_casinhl.c (__casinhl): Likewise.
19237 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
19238 (casinh_test): Add more tests.
19239 * sysdeps/i386/fpu/libm-test-ulps: Update.
19240 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19242 2012-03-07 Ulrich Drepper <drepper@gmail.com>
19244 * po/zh_TW.po: Update from translation team.
19246 * login/Makefile (distribute): Remove variable.
19247 * catgets/Makefile: Likewise.
19248 * mach/Makefile: Likewise.
19249 * malloc/Makefile: Likewise.
19250 * misc/Makefile: Likewise.
19251 * iconv/Makefile: Likewise.
19252 * nscd/Makefile: Likewise.
19253 * hurd/Makefile: Likewise.
19254 * manual/Makefile: Likewise.
19255 * locale/Makefile: Likewise.
19256 * intl/Makefile: Likewise.
19257 * conform/Makefile: Likewise.
19258 * nss/Makefile: Likewise.
19259 * time/Makefile: Likewise.
19260 * soft-fp/Makefile: Likewise.
19261 * dirent/Makefile: Likewise.
19262 * gmon/Makefile: Likewise.
19263 * po/Makefile: Likewise.
19264 * rt/Makefile: Likewise.
19265 * socket/Makefile: Likewise.
19266 * math/Makefile: Likewise.
19267 * signal/Makefile: Likewise.
19268 * debug/Makefile: Likewise.
19269 * elf/Makefile: Likewise.
19270 * timezone/Makefile: Likewise.
19271 * stdlib/Makefile: Likewise.
19272 * iconvdata/Makefile: Likewise.
19273 * sunrpc/Makefile: Likewise.
19274 * io/Makefile: Likewise.
19275 * argp/Makefile: Likewise.
19276 * inet/Makefile: Likewise.
19277 * hesiod/Makefile: Likewise.
19278 * grp/Makefile: Likewise.
19279 * csu/Makefile: Likewise.
19280 * wctype/Makefile: Likewise.
19281 * crypt/Makefile: Likewise.
19282 * libio/Makefile: Likewise.
19283 * string/Makefile: Likewise.
19284 * nis/Makefile: Likewise.
19285 * resolv/Makefile: Likewise.
19286 * stdio-common/Makefile: Likewise.
19287 * wcsmbs/Makefile: Likewise.
19288 * dlfcn/Makefile: Likewise.
19289 * posix/Makefile: Likewise.
19292 * timezone/Makefile: Don't install timezone files, just the programs
19295 2012-03-06 Ulrich Drepper <drepper@gmail.com>
19297 * nss/databases.def: Add missing gshadow entry.
19299 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
19301 2012-03-06 Marek Polacek <polacek@redhat.com>
19304 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
19305 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
19306 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
19307 * stdio-common/tst-long-dbl-fphex.c: New file.
19309 2012-03-06 David S. Miller <davem@davemloft.net>
19311 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
19312 (set_obp_int): New function.
19313 (get_obp_int): New function.
19314 (__get_clockfreq_via_dev_openprom): Likewise.
19315 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
19316 Avoid unused variable warnings on 'val' and use builtin_expect.
19317 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
19319 (INLINE_CLONE_SYSCALL): Likewise.
19321 2012-03-05 David S. Miller <davem@davemloft.net>
19323 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19325 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
19327 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19329 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
19330 only for |x| >= 40.
19331 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
19333 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
19335 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
19336 Replace gettimeofday with __vdso_gettimeofday.
19338 * sysdeps/unix/sysv/linux/x86_64/init-first.c
19339 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
19340 __vdso_clock_gettime and __vdso_getcpu.
19342 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
19343 time with __vdso_time.
19345 2012-03-05 Joseph Myers <joseph@codesourcery.com>
19347 * manual/lang.texi (size_t): Note types to which size_t may be
19348 equivalent with the GNU C Library, but do not describe when
19349 differences between them are significant.
19351 2012-03-05 Andreas Jaeger <aj@suse.de>
19353 * sysdeps/i386/fpu/libm-test-ulps: Update.
19355 2012-03-05 Joseph Myers <joseph@codesourcery.com>
19358 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
19359 (__ieee754_pow): Save and restore rounding mode and use
19360 round-to-nearest for main computations.
19361 * math/libm-test.inc (pow_test_tonearest): New function.
19362 (pow_test_towardzero): Likewise.
19363 (pow_test_downward): Likewise.
19364 (pow_test_upward): Likewise.
19365 (main): Call the new functions.
19366 * sysdeps/i386/fpu/libm-test-ulps: Update.
19367 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19370 * math/libm-test.inc (cosh_test_tonearest): New function.
19371 (cosh_test_towardzero): Likewise.
19372 (cosh_test_downward): Likewise.
19373 (cosh_test_upward): Likewise.
19374 (sinh_test_tonearest): Likewise.
19375 (sinh_test_towardzero): Likewise.
19376 (sinh_test_downward): Likewise.
19377 (sinh_test_upward): Likewise.
19378 (main): Call the new functions.
19379 * sysdeps/i386/fpu/libm-test-ulps: Update.
19380 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19382 2012-03-05 Tom de Vries <tom@codesourcery.com>
19384 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
19385 default stack guard is set in last bytes.
19386 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
19388 2012-03-05 Kees Cook <keescook@chromium.org>
19390 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
19393 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
19394 possibly allocate from heap instead of stack.
19395 * stdio-common/bug-vfprintf-nargs.c: New file.
19396 * stdio-common/Makefile (tests): Add nargs overflow test.
19398 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
19400 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19402 2012-03-03 Marek Polacek <polacek@redhat.com>
19404 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
19405 * math/math_private.h: Likewise.
19406 * stdlib/tst-strtod.c: Likewise.
19407 * sysdeps/i386/i486/bits/atomic.h: Likewise.
19408 * sysdeps/x86_64/bits/atomic.h: Likewise.
19410 2012-03-02 David S. Miller <davem@davemloft.net>
19412 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
19413 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
19414 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
19415 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
19416 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
19417 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
19418 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
19419 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
19421 2012-03-02 Roland McGrath <roland@hack.frob.com>
19424 * manual/examples/README: New file, says the example source files
19425 can be used under GPL>=2.
19426 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
19427 line containing just "*/".
19428 * manual/examples/add.c: Add copyright header (GPL>=2).
19429 * manual/examples/argp-ex1.c: Likewise.
19430 * manual/examples/argp-ex2.c: Likewise.
19431 * manual/examples/argp-ex3.c: Likewise.
19432 * manual/examples/argp-ex4.c: Likewise.
19433 * manual/examples/atexit.c: Likewise.
19434 * manual/examples/db.c: Likewise.
19435 * manual/examples/dir.c: Likewise.
19436 * manual/examples/dir2.c: Likewise.
19437 * manual/examples/execinfo.c: Likewise.
19438 * manual/examples/filecli.c: Likewise.
19439 * manual/examples/filesrv.c: Likewise.
19440 * manual/examples/fmtmsgexpl.c: Likewise.
19441 * manual/examples/genpass.c: Likewise.
19442 * manual/examples/inetcli.c: Likewise.
19443 * manual/examples/inetsrv.c: Likewise.
19444 * manual/examples/isockad.c: Likewise.
19445 * manual/examples/longopt.c: Likewise.
19446 * manual/examples/memopen.c: Likewise.
19447 * manual/examples/memstrm.c: Likewise.
19448 * manual/examples/mkfsock.c: Likewise.
19449 * manual/examples/mkisock.c: Likewise.
19450 * manual/examples/mygetpass.c: Likewise.
19451 * manual/examples/pipe.c: Likewise.
19452 * manual/examples/popen.c: Likewise.
19453 * manual/examples/rprintf.c: Likewise.
19454 * manual/examples/search.c: Likewise.
19455 * manual/examples/select.c: Likewise.
19456 * manual/examples/setjmp.c: Likewise.
19457 * manual/examples/sigh1.c: Likewise.
19458 * manual/examples/sigusr.c: Likewise.
19459 * manual/examples/stpcpy.c: Likewise.
19460 * manual/examples/strdupa.c: Likewise.
19461 * manual/examples/strftim.c: Likewise.
19462 * manual/examples/strncat.c: Likewise.
19463 * manual/examples/subopt.c: Likewise.
19464 * manual/examples/swapcontext.c: Likewise.
19465 * manual/examples/termios.c: Likewise.
19466 * manual/examples/testopt.c: Likewise.
19467 * manual/examples/testpass.c: Likewise.
19468 * manual/examples/timeval_subtract.c: Likewise.
19471 * manual/time.texi (Elapsed Time): Move timeval_subtract example
19473 * manual/timeval_subtract.c.texi: ... here, new file.
19475 2012-03-02 David S. Miller <davem@davemloft.net>
19477 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
19479 2012-03-02 Joseph Myers <joseph@codesourcery.com>
19482 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
19483 (__sin): Save and restore rounding mode and use round-to-nearest
19484 for all computations.
19485 (__cos): Save and restore rounding mode and use round-to-nearest
19486 for all computations.
19487 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
19489 (tan): Save and restore rounding mode and use round-to-nearest for
19491 * math/libm-test.inc (cos_test_tonearest): New function.
19492 (cos_test_towardzero): Likewise.
19493 (cos_test_downward): Likewise.
19494 (cos_test_upward): Likewise.
19495 (sin_test_tonearest): Likewise.
19496 (sin_test_towardzero): Likewise.
19497 (sin_test_downward): Likewise.
19498 (sin_test_upward): Likewise.
19499 (tan_test_tonearest): Likewise.
19500 (tan_test_towardzero): Likewise.
19501 (tan_test_downward): Likewise.
19502 (tan_test_upward): Likewise.
19503 (main): Call the new functions.
19504 * sysdeps/i386/fpu/libm-test-ulps: Update.
19505 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19508 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
19509 small n, then large n, before computing and testing k+n.
19510 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
19511 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
19513 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
19515 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
19516 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
19517 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
19518 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
19519 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
19520 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
19521 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
19522 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
19523 * math/libm-test.inc (scalbn_test): Add more tests.
19524 (scalbln_test): Likewise.
19526 * manual/filesys.texi (mode_t): Describe constraints on size and
19527 signedness, not exact equivalence to a particular type.
19529 (ino64_t): Likewise.
19531 (nlink_t): Likewise.
19532 (blkcnt_t): Likewise.
19533 (blkcnt64_t): Likewise.
19534 * manual/llio.texi (off_t): Likewise.
19537 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
19538 (__ieee754_exp): Save and restore rounding mode and use
19539 round-to-nearest for all computations.
19540 * math/libm-test.inc (exp_test_tonearest): New function.
19541 (exp_test_towardzero): Likewise.
19542 (exp_test_downward): Likewise.
19543 (exp_test_upward): Likewise.
19544 (main): Call the new functions.
19545 * sysdeps/i386/fpu/libm-test-ulps: Update.
19546 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19548 2012-03-01 Chris Demetriou <cgd@google.com>
19550 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
19551 have predictable order.
19553 2012-03-01 David S. Miller <davem@davemloft.net>
19555 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
19557 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
19558 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
19559 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
19560 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
19562 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
19563 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
19564 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
19565 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
19566 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
19567 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
19568 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
19569 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
19570 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
19572 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19574 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
19575 * sysdeps/sparc/fpu/libm-test-ulps: to here.
19576 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
19578 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
19579 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
19580 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
19581 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
19582 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
19583 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
19584 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
19585 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
19586 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
19587 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
19588 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
19589 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
19590 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
19591 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
19592 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
19593 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
19594 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
19595 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
19596 * sysdeps/sparc/elf/configure: Regenerated.
19598 2012-03-01 Joseph Myers <joseph@codesourcery.com>
19600 * configure.in (AS, LD): Require binutils 2.20 or later.
19601 * configure: Regenerated.
19602 * manual/install.texi (Tools for Compilation): Give binutils 2.20
19603 as required minimum version.
19604 * INSTALL: Regenerated.
19608 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
19609 before squaring exponent.
19610 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
19611 bottom long double and 27 bits of top long double before squaring
19613 * math/libm-test.inc (erfc_test): Add more tests.
19614 * sysdeps/i386/fpu/libm-test-ulps: Update.
19615 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19616 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19618 2012-03-01 Kai Tietz <ktietz@redhat.com>
19620 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
19621 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
19622 containing bit-fields.
19623 * soft-fp/extended.h (_FP_UNION_E): Likewise.
19624 * soft-fp/single.h (_FP_UNION_S): Likewise.
19625 * soft-fp/double.h (_FP_UNION_D): Likewise.
19627 2012-02-29 Joseph Myers <joseph@codesourcery.com>
19630 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
19631 not include ../strcmp.S.
19632 [USE_AS_STRNCASECMP_L]: Likewise.
19633 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
19634 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
19635 * sysdeps/i386/i686/multiarch/strncase_l-c.c
19636 (__strncasecmp_l_ia32): Define as alias to
19637 __strncasecmp_l_nonascii.
19640 * math/libm-test.inc (expm1_test): Add test for bug 5794.
19641 * sysdeps/i386/fpu/libm-test-ulps: Update.
19642 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19644 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
19645 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19647 2012-02-29 Jeff Law <law@redhat.com>
19649 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
19650 out of bounds read.
19652 2012-02-29 Marek Polacek <polacek@redhat.com>
19655 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
19656 * elf/Makefile: Add rules to run tst-unused-dep.out.
19658 2012-02-28 David S. Miller <davem@davemloft.net>
19660 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
19661 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
19662 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
19663 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
19664 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
19665 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
19667 2012-02-29 Joseph Myers <joseph@codesourcery.com>
19669 * math/libm-test.inc (llround_test): Move one test from
19670 lround_test. Use TEST_f_L in moved test.
19671 (lround_test): Move misplaced test to llround_test. Add testcase
19674 2012-02-28 Ulrich Drepper <drepper@gmail.com>
19676 * sysdeps/x86_64/fpu/e_expf.S: New file.
19677 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
19679 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
19682 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
19683 of remain_len that may cause incomplete multi-byte character and
19685 * posix/bug-regex33.c: New file.
19686 * posix/Makefile (tests): Add bug-regex33.
19688 2012-02-28 Joseph Myers <joseph@codesourcery.com>
19690 * manual/macros.texi: New file.
19691 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
19692 * manual/libc.texinfo: Include macros.texi.
19693 * manual/creatute.texi: Likewise.
19694 * manual/install.texi: Likewise.
19695 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
19696 @glibcadj{} in references to the GNU C Library.
19697 * manual/charset.texi: Likewise.
19698 * manual/conf.texi: Likewise.
19699 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
19700 when not using those macros.
19701 * manual/creature.texi: Likewise.
19702 * manual/crypt.texi: Likewise.
19703 * manual/errno.texi: Likewise.
19704 * manual/filesys.texi: Likewise.
19705 * manual/header.texi: Likewise.
19706 * manual/install.texi: Likewise.
19707 * manual/intro.texi: Likewise.
19708 * manual/io.texi: Likewise.
19709 * manual/job.texi: Likewise.
19710 * manual/lang.texi: Likewise.
19711 * manual/libc.texiinfo: Likewise.
19712 * manual/llio.texi: Likewise.
19713 * manual/locale.texi: Likewise.
19714 * manual/maint.texi: Likewise.
19715 * manual/math.texi: Likewise.
19716 * manual/memory.texi: Likewise.
19717 * manual/message.texi: Likewise.
19718 * manual/nss.texi: Likewise.
19719 * manual/pattern.texi: Likewise.
19720 * manual/process.texi: Likewise.
19721 * manual/resource.texi: Likewise.
19722 * manual/search.texi: Likewise.
19723 * manual/setjmp.texi: Likewise.
19724 * manual/signal.texi: Likewise.
19725 * manual/socket.texi: Likewise.
19726 * manual/startup.texi: Likewise.
19727 * manual/stdio.texi: Likewise.
19728 * manual/string.texi: Likewise.
19729 * manual/sysinfo.texi: Likewise.
19730 * manual/syslog.texi: Likewise.
19731 * manual/terminal.texi: Likewise.
19732 * manual/time.texi: Likewise.
19733 * manual/users.texi: Likewise.
19734 * INSTALL: Regenerated.
19735 * NOTES: Regenerated.
19736 * sysdeps/gnu/errlist.c: Regenerated.
19738 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
19740 * include/dirent.h: Include <dirstream.h> before
19743 2012-02-28 David S. Miller <davem@davemloft.net>
19745 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
19746 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
19747 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
19748 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
19750 2012-02-27 David S. Miller <davem@davemloft.net>
19752 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
19753 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
19754 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
19755 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
19757 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
19758 frame pointer instead of stack pointer relative arg slot.
19759 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
19760 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
19761 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
19763 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
19766 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
19768 2012-02-27 David S. Miller <davem@davemloft.net>
19770 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
19771 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
19772 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
19773 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
19774 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
19775 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
19776 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
19777 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
19779 2012-02-27 Joseph Myers <joseph@codesourcery.com>
19781 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
19782 later. Allow versions 5-9.
19783 * configure: Regenerated.
19784 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
19785 required minimum version and 4.6 as recommended version. Do not
19786 mention bugs in GCC 2.7 and 2.8.
19787 * INSTALL: Regenerated.
19789 2012-02-27 David S. Miller <davem@davemloft.net>
19791 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
19792 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
19793 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
19794 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
19795 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
19796 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
19797 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
19798 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
19800 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
19801 manipulate bits before adding and subtracting TWO112[sx].
19802 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
19804 2012-02-27 Roland McGrath <roland@hack.frob.com>
19807 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
19808 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
19809 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
19810 being in POSIX, because they are in 1003.1-2008.
19812 * rt/tst-aio.c: Include <fcntl.h>.
19813 * rt/tst-aio7.c: Likewise.
19814 * rt/tst-aio64.c: Likewise.
19816 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
19818 2012-02-27 Joseph Myers <joseph@codesourcery.com>
19820 * manual/install.texi (--with-headers): Describe headers as
19821 interface headers, not private headers.
19822 (Specific advice for GNU/Linux systems): Describe use of headers
19823 from "make headers_install", not private headers from older
19825 * INSTALL: Regenerated.
19826 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
19828 * sysdeps/unix/sysv/linux/configure: Regenerated.
19830 * manual/llio.texi (fclean): Remove documentation.
19832 * manual/Makefile (libc-texi-generated): New variable. Include
19834 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
19835 $(libc-texi-generated), not duplicated list of files.
19836 (version.texi, stamp-version): New rules.
19837 (realclean): Remove $(libc-texi-generated), not individual files
19838 from that list. Do not remove dir-add.texinfo.
19839 * manual/libc.texinfo: Comment out uses of edition numbers and
19840 references to printed manual. Remove last-updated dates.
19841 (EDITION): Comment out.
19843 (VERSION, UPDATED): Remove.
19844 (version.texi): Include.
19846 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
19848 * sysdeps/posix/spawni.c: Include <signal.h>.
19849 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
19850 * sysdeps/pthread/aio_fsync.c: Likewise.
19852 2012-02-26 Ulrich Drepper <drepper@gmail.com>
19854 * conform/Makefile (tests): Run only when not cross-compiling and
19855 when fast-check is not defined.
19857 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
19858 * conform/data/limits.h-data: Fixes for POSIX2008.
19859 * conform/run-conformtest.sh: Run all tests.
19860 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
19862 * include/bits/dlfcn.h: Likewise.
19863 * include/langinfo.h: Likewise.
19864 * include/monetary.h: Likewise.
19865 * include/sys/poll.h: Likewise.
19867 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
19869 * posix/spawn.h: Define __need_sigset_t.
19870 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
19871 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
19872 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
19873 to get sigevent_t only.
19874 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
19875 only for __USE_GNU.
19876 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
19877 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
19878 process_vm_writev only for __USE_GNU.
19879 * termios/termios.h: Declare tcgetsid also for POSIX2008.
19881 * conform/Makefile: For now ignore errors from run-conformtest.
19882 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
19883 POSIX to avoid namespace pollution. Don't prepend headers.
19884 * conform/data/aio.h-data: Fixes for POSIX testing.
19885 * conform/data/fcntl.h-data: Likewise.
19886 * conform/data/glob.h-data: Likewise.
19887 * conform/data/grp.h-data: Likewise.
19888 * conform/data/pthread.h-data: Likewise.
19889 * conform/data/pwd.h-data: Likewise.
19890 * conform/data/signal.h-data: Likewise.
19891 * conform/data/spawn.h-data: Likewise.
19892 * conform/data/stdio.h-data: Likewise.
19893 * conform/data/stdlib.h-data: Likewise.
19894 * conform/data/stropts.h-data: Likewise.
19895 * conform/data/sys/mman.h-data: Likewise.
19896 * conform/data/sys/stat.h-data: Likewise.
19897 * conform/data/sys/types.h-data: Likewise.
19898 * conform/data/sys/wait.h-data: Likewise.
19899 * conform/data/time.h-data: Likewise.
19900 * conform/data/unistd.h-data: Likewise.
19901 * conform/data/utime.h-data: Likewise.
19903 * io/sys/stat.h: fchmod was always in POSIX.
19904 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
19905 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
19906 * rt/aio.h: Define __need_timespec before including <time.h>.
19907 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
19908 struct. Add forward declaration of pthread_attr_t and use it in
19910 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
19911 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
19912 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
19913 always remove CLK_TCK definition.
19915 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
19917 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
19919 2012-02-25 Ulrich Drepper <drepper@gmail.com>
19921 * conform/run-conformtest.sh: New file.
19922 * conform/Makefile: Run run-conformtest for tests.
19923 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
19926 * conform/data/uchar.h-data: New file.
19927 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
19928 * conform/data/arpa/inet.h-data: Likewise.
19929 * conform/data/assert.h-data: Likewise.
19930 * conform/data/complex.h-data: Likewise.
19931 * conform/data/cpio.h-data: Likewise.
19932 * conform/data/ctype.h-data: Likewise.
19933 * conform/data/dirent.h-data: Likewise.
19934 * conform/data/dlfcn.h-data: Likewise.
19935 * conform/data/errno.h-data: Likewise.
19936 * conform/data/fcntl.h-data: Likewise.
19937 * conform/data/float.h-data: Likewise.
19938 * conform/data/fmtmsg.h-data: Likewise.
19939 * conform/data/fnmatch.h-data: Likewise.
19940 * conform/data/ftw.h-data: Likewise.
19941 * conform/data/glob.h-data: Likewise.
19942 * conform/data/grp.h-data: Likewise.
19943 * conform/data/iconv.h-data: Likewise.
19944 * conform/data/inttypes.h-data: Likewise.
19945 * conform/data/langinfo.h-data: Likewise.
19946 * conform/data/libgen.h-data: Likewise.
19947 * conform/data/limits.h-data: Likewise.
19948 * conform/data/locale.h-data: Likewise.
19949 * conform/data/math.h-data: Likewise.
19950 * conform/data/monetary.h-data: Likewise.
19951 * conform/data/mqueue.h-data: Likewise.
19952 * conform/data/ndbm.h-data: Likewise.
19953 * conform/data/net/if.h-data: Likewise.
19954 * conform/data/netdb.h-data: Likewise.
19955 * conform/data/netinet/in.h-data: Likewise.
19956 * conform/data/nl_types.h-data: Likewise.
19957 * conform/data/poll.h-data: Likewise.
19958 * conform/data/pthread.h-data: Likewise.
19959 * conform/data/pwd.h-data: Likewise.
19960 * conform/data/regex.h-data: Likewise.
19961 * conform/data/sched.h-data: Likewise.
19962 * conform/data/search.h-data: Likewise.
19963 * conform/data/semaphore.h-data: Likewise.
19964 * conform/data/setjmp.h-data: Likewise.
19965 * conform/data/signal.h-data: Likewise.
19966 * conform/data/spawn.h-data: Likewise.
19967 * conform/data/stdarg.h-data: Likewise.
19968 * conform/data/stdio.h-data: Likewise.
19969 * conform/data/stdlib.h-data: Likewise.
19970 * conform/data/string.h-data: Likewise.
19971 * conform/data/strings.h-data: Likewise.
19972 * conform/data/stropts.h-data: Likewise.
19973 * conform/data/sys/ipc.h-data: Likewise.
19974 * conform/data/sys/mman.h-data: Likewise.
19975 * conform/data/sys/msg.h-data: Likewise.
19976 * conform/data/sys/resource.h-data: Likewise.
19977 * conform/data/sys/select.h-data: Likewise.
19978 * conform/data/sys/sem.h-data: Likewise.
19979 * conform/data/sys/shm.h-data: Likewise.
19980 * conform/data/sys/socket.h-data: Likewise.
19981 * conform/data/sys/stat.h-data: Likewise.
19982 * conform/data/sys/statvfs.h-data: Likewise.
19983 * conform/data/sys/time.h-data: Likewise.
19984 * conform/data/sys/timeb.h-data: Likewise.
19985 * conform/data/sys/times.h-data: Likewise.
19986 * conform/data/sys/types.h-data: Likewise.
19987 * conform/data/sys/uio.h-data: Likewise.
19988 * conform/data/sys/un.h-data: Likewise.
19989 * conform/data/sys/utsname.h-data: Likewise.
19990 * conform/data/sys/wait.h-data: Likewise.
19991 * conform/data/syslog.h-data: Likewise.
19992 * conform/data/tar.h-data: Likewise.
19993 * conform/data/termios.h-data: Likewise.
19994 * conform/data/utime.h-data: Likewise.
19995 * conform/data/utmpx.h-data: Likewise.
19996 * conform/data/varargs.h-data: Likewise.
19997 * conform/data/wchar.h-data: Likewise.
19998 * conform/data/wctype.h-data: Likewise.
19999 * conform/data/wordexp.h-data: Likewise.
20001 * include/stropts.h: New file.
20002 * include/uchar.h: New file.
20003 * include/aio.h: Changes to allow conformtest.pl to use the headers.
20004 * include/assert.h: Likewise.
20005 * include/ctype.h: Likewise.
20006 * include/dirent.h: Likewise.
20007 * include/dlfcn.h: Likewise.
20008 * include/fcntl.h: Likewise.
20009 * include/fnmatch.h: Likewise.
20010 * include/glob.h: Likewise.
20011 * include/grp.h: Likewise.
20012 * include/libio.h: Likewise.
20013 * include/locale.h: Likewise.
20014 * include/math.h: Likewise.
20015 * include/net/if.h: Likewise.
20016 * include/netdb.h: Likewise.
20017 * include/netinet/in.h: Likewise.
20018 * include/pthread.h: Likewise.
20019 * include/pwd.h: Likewise.
20020 * include/regex.h: Likewise.
20021 * include/sched.h: Likewise.
20022 * include/search.h: Likewise.
20023 * include/setjmp.h: Likewise.
20024 * include/signal.h: Likewise.
20025 * include/stdio.h: Likewise.
20026 * include/stdlib.h: Likewise.
20027 * include/string.h: Likewise.
20028 * include/sys/cdefs.h: Likewise.
20029 * include/sys/mman.h: Likewise.
20030 * include/sys/msg.h: Likewise.
20031 * include/sys/resource.h: Likewise.
20032 * include/sys/select.h: Likewise.
20033 * include/sys/socket.h: Likewise.
20034 * include/sys/stat.h: Likewise.
20035 * include/sys/statvfs.h: Likewise.
20036 * include/sys/time.h: Likewise.
20037 * include/sys/times.h: Likewise.
20038 * include/sys/uio.h: Likewise.
20039 * include/sys/utsname.h: Likewise.
20040 * include/sys/wait.h: Likewise.
20041 * include/termios.h: Likewise.
20042 * include/time.h: Likewise.
20043 * include/ulimit.h: Likewise.
20044 * include/unistd.h: Likewise.
20045 * include/utime.h: Likewise.
20046 * include/wchar.h: Likewise.
20047 * include/wctype.h: Likewise.
20048 * include/wordexp.h: Likewise.
20050 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
20052 * time/time.h: TIME_UTC must be a macro.
20053 Make timespec_get available for ISO C11 only as well.
20055 2012-02-24 Ulrich Drepper <drepper@gmail.com>
20057 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
20058 Reported by Peng Haitao <penght@cn.fujitsu.com>.
20060 2012-02-24 Joseph Myers <joseph@codesourcery.com>
20062 * configure.in: Use -o not -a in test for unsupported multi-arch.
20064 2012-02-24 Joseph Myers <joseph@codesourcery.com>
20066 * manual/texinfo.tex: Update to version 2012-01-19.16.
20068 2012-02-24 Joseph Myers <joseph@codesourcery.com>
20070 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
20072 2012-02-24 Roland McGrath <roland@hack.frob.com>
20075 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
20076 * manual/fdl-1.3.texi: New file.
20077 * manual/fdl-1.1.texi: File removed.
20080 * manual/libc.texinfo (FDL_VERSION): New @set.
20081 Use it for mention of FDL in cover text.
20082 (Documentation License): Use it in @include file name.
20084 2012-02-22 Joseph Myers <joseph@codesourcery.com>
20085 Roland McGrath <roland@hack.frob.com>
20088 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
20089 not LONG_LONG_MAX and LONG_LONG_MIN.
20090 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
20091 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
20093 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
20095 2012-02-22 Joseph Myers <joseph@codesourcery.com>
20099 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
20100 manipulate bits before adding and subtracting TWO23[sx].
20101 * math/libm-test.inc (nearbyint_test): Add more tests.
20103 2012-02-22 Joseph Myers <joseph@codesourcery.com>
20106 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
20107 bits before adding and subtracting TWO23[sx].
20108 * math/libm-test.inc (rint_test): Add more tests.
20109 (rint_test_tonearest): Likewise.
20110 (rint_test_towardzero): Likewise.
20111 (rint_test_downward): Likewise.
20112 (rint_test_upward: Likewise.
20114 2012-02-22 Joseph Myers <joseph@codesourcery.com>
20117 * include/stdc-predef.h: New file. Extracted from features.h.
20118 * include/features.h: Include stdc-predef.h.
20119 * Makefile (headers): Add stdc-predef.h.
20120 * CONFORMANCE (Compiler limitations): Update.
20122 2012-02-22 Joseph Myers <joseph@codesourcery.com>
20124 * manual/libc.texinfo (VERSION, UPDATED): Revert.
20126 2012-02-21 David S. Miller <davem@davemloft.net>
20128 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
20129 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
20131 2012-02-20 David S. Miller <davem@davemloft.net>
20133 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
20134 using a normal save/restore sequence, rather than allocating a
20135 dummy stack frame just to store a frame pointer and restore.
20136 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
20138 2012-02-21 Joseph Myers <joseph@codesourcery.com>
20140 * manual/install.texi: Fix stray word in line-wrapped comment.
20142 2012-02-20 David S. Miller <davem@davemloft.net>
20144 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
20145 both binutils and gcc support GOTDATA.
20147 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
20148 "rd %pc" in the PIC register setup sequences.
20150 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
20151 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
20152 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
20153 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
20154 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
20155 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
20156 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
20157 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
20158 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
20159 (SYSCALL_ERROR_HANDLER): Likewise.
20160 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
20161 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
20162 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
20163 (SYSCALL_ERROR_HANDLER): Likewise.
20165 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
20166 (HAVE_GCC_GOTDATA): New.
20167 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
20168 relocation support in both binutils and gcc.
20169 * sysdeps/sparc/elf/configure: Regenerate.
20171 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
20172 * sysdeps/sparc/sparc32/elf/configure: Delete.
20173 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
20174 * sysdeps/sparc/sparc64/elf/configure: Delete.
20175 * sysdeps/sparc/elf/configure.in: New file.
20176 * sysdeps/sparc/elf/configure: Generate.
20178 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
20179 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
20180 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
20181 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
20182 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
20184 2012-02-21 Joseph Myers <joseph@codesourcery.com>
20186 * manual/install.texi: Do not mention specific glibc version
20188 * manual/libc.texinfo (VERSION, UPDATED): Update.
20189 (@copying): Use @copyright{} and range of years.
20191 2012-02-21 Joseph Myers <joseph@codesourcery.com>
20194 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
20195 [crti.S not in sysdirs] (generated): Do not append.
20196 [crti.S not in sysdirs] (omit-deps): Likewise.
20197 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
20198 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
20199 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
20200 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
20201 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
20203 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
20204 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
20205 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
20206 * csu/defs.awk: Remove file.
20207 * sysdeps/generic/initfini.c: Likewise.
20208 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
20210 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
20213 2012-02-20 Joseph Myers <joseph@codesourcery.com>
20215 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
20216 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
20217 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
20218 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
20219 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
20220 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
20222 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
20223 (__EPOLL_PACKED): Define to empty if not defined by
20225 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
20226 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20229 2012-02-20 Joseph Myers <joseph@codesourcery.com>
20231 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
20232 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
20233 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
20234 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
20236 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
20237 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20240 2012-02-20 Joseph Myers <joseph@codesourcery.com>
20242 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
20244 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20245 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
20246 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
20247 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20249 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
20251 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
20252 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
20254 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
20256 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
20257 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
20259 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
20261 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
20264 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
20266 * math/w_acos.c: Use non-signaling floating-point comparisons.
20267 * math/w_acosf.c: Likewise.
20268 * math/w_acosh.c: Likewise.
20269 * math/w_acoshf.c: Likewise.
20270 * math/w_acoshl.c: Likewise.
20271 * math/w_acosl.c: Likewise.
20272 * math/w_asin.c: Likewise.
20273 * math/w_asinf.c: Likewise.
20274 * math/w_asinl.c: Likewise.
20275 * math/w_atanh.c: Likewise.
20276 * math/w_atanhf.c: Likewise.
20277 * math/w_atanhl.c: Likewise.
20278 * math/w_exp2.c: Likewise.
20279 * math/w_exp2f.c: Likewise.
20280 * math/w_exp2l.c: Likewise.
20281 * math/w_j0.c: Likewise.
20282 * math/w_j0f.c: Likewise.
20283 * math/w_j0l.c: Likewise.
20284 * math/w_j1.c: Likewise.
20285 * math/w_j1f.c: Likewise.
20286 * math/w_j1l.c: Likewise.
20287 * math/w_jn.c: Likewise.
20288 * math/w_jnf.c: Likewise.
20289 * math/w_log.c: Likewise.
20290 * math/w_log10.c: Likewise.
20291 * math/w_log10f.c: Likewise.
20292 * math/w_log10l.c: Likewise.
20293 * math/w_log2.c: Likewise.
20294 * math/w_log2f.c: Likewise.
20295 * math/w_log2l.c: Likewise.
20296 * math/w_logf.c: Likewise.
20297 * math/w_logl.c: Likewise.
20298 * math/w_sqrt.c: Likewise.
20299 * math/w_sqrtf.c: Likewise.
20300 * math/w_sqrtl.c: Likewise.
20301 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
20302 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
20303 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
20304 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
20305 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
20307 2012-02-19 Joseph Myers <joseph@codesourcery.com>
20310 * manual/string.texi (strnlen): Use correct parameter name in
20311 equivalent expression.
20313 2012-02-19 Joseph Myers <joseph@codesourcery.com>
20316 * manual/users.texi (seteuid): Consistently use neweuid for
20319 2012-02-19 Joseph Myers <joseph@codesourcery.com>
20322 * manual/nss.texi (Services in the NSS configuration): Correct
20323 list of services in example configuration file.
20325 2012-02-19 Nick Bowler <nbowler@draconx.ca>
20328 * manual/arith.texi: Remove statements about negative zero
20329 behaving identically to zero.
20331 2012-02-18 Joseph Myers <joseph@codesourcery.com>
20334 * manual/install.texi: Do not document upgrading from libc5.
20336 2012-02-18 Joseph Myers <joseph@codesourcery.com>
20339 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
20341 2012-02-18 David S. Miller <davem@davemloft.net>
20343 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
20344 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
20345 %o7 across the call.
20346 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
20348 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
20349 SETUP_PIC_REG_LEAF.
20350 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
20351 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
20352 * sysdeps/sparc/crtn.S: Likewise.
20354 2012-02-17 Ulrich Drepper <drepper@gmail.com>
20356 * aout/Makefile: Remove.
20358 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
20361 * manual/examples/argp-ex1.c (main): Format definition in GNU
20363 * manual/examples/argp-ex2.c (main): Likewise.
20364 * manual/examples/argp-ex3.c (main): Likewise.
20365 * manual/examples/argp-ex4.c (main): Likewise.
20366 * manual/examples/longopt.c (main): Use new-style prototype
20368 * manual/examples/strncat.c (main): Specify return type and use
20369 (void) for arguments.
20370 * manual/examples/subopt.c (main): Use char **argv argument.
20372 2012-02-17 Joseph Myers <joseph@codesourcery.com>
20375 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
20378 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
20381 * manual/string.texi (strchr): Change when strchrnul is
20384 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
20387 * manual/locale.texi (setlocale): Document LOCPATH.
20389 2012-02-17 Joseph Myers <joseph@codesourcery.com>
20392 * manual/process.texi (execle): Move @dots{} before last argument.
20394 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
20397 * manual/charset.texi (Generic Charset Conversion): Fix typo
20398 (LC_TYPE -> LC_CTYPE).
20400 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
20403 * manual/arith.texi (scalbn): Use @var{} on parameter names.
20404 (scalbnf): Likewise.
20405 (scalbnl): Likewise.
20406 (scalbln): Likewise.
20407 (scalblnf): Likewise.
20408 (scalblnl): Likewise.
20409 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
20410 (vwarnx): Likewise.
20413 * manual/filesys.texi (telldir): Use braces around return type.
20414 * manual/llio.texi (mmap): Add space after comma.
20415 (mmap64): Likewise.
20416 * manual/math.texi (jn): Use @var{} on parameter names.
20422 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
20424 * manual/resource.texi (ulimit): Use @dots{} instead of literal
20426 (sched_get_priority_min): Remove semicolon on @deftypefun line.
20427 (sched_get_priority_max): Likewise.
20428 * manual/signal.texi (sigvec): Add space after comma.
20429 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
20431 (if_indextoname): Likewise.
20432 (if_freenameindex): Likewise.
20433 (sendto): Use ',' instead of '.' in prototype.
20434 * manual/startup.texi (syscall): Use @dots{} instead of literal
20436 * manual/stdio.texi (__fpending): Separate initial words of
20437 paragraph from @deftypefun line.
20438 * manual/syslog.texi (syslog): Use @dots{} instead of literal
20440 (vsyslog): Use @var{} on parameter names.
20441 * manual/terminal.texi (stty): Use @var{} on parameter names.
20442 * manual/users.texi (getutmp): Use @var{} on parameter names.
20443 (getutmpx): Likewise.
20445 2012-02-17 Joseph Myers <joseph@codesourcery.com>
20448 * manual/stdio.texi (fopen): Fix typos in description of
20451 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
20454 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
20455 get clock_id definition.
20457 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
20460 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
20461 (madvise): Cast every argument to void on its own.
20463 2012-02-17 Joseph Myers <joseph@codesourcery.com>
20466 * manual/startup.texi (Exit Status): Fix typo.
20468 2012-02-17 Joseph Myers <joseph@codesourcery.com>
20471 * manual/examples/argp-ex1.c: Include <stdlib.h>.
20472 * manual/examples/argp-ex2.c: Likewise.
20473 * manual/examples/argp-ex3.c: Likewise.
20475 2012-02-16 Richard Henderson <rth@redhat.com>
20477 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
20478 * sysdeps/s390/s390-32/initfini.c: Remove.
20479 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
20480 * sysdeps/s390/s390-64/initfini.c: Remove.
20482 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20484 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
20485 compiler output for sysdeps/generic/initfini.c.
20486 * sysdeps/sh/elf/initfini.c: Remove file.
20488 2012-02-16 David S. Miller <davem@davemloft.net>
20491 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
20493 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
20494 * sysdeps/sparc/crti.S: New file.
20495 * sysdeps/sparc/crtn.S: New file.
20496 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
20497 * sysdeps/sparc/sparc64/Makefile: Likewise.
20499 2012-02-15 Mike Frysinger <vapier@gentoo.org>
20502 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
20504 2012-02-15 Roland McGrath <roland@hack.frob.com>
20507 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
20509 * mach/devstream.c (cookie_io_functions_t): Macro removed.
20510 (write, read, close): Likewise.
20511 Patch by Aurelien Jarno <aurelien@aurel32.net>.
20513 2012-02-15 Joseph Myers <joseph@codesourcery.com>
20515 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
20516 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
20517 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
20518 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
20520 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
20521 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20524 2012-02-14 Marek Polacek <polacek@redhat.com>
20526 * sysdeps/x86_64/crti.S: New file.
20527 * sysdeps/x86_64/crtn.S: New file.
20528 * sysdeps/x86_64/elf/initfini.c: Remove file.
20530 2012-02-13 Joseph Myers <joseph@codesourcery.com>
20532 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
20533 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
20534 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
20535 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
20537 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
20538 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20541 2012-02-13 Joseph Myers <joseph@codesourcery.com>
20543 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
20544 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
20545 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
20546 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
20548 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
20549 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20552 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
20554 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
20555 __feraiseexcept instead of feraiseexcept.
20557 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
20558 nanosleep invocations.
20559 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
20560 strings, and add error checking for a nanosleep invocations.
20562 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
20564 Replace FSF snail mail address with URLs, as per GNU coding standards.
20565 Most of the snail mail addresses were wrong anyway, and omitting
20566 them makes the source code easier to maintain. Almost all of the
20567 changes are to license notices and to locale LC_IDENTIFICATION
20568 addresses, except for this one:
20569 * manual/libc.texinfo: In "Published by", give the FSF's URL,
20570 not its snail mail address.
20572 2012-02-09 Richard Henderson <rth@twiddle.net>
20574 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
20575 of kernel-features.h.
20577 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
20579 2012-02-08 Marek Polacek <polacek@redhat.com>
20581 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
20582 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
20583 * sysdeps/gnu/_G_config.h: Likewise.
20584 * sysdeps/generic/_G_config.h: Likewise.
20586 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
20588 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
20590 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20592 * sysdeps/powerpc/powerpc32/crti.S: New file.
20593 * sysdeps/powerpc/powerpc32/crtn.S: New file.
20594 * sysdeps/powerpc/powerpc64/crti.S: New file.
20595 * sysdeps/powerpc/powerpc64/crtn.S: New file.
20597 * Makeconfig (have-initfini): Don't set.
20598 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
20599 * configure.in (nopic_initfini): Don't substitute.
20600 * config.h.in (HAVE_INITFINI): Don't #undef.
20601 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
20602 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
20604 2012-02-08 Joseph Myers <joseph@codesourcery.com>
20606 Support crti.S and crtn.S provided directly by architectures.
20607 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
20608 [crti.S in sysdirs] (omit-deps): Likewise.
20609 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
20610 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
20611 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
20612 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
20613 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
20614 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
20615 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
20616 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
20617 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
20618 compiler output for sysdeps/generic/initfini.c.
20619 * sysdeps/i386/elf/Makefile: Remove file.
20620 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
20622 2012-02-07 Marek Polacek <polacek@redhat.com>
20624 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
20625 * sysdeps/gnu/_G_config.h: Likewise.
20626 * sysdeps/mach/hurd/_G_config.h: Likewise.
20628 2012-02-07 Marek Polacek <polacek@redhat.com>
20630 * math/Makefile (tests): Add tst-CMPLX2.
20631 * math/tst-CMPLX2.c: New file.
20633 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
20635 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
20637 * math/libm-test.inc (jn_test): Add missing L suffix.
20639 2012-02-06 Marek Polacek <polacek@redhat.com>
20641 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
20642 * sysdeps/i386/fpu/e_powf.S: Likewise.
20643 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
20644 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
20645 * sysdeps/i386/fpu/e_acosh.S: Likewise.
20646 * sysdeps/i386/fpu/e_pow.S: Likewise.
20647 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
20648 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
20649 * sysdeps/i386/fpu/s_expm1.S: Likewise.
20650 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
20651 * sysdeps/i386/fpu/e_log2.S: Likewise.
20652 * sysdeps/i386/fpu/e_log2l.S: Likewise.
20653 * sysdeps/i386/fpu/e_scalb.S: Likewise.
20654 * sysdeps/i386/fpu/e_powl.S: Likewise.
20655 * sysdeps/i386/fpu/s_log1p.S: Likewise.
20656 * sysdeps/i386/fpu/e_log10f.S: Likewise.
20657 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
20658 * sysdeps/i386/fpu/e_logl.S: Likewise.
20659 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
20660 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
20661 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
20662 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
20663 * sysdeps/i386/fpu/e_log2f.S: Likewise.
20664 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
20665 * sysdeps/i386/fpu/e_log.S: Likewise.
20666 * sysdeps/i386/fpu/s_cexp.S: Likewise.
20667 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
20668 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
20669 * sysdeps/i386/fpu/e_logf.S: Likewise.
20670 * sysdeps/i386/fpu/e_log10l.S: Likewise.
20671 * sysdeps/i386/fpu/e_atanh.S: Likewise.
20672 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
20673 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
20674 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
20675 * sysdeps/i386/fpu/e_log10.S: Likewise.
20676 * sysdeps/i386/fpu/s_frexp.S: Likewise.
20677 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
20678 * sysdeps/i386/fpu/s_asinh.S: Likewise.
20679 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
20680 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
20681 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
20682 * sysdeps/i386/asm-syntax.h: Likewise.
20683 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
20684 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
20685 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
20686 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
20687 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
20688 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
20689 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
20690 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
20691 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
20692 * sysdeps/powerpc/sysdep.h: Likewise.
20693 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
20694 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
20696 2012-02-06 Joseph Myers <joseph@codesourcery.com>
20699 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
20701 2012-02-06 Joseph Myers <joseph@codesourcery.com>
20703 * sysdeps/i386/sysdep.h: Include <features.h>.
20704 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
20707 2012-02-05 Joseph Myers <joseph@codesourcery.com>
20709 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
20711 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
20714 2012-02-03 Joseph Myers <joseph@codesourcery.com>
20716 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
20717 (SETUP_PIC_REG): Use GET_PC_THUNK.
20718 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
20721 2012-02-03 Joseph Myers <joseph@codesourcery.com>
20723 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
20724 for non-PIC compilation.
20725 (SETUP_PIC_REG): Add .p2align directive.
20726 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
20727 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
20728 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
20729 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
20730 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
20731 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
20732 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
20733 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
20734 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
20735 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
20736 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
20737 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
20738 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
20739 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
20740 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
20741 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
20742 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
20743 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
20744 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
20745 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
20746 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
20747 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
20748 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
20749 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
20750 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
20751 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
20752 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
20753 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
20754 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
20755 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
20756 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
20757 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
20758 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
20759 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
20760 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
20761 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
20762 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
20763 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
20764 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
20765 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
20766 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
20768 2012-02-03 Joseph Myers <joseph@codesourcery.com>
20770 * math/tst-CMPLX.c: Include <stdio.h>.
20772 2012-01-31 Joseph Myers <joseph@codesourcery.com>
20774 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
20776 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
20777 * sysdeps/sparc/bits/mathdef.h: Likewise.
20779 2012-01-31 Marek Polacek <polacek@redhat.com>
20781 * libio/libio.h: Don't define _PARAMS.
20782 * locale/programs/config.h: Don't define PARAMS.
20783 * stdlib/strtol_l.c: Likewise.
20784 (__strtol_l): Remove PARAMS from the prototype.
20786 2012-01-31 Ulrich Drepper <drepper@gmail.com>
20788 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
20789 names. Just use the correct names. Remove unnecessary wrapper
20791 * malloc/arena.c: Likewise.
20792 * malloc/hooks.c: Likewise.
20794 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
20795 ARENA_TEST says not to. Simplify test for creation of a new arena.
20796 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
20798 2012-01-30 Ulrich Drepper <drepper@gmail.com>
20800 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
20802 (update_get_addr): New function.
20803 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
20804 GET_ADDR_MODULE parameter.
20806 2012-01-30 Joseph Myers <joseph@codesourcery.com>
20808 * crypt/cert.c: Remove __STDC__ conditionals.
20809 * crypt/crypt-entry.c: Likewise.
20810 * crypt/crypt_util.c: Likewise.
20811 * libio/filedoalloc.c: Likewise.
20812 * libio/fileops.c: Likewise.
20813 * libio/genops.c: Likewise.
20814 * libio/iofclose.c: Likewise.
20815 * libio/iofdopen.c: Likewise.
20816 * libio/iofopen.c: Likewise.
20817 * libio/iofopen64.c: Likewise.
20818 * libio/iogetdelim.c: Likewise.
20819 * libio/iopopen.c: Likewise.
20820 * libio/obprintf.c: Likewise.
20821 * libio/oldfileops.c: Likewise.
20822 * libio/oldiofclose.c: Likewise.
20823 * libio/oldiofdopen.c: Likewise.
20824 * libio/oldiofopen.c: Likewise.
20825 * libio/oldiopopen.c: Likewise.
20826 * libio/wfiledoalloc.c: Likewise.
20827 * libio/wgenops.c: Likewise.
20828 * locale/programs/xmalloc.c: Likewise.
20829 * misc/syslog.c: Likewise.
20830 * stdio-common/xbug.c: Likewise.
20831 * string/memchr.c: Likewise.
20832 * string/memcmp.c: Likewise.
20833 * string/memrchr.c: Likewise.
20834 * string/rawmemchr.c: Likewise.
20835 * sysdeps/posix/getcwd.c: Likewise.
20836 * time/strftime_l.c: Likewise.
20838 2012-01-30 Joseph Myers <joseph@codesourcery.com>
20840 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
20841 * config.make.in (config-cflags-sse2avx): Define.
20842 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
20845 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
20847 * scripts/config.guess: Update from upstream config git repository.
20848 * scripts/config.sub: Likewise.
20850 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
20852 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
20854 (R_TILEPRO_*, R_TILEGX_*): New macros.
20856 * scripts/firstversions.awk: Fix bug in version range handling.
20858 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
20860 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
20862 * include/sys/epoll.h: New file.
20863 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
20866 2012-01-28 Ulrich Drepper <drepper@gmail.com>
20868 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
20869 Avoid unnecessary __WORDSIZE == 64 test.
20870 (fmaxf): Use VEX format if possible.
20875 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
20876 * math/math_private.h: Remove libc_fegetround* and
20878 * sysdeps/i386/configure.in: Check for -msse2avx.
20879 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
20880 also if SSE2AVX is defined.
20881 Remove libc_fegetround* and libc_fesetround*.
20882 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
20883 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
20884 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
20886 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
20887 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
20888 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
20889 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
20890 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
20892 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
20894 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20896 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
20898 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
20900 2012-01-27 Ulrich Drepper <drepper@gmail.com>
20903 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
20905 * Makeconfig (libm): Define.
20906 * elf/Makefile: Add rules to build and run tst-relsort1.
20907 * elf/tst-relsort1.c: New file.
20908 * elf/tst-relsort1mod1.c: New file.
20909 * elf/tst-relsort1mod2.c: New file.
20911 2012-01-27 Joseph Myers <joseph@codesourcery.com>
20913 * math/s_ldexp.c: Remove __STDC__ conditionals.
20914 * math/s_ldexpf.c: Likewise.
20915 * math/s_ldexpl.c: Likewise.
20916 * math/s_nextafter.c: Likewise.
20917 * math/s_nexttowardf.c: Likewise.
20918 * math/s_significand.c: Likewise.
20919 * math/s_significandf.c: Likewise.
20920 * math/s_significandl.c: Likewise.
20921 * math/w_jnl.c: Likewise.
20922 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
20923 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
20924 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
20925 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
20926 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
20927 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
20928 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
20929 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
20930 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
20931 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
20932 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
20933 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
20934 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
20935 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
20936 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
20937 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
20938 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
20939 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
20940 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
20941 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
20942 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
20943 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
20944 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
20945 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
20946 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
20947 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
20948 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
20949 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
20950 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
20951 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
20952 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
20953 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
20954 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
20955 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
20956 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
20957 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
20958 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
20959 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
20960 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
20961 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
20962 * sysdeps/ieee754/k_standard.c: Likewise.
20963 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
20964 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
20965 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
20966 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
20967 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
20968 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
20969 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
20970 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
20971 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
20972 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
20973 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
20974 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
20975 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
20976 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
20977 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
20978 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
20979 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
20980 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
20981 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
20982 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
20983 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
20984 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
20985 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
20986 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
20987 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
20988 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
20989 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
20990 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
20991 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
20992 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
20993 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
20994 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
20995 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
20996 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
20997 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
20998 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
20999 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
21000 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
21001 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
21002 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
21003 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
21004 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
21005 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
21006 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
21007 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
21008 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
21009 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
21010 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
21011 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
21012 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
21013 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
21014 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
21015 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
21016 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
21017 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
21018 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
21019 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
21020 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
21021 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
21022 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
21023 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
21024 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
21025 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
21026 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
21027 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
21028 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
21029 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
21030 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
21031 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
21032 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
21033 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
21034 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
21035 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
21036 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
21037 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
21038 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
21039 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
21040 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
21041 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
21042 * sysdeps/ieee754/s_matherr.c: Likewise.
21043 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
21044 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
21045 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
21046 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
21048 2012-01-26 Joseph Myers <joseph@codesourcery.com>
21050 * crypt/md5.h: Remove __STDC__ conditionals.
21051 * libio/libioP.h: Likewise.
21052 * locale/programs/config.h: Likewise.
21053 * sysdeps/generic/sysdep.h: Likewise.
21054 * sysdeps/i386/asm-syntax.h: Likewise.
21055 * sysdeps/s390/asm-syntax.h: Likewise.
21056 * sysdeps/unix/sysdep.h: Likewise.
21057 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
21058 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
21060 2012-01-26 Joseph Myers <joseph@codesourcery.com>
21062 * libio/libio.h: Remove __STDC__ conditionals.
21063 * malloc/obstack.h: Likewise.
21064 * math/complex.h: Likewise.
21065 * math/math.h: Likewise.
21066 * sysdeps/generic/_G_config.h: Likewise.
21067 * sysdeps/gnu/_G_config.h: Likewise.
21068 * sysdeps/mach/hurd/_G_config.h: Likewise.
21069 * sysdeps/powerpc/bits/mathdef.h: Likewise.
21070 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
21071 * sysdeps/sparc/bits/mathdef.h: Likewise.
21073 2012-01-26 Ulrich Drepper <drepper@gmail.com>
21076 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
21077 Clean up HAS_* macros.
21078 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
21079 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
21081 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
21083 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
21084 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
21085 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
21086 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
21087 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
21089 2012-01-25 Joseph Myers <joseph@codesourcery.com>
21091 * elf/tst-unique3.cc (gets): Remove declaration.
21092 * elf/tst-unique3lib.cc (gets): Likewise.
21093 * elf/tst-unique3lib2.cc (gets): Likewise.
21094 * elf/tst-unique4.cc (gets): Likewise.
21096 2012-01-24 Ulrich Drepper <drepper@gmail.com>
21098 * include/stdio.h: Add C++ protection. Add gets declarations and
21100 * debug/tst-chk1.c: Don't declare gets here.
21101 * stdio-common/tst-gets.c: Likewise.
21103 2012-01-24 Joseph Myers <joseph@codesourcery.com>
21105 * posix/glob: Remove directory.
21107 2012-01-24 Joseph Myers <joseph@codesourcery.com>
21109 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
21111 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
21113 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
21114 of the non-standard EPFNOSUPPORT.
21116 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
21118 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
21119 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
21120 ANYWHERE set to 1 only on KERN_NO_SPACE error.
21122 2012-01-21 Ulrich Drepper <drepper@gmail.com>
21124 * wcsmbs/uchar.h: Test __STDC_VERSION__.
21126 2012-01-20 Ulrich Drepper <drepper@gmail.com>
21128 * nscd/aicache.c (addhstaiX): Do not cache negative results of
21130 * nscd/grpcache.c (cache_addgr): Likewise.
21131 * nscd/hstcache.c (cache_addhst): Likewise.
21132 * nscd/initgrcache.c (addinitgroupsX): Likewise.
21133 * nscd/pwdcache.c (cache_addpw): Likewise.
21134 * nscd/servicescache.c (cache_addserv): Likewise.
21136 2012-01-16 Ulrich Drepper <drepper@gmail.com>
21138 * malloc/malloc.c: Various cleanups.
21139 * malloc/hooks.c: Likewise.
21141 * stdlib/Makefile (tests): Add bug-fmtmsg1.
21142 * stdlib/bug-fmtmsg1.c: New file.
21144 * stdlib/fmtmsg.c (init): Add missing unlock.
21145 Patch by Peng Haitao <penght@cn.fujitsu.com>.
21147 2012-01-12 Marek Polacek <polacek@redhat.com>
21149 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
21152 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
21154 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
21155 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
21156 macro to ensure uniqueness of label name.
21157 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
21158 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
21160 2012-01-11 Ulrich Drepper <drepper@gmail.com>
21162 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
21164 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
21165 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
21166 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
21167 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
21169 2012-01-10 Ulrich Drepper <drepper@gmail.com>
21171 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
21173 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
21174 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
21175 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
21177 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
21179 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
21180 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
21181 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
21182 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
21184 * math/bits/math-finite.h: Add ldexp support.
21186 2012-01-10 Marek Polacek <polacek@redhat.com>
21188 * locale/programs/localedef.h (show_archive_content): Add noreturn
21191 2012-01-09 Ulrich Drepper <drepper@gmail.com>
21193 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
21195 2012-01-08 Ulrich Drepper <drepper@gmail.com>
21197 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
21199 * io/Makefile (headers): Add bits/poll2.h.
21201 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
21203 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
21204 typo #include statement.
21206 2012-01-08 Ulrich Drepper <drepper@gmail.com>
21208 * include/sys/cdefs.h: Define __attribute_alloc_size.
21209 * catgets/gencat.c: Add alloc_size attribute and apply consistently
21210 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
21211 * elf/pldd.c: Likewise.
21212 * iconv/iconv_charmap.c: Likewise.
21213 * iconv/iconvconfig.c: Likewise.
21214 * iconv/strtab.c: Likewise.
21215 * locale/programs/locale.c: Likewise.
21216 * locale/programs/localedef.h: Likewise.
21217 * locale/programs/simple-hash.c: Likewise.
21218 * nscd/nscd.h: Likewise.
21219 * nss/makedb.c: Likewise.
21220 * sysdeps/generic/ldconfig.h: Likewise.
21221 * locale/programs/localedef.c: Remove xmalloc prototype.
21222 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
21224 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
21226 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
21229 2012-01-08 Ulrich Drepper <drepper@gmail.com>
21231 * math/Makefile (tests): Add tst-CMPLX.
21232 * math/tst-CMPLX.c: New file.
21234 * math/complex.h (CMPLXL): Fix typo.
21236 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
21237 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
21239 * debug/tst-chk1.c: Add poll and ppoll tests.
21240 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
21241 * include/sys/poll.h: Add hidden proto for ppoll.
21242 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
21243 * sysdeps/mach/hurd/ppoll.c: Likewise.
21244 * io/ppoll.c: Likewise.
21245 * debug/poll_chk.c: New file.
21246 * debug/ppoll_chk.c: New file.
21247 * include/bits/poll2.h: New file.
21248 * io/bits/poll2.h: New file.
21251 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
21253 * configure.in: static is always set to yes. Remove.
21254 * config.make.in: Don't set build-static.
21255 * Makeconfig: Remove use of build-static.
21256 * dlfcn/Makefile: Likewise.
21257 * elf/Makefile: Likewise.
21258 * math/Makefile: Likewise.
21259 * misc/Makefile: Likewise.
21260 * nptl/Makefile: Likewise.
21261 * sysdeps/mach/hurd/Makefile: Likewise.
21263 * configure.in: PWD_P is not used anymore.
21264 * config.make.in: Remove PWD_P entry.
21266 * configure.in: Remove last remnants of RANLIB.
21267 No need to check for signed size_t anymore.
21268 Don't set libc_commonpagesize and libc_relro_required here for Alpha
21270 Remove __builtin_expect test because we require at least gcc 3.4.
21271 * aclocal.m4: Likewise.
21273 * wcsmbs/mbrtoc16.c: Implement using towc function.
21274 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
21275 * wcsmbs/wcsmbsload.c: Likewise.
21276 * iconv/gconv_simple.c: Likewise.
21277 * iconv/gconv_int.h: Likewise.
21278 * iconv/gconv_builtin.h: Likewise.
21279 * iconv/iconv_prog.c: Remove CHAR16 handling.
21281 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
21283 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
21285 * configure.in: Remove --with-elf and --enable-bounded options.
21286 Dont set base_machine for ia64. More non-ELF conditions removed.
21287 Remove testing and setting of leading underscore information.
21288 * config.make.in (build-bounded): Set to no.
21289 * config.h.in: Remove NO_UNDERSCORES entry.
21290 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
21292 * csu/start.c: Remove !NO_UNDERSCORE code.
21293 * locale/localeinfo.h: Likewise.
21294 * sysdeps/generic/machine-gmon.h: Likewise.
21295 * sysdeps/generic/sysdep.h: Likewise.
21296 * sysdeps/i386/sysdep.h: Likewise.
21297 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
21298 * sysdeps/mach/sysdep.h: Likewise.
21299 * sysdeps/s390/s390-32/sysdep.h: Likewise.
21300 * sysdeps/s390/s390-64/sysdep.h: Likewise.
21301 * sysdeps/sh/sysdep.h: Likewise.
21302 * sysdeps/sparc/sparc32/alloca.S: Likewise.
21303 * sysdeps/unix/i386/sysdep.S: Likewise.
21304 * sysdeps/unix/sparc/start.c: Likewise.
21305 * sysdeps/unix/sparc/sysdep.S: Likewise.
21306 * sysdeps/unix/sparc/sysdep.h: Likewise.
21307 * sysdeps/unix/start.c: Likewise.
21308 * sysdeps/unix/x86_64/sysdep.S: Likewise.
21309 * sysdeps/x86_64/sysdep.h: Likewise.
21311 2012-01-07 Ulrich Drepper <drepper@gmail.com>
21314 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
21316 * argp/argp-fmtstream.h: Use const instead __const.
21317 * argp/argp.h: Likewise.
21318 * assert/assert.h: Likewise.
21319 * bits/fenv.h: Likewise.
21320 * bits/sched.h: Likewise.
21321 * bits/sigset.h: Likewise.
21322 * bits/sigthread.h: Likewise.
21323 * catgets/nl_types.h: Likewise.
21324 * conform/data/pthread.h-data: Likewise.
21325 * crypt/crypt-private.h: Likewise.
21326 * crypt/crypt.h: Likewise.
21327 * crypt/crypt_util.c: Likewise.
21328 * ctype/ctype.h: Likewise.
21329 * debug/execinfo.h: Likewise.
21330 * debug/mbsnrtowcs_chk.c: Likewise.
21331 * debug/mbsrtowcs_chk.c: Likewise.
21332 * debug/wcsnrtombs_chk.c: Likewise.
21333 * debug/wcsrtombs_chk.c: Likewise.
21334 * debug/wcstombs_chk.c: Likewise.
21335 * dirent/dirent.h: Likewise.
21336 * dlfcn/dlfcn.h: Likewise.
21337 * elf/neededtest4.c: Likewise.
21338 * grp/grp.h: Likewise.
21339 * gshadow/gshadow.h: Likewise.
21340 * iconv/gconv.h: Likewise.
21341 * iconv/gconv_int.h: Likewise.
21342 * iconv/gconv_simple.c: Likewise.
21343 * iconv/iconv.h: Likewise.
21344 * iconv/loop.c: Likewise.
21345 * iconv/skeleton.c: Likewise.
21346 * include/aio.h: Likewise.
21347 * include/aliases.h: Likewise.
21348 * include/argz.h: Likewise.
21349 * include/arpa/inet.h: Likewise.
21350 * include/assert.h: Likewise.
21351 * include/dirent.h: Likewise.
21352 * include/dlfcn.h: Likewise.
21353 * include/execinfo.h: Likewise.
21354 * include/fcntl.h: Likewise.
21355 * include/fenv.h: Likewise.
21356 * include/glob.h: Likewise.
21357 * include/grp.h: Likewise.
21358 * include/libintl.h: Likewise.
21359 * include/mntent.h: Likewise.
21360 * include/netdb.h: Likewise.
21361 * include/pwd.h: Likewise.
21362 * include/rpc/netdb.h: Likewise.
21363 * include/sched.h: Likewise.
21364 * include/search.h: Likewise.
21365 * include/shadow.h: Likewise.
21366 * include/signal.h: Likewise.
21367 * include/stdio.h: Likewise.
21368 * include/stdlib.h: Likewise.
21369 * include/string.h: Likewise.
21370 * include/sys/socket.h: Likewise.
21371 * include/sys/stat.h: Likewise.
21372 * include/sys/statfs.h: Likewise.
21373 * include/sys/statvfs.h: Likewise.
21374 * include/sys/syslog.h: Likewise.
21375 * include/sys/time.h: Likewise.
21376 * include/sys/uio.h: Likewise.
21377 * include/time.h: Likewise.
21378 * include/unistd.h: Likewise.
21379 * include/utmp.h: Likewise.
21380 * include/wchar.h: Likewise.
21381 * include/wctype.h: Likewise.
21382 * inet/aliases.h: Likewise.
21383 * inet/arpa/inet.h: Likewise.
21384 * inet/netinet/ether.h: Likewise.
21385 * inet/netinet/in.h: Likewise.
21386 * intl/libintl.h: Likewise.
21387 * io/bits/fcntl2.h: Likewise.
21388 * io/fcntl.h: Likewise.
21389 * io/ftw.h: Likewise.
21390 * io/sys/poll.h: Likewise.
21391 * io/sys/stat.h: Likewise.
21392 * io/sys/statfs.h: Likewise.
21393 * io/sys/statvfs.h: Likewise.
21394 * io/utime.h: Likewise.
21395 * libio/bits/stdio.h: Likewise.
21396 * libio/bits/stdio2.h: Likewise.
21397 * libio/libio.h: Likewise.
21398 * libio/libioP.h: Likewise.
21399 * libio/stdio.h: Likewise.
21400 * locale/lc-ctype.c: Likewise.
21401 * locale/locale.h: Likewise.
21402 * login/utmp.h: Likewise.
21403 * malloc/arena.c: Likewise.
21404 * malloc/malloc.c: Likewise.
21405 * malloc/malloc.h: Likewise.
21406 * malloc/mcheck.c: Likewise.
21407 * malloc/mtrace.c: Likewise.
21408 * math/bits/mathcalls.h: Likewise.
21409 * math/fenv.h: Likewise.
21410 * math/math_private.h: Likewise.
21411 * misc/bits/error.h: Likewise.
21412 * misc/bits/syslog.h: Likewise.
21413 * misc/err.h: Likewise.
21414 * misc/error.h: Likewise.
21415 * misc/fstab.h: Likewise.
21416 * misc/mntent.h: Likewise.
21417 * misc/regexp.h: Likewise.
21418 * misc/search.h: Likewise.
21419 * misc/sgtty.h: Likewise.
21420 * misc/sys/mman.h: Likewise.
21421 * misc/sys/syslog.h: Likewise.
21422 * misc/sys/uio.h: Likewise.
21423 * misc/sys/xattr.h: Likewise.
21424 * misc/ttyent.h: Likewise.
21425 * nis/rpcsvc/ypclnt.h: Likewise.
21426 * nss/nss.h: Likewise.
21427 * posix/bits/unistd.h: Likewise.
21428 * posix/fnmatch.h: Likewise.
21429 * posix/glob.h: Likewise.
21430 * posix/sched.h: Likewise.
21431 * posix/spawn.h: Likewise.
21432 * posix/sys/wait.h: Likewise.
21433 * posix/unistd.h: Likewise.
21434 * posix/wordexp.h: Likewise.
21435 * pwd/pwd.h: Likewise.
21436 * resolv/netdb.h: Likewise.
21437 * resource/sys/resource.h: Likewise.
21438 * rt/aio.h: Likewise.
21439 * rt/bits/mqueue2.h: Likewise.
21440 * rt/mqueue.h: Likewise.
21441 * shadow/shadow.h: Likewise.
21442 * signal/signal.h: Likewise.
21443 * socket/send.c: Likewise.
21444 * socket/sendto.c: Likewise.
21445 * socket/sys/socket.h: Likewise.
21446 * stdio-common/printf.h: Likewise.
21447 * stdlib/bits/stdlib.h: Likewise.
21448 * stdlib/fmtmsg.h: Likewise.
21449 * stdlib/monetary.h: Likewise.
21450 * stdlib/stdlib.h: Likewise.
21451 * stdlib/ucontext.h: Likewise.
21452 * streams/stropts.h: Likewise.
21453 * string/argz.h: Likewise.
21454 * string/bits/string2.h: Likewise.
21455 * string/string.h: Likewise.
21456 * string/strings.h: Likewise.
21457 * sunrpc/rpc/auth.h: Likewise.
21458 * sunrpc/rpc/auth_des.h: Likewise.
21459 * sunrpc/rpc/clnt.h: Likewise.
21460 * sunrpc/rpc/netdb.h: Likewise.
21461 * sunrpc/rpc/pmap_clnt.h: Likewise.
21462 * sunrpc/rpc/xdr.h: Likewise.
21463 * sysdeps/generic/inttypes.h: Likewise.
21464 * sysdeps/generic/net/if.h: Likewise.
21465 * sysdeps/generic/sys/swap.h: Likewise.
21466 * sysdeps/gnu/net/if.h: Likewise.
21467 * sysdeps/gnu/utmpx.h: Likewise.
21468 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
21469 * sysdeps/i386/i486/bits/string.h: Likewise.
21470 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
21471 * sysdeps/s390/bits/string.h: Likewise.
21472 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
21473 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
21474 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
21475 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
21476 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
21477 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
21478 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
21479 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
21480 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
21481 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
21482 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
21483 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
21484 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
21485 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
21486 * sysdeps/unix/sysv/linux/readv.c: Likewise.
21487 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
21488 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
21489 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
21490 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
21491 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
21492 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
21493 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
21494 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
21495 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
21496 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
21497 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
21498 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
21499 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
21500 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
21501 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
21502 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
21503 * sysvipc/sys/ipc.h: Likewise.
21504 * sysvipc/sys/msg.h: Likewise.
21505 * sysvipc/sys/sem.h: Likewise.
21506 * sysvipc/sys/shm.h: Likewise.
21507 * termios/termios.h: Likewise.
21508 * time/sys/time.h: Likewise.
21509 * time/time.h: Likewise.
21510 * wcsmbs/bits/wchar2.h: Likewise.
21511 * wcsmbs/uchar.h: Likewise.
21512 * wcsmbs/wchar.h: Likewise.
21513 * wctype/wctype.h: Likewise.
21516 * Makeconfig: Remove all but ELF support including AIX support.
21517 * Makerules: Likewise.
21518 * config.h.in: Likewise.
21519 * config.make.in: Likewise.
21520 * configure: Likewise.
21521 * configure.in: Likewise.
21522 * csu/Makefile: Likewise.
21523 * csu/version.c: Likewise.
21524 * debug/Makefile: Likewise.
21525 * dlfcn/Makefile: Likewise.
21526 * elf/Makefile: Likewise.
21527 * extra-lib.mk: Likewise.
21528 * iconv/Makefile: Likewise.
21529 * include/libc-symbols.h: Likewise.
21530 * include/shlib-compat.h: Likewise.
21531 * resolv/Makefile: Likewise.
21532 * resolv/res_libc.c: Likewise.
21533 * rt/Makefile: Likewise.
21534 * sysdeps/i386/asm-syntax.h: Likewise.
21535 * sysdeps/i386/sysdep.h: Likewise.
21536 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
21537 * sysdeps/mach/sysdep.h: Likewise.
21538 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
21539 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
21540 * sysdeps/s390/asm-syntax.h: Likewise.
21541 * sysdeps/s390/s390-32/sysdep.h: Likewise.
21542 * sysdeps/s390/s390-64/sysdep.h: Likewise.
21543 * sysdeps/sh/sysdep.h: Likewise.
21544 * sysdeps/unix/sparc/sysdep.h: Likewise.
21545 * sysdeps/wordsize-32/divdi3.c: Likewise.
21546 * sysdeps/x86_64/sysdep.h: Likewise.
21548 * argp/Versions: Remove _argp_unlock_xxx.
21551 * abilist/ld.abilist: Update. Adjust for removal of tls option.
21552 * abilist/libBrokenLocale.abilist: Likewise.
21553 * abilist/libanl.abilist: Likewise.
21554 * abilist/libc.abilist: Likewise.
21555 * abilist/libcrypt.abilist: Likewise.
21556 * abilist/libdl.abilist: Likewise.
21557 * abilist/libm.abilist: Likewise.
21558 * abilist/libnsl.abilist: Likewise.
21559 * abilist/libpthread.abilist: Likewise.
21560 * abilist/libresolv.abilist: Likewise.
21561 * abilist/librt.abilist: Likewise.
21562 * abilist/libthread_db.abilist: Likewise.
21563 * abilist/libutil.abilist: Likewise.
21564 * abilist/libnss_db.abilist: New file.
21566 * scripts/abilist.awk: Add support for indirect functions.
21568 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
21570 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
21572 * shlib-versions: Remove entries for ports architectures.
21574 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
21576 * elf/stackguard-macros.h: Remove support for IA-64.
21577 * elf/tst-auditmod1.c: Likewise.
21578 * sysdeps/generic/ldsodefs.h: Likewise.
21580 * sysdeps/unix/sysv/linux/configure.in: Ports should define
21581 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
21585 * configure.in: Remove --enable-omitfp support.
21587 * config.make.in: Likewise.
21588 * Makeconfig: Likewise.
21589 * manual/install.texi: Likewise.
21591 In case anyone cares, the IA-64 architecture could move to ports.
21592 * sysdeps/ia64/*: Removed.
21593 * sysdeps/unix/sysv/linux/ia64/*: Removed.
21594 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
21597 * configure.in: Remove entries for unsupported architectures.
21600 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
21601 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
21603 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
21604 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
21605 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
21606 fall back to using wcrtomb.
21607 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
21608 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
21610 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
21611 * wcsmbs/tst-c16c32-1.c: New file.
21613 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
21616 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
21618 * elf/tst-unique3.cc: Add explicit declaration of gets.
21619 * elf/tst-unique3lib.cc: Likewise.
21620 * elf/tst-unique3lib2.cc: Likewise.
21621 * elf/tst-unique4.cc: Likewise.
21623 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
21625 2012-01-06 Joseph Myers <joseph@codesourcery.com>
21628 * assert/assert.h (static_assert): Don't define for C++.
21629 * libio/stdio.h (gets): Do declare for C++ <= C++11.
21630 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
21632 2012-01-03 Ulrich Drepper <drepper@gmail.com>
21634 * iconv/loop.c (single loop): Fix assertion in storing of
21637 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
21639 2012-01-01 Ulrich Drepper <drepper@gmail.com>
21641 * posix/getconf.c: Update copyright year.
21642 * nss/getent.c: Likewise.
21643 * nss/makedb.c: Likewise.
21644 * iconv/iconvconfig.c: Likewise.
21645 * iconv/iconv_prog.c: Likewise.
21646 * elf/ldconfig.c: Likewise.
21647 * elf/pldd.c: Likewise.
21648 * elf/sotruss.ksh: Likewise.
21649 * catgets/gencat.c: Likewise.
21650 * csu/version.c: Likewise.
21651 * elf/ldd.bash.in: Likewise.
21652 * elf/sprof.c (print_version): Likewise.
21653 * locale/programs/locale.c: Likewise.
21654 * locale/programs/localedef.c: Likewise.
21655 * login/programs/pt_chown.c: Likewise.
21656 * nscd/nscd.c (print_version): Likewise.
21657 * debug/xtrace.sh: Likewise.
21658 * malloc/memusage.sh: Likewise.
21659 * malloc/mtrace.pl: Likewise.
21660 * debug/catchsegv.sh: Likewise.
21662 2011-12-30 Jakub Jelinek <jakub@redhat.com>
21664 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
21667 2011-12-24 Ulrich Drepper <drepper@gmail.com>
21670 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
21671 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
21673 * iconv/gconv_int.h: Likewise.
21674 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
21675 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
21676 from libc for GLIBC_2.16.
21677 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
21678 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
21679 * wcsmbs/uchar.h: Really define mbstate_t.
21680 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
21681 * wcsmbs/c16rtomb.c: New file.
21682 * wcsmbs/mbrtoc16.c: New file.
21683 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
21684 for C/POSIX locale.
21685 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
21686 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
21688 * wcsmbs/wchar.h: Add missing __restrict.
21690 2011-12-23 Ulrich Drepper <drepper@gmail.com>
21693 * time/Makefile (routines): Add timespec_get.
21694 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
21695 * time/time.h: Define TIME_UTC and declare timespec_get. Define
21696 timespec for ISO C11.
21697 * time/timespec_get.c: New file.
21698 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
21699 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
21702 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
21703 * stdlib/stdlib.h: Declare aligned_alloc.
21704 * Versions.def: Add GLIBC_2.16 for libc.
21705 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
21708 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
21711 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
21715 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
21718 * assert/assert.h (static_assert): Define.
21720 * version.h: Update for 2.16 development version.
21723 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
21726 * version.h (RELEASE): Bump for 2.15 release.
21727 * include/features.h (__GLIBC_MINOR__): Bump to 15.
21729 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
21730 Patch by Marek Polacek <mpolacek@redhat.com>.
21732 * bits/byteswap.h: Protect long long constants with __extension__.
21733 * sysdeps/i386/bits/byteswap.h: Likewise.
21734 * sysdeps/ia64/bits/byteswap.h: Likewise.
21735 * sysdeps/s390/bits/byteswap.h: Likewise.
21736 * sysdeps/x86_64/bits/byteswap.h: Likewise.
21738 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21741 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
21742 destination buffer.
21743 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
21745 2011-12-23 Marek Polacek <polacek@redhat.com>
21747 * elf/dl-addr.c (determine_info): Add inline keyword.
21748 * elf/tst-auditmod4b.c (check_avx): Likewise.
21749 * elf/tst-auditmod6b.c (check_avx): Likewise.
21750 * elf/tst-auditmod6c.c (check_avx): Likewise.
21751 * elf/tst-auditmod7b.c (check_avx): Likewise.
21753 2011-12-23 Ulrich Drepper <drepper@gmail.com>
21755 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
21758 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21761 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
21762 processing for last bytes.
21764 2011-08-06 Bruno Haible <bruno@clisp.org>
21767 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
21768 U+0385, not to U+1FEE.
21771 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
21772 entry for U+00A5 U+0301.
21774 2011-12-22 Ulrich Drepper <drepper@gmail.com>
21777 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
21778 buffer for the output is too small.
21780 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
21784 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
21785 SSE flags if possible.
21787 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21790 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
21791 processing for last bytes.
21793 2011-12-22 Joseph Myers <joseph@codesourcery.com>
21795 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
21796 (syscall-list-default-options, syscall-list-default-condition)
21797 (syscall-list-includes): Define.
21798 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
21799 list of ABIs and options and #if conditions for each ABI. Do not
21800 handle common syscalls between ABIs specially.
21801 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
21803 (syscall-list-variants, syscall-list-32bit-options)
21804 (syscall-list-32bit-condition, syscall-list-64bit-options)
21805 (syscall-list-64bit-condition): Define.
21806 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
21807 (syscall-list-variants, syscall-list-32bit-options)
21808 (syscall-list-32bit-condition, syscall-list-64bit-options)
21809 (syscall-list-64bit-condition): Define.
21810 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
21812 (syscall-list-variants, syscall-list-32bit-options)
21813 (syscall-list-32bit-condition, syscall-list-64bit-options)
21814 (syscall-list-64bit-condition): Define.
21815 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
21817 (syscall-list-variants, syscall-list-32bit-options)
21818 (syscall-list-32bit-condition, syscall-list-64bit-options)
21819 (syscall-list-64bit-condition): Define.
21821 2011-12-22 Ulrich Drepper <drepper@gmail.com>
21823 * locale/iso-639.def: Add brx entry.
21826 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
21827 Proposed by Mariusz_Cukr <marcukr@op.pl>.
21829 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
21830 __feraiseexcept_renamed.
21832 2011-12-21 Ulrich Drepper <drepper@gmail.com>
21835 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
21836 EPOLLET with unsigned values.
21837 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
21838 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
21840 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
21841 to large cancellation.
21842 * math/s_cacoshf.c: Likewise.
21843 * math/s_cacoshl.c: Likewise.
21845 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
21849 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
21850 * math/s_cacoshf.c: Likewise.
21851 * math/s_cacoshl.c: Likewise.
21853 2011-12-21 Ulrich Drepper <drepper@gmail.com>
21856 * iconv/gconv.h: Define __GCONV_SWAP.
21857 * iconvdata/unicode.c: The swap bit must be stored in __flags.
21858 * iconvdata/utf-16.c: Likewise.
21859 * iconvdata/utf-32.c: Likewise.
21861 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
21864 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
21865 numerator after shifting it by one limb.
21867 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
21869 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
21870 under [__USE_EXTERN_INLINES].
21872 2011-12-17 Ulrich Drepper <drepper@gmail.com>
21875 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
21877 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21879 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
21880 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
21882 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
21883 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
21884 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
21885 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
21886 for strncasecmp/strncasecmp_l compilation.
21887 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
21888 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
21890 2011-12-08 Marek Polacek <mpolacek@redhat.com>
21893 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
21896 2011-12-17 Ulrich Drepper <drepper@gmail.com>
21899 * time/tzfile.c (__tzfile_read): Check values from file header.
21901 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
21903 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
21904 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
21905 * powerpc/powerpc32/dl-start.S: Likewise.
21906 * powerpc/powerpc32/elf/start.S: Likewise.
21907 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
21908 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
21909 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
21910 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
21911 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
21912 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
21913 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
21914 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
21915 * powerpc/powerpc32/fpu/s_round.S: Likewise.
21916 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
21917 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
21918 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
21919 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
21920 * powerpc/powerpc32/memset.S: Likewise.
21921 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
21922 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
21923 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
21924 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
21925 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
21926 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
21927 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
21928 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
21929 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
21930 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
21931 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
21932 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
21933 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
21935 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21937 * math/libm-test.inc: Added more nearbyint tests.
21938 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
21939 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
21940 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
21941 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
21943 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
21945 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
21948 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21950 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
21951 Add wcscpy-ssse3 wcscpy-c.
21952 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
21953 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
21954 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
21955 * sysdeps/x86_64/wcschr.S: New file.
21956 * sysdeps/x86_64/wcsrchr.S: New file.
21957 * string/test-strcmp.c: Remove checking of wcscmp function for
21959 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
21960 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
21961 wcsrchr-sse2 wcsrchr-c.
21962 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
21963 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
21964 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
21965 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
21966 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
21967 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
21968 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
21969 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
21970 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
21971 * wcsmbc/wcschr.c (WCSCHR): New macro.
21973 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21975 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
21976 * wcsmbs/test-wcsrchr.c: New file.
21977 * string/test-strrchr.c: Add wcsrchr support.
21979 * wcsmbs/test-wcscpy.c: New file.
21980 * string/test-strcpy.c: Add wcscpy support.
21983 2011-12-10 Ulrich Drepper <drepper@gmail.com>
21985 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
21988 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
21991 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
21993 2011-12-04 Ulrich Drepper <drepper@gmail.com>
21995 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
21996 Minor optimizations.
21998 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
21999 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
22000 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
22002 2011-12-03 Ulrich Drepper <drepper@gmail.com>
22004 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
22005 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
22006 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
22007 for gcc to avoid warnings.
22008 * inet/Makefile (tests): Add tst-checks.
22009 * inet/tst-checks.c: New file.
22011 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
22014 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
22017 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
22018 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
22020 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
22022 2011-12-02 Ulrich Drepper <drepper@gmail.com>
22024 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
22027 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
22029 2011-11-29 Joseph Myers <joseph@codesourcery.com>
22031 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
22032 conditional on GCC version.
22033 (__arch_compare_and_exchange_val_8_acq)
22034 (__arch_compare_and_exchange_val_16_acq)
22035 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
22036 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
22037 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
22039 2011-12-02 Joseph Myers <joseph@codesourcery.com>
22041 * sysdeps/sh/backtrace.c: New file.
22043 2011-12-02 Andreas Schwab <schwab@redhat.com>
22045 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
22048 2011-12-01 Andreas Schwab <schwab@redhat.com>
22050 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
22051 falling back to utime.
22053 2011-11-30 Andreas Schwab <schwab@redhat.com>
22055 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
22056 expectations for float.
22058 2011-11-29 Andreas Schwab <schwab@redhat.com>
22060 * locale/weight.h (findidx): Add parameter len.
22061 * locale/weightwc.h (findidx): Likewise.
22062 * posix/fnmatch_loop.c (FCT): Adjust caller.
22063 * posix/regcomp.c (build_equiv_class): Likewise.
22064 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
22065 * posix/regexec.c (check_node_accept_bytes): Likewise.
22066 * string/strcoll_l.c (STRCOLL): Likewise.
22067 * string/strxfrm_l.c (STRXFRM): Likewise.
22069 2011-11-17 Ulrich Drepper <drepper@gmail.com>
22071 * Makefile.in: Remove CVSOPT handling.
22072 * configure.in: Remove use of AC_REVISION.
22073 * iconvdata/Makefile (distribute): No need to filter out CVS.
22074 * scripts/list-sources.sh: Remove CVS, subversion and monotone
22077 2011-11-16 Andreas Schwab <schwab@redhat.com>
22079 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
22080 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
22081 [USE_AS_STRNCASECMP_L]: Likewise.
22082 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
22083 NO_TLS_DIRECT_SEG_REFS.
22084 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
22085 Fix argument offsets for non-PIC.
22086 [USE_AS_STRNCASECMP_L]: Likewise.
22087 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
22088 NO_TLS_DIRECT_SEG_REFS.
22090 2011-11-15 Ulrich Drepper <drepper@gmail.com>
22092 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
22094 * locale/loadlocale.c (_nl_load_locale): Likewise.
22096 2011-11-15 Andreas Schwab <schwab@redhat.com>
22098 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
22099 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
22100 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
22101 (SYSCALL_GETTIME): Set errno on error.
22103 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
22104 count references to noai6ai_cached.
22106 2011-11-15 Ulrich Drepper <drepper@gmail.com>
22108 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
22110 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
22111 FD_CLOEXEC for /proc/self/maps.
22113 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
22114 FD_CLOEXEC for /proc/meminfo.
22116 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
22119 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
22120 FD_CLOEXEC for given file.
22122 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
22124 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
22125 FD_CLOEXEC for /etc/hosts.
22126 (_gethtent): Likewise.
22128 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
22130 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
22131 cancellation and set FD_CLOEXEC for /etc/netgroup.
22133 * nss/nss_files/files-key.c (search): Don't allow cancellation when
22134 reading /etc/publickey.
22136 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
22137 allow cancellation when reading /etc/group.
22139 * nss/nss_files/files-alias.c (internal_setent): Don't allow
22141 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
22143 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
22144 when using data file.
22146 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
22148 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
22149 (write_nis_obj): Use "c" and "e" in fopen.
22151 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
22153 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
22155 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
22157 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
22159 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
22162 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
22164 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
22166 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
22168 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
22169 file parsing and set FD_CLOEXEC.
22171 2011-11-14 Ulrich Drepper <drepper@gmail.com>
22173 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
22175 2011-11-14 Andreas Schwab <schwab@redhat.com>
22177 * malloc/arena.c (arena_get2): Don't call reused_arena when
22178 _int_new_arena failed.
22180 2011-11-14 Ulrich Drepper <drepper@gmail.com>
22182 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
22183 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
22184 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
22185 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
22186 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
22187 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
22188 to compile strcasecmp and strncasecmp.
22189 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
22190 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
22192 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
22194 2011-11-13 Ulrich Drepper <drepper@gmail.com>
22196 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
22197 locale-defines.sym to gen-as-const-headers.
22198 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
22199 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
22200 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
22201 to compile strcasecmp and strncasecmp.
22202 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
22203 strcasecmp_l and strncasecmp_l.
22204 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
22205 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
22206 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
22207 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
22208 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
22209 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
22210 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
22211 * sysdeps/i386/i686/multiarch/strncase.S: New file.
22212 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
22213 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
22214 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
22216 2011-11-12 Ulrich Drepper <drepper@gmail.com>
22218 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
22219 result of SYSDEP_GETTIME_CPU to retval.
22220 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
22221 parameter list to macro. Remove trailing semicolon. Adjust users.
22223 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
22226 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
22228 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
22230 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
22231 from unused variable.
22233 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
22235 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
22238 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
22241 * sunrpc/rpc_prot.c (rejected): Fix case value.
22243 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
22244 unsigned long long int to avoid warnings in shift.
22246 * posix/regex_internal.c (re_string_reconstruct): Actually use result
22248 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
22251 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
22252 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
22253 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
22255 * nis/nis_table.c (nis_list): Use variable of correct type for
22256 result of __follow_path call.
22258 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22260 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
22261 of math functions ceil, trunc, floor, round, and sqrt, when
22262 avaliable on the platform.
22263 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
22265 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
22266 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
22267 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
22269 2011-10-30 Marek Polacek <mpolacek@redhat.com>
22271 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
22272 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
22274 2011-11-11 Roland McGrath <roland@hack.frob.com>
22276 * include/unistd.h: Fix __readlink return type.
22277 Reported by Chris Metcalf <cmetcalf@tilera.com>.
22279 2011-11-11 Ulrich Drepper <drepper@gmail.com>
22281 * stdlib/ucontext.h: Undo last change for makecontext.
22283 2011-11-11 Andreas Schwab <schwab@redhat.com>
22285 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
22287 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
22288 * setjmp/setjmp.h: Mark functions as non-leaf.
22289 * setjmp/bits/setjmp2.h: Likewise.
22290 * stdlib/ucontext.h: Likewise.
22292 2011-11-10 Andreas Schwab <schwab@redhat.com>
22294 * malloc/arena.c (_int_new_arena): Don't increment narenas.
22295 (reused_arena): Don't check arena limit.
22296 (arena_get2): Atomically check arena limit.
22298 2011-11-08 Ulrich Drepper <drepper@gmail.com>
22300 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
22301 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
22303 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
22306 2011-11-07 Andreas Schwab <schwab@redhat.com>
22308 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
22309 handler when locking.
22311 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
22312 Fix size of allocated buffer.
22314 2011-11-04 Andreas Schwab <schwab@redhat.com>
22317 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
22318 declarations for long double functions.
22319 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
22321 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
22323 2011-11-03 Andreas Schwab <schwab@redhat.com>
22325 * nscd/nscd.c (main): Don't start AVC thread until credentials are
22328 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
22331 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
22333 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
22335 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
22337 * include/alloca.h (stackinfo_alloca_round): Define.
22338 (extend_alloca): Use it.
22339 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
22340 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
22343 * scripts/check-local-headers.sh: Ignore libaudit.h.
22345 * nscd/Makefile (extra-objs): Make recursively expanded.
22347 2011-11-01 Ulrich Drepper <drepper@gmail.com>
22349 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
22350 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
22352 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
22353 * posix/tst-rfc3484-2.c: Likewise.
22354 * posix/tst-rfc3484-3.c: Likewise.
22356 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
22358 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
22360 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
22361 process_vm_writev from libc using GLIBC_2.15 version.
22363 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
22365 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
22367 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
22370 2011-10-31 Ulrich Drepper <drepper@gmail.com>
22373 * nss/getent.c (initgroups_keys): Show error message in case no group
22376 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
22377 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
22378 __bump_nl_timestamp.
22379 * nscd/connections (nscd_init): When host database is served open
22380 netlink socket and request notification about configuration changes.
22381 (main_loop_poll): Track netlink file descriptor and bump timestamp
22382 in case data becomes available.
22383 (main_loop_epoll): Likewise.
22384 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
22385 (database_pers_head): Add extra_data fileds.
22386 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
22387 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
22388 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
22390 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
22391 in6ai data, call __free_in6ai.
22392 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
22393 Add -DHAVE_NETLINK.
22394 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
22395 interface information. Reuse previous data if netlink timestamp
22397 (__bump_nl_timestamp): New function.
22398 (__free_in6ai): New function.
22400 2011-10-30 Ulrich Drepper <drepper@gmail.com>
22402 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
22403 close_not_cancel_no_status here.
22404 (__check_pf): Reorganize code a bit to not call close twice if OOM.
22406 2011-10-29 Ulrich Drepper <drepper@gmail.com>
22409 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
22412 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
22413 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
22414 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
22416 2011-07-03 Andreas Jaeger <aj@suse.de>
22419 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
22420 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
22421 * math/libm-test.inc (sin_test): Add test case.
22423 2011-10-29 Ulrich Drepper <drepper@gmail.com>
22426 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
22427 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
22429 * elf/chroot_canon.c (chroot_canon): Cleanups.
22431 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
22434 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
22435 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
22437 * string/test-strchr.c: Make usable for strchrnul testing.
22438 * string/test-strchrnul.c: New file.
22439 * string/Makefile (strop-tests): Add strchrnul.
22441 * po/it.po: Update from translation team.
22442 * po/es.po: Likewise.
22444 2011-10-28 Ulrich Drepper <drepper@gmail.com>
22446 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
22447 the three constants needed as parameters. Drop the others.
22448 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
22449 __m128i_strloadu_tolower.
22450 Create and initialize variable zero and use it in all the places
22451 where _mm_setzero_si128 was used.
22453 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
22454 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
22455 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
22456 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
22458 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
22459 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
22460 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
22461 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
22462 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
22463 __mpranred, __mptan.
22464 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
22465 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
22466 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
22467 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
22468 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
22469 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
22470 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
22471 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
22472 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
22474 2011-10-28 Andreas Schwab <schwab@redhat.com>
22476 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
22477 redefine if SHARED.
22478 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
22480 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
22481 wide char related routines to wcsmbs subdir.
22483 2011-10-27 Andreas Schwab <schwab@redhat.com>
22486 * misc/sys/cdefs.h (__THROWNL): Define.
22487 * posix/unistd.h: Use __THREADNL instead of __THREAD
22488 for memory synchronization functions.
22490 2011-10-26 Roland McGrath <roland@hack.frob.com>
22493 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
22495 * manual/stdio.texi (Obstack Streams): Node removed.
22497 2011-10-26 Andreas Schwab <schwab@redhat.com>
22499 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
22500 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
22501 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
22503 * math/math_private.h (math_force_eval): Allow non-addressable
22505 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
22507 2011-10-25 Ulrich Drepper <drepper@gmail.com>
22509 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
22510 file is not needed.
22512 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
22513 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
22514 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
22515 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
22516 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
22517 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
22518 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
22519 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
22521 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
22522 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
22523 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
22524 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
22525 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
22526 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
22527 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
22528 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
22529 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
22530 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
22531 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
22532 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
22533 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
22534 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
22535 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
22536 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
22537 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
22538 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
22539 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
22541 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
22542 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
22544 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
22545 place. Use VEX encoding when compiling for AVX.
22547 2011-10-25 Andreas Schwab <schwab@redhat.com>
22549 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
22550 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
22552 * string/test-strchr.c (do_test): Don't generate NUL bytes.
22554 2011-10-25 Ulrich Drepper <drepper@gmail.com>
22556 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
22557 useless if() expression.
22558 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
22559 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
22560 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
22561 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
22562 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
22563 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
22564 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
22565 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
22566 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
22567 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
22568 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
22569 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
22570 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
22571 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
22572 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
22573 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
22574 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
22575 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
22576 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
22578 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
22580 2011-10-25 Andreas Schwab <schwab@redhat.com>
22582 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
22584 * elf/dl-fini.c (_dl_sort_fini): Likewise.
22586 2011-10-25 Ulrich Drepper <drepper@gmail.com>
22588 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
22589 .text section. Avoid duplicate constants.
22590 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
22591 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22592 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
22593 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22594 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22595 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22596 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22597 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22598 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
22599 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
22600 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
22601 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
22602 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
22603 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
22604 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
22605 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
22606 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
22607 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
22608 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22609 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22610 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
22611 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
22612 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
22613 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
22614 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
22615 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
22616 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
22617 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
22618 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
22619 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
22620 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
22621 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
22622 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
22623 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
22624 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
22625 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
22626 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
22627 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
22628 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
22629 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
22630 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
22631 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
22632 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
22633 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
22634 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
22636 2011-10-24 Ulrich Drepper <drepper@gmail.com>
22638 * sysdeps/x86_64/dla.h: Move to ...
22639 * sysdeps/x86_64/fpu/dla.h: ...here.
22640 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
22641 situations. Use __builtin_fma only for gcc 4.6 and up.
22643 * config.make.in: Add have-mfma4 entry.
22644 * configure.in: Substitute libc_cv_cc_fma4.
22645 * math/Makefile (dbl-only-routines): Add sincostab.
22646 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
22647 Use __sincostab not sincos.
22648 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
22650 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22651 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22652 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22653 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
22655 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
22656 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
22657 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
22658 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
22660 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
22661 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
22663 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
22664 define aliases when function name is a macro.
22665 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
22666 sysdeps/ieee754/dbl-64/sincos.tbl.
22667 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
22668 fma4-enabled routines.
22669 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
22670 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
22671 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
22672 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
22673 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
22674 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
22675 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
22676 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
22677 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
22678 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
22679 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
22680 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
22681 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
22682 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
22683 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
22684 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
22685 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
22686 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
22687 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
22688 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
22689 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
22690 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
22691 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
22692 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
22693 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
22694 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
22695 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
22696 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
22697 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
22698 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
22700 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
22702 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22703 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22704 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22705 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22706 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22707 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22708 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22709 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22711 2011-10-24 Andreas Schwab <schwab@redhat.com>
22713 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
22715 2011-10-23 Ulrich Drepper <drepper@gmail.com>
22717 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
22719 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
22721 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
22723 * string/strnlen.c: Don't define STRNLEN, reverse logic.
22724 Remove unused variable magic_bits.
22725 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
22727 * string/strnlen.c: Define and use STRNLEN macro.
22728 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
22729 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
22730 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
22731 * wcsmbs/wcslen.c: Define and use WCSLEN.
22732 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
22733 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
22734 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
22735 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
22736 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
22737 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
22738 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
22740 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22742 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22743 strnlen-sse2-no-bsf.
22744 Rename strlen-no-bsf to strlen-sse2-no-bsf.
22745 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
22746 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
22747 Add strnlen support.
22748 (USE_AS_STRNLEN): New macro.
22749 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
22750 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
22751 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
22752 * sysdeps/x86_64/wcslen.S: New file.
22754 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
22756 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
22757 XMM-moves are used for copying on small sizes.
22759 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22761 * wcsmbs/Makefile (strop-tests): Add wcschr.
22762 * wcsmbs/test-wcschr.c: New file.
22763 * string/test-strchr.c: Update.
22764 Add wcschr support.
22767 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22769 * wcsmbs/Makefile (strop-tests): Add wcslen.
22770 * wcsmbs/test-wcslen.c: New file.
22771 * string/test-strlen.c: Update.
22772 Add wcslen support.
22775 2011-10-23 Ulrich Drepper <drepper@gmail.com>
22777 * po/it.po: Update from translation team.
22779 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22781 * sysdeps/x86_64/wcscmp.S: Update.
22782 Fix wrong comparison semantics.
22783 wcscmp shall use signed comparison not unsigned.
22784 Don't use substraction to avoid overflow bug.
22785 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
22786 * wcsmbc/wcscmp.c: Likewise.
22787 * string/test-strcmp.c: Likewise.
22788 Add new tests to check cases with negative values.
22790 2011-10-23 Ulrich Drepper <drepper@gmail.com>
22792 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
22793 * sysdeps/x86_64/dla.h: ...here. New file.
22794 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
22795 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22796 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22797 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22798 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22799 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22800 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22801 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22802 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22804 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
22806 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
22807 __ynl_finite aliases.
22809 2011-10-22 Ulrich Drepper <drepper@gmail.com>
22811 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22813 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
22815 [DLA_FMA] (EMULV): Use DLA_FMA.
22816 [DLA_FMA] (MUL12): Use EMULV.
22817 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
22818 that are not needed.
22819 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22820 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22821 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22822 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22823 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22824 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22825 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22827 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
22829 * math/s_nan.c: Undef __nan.
22830 * math/s_nanf.c: Undef __nanf.
22831 * math/s_nanl.c: Undef __nanl.
22832 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
22835 2011-10-22 Ulrich Drepper <drepper@gmail.com>
22837 * math/s_catan.c: Add branch predictions.
22838 * math/s_catanf.c: Likewise.
22839 * math/s_catanh.c: Likewise.
22840 * math/s_catanhf.c: Likewise.
22841 * math/s_catanhl.c: Likewise.
22842 * math/s_catanl.c: Likewise.
22843 * math/s_cexp.c: Likewise.
22844 * math/s_cexpf.c: Likewise.
22845 * math/s_cexpl.c: Likewise.
22846 * math/s_clog.c: Likewise.
22847 * math/s_clog10.c: Likewise.
22848 * math/s_clog10f.c: Likewise.
22849 * math/s_clog10l.c: Likewise.
22850 * math/s_clogf.c: Likewise.
22851 * math/s_clogl.c: Likewise.
22852 * math/s_csqrt.c: Likewise.
22853 * math/s_csqrtf.c: Likewise.
22854 * math/s_csqrtl.c: Likewise.
22855 * math/s_ctanf.c: Likewise.
22856 * math/s_ctanh.c: Likewise.
22857 * math/s_ctanhf.c: Likewise.
22858 * math/s_ctanhl.c: Likewise.
22859 * math/s_ctanl.c: Likewise.
22861 * math/math_private.h: Define __nan, __nanf, __nanl.
22862 * math/s_cacosh.c: Include <math_private.h>.
22863 * math/s_cacoshl.c: Likewise.
22864 * math/s_casinh.c: Likewise.
22865 * math/s_casinhf.c: Likewise.
22866 * math/s_casinhl.c: Likewise.
22867 * math/s_ccos.c: Rely entire on ccosh.
22868 * math/s_ccosf.c: Rely entire on ccoshf.
22869 * math/s_ccosl.c: Rely entirely on ccoshl.
22870 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
22871 Remove tests for FE_INVALID.
22872 * math/s_ccoshf.c: Likewise.
22873 * math/s_ccoshl.c: Likewise.
22874 * math/s_csin.c: Likewise.
22875 * math/s_csinf.c: Likewise.
22876 * math/s_csinh.c Likewise.
22877 * math/s_csinhf.c: Likewise.
22878 * math/s_csinhl.c: Likewise.
22879 * math/s_csinl.c: Likewise.
22880 * math/s_ctan.c: Likewise.
22881 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
22882 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
22883 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
22885 2011-10-21 Ulrich Drepper <drepper@gmail.com>
22887 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
22888 compilation problems.
22890 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
22893 2011-10-20 Ulrich Drepper <drepper@gmail.com>
22895 * sysdeps/i386/configure.in: Test for -mfma4 option.
22896 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
22897 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
22898 COMMON_CPUID_INDEX_80000001.
22899 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
22900 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
22901 use it if FMA3 is not supported.
22902 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
22904 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
22905 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
22907 2011-10-20 Andreas Schwab <schwab@redhat.com>
22910 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
22911 it would create a cycle with a link time dependency.
22913 2011-10-19 Ulrich Drepper <drepper@gmail.com>
22915 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
22917 * string/Makefile (strop-tests): Add rawmemchr.
22918 * string/test-rawmemchr.c: New file.
22920 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
22921 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
22922 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
22923 when compiling str{,n}casecmp and when AVX is available. Hook up
22924 new optimized code in initializers.
22926 2011-10-19 Andreas Schwab <schwab@redhat.com>
22928 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
22929 __feraiseexcept instead of feraiseexcept.
22931 2011-10-18 Ulrich Drepper <drepper@gmail.com>
22933 * math/math_private.h: Define defaults for libc_fetestexcept and
22935 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
22936 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
22937 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
22938 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
22939 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
22940 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
22941 libc_fetestexcept and libc_feupdateenv.
22943 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
22944 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
22945 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
22946 * sysdeps/x86_64/fpu/math_private.h: Define special version of
22947 libc_feholdexcept_setround.
22949 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
22950 Add s_nearbyint-c and s_nearbyintf-c.
22951 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
22952 nearbyintf inlines.
22953 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
22954 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
22955 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
22956 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
22958 * math/math_private.h: Define defaults for libc_fegetround,
22959 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
22960 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
22961 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
22962 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
22963 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
22964 standard functions.
22965 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
22966 Remove comments and hacks for old compiler versions.
22967 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
22968 libc_fegetround, libc_fesetround, libc_feholdexcept, and
22969 libc_feholdexceptl.
22971 2011-10-18 Andreas Schwab <schwab@redhat.com>
22973 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
22974 (__feraiseexcept_renamed): Add __NTH.
22975 (feraiseexcept): Add __NTH. Rename local variables to fix
22976 namespace violations.
22978 2011-10-17 Ulrich Drepper <drepper@gmail.com>
22980 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
22982 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
22984 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
22985 recently added interfaces.
22986 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
22988 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
22989 about macro parameter expansion.
22991 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
22992 __NO_MATH_INLINES is defined. Cleanups.
22994 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
22995 and __floorf is target has SSE4.1.
22996 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
22997 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
22998 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
22999 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
23001 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
23003 (floorf): Likewise.
23005 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
23007 2011-10-17 Andreas Schwab <schwab@redhat.com>
23009 * misc/sys/cdefs.h: Fix last change.
23011 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
23014 2011-10-16 Ulrich Drepper <drepper@gmail.com>
23016 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
23018 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
23019 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
23020 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
23021 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
23022 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
23023 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
23024 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
23025 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
23026 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
23027 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
23028 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
23029 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
23030 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
23031 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
23032 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
23033 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
23034 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
23035 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
23036 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
23037 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
23038 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
23039 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
23041 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
23042 ceil, ceilf, floor, floorf.
23044 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
23045 Perform IRELATIVE relocations last.
23047 * elf/do-rel.h: Add another parameter nrelative, replacing the
23048 local variable with the same name. Change name of the function
23049 to end in Rel or Rela (uppercase).
23050 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
23051 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
23052 elf_dynamic_do_##reloc function.
23054 2011-10-15 Ulrich Drepper <drepper@gmail.com>
23056 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
23057 is sufficient, at least on modern CPUs.
23059 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
23061 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
23062 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
23064 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
23066 * math/bits/math-finite.h: Add entries for exp.
23067 * math/e_expl.c: Add __*_finite alias.
23068 * sysdeps/i386/fpu/e_exp.S: Likewise.
23069 * sysdeps/i386/fpu/e_expf.S: Likewise.
23070 * sysdeps/i386/fpu/e_expl.c: Likewise.
23071 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
23072 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
23073 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
23074 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
23075 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
23076 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
23077 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
23079 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
23080 is sufficient, at least on modern CPUs.
23082 * ctype/ctype-info.c (__ctype_init): Define.
23083 * include/ctype.h (__ctype_init): Declare.
23084 (__ctype_b_loc): The variable is always initialized.
23085 (__ctype_toupper_loc): Likewise.
23086 (__ctype_tolower_loc): Likewise.
23087 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
23088 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
23090 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
23092 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
23094 * configure.in: Also look in $cxxmachine/include for C++ system
23097 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23099 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
23100 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
23101 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
23102 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
23103 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
23104 (USE_AS_WMEMCMP): New macro.
23106 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
23107 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
23108 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
23109 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
23110 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23111 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
23112 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
23113 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
23114 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
23115 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
23116 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
23117 (USE_AS_WMEMCMP): New macro.
23118 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
23119 * sysdeps/string/test-memcmp.c: Update.
23120 Fix simple_wmemcmp.
23122 * wcsmbs/wmemcmp.c: Update.
23123 (WMEMCMP): New macro.
23126 2011-10-12 Andreas Jaeger <aj@suse.de>
23129 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
23131 2011-10-15 Ulrich Drepper <drepper@gmail.com>
23133 * libio/iofwide.c (do_length): Avoid warning.
23135 * ctype/ctype.h (__isctype_f): Add missing __THROW.
23137 2011-10-14 Ulrich Drepper <drepper@gmail.com>
23139 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
23141 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
23142 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
23143 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
23144 * sysdeps/i386/i686/fpu/e_log.S: New file.
23145 * sysdeps/i386/i686/fpu/e_logf.S: New file.
23146 * sysdeps/i386/i686/fpu/e_logl.S: New file.
23148 * ctype/ctype.h: Add support for inlined isXXX functions when
23149 compiling C++ code.
23151 2011-10-14 Andreas Schwab <schwab@redhat.com>
23153 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23155 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
23157 2011-10-13 Roland McGrath <roland@hack.frob.com>
23160 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
23162 2011-10-13 Andreas Schwab <schwab@redhat.com>
23164 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
23165 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
23168 * sysdeps/x86_64/memrchr.S: Check for zero size.
23170 * string/stratcliff.c: Add memrchr tests.
23172 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23174 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23175 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
23176 rawmemchr-sse2 rawmemchr-sse2-bsf.
23177 * sysdeps/i386/i686/multiarch/memchr.S: New file.
23178 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
23179 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
23180 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
23181 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
23182 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
23183 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
23184 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
23185 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
23186 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
23187 * string/memrchr.c (MEMRCHR): New macro.
23189 2011-10-12 Ulrich Drepper <drepper@gmail.com>
23191 Add integration with gcc's -ffinite-math-only and optimize wrapper
23193 * Versions.def: Define GLIBC_2.15 version for libm.
23194 * math/Makefile (headers): Add bits/math-finite.h.
23195 * math/bits/math-finite.h: New file.
23196 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
23197 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
23198 * math/e_acoshl.c: Add __*_finite alias.
23199 * math/e_acosl.c: Likewise.
23200 * math/e_asinl.c: Likewise.
23201 * math/e_atan2l.c: Likewise.
23202 * math/e_atanhl.c: Likewise.
23203 * math/e_coshl.c: Likewise.
23204 * math/e_exp10.c: Likewise.
23205 * math/e_exp10f.c: Likewise.
23206 * math/e_exp10l.c: Likewise.
23207 * math/e_exp2l.c: Likewise.
23208 * math/e_fmodl.c: Likewise.
23209 * math/e_gammal_r.c: Likewise.
23210 * math/e_hypotl.c: Likewise.
23211 * math/e_j0l.c: Likewise.
23212 * math/e_j1l.c: Likewise.
23213 * math/e_jnl.c: Likewise.
23214 * math/e_lgammal_r.c: Likewise.
23215 * math/e_log10l.c: Likewise.
23216 * math/e_log2l.c: Likewise.
23217 * math/e_logl.c: Likewise.
23218 * math/e_powl.c: Likewise.
23219 * math/e_sinhl.c: Likewise.
23220 * math/e_sqrtl.c: Likewise.
23221 * math/e_scalb.c: Completely rewritten and optimized.
23222 * math/e_scalbf.c: Likewise.
23223 * math/e_scalbl.c: Likewise.
23224 * math/w_acos.c: Likewise.
23225 * math/w_acosf.c: Likewise.
23226 * math/w_acosl.c: Likewise.
23227 * math/w_acosh.c: Likewise.
23228 * math/w_acoshf.c: Likewise.
23229 * math/w_acoshl.c: Likewise.
23230 * math/w_asin.c: Likewise.
23231 * math/w_asinf.c: Likewise.
23232 * math/w_asinl.c: Likewise.
23233 * math/w_atan2.c: Likewise.
23234 * math/w_atan2f.c: Likewise.
23235 * math/w_atan2l.c: Likewise.
23236 * math/w_atanh.c: Likewise.
23237 * math/w_atanhf.c: Likewise.
23238 * math/w_atanhl.c: Likewise.
23239 * math/w_exp10.c: Likewise.
23240 * math/w_exp10f.c: Likewise.
23241 * math/w_exp10l.c: Likewise.
23242 * math/w_fmod.c: Likewise.
23243 * math/w_fmodf.c: Likewise.
23244 * math/w_fmodl.c: Likewise.
23245 * math/w_j0.c: Likewise.
23246 * math/w_j0f.c: Likewise.
23247 * math/w_j0l.c: Likewise.
23248 * math/w_j1.c: Likewise.
23249 * math/w_j1f.c: Likewise.
23250 * math/w_j1l.c: Likewise.
23251 * math/w_jn.c: Likewise.
23252 * math/w_jnf.c: Likewise.
23253 * math/w_log.c: Likewise.
23254 * math/w_logf.c: Likewise.
23255 * math/w_logl.c: Likewise.
23256 * math/w_log10.c: Likewise.
23257 * math/w_log10f.c: Likewise.
23258 * math/w_log10l.c: Likewise.
23259 * math/w_log2.c: Likewise.
23260 * math/w_log2f.c: Likewise.
23261 * math/w_log2l.c: Likewise.
23262 * math/w_pow.c: Likewise.
23263 * math/w_powf.c: Likewise.
23264 * math/w_powl.c: Likewise.
23265 * math/w_remainder.c: Likewise.
23266 * math/w_remainderf.c: Likewise.
23267 * math/w_remainderl.c: Likewise.
23268 * math/w_scalb.c: Likewise.
23269 * math/w_scalbf.c: Likewise.
23270 * math/w_scalbl.c: Likewise.
23271 * math/w_sqrt.c: Likewise.
23272 * math/w_sqrtf.c: Likewise.
23273 * math/w_sqrtl.c: Likewise.
23274 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
23275 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
23277 * math/math_private.h: Declare __kernel_standard_f.
23278 * math/w_cosh.c: Remove cruft and optimize a bit.
23279 * math/w_coshf.c: Likewise.
23280 * math/w_coshl.c: Likewise.
23281 * math/w_exp2.c: Likewise.
23282 * math/w_exp2f.c: Likewise.
23283 * math/w_exp2l.c: Likewise.
23284 * math/w_hypot.c: Likewise.
23285 * math/w_hypotf.c: Likewise.
23286 * math/w_hypotl.c: Likewise.
23287 * math/w_lgamma.c: Likewise.
23288 * math/w_lgamma_r.c: Likewise.
23289 * math/w_lgammaf.c: Likewise.
23290 * math/w_lgammaf_r.c: Likewise.
23291 * math/w_lgammal.c: Likewise.
23292 * math/w_lgammal_r.c: Likewise.
23293 * math/w_sinh.c: Likewise.
23294 * math/w_sinhf.c: Likewise.
23295 * math/w_sinhl.c: Likewise.
23296 * math/w_tgamma.c: Likewise.
23297 * math/w_tgammaf.c: Likewise.
23298 * math/w_tgammal.c: Likewise.
23299 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
23300 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
23301 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
23302 Minor optimizations. Pretty printing. Remove cruft.
23303 * sysdeps/i386/fpu/e_acosf.S: Likewise.
23304 * sysdeps/i386/fpu/e_acosh.S: Likewise.
23305 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
23306 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
23307 * sysdeps/i386/fpu/e_acosl.c: Likewise.
23308 * sysdeps/i386/fpu/e_asin.S: Likewise.
23309 * sysdeps/i386/fpu/e_asinf.S: Likewise.
23310 * sysdeps/i386/fpu/e_atan2.S: Likewise.
23311 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
23312 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
23313 * sysdeps/i386/fpu/e_atanh.S: Likewise.
23314 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
23315 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
23316 * sysdeps/i386/fpu/e_exp10.S: Likewise.
23317 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
23318 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
23319 * sysdeps/i386/fpu/e_exp2.S: Likewise.
23320 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
23321 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
23322 * sysdeps/i386/fpu/e_fmod.S: Likewise.
23323 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
23324 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
23325 * sysdeps/i386/fpu/e_hypot.S: Likewise.
23326 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
23327 * sysdeps/i386/fpu/e_log.S: Likewise.
23328 * sysdeps/i386/fpu/e_log10.S: Likewise.
23329 * sysdeps/i386/fpu/e_log10f.S: Likewise.
23330 * sysdeps/i386/fpu/e_log10l.S: Likewise.
23331 * sysdeps/i386/fpu/e_log2.S: Likewise.
23332 * sysdeps/i386/fpu/e_log2f.S: Likewise.
23333 * sysdeps/i386/fpu/e_log2l.S: Likewise.
23334 * sysdeps/i386/fpu/e_logf.S: Likewise.
23335 * sysdeps/i386/fpu/e_logl.S: Likewise.
23336 * sysdeps/i386/fpu/e_pow.S: Likewise.
23337 * sysdeps/i386/fpu/e_powf.S: Likewise.
23338 * sysdeps/i386/fpu/e_powl.S: Likewise.
23339 * sysdeps/i386/fpu/e_remainder.S: Likewise.
23340 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
23341 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
23342 * sysdeps/i386/fpu/e_scalb.S: Likewise.
23343 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
23344 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
23345 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
23346 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
23347 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
23348 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
23349 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
23350 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23351 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
23352 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
23353 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
23354 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
23355 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
23356 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
23357 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
23358 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
23359 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
23360 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23361 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
23362 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
23363 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23364 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
23365 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
23366 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
23367 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23368 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
23369 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
23370 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
23371 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
23372 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
23373 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
23374 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
23375 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
23376 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
23377 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
23378 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
23379 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
23380 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
23381 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
23382 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
23383 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
23384 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
23385 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
23386 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
23387 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
23388 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
23389 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
23390 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
23391 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
23392 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
23393 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
23394 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
23395 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
23396 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
23397 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
23398 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
23399 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
23400 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
23401 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
23402 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
23403 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
23404 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
23405 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
23406 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
23407 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
23408 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
23409 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
23410 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
23411 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
23412 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
23413 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
23414 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
23415 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
23416 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
23417 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
23418 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
23419 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
23420 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
23421 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
23422 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
23423 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
23424 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
23425 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
23426 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
23427 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
23428 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
23429 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
23430 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
23431 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
23432 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
23433 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
23434 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
23435 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
23436 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
23437 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
23438 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
23439 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
23440 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
23441 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
23442 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
23443 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
23444 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
23445 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
23446 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
23447 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
23448 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
23449 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
23450 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
23451 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
23452 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
23453 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
23454 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
23455 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
23456 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
23457 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
23458 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
23459 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
23460 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
23461 (__isnanf): Likewise.
23462 (__isinf_ns): Likewise.
23463 (__isinf_nsf): Likewise.
23464 (__finite): Likewise.
23465 (__finitef): Likewise.
23466 (__ieee754_sqrt): Define as macro.
23467 (__ieee754_sqrtf): Define as macro.
23468 (__ieee754_sqrtl): Define as macro.
23469 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
23471 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
23472 __FINITE_MATH_ONLY__ consistent.
23473 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
23475 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
23477 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
23480 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
23482 2011-10-09 Ulrich Drepper <drepper@gmail.com>
23484 * po/ja.po: Update from translation team.
23486 2011-10-08 Roland McGrath <roland@hack.frob.com>
23488 * locale/programs/locarchive.c (prepare_address_space): New function.
23489 (create_archive, enlarge_archive, open_archive): Use it.
23491 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
23492 inside [SHARED], where it is used.
23494 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
23496 * nss/getent.c (netgroup_keys): Remove unused variable.
23497 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
23499 2011-10-08 Ulrich Drepper <drepper@gmail.com>
23501 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
23502 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
23503 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
23504 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
23505 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
23506 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
23507 * math/Makefile (libm-calls): Add s_isinf_ns.
23508 * math/divtc3.c: Use __isinf_nsl instead of isinf.
23509 * math/multc3.c: Likewise.
23510 * math/s_casin.c: Likewise.
23511 * math/s_casinf.c: Likewise.
23512 * math/s_casinl.c: Likewise.
23513 * math/s_ccos.c: Likewise.
23514 * math/s_ccosf.c: Likewise.
23515 * math/s_ccosl.c: Likewise.
23516 * math/s_ctan.c: Likewise.
23517 * math/s_ctanf.c: Likewise.
23518 * math/s_ctanh.c: Likewise.
23519 * math/s_ctanhf.c: Likewise.
23520 * math/s_ctanhl.c: Likewise.
23521 * math/s_ctanl.c: Likewise.
23522 * math/w_fmod.c: Likewise.
23523 * math/w_fmodf.c: Likewise.
23524 * math/w_fmodl.c: Likewise.
23525 * math/w_remainder.c: Likewise.
23526 * math/w_remainderf.c: Likewise.
23527 * math/w_remainderl.c: Likewise.
23528 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
23529 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
23530 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
23531 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
23532 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
23533 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
23534 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
23535 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
23537 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
23539 * stdio-common/printf_fphex.c: Likewise.
23540 * stdio-common/printf_size.c: Likewise.
23542 * math/e_exp10.c: Include math_private.h using <...> not "...".
23543 * math/e_exp10f.c: Likewise.
23544 * math/e_exp10l.c: Likewise.
23545 * math/e_exp2l.c: Likewise.
23546 * math/e_j0l.c: Likewise.
23547 * math/e_j1l.c: Likewise.
23548 * math/e_jnl.c: Likewise.
23549 * math/e_lgammal_r.c: Likewise.
23550 * math/e_rem_pio2l.c: Likewise.
23551 * math/e_scalb.c: Likewise.
23552 * math/e_scalbf.c: Likewise.
23553 * math/e_scalbl.c: Likewise.
23554 * math/k_cosl.c: Likewise.
23555 * math/k_sinl.c: Likewise.
23556 * math/k_tanl.c: Likewise.
23557 * math/s_cacoshf.c: Likewise.
23558 * math/s_catan.c: Likewise.
23559 * math/s_catanf.c: Likewise.
23560 * math/s_catanh.c: Likewise.
23561 * math/s_catanhf.c: Likewise.
23562 * math/s_catanhl.c: Likewise.
23563 * math/s_catanl.c: Likewise.
23564 * math/s_ccosh.c: Likewise.
23565 * math/s_ccoshf.c: Likewise.
23566 * math/s_ccoshl.c: Likewise.
23567 * math/s_cexp.c: Likewise.
23568 * math/s_cexpf.c: Likewise.
23569 * math/s_cexpl.c: Likewise.
23570 * math/s_clog.c: Likewise.
23571 * math/s_clog10.c: Likewise.
23572 * math/s_clog10f.c: Likewise.
23573 * math/s_clog10l.c: Likewise.
23574 * math/s_clogf.c: Likewise.
23575 * math/s_clogl.c: Likewise.
23576 * math/s_csin.c: Likewise.
23577 * math/s_csinf.c: Likewise.
23578 * math/s_csinh.c: Likewise.
23579 * math/s_csinhf.c: Likewise.
23580 * math/s_csinhl.c: Likewise.
23581 * math/s_csinl.c: Likewise.
23582 * math/s_csqrt.c: Likewise.
23583 * math/s_csqrtf.c: Likewise.
23584 * math/s_csqrtl.c: Likewise.
23585 * math/s_ctan.c: Likewise.
23586 * math/s_ctanf.c: Likewise.
23587 * math/s_ctanh.c: Likewise.
23588 * math/s_ctanhf.c: Likewise.
23589 * math/s_ctanhl.c: Likewise.
23590 * math/s_ctanl.c: Likewise.
23591 * math/s_ldexp.c: Likewise.
23592 * math/s_ldexpf.c: Likewise.
23593 * math/s_ldexpl.c: Likewise.
23594 * math/s_significand.c: Likewise.
23595 * math/s_significandf.c: Likewise.
23596 * math/s_significandl.c: Likewise.
23597 * math/w_acos.c: Likewise.
23598 * math/w_acosf.c: Likewise.
23599 * math/w_acosh.c: Likewise.
23600 * math/w_acoshf.c: Likewise.
23601 * math/w_acoshl.c: Likewise.
23602 * math/w_acosl.c: Likewise.
23603 * math/w_asin.c: Likewise.
23604 * math/w_asinf.c: Likewise.
23605 * math/w_asinl.c: Likewise.
23606 * math/w_atan2.c: Likewise.
23607 * math/w_atan2f.c: Likewise.
23608 * math/w_atan2l.c: Likewise.
23609 * math/w_atanh.c: Likewise.
23610 * math/w_atanhf.c: Likewise.
23611 * math/w_atanhl.c: Likewise.
23612 * math/w_cosh.c: Likewise.
23613 * math/w_coshf.c: Likewise.
23614 * math/w_coshl.c: Likewise.
23615 * math/w_dremf.c: Likewise.
23616 * math/w_exp10.c: Likewise.
23617 * math/w_exp10f.c: Likewise.
23618 * math/w_exp10l.c: Likewise.
23619 * math/w_exp2.c: Likewise.
23620 * math/w_exp2f.c: Likewise.
23621 * math/w_fmod.c: Likewise.
23622 * math/w_fmodf.c: Likewise.
23623 * math/w_fmodl.c: Likewise.
23624 * math/w_hypot.c: Likewise.
23625 * math/w_hypotf.c: Likewise.
23626 * math/w_hypotl.c: Likewise.
23627 * math/w_j0.c: Likewise.
23628 * math/w_j0f.c: Likewise.
23629 * math/w_j0l.c: Likewise.
23630 * math/w_j1.c: Likewise.
23631 * math/w_j1f.c: Likewise.
23632 * math/w_j1l.c: Likewise.
23633 * math/w_jn.c: Likewise.
23634 * math/w_jnf.c: Likewise.
23635 * math/w_jnl.c: Likewise.
23636 * math/w_lgamma.c: Likewise.
23637 * math/w_lgamma_r.c: Likewise.
23638 * math/w_lgammaf.c: Likewise.
23639 * math/w_lgammaf_r.c: Likewise.
23640 * math/w_lgammal.c: Likewise.
23641 * math/w_lgammal_r.c: Likewise.
23642 * math/w_log.c: Likewise.
23643 * math/w_log10.c: Likewise.
23644 * math/w_log10f.c: Likewise.
23645 * math/w_log10l.c: Likewise.
23646 * math/w_log2.c: Likewise.
23647 * math/w_log2f.c: Likewise.
23648 * math/w_log2l.c: Likewise.
23649 * math/w_logf.c: Likewise.
23650 * math/w_logl.c: Likewise.
23651 * math/w_pow.c: Likewise.
23652 * math/w_powf.c: Likewise.
23653 * math/w_powl.c: Likewise.
23654 * math/w_remainder.c: Likewise.
23655 * math/w_remainderf.c: Likewise.
23656 * math/w_remainderl.c: Likewise.
23657 * math/w_scalb.c: Likewise.
23658 * math/w_scalbf.c: Likewise.
23659 * math/w_scalbl.c: Likewise.
23660 * math/w_sinh.c: Likewise.
23661 * math/w_sinhf.c: Likewise.
23662 * math/w_sinhl.c: Likewise.
23663 * math/w_sqrt.c: Likewise.
23664 * math/w_sqrtf.c: Likewise.
23665 * math/w_sqrtl.c: Likewise.
23666 * math/w_tgamma.c: Likewise.
23667 * math/w_tgammaf.c: Likewise.
23668 * math/w_tgammal.c: Likewise.
23670 * po/ja.po: Update from translation team.
23672 2011-09-29 Andreas Jaeger <aj@suse.de>
23675 * sunrpc/netname.c (netname2host): Fix logic.
23679 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
23681 * math/w_remainder.c (__remainder): Likewise.
23682 * math/w_remainderf.c (__remainderf): Likewise.
23683 * math/libm-test.inc (remainder_test): Add test cases.
23685 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23687 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
23690 2011-10-07 Ulrich Drepper <drepper@gmail.com>
23692 * string/test-memcmp.c: Avoid unncessary #defines.
23693 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
23695 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23697 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
23698 Use new sse2 version for core i3 - i7 as it's faster
23699 than sse42 version.
23700 (bit_Prefer_PMINUB_for_stringop): New.
23701 * sysdeps/x86_64/rawmemchr.S: Update.
23702 Replace with faster SSE2 version.
23703 * sysdeps/x86_64/memrchr.S: New file.
23704 * sysdeps/x86_64/memchr.S: Update.
23705 Replace with faster SSE2 version.
23707 2011-09-12 Marek Polacek <mpolacek@redhat.com>
23709 * elf/dl-load.c (lose): Add cast to avoid warning.
23711 2011-10-07 Ulrich Drepper <drepper@gmail.com>
23713 * po/ca.po: Update from translation team.
23715 * inet/getnetgrent_r.c: Hook up nscd.
23716 * nscd/Makefile (routines): Add nscd_netgroup.
23717 (nscd-modules): Add netgroupcache.
23718 (CFLAGS-netgroupcache.c): Define.
23719 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
23720 (cache_search): Add const to second parameter.
23721 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
23723 (dbs): Add netgrdb entry.
23724 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
23725 (verify_persistent_db): Handle netgrdb.
23726 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
23727 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
23729 (netgroup_response_header): Define.
23730 (innetgroup_response_header): Define.
23731 (datahead): Add netgroup_response_header and innetgroup_response_header
23733 * nscd/nscd.conf: Add entries for netgroup cache.
23734 * nscd/nscd.h (dbtype): Add netgrdb.
23735 (_PATH_NSCD_NETGROUP_DB): Define.
23736 (netgroup_iov_disabled): Declare.
23737 (xmalloc, xcalloc, xrealloc): Move declarations here.
23738 (cache_search): Adjust prototype.
23739 Add netgroup-related prototypes.
23740 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
23741 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
23742 (__nscd_innetgr): Declare.
23743 * nscd/selinux.c (perms): Use access_vector_t as element type and
23744 add netgroup-related initializers.
23745 * nscd/netgroupcache.c: New file.
23746 * nscd/nscd_netgroup.c: New file.
23747 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
23748 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
23749 For four parameters use innetgr.
23750 * nss/nss_files/files-init.c: Add definition and callback for netgr.
23751 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
23752 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
23753 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
23755 * nscd/connections.c (register_traced_file): Don't register file
23756 for disabled databases.
23758 2011-10-06 Ulrich Drepper <drepper@gmail.com>
23760 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
23762 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
23763 from tree and freeing node.
23765 2011-09-25 Jiri Olsa <jolsa@redhat.com>
23767 * nss/nsswitch.c (__nss_database_lookup): Handle
23768 nss_parse_service_list out of memory case.
23770 2011-09-15 Jiri Olsa <jolsa@redhat.com>
23772 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
23773 out of memory case.
23775 2011-10-04 Andreas Schwab <schwab@redhat.com>
23777 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
23778 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
23780 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
23781 elf_machine_rela, elf_machine_lazy_rel.
23782 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
23783 (ELF_DYNAMIC_DO_REL): Likewise.
23784 (ELF_DYNAMIC_DO_RELA): Likewise.
23785 (ELF_DYNAMIC_RELOCATE): Likewise.
23786 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
23787 to ELF_DYNAMIC_DO_REL.
23788 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
23789 (dl_main): In trace mode always set __RTLD_NOIFUNC.
23790 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
23792 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
23793 skip_ifunc, don't call ifunc function if non-zero.
23794 (elf_machine_rela): Likewise.
23795 (elf_machine_lazy_rel): Likewise.
23796 (elf_machine_lazy_rela): Likewise.
23797 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
23798 (elf_machine_lazy_rel): Likewise.
23799 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
23801 (elf_machine_lazy_rel): Likewise.
23802 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
23804 (elf_machine_lazy_rel): Likewise.
23805 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
23806 (elf_machine_lazy_rel): Likewise.
23807 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
23808 (elf_machine_lazy_rel): Likewise.
23809 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
23810 (elf_machine_lazy_rel): Likewise.
23811 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
23812 (elf_machine_lazy_rel): Likewise.
23813 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
23814 (elf_machine_lazy_rel): Likewise.
23815 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
23816 (elf_machine_lazy_rel): Likewise.
23818 2011-09-28 Ulrich Drepper <drepper@gmail.com>
23820 * nss/nss_files/files-init.c (_nss_files_init): Use static
23821 initialization for all the *_traced_file variables.
23823 2011-09-28 Andreas Schwab <schwab@redhat.com>
23825 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23827 2011-09-27 Roland McGrath <roland@hack.frob.com>
23830 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
23832 2011-09-27 Andreas Schwab <schwab@redhat.com>
23834 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
23835 Reread the line before reparsing it.
23837 2011-09-26 Andreas Schwab <schwab@redhat.com>
23839 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
23841 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
23842 Maxim Kuvyrkov <maxim@codesourcery.com>
23843 Joseph Myers <joseph@codesourcery.com>
23845 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
23846 if needed for __stack_chk_guard.
23848 2011-09-19 Roland McGrath <roland@hack.frob.com>
23850 * sysdeps/posix/spawni.c (script_execute): Always define it.
23851 It will be optimized away if unused.
23852 (maybe_script_execute): New function.
23853 (__spawni): Call it.
23855 * Makerules: Don't include tls.make.
23856 (config-tls): Always set to thread.
23857 * tls.make.c: File removed.
23859 2011-09-19 Mike Frysinger <vapier@gentoo.org>
23861 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
23862 * config.make.in (CPPFLAGS-config): New substituted variable.
23864 2011-09-15 Ulrich Drepper <drepper@gmail.com>
23866 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
23869 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
23870 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
23872 2011-09-15 Roland McGrath <roland@hack.frob.com>
23874 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
23875 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
23876 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
23877 (CALL_FAIL): Likewise.
23878 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
23879 (CALL_FAIL): Macro removed.
23880 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
23882 2011-09-15 Ulrich Drepper <drepper@gmail.com>
23884 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
23885 for __FINITE_MATH_ONLY__ == 1.
23887 2011-09-15 Andreas Schwab <schwab@redhat.com>
23889 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
23890 __ieee754_sqrt instead of sqrt.
23891 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
23892 __ieee754_sqrtf instead of sqrtf.
23893 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
23894 __floorf instead of floorf.
23895 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
23896 __floorf, __truncf instead of floorf, truncf.
23898 2011-09-14 Ulrich Drepper <drepper@gmail.com>
23900 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
23902 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
23903 __extern_always_inline.
23904 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
23907 2011-09-14 Andreas Schwab <schwab@redhat.com>
23909 * elf/rtld.c (dl_main): Also relocate in dependency order when
23910 doing symbol dependency testing.
23912 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
23914 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
23915 Always define `refsym'.
23917 2011-09-13 Andreas Schwab <schwab@redhat.com>
23919 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
23920 (__FD_ELT): Renamed from __FDELT.
23921 * misc/bits/select2.h (__FD_ELT): Likewise.
23922 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
23923 __FD_MASK instead of __FDELT, __FDMASK.
23924 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
23926 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
23929 * elf/Makefile (gen-ldd): Fix pattern.
23931 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
23932 (init_tls): Likewise.
23934 2011-09-12 Ulrich Drepper <drepper@gmail.com>
23936 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
23938 2011-09-12 Andreas Schwab <schwab@redhat.com>
23940 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
23941 `struct cmsghdr *' instead of `void *'.
23942 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
23945 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
23947 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
23949 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
23950 ldd_rewrite_script.
23952 2011-09-11 Ulrich Drepper <drepper@gmail.com>
23954 * configure.in: Remove --with-tls option.
23955 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
23956 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
23957 out in case it is missing.
23958 * sysdeps/ia64/elf/configure.in: Likewise.
23959 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
23960 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
23961 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
23962 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
23963 * sysdeps/sh/elf/configure.in: Likewise.
23964 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
23965 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
23966 * sysdeps/x86_64/elf/configure.in: Likewise.
23967 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
23968 * sysdeps/mach/hurd/tls.h: Likewise.
23971 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
23974 * configure.in: Fix use of AC_INIT.
23976 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
23978 2011-09-10 Ulrich Drepper <drepper@gmail.com>
23980 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
23982 * malloc/hooks.c: Likewise.
23985 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
23986 variables statically.
23987 (narenas): Initialize.
23988 (list_lock): Initialize.
23989 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
23990 initializtion of main_arena and list_lock. Small cleanups.
23991 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
23992 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
23993 Add initializers to main_arena and mp_.
23994 (malloc_state): Remove pagesize member. Change all users to use
23997 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
23998 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
23999 is always initialized.
24001 * malloc/malloc.c: Removed unused configurations and dead code.
24002 * malloc/arena.c: Likewise.
24003 * malloc/hooks.c: Likewise.
24004 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
24006 * include/tls.h: Removed. USE___THREAD must always be defined.
24007 * bits/libc-tsd.h: Don't handle !USE___THREAD.
24008 * elf/dl-libc.c: Likewise.
24009 * elf/dl-tsd.c: Likewise.
24010 * include/errno.h: Likewise.
24011 * include/netdb.h: Likewise.
24012 * include/resolv.h: Likewise.
24013 * inet/herrno-loc.c: Likewise.
24014 * inet/herrno.c: Likewise.
24015 * malloc/arena.c: Likewise.
24016 * malloc/hooks.c: Likewise.
24017 * malloc/malloc.c: Likewise.
24018 * resolv/res-state.c: Likewise.
24019 * resolv/res_libc.c: Likewise.
24020 * sysdeps/i386/dl-machine.h: Likewise.
24021 * sysdeps/ia64/dl-machine.h: Likewise.
24022 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
24023 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
24024 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
24025 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
24026 * sysdeps/sh/dl-machine.h: Likewise.
24027 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
24028 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
24029 * sysdeps/unix/i386/sysdep.S: Likewise.
24030 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
24031 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
24032 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
24033 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
24034 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
24035 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
24036 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
24037 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
24038 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
24039 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
24040 * sysdeps/unix/x86_64/sysdep.S: Likewise.
24041 * sysdeps/x86_64/dl-machine.h: Likewise.
24042 * tls.make.c: Likewise.
24044 * configure.in: Remove --with-__thread option. Make tests for
24045 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
24046 tls_model attribute fail if no support is available. Remove
24048 * Makeconfig: Adjust for dropped configure option. All features are
24050 * Makerules: Likewise.
24051 * Versions.def: Likewise.
24052 * argp/argp-fmtstream.c: Likewise.
24053 * argp/argp-fmtstream.h: Likewise.
24054 * argp/argp-help.c: Likewise.
24055 * assert/assert.c: Likewise.
24056 * config.h.in: Likewise.
24057 * config.make.in: Likewise.
24058 * configure: Likewise.
24059 * configure.in: Likewise.
24060 * csu/Versions: Likewise.
24061 * csu/init.c: Likewise.
24062 * elf/tst-audit2.c: Likewise.
24063 * elf/tst-tls10.c: Likewise.
24064 * elf/tst-tls10.h: Likewise.
24065 * elf/tst-tls11.c: Likewise.
24066 * elf/tst-tls12.c: Likewise.
24067 * elf/tst-tls14.c: Likewise.
24068 * elf/tst-tlsmod11.c: Likewise.
24069 * elf/tst-tlsmod12.c: Likewise.
24070 * elf/tst-tlsmod13.c: Likewise.
24071 * elf/tst-tlsmod13a.c: Likewise.
24072 * elf/tst-tlsmod14a.c: Likewise.
24073 * elf/tst-tlsmod15b.c: Likewise.
24074 * elf/tst-tlsmod16a.c: Likewise.
24075 * elf/tst-tlsmod16b.c: Likewise.
24076 * elf/tst-tlsmod7.c: Likewise.
24077 * elf/tst-tlsmod8.c: Likewise.
24078 * elf/tst-tlsmod9.c: Likewise.
24079 * gmon/gmon.c: Likewise.
24080 * grp/fgetgrent_r.c: Likewise.
24081 * grp/putgrent.c: Likewise.
24082 * hurd/fopenport.c: Likewise.
24083 * include/libc-symbols.h: Likewise.
24084 * include/tls.h: Likewise.
24085 * intl/gettextP.h: Likewise.
24086 * intl/loadinfo.h: Likewise.
24087 * locale/global-locale.c: Likewise.
24088 * locale/localeinfo.h: Likewise.
24089 * mach/devstream.c: Likewise.
24090 * malloc/arena.c: Likewise.
24091 * malloc/set-freeres.c: Likewise.
24092 * misc/err.c: Likewise.
24093 * misc/getttyent.c: Likewise.
24094 * misc/mntent_r.c: Likewise.
24095 * posix/getopt.c: Likewise.
24096 * posix/wordexp.c: Likewise.
24097 * pwd/fgetpwent_r.c: Likewise.
24098 * resolv/Versions: Likewise.
24099 * resolv/res_hconf.c: Likewise.
24100 * shadow/fgetspent_r.c: Likewise.
24101 * shadow/putspent.c: Likewise.
24102 * stdio-common/printf_fphex.c: Likewise.
24103 * stdio-common/tmpfile.c: Likewise.
24104 * stdlib/abort.c: Likewise.
24105 * stdlib/fmtmsg.c: Likewise.
24106 * sunrpc/auth_unix.c: Likewise.
24107 * sunrpc/clnt_perr.c: Likewise.
24108 * sunrpc/clnt_tcp.c: Likewise.
24109 * sunrpc/clnt_udp.c: Likewise.
24110 * sunrpc/clnt_unix.c: Likewise.
24111 * sunrpc/openchild.c: Likewise.
24112 * sunrpc/svc_simple.c: Likewise.
24113 * sunrpc/svc_tcp.c: Likewise.
24114 * sunrpc/svc_udp.c: Likewise.
24115 * sunrpc/svc_unix.c: Likewise.
24116 * sunrpc/xdr.c: Likewise.
24117 * sunrpc/xdr_array.c: Likewise.
24118 * sunrpc/xdr_rec.c: Likewise.
24119 * sunrpc/xdr_ref.c: Likewise.
24120 * sunrpc/xdr_stdio.c: Likewise.
24122 2011-09-09 Ulrich Drepper <drepper@gmail.com>
24124 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
24126 2011-07-03 Andreas Jaeger <aj@suse.de>
24128 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
24129 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
24130 regenerate with gen-libm-tests.pl.
24132 2010-05-12 Petr Baudis <pasky@suse.cz>
24135 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
24136 around j0() zero points by switching to j1().
24137 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
24138 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
24139 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
24140 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
24142 2011-09-09 Ulrich Drepper <drepper@gmail.com>
24144 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
24146 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
24148 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
24149 Patch in part by Pavel Roskin <proski@gnu.org>.
24152 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
24154 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
24155 Free memory block if necessary.
24158 * libio/genops.c (INTDEF): For string streams the _lock pointer can
24159 be NULL. Don't lock in this case.
24161 2011-09-09 Roland McGrath <roland@hack.frob.com>
24163 * elf/elf.h (ELFOSABI_GNU): New macro.
24164 (ELFOSABI_LINUX): Define to that.
24166 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
24168 * string/strncat.c (strncat): Undef the symbol in case it has been
24169 defined in bits/string.h.
24171 2011-09-09 Ulrich Drepper <drepper@gmail.com>
24173 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
24175 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
24178 2011-08-17 Andreas Jaeger <aj@suse.de>
24180 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
24182 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
24183 Ian Lance Taylor <iant@google.com>
24185 * math/libm-test.inc (lround_test): New testcase.
24186 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
24188 2011-09-08 Ulrich Drepper <drepper@gmail.com>
24190 * Makefile: Remove support for automatic cvs check-ins.
24191 * Makerules: Likewise.
24192 * config.make.in: Likewise.
24193 * configure.in: Likewise.
24194 * intl/Makefile: Likewise.
24195 * locale/Makefile: Likewise.
24196 * po/Makefile: Likewise.
24197 * posix/Makefile: Likewise.
24198 * sysdeps/gnu/Makefile: Likewise.
24199 * sysdeps/mach/hurd/Makefile: Likewise.
24200 * sysdeps/sparc/sparc32/Makefile: Likewise.
24203 * posix/Makefile (bug-regex32-ENV): Define.
24204 Patch by John Stanley <jpsinthemix@verizon.net>.
24206 * misc/Makefile (headers): Add bits/select2.h.
24207 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
24208 * misc/bits/select2.h: New file.
24209 * include/bits/select2.h: New file.
24210 * debug/Makefile (routines): Add fdelt_chk.
24211 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
24212 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
24214 * debug/fdelt_chk.c: New file.
24216 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
24217 * wcsmbs/test-wmemcmp.c: Likewise.
24218 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
24219 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
24221 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24223 * string/Makefile (strop-tests): Add memcmp.
24224 * string/test-wmemcmp.c: New file.
24225 * string/test-memcmp.c: Add wmemcmp support.
24227 2011-09-08 Roland McGrath <roland@hack.frob.com>
24230 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
24233 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
24234 garbage value in a __mach_port_mod_refs call in the cases of the
24235 task-self and thread-self ports.
24237 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
24239 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
24241 2011-09-08 Andreas Schwab <schwab@redhat.com>
24243 * elf/dl-load.c (lose): Check for non-null L.
24245 2011-09-07 Ulrich Drepper <drepper@gmail.com>
24247 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
24249 * elf/dl-libc.c (dlerror_run): Pass back error code from
24253 * elf/dl-load.c (lose): Free l_origin if it is valid.
24255 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
24257 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
24258 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
24259 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
24260 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
24261 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
24262 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
24264 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24266 * sysdeps/powerpc/fpu/e_hypot.c: New file.
24267 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
24268 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
24269 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
24270 * sysdeps/powerpc/fpu/k_cosf.c: New file.
24271 * sysdeps/powerpc/fpu/k_sinf.c: New file.
24272 * sysdeps/powerpc/fpu/s_cosf.c: New file.
24273 * sysdeps/powerpc/fpu/s_sinf.c: New file.
24274 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
24275 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
24277 2011-08-15 Alan Modra <amodra@gmail.com>
24280 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
24281 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
24282 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
24283 ppc_mcount to static-only-routines.
24284 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
24286 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
24287 __mcount_internal with usual JUMPTARGET. Remove useless nop.
24289 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
24291 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
24292 for finite and infinity parameters.
24294 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
24296 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
24297 and add nop instructions for throughput optimization.
24298 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
24300 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
24302 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
24303 aligned copy for power7 with vector-scalar instructions.
24304 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
24306 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
24308 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
24311 2011-09-07 Andreas Schwab <schwab@redhat.com>
24314 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
24317 2011-09-07 Ulrich Drepper <drepper@gmail.com>
24319 * sysdeps/unix/sysv/linux/x86_64/init-first.c
24320 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
24321 syscall wrapper around clock_gettime in __vdso_clock_gettime.
24322 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
24325 2011-09-06 Ulrich Drepper <drepper@gmail.com>
24327 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
24328 Forgot to demangle the pointer.
24330 * sysdeps/i386/sysdep.h: Define atom_text_section.
24331 * sysdeps/x86_64/sysdep.h: Likewise.
24332 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
24333 section with atom_text_section.
24334 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
24335 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
24336 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
24337 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
24338 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
24340 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
24341 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
24342 already be defined. Change to take two parameters and don't assign
24343 result to variable. Adjust all users.
24344 Define INTERNAL_GETTIME if not already defined.
24345 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
24347 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
24348 HAVE_CLOCK_GETTIME_VSYSCALL.
24349 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
24351 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
24352 gettimeofday vsyscall, just use time.
24354 2011-09-06 Andreas Schwab <schwab@redhat.com>
24356 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
24359 2011-09-06 Ulrich Drepper <drepper@gmail.com>
24361 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
24363 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
24365 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
24366 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
24367 syscall if possible.
24369 2011-09-05 Ulrich Drepper <drepper@gmail.com>
24371 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
24372 e_ident. Don't pass to find_mapsXX.
24373 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
24375 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24377 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24378 strchr-sse2-no-bsf strrchr-sse2-no-bsf
24379 * sysdeps/x86_64/multiarch/strchr.S: Update.
24380 Check bit_slow_BSF bit.
24381 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
24382 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
24383 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
24385 2011-09-05 Ulrich Drepper <drepper@gmail.com>
24388 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
24390 (tryshell): Define.
24391 (__spawni): Change last parameter to be flag. Test
24392 SPAWN_XFLAGS_USE_PATH flag to use path or not.
24393 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
24394 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
24395 * posix/spawni.c: Likewise.
24396 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
24397 * posix/spawnp.c: Likewise. Change normal version to use
24398 SPAWN_XFLAGS_USE_PATH.
24399 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
24400 SPAWN_XFLAGS_TRY_SHELL.
24403 * posix/glob.h: Remove gcc 1.x support.
24406 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
24408 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24410 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24411 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
24413 * sysdeps/i386/i686/multiarch/strchr.S: New file.
24414 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
24415 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
24416 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
24417 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
24418 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
24420 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24422 * sysdeps/x86_64/wcscmp.S: New file.
24424 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
24425 wcscmp-c wcscmp-sse2
24426 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
24427 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
24428 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
24429 * wcsmbs/wcscmp.c: Allow renaming.
24431 2011-09-05 David S. Miller <davem@davemloft.net>
24433 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
24434 stack slot, rather than the struct return pointer slot.
24435 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
24436 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
24437 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
24438 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
24440 2011-09-05 Ulrich Drepper <drepper@gmail.com>
24442 * po/ja.po: Update from translation team.
24445 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
24446 kernel in 64-bit binaries.
24448 2011-09-01 David S. Miller <davem@davemloft.net>
24450 * elf/elf.h (HWCAP_SPARC_*): Move to..
24451 * sysdeps/sparc/sysdep.h: this new file and add new values.
24452 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
24453 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
24454 _DL_HWCAP_COUNT to 24.
24455 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
24457 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
24458 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
24459 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
24460 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
24461 instead of magic constants.
24462 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
24464 2011-08-31 David S. Miller <davem@davemloft.net>
24466 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
24467 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
24468 Reimplement to do errno handling inline.
24469 (SYSCALL_ERROR_HANDLER): New macro.
24470 (__SYSCALL_STRING): Do not do errno handling in asm.
24471 (__CLONE_SYSCALL_STRING): Delete.
24472 (__INTERNAL_SYSCALL_STRING): Delete.
24473 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
24474 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
24475 (PSEUDO): Reimplement to do errno handling inline.
24476 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
24477 (SYSCALL_ERROR_HANDLER): New macro.
24478 (__SYSCALL_STRING): Do not do errno handling in asm.
24479 (__CLONE_SYSCALL_STRING): Delete.
24480 (__INTERNAL_SYSCALL_STRING): Delete.
24481 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
24482 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
24484 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
24485 (inline_syscall*): Add 'err' argument.
24486 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
24487 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
24488 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
24489 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
24491 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
24492 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
24494 2011-08-30 Andreas Schwab <schwab@redhat.com>
24496 * elf/rtld.c (dl_main): Relocate objects in dependency order.
24498 2011-08-29 Jiri Olsa <jolsa@redhat.com>
24500 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
24503 2011-08-24 David S. Miller <davem@davemloft.net>
24505 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
24507 2011-08-24 Andreas Schwab <schwab@redhat.com>
24509 * elf/Makefile: Add rules to build and run unload8 test.
24510 * elf/unload8.c: New file.
24511 * elf/unload8mod1.c: New file.
24512 * elf/unload8mod1x.c: New file.
24513 * elf/unload8mod2.c: New file.
24514 * elf/unload8mod3.c: New file.
24516 * elf/dl-close.c (_dl_close_worker): Reset private search list if
24519 2011-08-23 David S. Miller <davem@davemloft.net>
24521 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
24522 subtract stack bias.
24523 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
24524 %sp not %fp in calculations.
24525 (_JMPBUF_UNWINDS_ADJ): Likewise.
24527 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
24528 (aio_suspend): Call it to force an exception region around the
24529 AIO_MISC_WAIT() invocation.
24531 2011-08-23 Andreas Schwab <schwab@redhat.com>
24533 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
24536 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
24538 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
24540 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
24541 and <dl-machine.h>.
24542 (Elf64_FuncDesc): Remove.
24544 2011-08-22 David S. Miller <davem@davemloft.net>
24546 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
24547 sigaltstack check, add missing cfi directives.
24548 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
24549 missing cfi directives, and sigaltstack handling.
24551 2011-08-16 Andreas Schwab <schwab@redhat.com>
24554 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
24555 object is seen twice.
24556 * elf/dl-fini.c (_dl_sort_fini): Likewise.
24558 * elf/Makefile (distribute): Add tst-initorder2.c.
24559 (tests): Add tst-initorder2.
24560 (modules-names): Add tst-initorder2a tst-initorder2b
24561 tst-initorder2c tst-initorder2d. Add rules to build them.
24562 ($(objpfx)tst-initorder2.out): New rule.
24563 * elf/tst-initorder2.c: New file.
24564 * elf/tst-initorder2.exp: New file.
24566 2011-08-22 Andreas Schwab <schwab@redhat.com>
24568 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
24570 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
24571 dependencies back to end of function.
24573 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
24574 $(elfobjdir)/ld.so.
24576 2011-08-21 Ulrich Drepper <drepper@gmail.com>
24578 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
24579 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
24580 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
24581 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
24582 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
24583 of __vdso_gettimeofday.
24584 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
24585 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
24587 (_libc_vdso_platform_setup): Remove initialization of
24588 __vdso_gettimeofday and __vdso_time.
24590 2011-08-20 Ulrich Drepper <drepper@gmail.com>
24592 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
24593 and fgetc_unlocked.
24594 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
24597 * elf/dl-open.c (add_to_global): Report additions to the global scope
24598 for LD_DEBUG=scopes.
24599 (dl_open_worker): Also print scope of newly loaded dependencies.
24600 (_dl_show_scope): Indicate if there is no scope.
24603 * stdio-common/Makefile (tests): Add bug24.
24604 * stdio-common/bug24.c: New file.
24606 2011-08-19 Andreas Jaeger <aj@suse.de>
24609 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
24610 non-existant file when using close-on-exec mode.
24612 2011-08-20 Ulrich Drepper <drepper@gmail.com>
24614 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
24615 the very first instruction.
24617 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
24618 the CFI state in the end.
24619 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
24620 inclusion of dl-trampoline.h.
24621 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
24623 2011-08-19 Andreas Schwab <schwab@redhat.com>
24625 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
24626 expectations for long double.
24628 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
24629 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
24631 2011-08-14 David S. Miller <davem@davemloft.net>
24633 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
24634 artificual limit depends upon the system page size.
24636 2011-08-17 Ulrich Drepper <drepper@gmail.com>
24638 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
24639 * resolv/Makefile: Define CFLAGS-libresolv.
24641 2011-08-17 Andreas Schwab <schwab@redhat.com>
24643 * nss/makedb.c (compute_tables): Make variables used in nested
24646 2011-08-17 Ulrich Drepper <drepper@gmail.com>
24648 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
24649 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
24650 if buffer was too small.
24652 * elf/pldd.c (main): Attach to all threads in the process.
24653 Rewrite /proc handling to use *at functions.
24655 2011-08-16 Ulrich Drepper <drepper@gmail.com>
24657 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
24658 specifies first scope to show.
24659 (dl_open_worker): Update callers. Move printing scope of new
24660 object to before the relocation.
24661 * elf/rtld.c (dl_main): Update _dl_show_scope call.
24662 * sysdeps/generic/ldsodefs.h: Update declaration.
24664 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
24665 string for the scope number.
24667 2011-08-14 Ulrich Drepper <drepper@gmail.com>
24669 * nscd/servicescache.c (cache_addserv): Make sure written is always
24672 2011-08-14 Roland McGrath <roland@hack.frob.com>
24674 * sysdeps/i386/i486/bits/atomic.h
24675 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
24676 statement expression, so as to suppress "set but not used" warning.
24677 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
24679 * string/strncat.c (STRNCAT): Use prototype definition.
24681 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
24682 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
24684 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
24685 (localedef-modules): Add localedef.
24686 (locale-modules): Add locale.
24688 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
24689 * elf/rtld.c (dl_main): Invert order of assignment in last change,
24690 to avoid a warning.
24692 2011-08-14 David S. Miller <davem@davemloft.net>
24694 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
24695 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
24697 2011-08-13 Ulrich Drepper <drepper@gmail.com>
24699 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
24700 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
24701 * elf/rtld.c (dl_main): Set l_name of vDSO.
24702 Call _dl_show_scope when DL_DEBUG_SCOPES.
24703 (process_dl_debug): Recognize scopes flag and also set it for all.
24704 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
24705 Declare _dl_show_scope.
24707 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
24708 (do_dlopen): Pass caller_dlopen to dl_open.
24709 (__libc_dlopen_mode): Initialize caller_dlopen.
24711 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
24712 of libc. Make tolower call locale-independent. Optimize a bit by
24713 using isdigit instead of isalnum.
24714 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
24716 2011-08-12 Ulrich Drepper <drepper@gmail.com>
24718 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
24719 was a dependency or dynamically loaded.
24721 2011-08-11 Ulrich Drepper <drepper@gmail.com>
24723 * intl/l10nflist.c: Allow architecture-specific pop function.
24724 * sysdeps/x86_64/l10nflist.c: New file.
24726 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
24729 2011-08-10 Andreas Schwab <schwab@redhat.com>
24731 * include/dirent.h: Add libc_hidden_proto for scandirat and
24732 scandirat64. Don't declare __scandirat64.
24733 * dirent/scandirat.c: Add libc_hidden_def.
24734 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
24735 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
24737 2011-08-10 David S. Miller <davem@davemloft.net>
24739 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
24741 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
24742 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
24743 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
24745 2011-08-09 Ulrich Drepper <drepper@gmail.com>
24747 * Versions.def [libc]: Add GLIBC_2.15.
24748 * dirent/Makefile (routines): Add scandirat and scandirat64.
24749 * dirent/Versions [libc]: Export scandirat and scandirat64 for
24751 * dirent/dirent.h: Declare scandirat and scandirat64.
24752 * dirent/scandirat.c: New file.
24753 * dirent/scandirat64.c: New file.
24754 * sysdeps/wordsize-64/scandirat.c: New file.
24755 * sysdeps/wordsize-64/scandirat64.c: New file.
24756 * dirent/opendir.c: Define opendirat.
24757 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
24759 * dirent/scandir64.c: Adjust for scandir.c change.
24760 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
24761 __scandirat64, and __scandir_cancel_handler.
24762 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
24763 additional parameter and use openat instead of open (outside of ld.so).
24764 Add new __opendir as wrapper around __opendirat.
24765 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
24766 here without requiring old scandirat implementation.
24768 2011-08-08 Ulrich Drepper <drepper@gmail.com>
24770 * dirent/scandir.c (cancel_handler): Renamed to
24771 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
24772 defined. Adjust users.
24773 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
24774 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
24776 2011-08-04 Ulrich Drepper <drepper@gmail.com>
24778 * string/test-string.h (IMPL): Use __STRING to expand name and then
24781 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
24784 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24786 * string/Makefile: Update.
24787 (strop-tests): Append strncat.
24788 * string/test-wcscmp.c: New file.
24789 New comprehensive test for wcscmp.
24790 * string/test-strcmp.c: Update.
24791 (WIDE): New define.
24793 2011-07-22 Andreas Schwab <schwab@redhat.com>
24795 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
24798 2011-07-26 Andreas Schwab <schwab@redhat.com>
24800 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
24801 encoding to ACE if AI_IDN.
24803 2011-08-01 Jakub Jelinek <jakub@redhat.com>
24805 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
24806 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
24808 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24810 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
24811 Fix overflow bug in strncat.
24812 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
24814 * string/test-strncat.c: Update.
24815 Add new tests for checking overflow bugs.
24817 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24819 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24820 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
24821 * sysdeps/i386/i686/multiarch/strcat.S: New file.
24822 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
24823 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
24824 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
24825 * sysdeps/i386/i686/multiarch/strncat.S: New file.
24826 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
24827 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
24829 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
24830 (USE_AS_STRCAT): Define.
24831 Add strcat and strncat support.
24832 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
24834 2011-07-25 Andreas Schwab <schwab@redhat.com>
24836 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
24837 __n bigger than INT_MAX+1.
24838 (__strncmp_g): Likewise.
24840 2011-07-23 Ulrich Drepper <drepper@gmail.com>
24842 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
24843 * libio/stido.h: Likewise.
24845 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
24847 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
24850 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
24851 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
24852 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
24853 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
24854 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
24857 * scripts/test-installation.pl: Don't expect libnss_test1 to be
24860 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
24862 (_dl_x86_64_save_sse): Likewise.
24864 2011-07-22 Ulrich Drepper <drepper@gmail.com>
24866 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
24868 (_dl_x86_64_save_sse): Likewise.
24870 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
24872 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
24874 2011-07-21 Andreas Schwab <schwab@redhat.com>
24876 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
24878 (_dl_x86_64_save_sse): Use correct AVX check.
24880 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24882 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
24883 bug in strncpy/strncat.
24884 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
24886 2011-07-21 Ulrich Drepper <drepper@gmail.com>
24888 * string/tester.c (test_strcat): Add tests for different alignments
24889 of source and destination.
24890 (test_strncat): Likewise.
24892 2011-07-20 Ulrich Drepper <drepper@gmail.com>
24895 * posix/glob.c (glob): Check passed in values before using them in
24896 expressions to avoid some overflows.
24897 (glob_in_dir): Likewise.
24900 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
24901 check for AVX enablement so that we don't crash with old kernels and
24903 * elf/tst-audit4.c: Add same checks here.
24904 * elf/tst-audit6.c: Likewise.
24906 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
24908 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
24910 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
24912 2011-07-20 Ulrich Drepper <drepper@gmail.com>
24914 * po/cs.po: Update from translation team.
24915 * po/bg.po: Likewise.
24917 2011-07-12 Marek Polacek <mpolacek@redhat.com>
24919 * misc/sys/cdefs.h: Add support for const attribute.
24920 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
24921 to gnu_dev_{major,minor,makedev} functions.
24923 2011-07-20 Marek Polacek <mpolacek@redhat.com>
24925 * intl/dcigettext.c (get_output_charset): Add missing bracket.
24927 2011-07-20 Andreas Schwab <schwab@redhat.com>
24929 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
24932 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24934 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
24935 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
24936 register in order to avoid conflicts with the soft frame pointer
24937 being held in r11 when necessary.
24938 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
24939 (INTERNAL_VSYSCALL_NCS): Likewise.
24941 2011-07-14 Marek Polacek <mpolacek@redhat.com>
24943 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
24944 * elf/dl-fini.c (_dl_fini): Adjust caller.
24945 * elf/dl-close.c (_dl_close_worker): Likewise.
24946 * sysdeps/generic/ldsodefs.h: Adjust declaration.
24948 2011-07-15 Marek Polacek <mpolacek@redhat.com>
24950 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
24951 "aux_cache->nlibs < 0".
24953 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
24954 in the reload-count case.
24956 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24958 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24959 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
24960 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
24961 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
24962 * sysdeps/x86_64/multiarch/strcat.S: New file.
24963 * sysdeps/x86_64/multiarch/strncat.S: New file.
24964 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
24965 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
24966 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
24967 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
24968 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
24969 (USE_AS_STRCAT): Define.
24970 Add strcat and strncat support.
24971 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
24972 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
24973 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
24974 * string/strncat.c: Update.
24975 (USE_AS_STRNCAT): Define.
24976 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24977 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
24979 * sysdeps/x86_64/multiarch/init-arch.h
24980 (bit_Prefer_PMINUB_for_stringop): New.
24981 (index_Prefer_PMINUB_for_stringop): Likewise.
24982 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
24983 bit_Prefer_PMINUB_for_stringop.
24985 2011-07-19 Ulrich Drepper <drepper@gmail.com>
24987 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
24989 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
24990 of casting of buffer.
24991 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
24992 buffer32 and buffer64.
24993 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
24994 writes instead of casting of buffer.
24995 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
24997 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
25000 2011-07-19 Andreas Schwab <schwab@redhat.com>
25002 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
25004 2011-07-19 Ulrich Drepper <drepper@gmail.com>
25006 * nscd/nscd.c (termination_handler): Don't do anything for a database
25007 if it has not yet been initialized.
25009 2011-07-18 Ulrich Drepper <drepper@gmail.com>
25011 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
25013 2011-07-15 Marek Polacek <mpolacek@redhat.com>
25015 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
25017 2011-07-18 Ulrich Drepper <drepper@gmail.com>
25019 * po/nl.po: Update from translation team.
25020 * po/sv.po: Likewise.
25022 2011-07-16 Roland McGrath <roland@hack.frob.com>
25024 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
25025 now disallowed by GCC.
25027 * configure.in (use-default-link): Default to yes if a test -shared
25028 link meets our qualifications.
25029 * configure: Regenerated.
25031 * config.make.in (output-format): New variable.
25032 * configure.in: Check for ld --print-output-format support.
25033 * configure: Regenerated.
25034 * Makerules ($(common-objpfx)format.lds)
25035 [$(output-format) != unknown]: Just use $(output-format),
25036 instead of the linker-script munging.
25038 2011-07-14 Roland McGrath <roland@hack.frob.com>
25040 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
25041 of $(common-objpfx)shlib.lds.
25042 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
25044 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
25045 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
25047 * configure.in (-z relro check): Adjust test code to add a large
25048 writable data section after it.
25049 * configure: Regenerated.
25051 2011-07-11 Roland McGrath <roland@hack.frob.com>
25053 * configure.in (-z relro check): Fix test code to make the variable
25055 * configure: Regenerated.
25057 2011-07-11 Ulrich Drepper <drepper@gmail.com>
25059 * nscd/nscd.h (struct traced_file): Define.
25060 (struct database_dyn): Remove inotify_descr, reset_res, and filename
25061 elements. Add traced_files.
25062 (inotify_fd): Declare.
25063 (register_traced_file): Declare.
25064 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
25065 (inotify_fd): Export.
25066 (resolv_conf_descr): Remove.
25067 (nscd_init): Move inotify descriptor creation to main.
25068 Don't register files for notification here.
25069 (register_traced_file): New function.
25070 (invalidate_cache): Don't use reset_res to determine whether to call
25071 res_init, go through the list of registered files.
25072 (main_loop_poll): The inotify descriptors are now stored in the
25073 structures for the traced files.
25074 (main_loop_epoll): Likewise
25075 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
25076 to __nss_disable_nscd.
25077 * nscd/cache.c (prune_cache): There is no single inotify descriptor
25078 for a database anymore. Check the records for all the registered
25080 * nss/Makefile (libnss_files-routines): Add files-init.
25081 (libnss_db-routines): Add db-init.
25082 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
25083 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
25084 * nss/nss_db/db-init.c: New file.
25085 * nss/nss_files/files-init.c: New file.
25086 * nss/nsswitch.c (nss_load_library): New function. Broken out of
25087 __nss_lookup_function.
25088 (__nss_lookup_function): Call nss_load_library.
25089 (nss_load_all_libraries): New function.
25090 (__nss_disable_nscd): Take parameter with callback function for files
25091 to register. Set is_nscd. Load all the DSOs for the NSS modules
25092 used for the cached services.
25093 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
25094 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
25095 options for features to all the files in nscd.
25097 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
25099 2011-07-10 Roland McGrath <roland@hack.frob.com>
25101 * csu/elf-init.c (__libc_csu_init): Comment typo.
25103 2011-07-09 Ulrich Drepper <drepper@gmail.com>
25105 * po/pl.po: Update from translation team.
25106 * po/ja.po: Likewise.
25107 * po/ru.po: Likewise.
25108 * po/ko.po: Likewise.
25109 * po/fr.po: Likewise.
25111 2011-07-09 Roland McGrath <roland@hack.frob.com>
25113 * configure.in (.ctors/.dtors header and trailer check):
25114 Use an empirical test on a built program.
25115 * configure: Regenerated.
25117 * configure.in (-z relro check): Use an empirical test on a built DSO.
25118 Detect, but do not require, on ia64.
25119 * configure: Regenerated.
25121 * configure.in (READELF): Find it with AC_CHECK_TOOL.
25122 Update tests that use readelf to use $READELF instead.
25123 * configure: Regenerated.
25125 2011-07-08 Ulrich Drepper <drepper@gmail.com>
25127 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
25128 if the result is not used.
25130 2011-07-05 Andreas Jaeger <aj@suse.de>
25133 * stdlib/tst-strtod.c: Add testcase.
25135 2011-07-07 Ulrich Drepper <drepper@gmail.com>
25137 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
25138 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
25139 The latter has a higher limit. Take additional parameter to pass to
25141 (__pathconf): Pass file to __statfs_link_max.
25142 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
25144 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
25148 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
25149 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
25151 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
25152 (__statfs_filesize_max): Likewise.
25153 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
25155 2011-07-05 Andreas Jaeger <aj@suse.de>
25157 * resolv/res_comp.c (dn_skipname): Remove unused variable.
25159 2011-07-06 Marek Polacek <mpolacek@redhat.com>
25161 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
25163 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
25166 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
25168 * Makefile (strop-tests): Add strncat.
25169 * string/test-strncat.c: New file.
25171 2011-06-30 Marek Polacek <mpolacek@redhat.com>
25173 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
25175 2011-06-21 Andreas Jaeger <aj@suse.de>
25177 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
25178 Copy rule from iconvdata/Makefile.
25180 2011-07-06 Ulrich Drepper <drepper@gmail.com>
25183 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
25184 but no long options are defined, just return 'W'.
25186 2011-06-22 Marek Polacek <mpolacek@redhat.com>
25189 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
25191 2011-07-06 Ulrich Drepper <drepper@gmail.com>
25193 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
25195 (innetgr): Likewise.
25197 2011-07-05 Roland McGrath <roland@hack.frob.com>
25199 * config.make.in (install_root): Default to $(DESTDIR).
25201 2011-07-05 Ulrich Drepper <drepper@gmail.com>
25203 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
25205 2011-07-02 Roland McGrath <roland@hack.frob.com>
25207 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
25209 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
25210 containing directory rather than embedding absolute directory names.
25212 * scripts/check-local-headers.sh: Rewritten using awk.
25213 Match by word, not by line. Print error messages for matches.
25214 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
25216 * Makerules [shlib-lds-flags empty]:
25217 ($(common-objpfx)libc_pic.opts): New target.
25218 ($(common-objpfx)libc_pic.os.clean): New target.
25219 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
25221 * config.make.in (OBJCOPY): New variable.
25222 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
25223 * configure: Regenerated.
25225 * config.make.in (use-default-link): New variable.
25226 * configure.in (use_default_link): Grok --with-default-link to set it.
25227 * configure: Regenerated.
25228 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
25229 (shlib-lds, shlib-lds-flags): Define to empty.
25231 * Makerules (shlib-lds): New variable.
25232 (shlib-lds-flags): New variable.
25233 (build-shlib, build-moduile, build-module-asneeded): Use it.
25234 ($(common-objpfx)libc.so): Use $(shlib-lds).
25235 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
25236 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
25238 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
25239 DT_FLAGS/DT_FLAGS_1 with zero flags.
25241 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
25242 linker script munging.
25244 2011-07-02 Ulrich Drepper <drepper@gmail.com>
25246 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
25248 * crypt/sha512.c (sha512_process_block): Perform total addition using
25249 128-bit if possible.
25250 (__sha512_finish_ctx): Likewise.
25251 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
25253 * crypt/sha256.c (SWAP64): Define.
25254 (sha256_process_block): Perform total addition using 64-bit if
25256 (__sha256_finish_ctx): Likewise.
25258 2011-07-01 Ulrich Drepper <drepper@gmail.com>
25260 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
25261 * nscd/initgrcache.c (addinitgroupsX): Likewise.
25262 * nscd/hstcache.c (cache_addhst): Likewise.
25263 * nscd/grpcache.c (cache_addgr): Likewise.
25264 * nscd/aicache.c (addhstaiX): Likewise
25265 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
25267 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
25269 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
25270 * nscd/initgrcache.c (addinitgroupsX): Likewise.
25271 * nscd/hstcache.c (cache_addhst): Likewise.
25272 * nscd/grpcache.c (cache_addgr): Likewise.
25273 * nscd/aicache.c (addhstaiX): Likewise
25275 2011-07-01 Andreas Schwab <schwab@redhat.com>
25277 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
25278 domain only when needed.
25280 2011-06-30 Andreas Schwab <schwab@redhat.com>
25282 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
25283 is always restored.
25285 2011-06-29 Ulrich Drepper <drepper@gmail.com>
25287 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
25288 are re-adding the entry.
25289 * nscd/servicescache.c (cache_addserv): Likewise.
25291 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
25293 * sysdeps/generic/dl-irel.h: fix protection against multiple
25295 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
25297 2011-06-28 Ulrich Drepper <drepper@gmail.com>
25300 * malloc/memusage.sh: Fix quoting in message.
25301 * debug/xtrace.sh: Likewise.
25303 * configure.in: Remove support for --experimental-malloc option, make
25305 * config.make.in: Likewise.
25306 * malloc/Makefile: Likewise.
25308 2011-06-27 Andreas Schwab <schwab@redhat.com>
25310 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
25311 two-byte characters.
25313 2011-06-27 Roland McGrath <roland@hack.frob.com>
25315 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
25316 AC_CACHE_CHECK invocation.
25317 * configure: Regenerated.
25319 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
25321 2011-06-27 Ulrich Drepper <drepper@gmail.com>
25324 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
25325 bit from old_res_options.
25327 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
25329 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
25330 value type for setfct.
25332 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
25334 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
25335 __gettimeofday instead of gettimeofday.
25337 2011-06-26 Ulrich Drepper <drepper@gmail.com>
25339 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
25341 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
25343 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
25345 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
25348 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
25350 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25351 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
25352 strcpy-sse2-unaligned strncpy-sse2-unaligned
25353 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
25354 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
25355 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
25356 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
25357 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
25358 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
25359 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
25360 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
25361 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
25362 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
25363 (STRCPY): Support SSE2 and SSSE3 versions.
25365 2011-06-24 Ulrich Drepper <drepper@gmail.com>
25368 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
25369 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
25370 kernels which artificially limit size of requests.
25372 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
25374 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25375 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
25376 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
25377 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
25378 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
25379 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
25380 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
25381 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
25382 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
25383 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
25384 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
25385 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
25386 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
25387 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
25388 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
25389 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25390 Enable unaligned load optimization for Intel Core i3, i5 and i7
25392 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
25394 (index_Fast_Unaligned_Load): Define.
25395 (HAS_FAST_UNALIGNED_LOAD): Define.
25397 2011-06-23 Marek Polacek <mpolacek@redhat.com>
25399 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
25401 2011-06-22 Ulrich Drepper <drepper@gmail.com>
25404 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
25405 until it is clear that the information is realy needed.
25406 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
25408 2011-06-22 Andreas Schwab <schwab@redhat.com>
25410 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
25412 2011-06-22 Ulrich Drepper <drepper@gmail.com>
25414 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
25415 /sys/devices/system/cpu/online if it is usable.
25417 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
25418 reading the information from the /proc filesystem to once a second.
25420 2011-06-21 Andreas Jaeger <aj@suse.de>
25422 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
25423 NULL after inclusion of kernel headers.
25425 2011-06-21 Ulrich Drepper <drepper@gmail.com>
25427 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
25428 calls to internal_setent.
25431 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
25432 addresses using gethostbyname4_r ignore IPv4 addresses.
25434 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
25435 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
25437 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
25439 2011-06-20 David S. Miller <davem@davemloft.net>
25441 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
25443 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
25445 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
25446 (elf_irel): Use it.
25447 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
25448 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
25449 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
25450 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
25451 * sysdeps/x86_64/dl-irel.h: Likewise.
25453 * elf/dl-runtime.c: Use elf_ifunc_invoke.
25454 * elf/dl-sym.c: Likewise.
25456 2011-06-15 Ulrich Drepper <drepper@gmail.com>
25458 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
25459 need to dereference resplen2.
25461 2011-06-14 Andreas Schwab <schwab@redhat.com>
25463 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
25465 2011-06-15 Ulrich Drepper <drepper@gmail.com>
25467 * Makeconfig: Define vardbdir and inst_vardbdir.
25468 * nss/Makefile: Add rules to install db-Makefile.
25470 * nss/nss_db/db-XXX.c: Cleanup.
25472 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
25473 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
25475 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
25476 * nss/makedb.c: Implement -g option to specify that value strings
25477 are generated and should not be added to table iterated over for
25479 * nss/nss_db/db-initgroups.c: New file.
25481 * nss/getent.c: Add support for initgroups lookups through getgrouplist
25484 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
25485 (internal_getgrouplist): Adjust to name change.
25486 Update use_initgroups_entry if this is not the first call.
25487 * nss/databases.def: Add initgroups entry.
25489 * nss/makedb.c (compute_tables): Check result of multiple hash table
25490 sizes to minimize maximum chain length.
25492 2011-06-14 Ulrich Drepper <drepper@gmail.com>
25494 * Versions.def: Add entry for libnss_db.
25495 * shlib-versions: Likewise.
25496 * nss/Makefile: Add rules to build libnss_db.
25497 * nss/Versions: Add libnss_db information. Organize libnss_files
25499 * nss/db-Makefile: Add gshadow support. Change rules for the new
25500 makedb progra. Some minor improvements to generate smaller files.
25501 * nss/nss_db/nss_db.h: Move NSS database header data structures to
25503 * nss/makedb.c: ...here.
25504 Improve database format to be smaller and require less memory at
25506 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
25508 * nss/nss_db/db-netgrp.c: Likewise.
25509 * nss/nss_db/db-open.c: Likewise.
25510 * nss/nss_files/flies-XXX.x: Adjust comments.
25511 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
25512 * nss/nss_files/files-grp.c: Likewise.
25513 * nss/nss_files/files-hosts.c: Likewise.
25514 * nss/nss_files/files-network.c: Likewise.
25515 * nss/nss_files/files-proto.c: Likewise.
25516 * nss/nss_files/files-pwd.c: Likewise.
25517 * nss/nss_files/files-rpc.c: Likewise.
25518 * nss/nss_files/files-service.c: Likewise.
25519 * nss/nss_files/files-sgrp.c: Likewise.
25520 * nss/nss_files/files-spwd.c: Likewise.
25521 * nss/nss_db/db-alias.c: Removed.
25522 * nss/nss_db/dummy-db.h: Removed.
25524 2011-06-02 Ulrich Drepper <drepper@gmail.com>
25526 * nss/makedb.c: Rewritten to not use database library.
25527 * nss/Makefile: Update to build new makedb program.
25529 2011-06-14 Andreas Jaeger <aj@suse.de>
25531 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
25532 memset declaration.
25534 2011-06-10 Andreas Schwab <schwab@redhat.com>
25536 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
25539 2011-06-10 Roland McGrath <roland@hack.frob.com>
25541 * Makerules (shlib.lds): Fail if the linker script comes out empty.
25542 * elf/Makefile ($(objpfx)ld.so): Likewise.
25544 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
25545 Don't list ld.so twice in dependencies.
25547 * posix/bug-regex31.c: Include <stdlib.h>.
25549 * nscd/hstcache.c (cache_addhst): Remove unused variable.
25551 * nis/nss_compat/compat-spwd.c
25552 (getspent_next_nss_netgr): Remove unused variable.
25553 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
25555 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
25556 nonmembers" output to use the right array.
25558 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
25560 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
25562 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
25563 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
25564 * catgets/gencat.c (read_input_file): Likewise.
25565 * locale/programs/locarchive.c (enlarge_archive): Likewise.
25567 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
25568 variable definition inside #if's controlling its use.
25570 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
25572 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
25574 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
25576 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
25579 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
25581 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
25582 * configure: Regenerated.
25584 * Makerules: Revert last change.
25585 * elf/Makefile: Likewise.
25587 2011-06-09 Roland McGrath <roland@hack.frob.com>
25589 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
25590 * elf/Makefile ($(objpfx)librtld.os): Likewise.
25591 (reloc-link): Likewise.
25593 2011-06-09 Ulrich Drepper <drepper@gmail.com>
25595 * elf/Makefile: Add rules to build pldd.
25596 * elf/pldd.c: New file.
25597 * elf/pldd-xx.c: New file.
25599 2011-06-07 Ulrich Drepper <drepper@gmail.com>
25601 * version.h: Update for 2.15 development version.
25603 2011-06-07 David S. Miller <davem@davemloft.net>
25605 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
25607 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
25608 elf_machine_lazy_rel): Likewise.
25609 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
25610 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
25611 elf_machine_lazy_rel): Likewise.
25612 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
25613 dl_hwcap via passed in argument.
25614 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
25617 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25619 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
25621 2011-06-06 Roland McGrath <roland@hack.frob.com>
25624 * manual/fdl-1.1.texi: New file, verbatim from:
25625 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
25626 * manual/lgpl-2.1.texi: New file, verbatim from:
25627 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
25628 * manual/Makefile (licenses): New variable, list those new file names.
25630 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
25632 * manual/fdl.texi: File removed.
25633 * manual/lesser.texi: File removed.
25634 * manual/libc.texinfo (Copying, Documentation License):
25635 Use new @include file names, put @appendix directive before @include.
25637 2011-06-04 Jakub Jelinek <jakub@redhat.com>
25640 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
25641 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
25642 (mq_open): Add __NTH.
25644 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
25646 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25647 Assume Intel Core i3/i5/i7 processor if AVX is available.
25649 2011-05-31 Ulrich Drepper <drepper@gmail.com>
25651 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
25654 2011-05-31 Andreas Schwab <schwab@redhat.com>
25656 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
25657 memory. Use alloca_account. Fix memory leak when retrying.
25659 2011-05-31 Ulrich Drepper <drepper@gmail.com>
25661 * version.h (RELEASE): Bump for 2.14 release.
25662 * include/features.h (__GLIBC_MINOR__): Bump to 14.
25664 * config.make.in (RANLIB): Remove entry.
25666 2011-05-30 Ulrich Drepper <drepper@gmail.com>
25668 * po/Makefile (po-sed-cmd): Add ksh to extensions.
25669 (libc.pot): Work around missing support for .ksh extension in xgettext.
25672 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
25673 if both request failed.
25674 (send_dg): In case of server errors clear resplen or *resplen2.
25677 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
25678 when there are multiple maps.
25679 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
25680 (_dl_fini): Remove test here.
25682 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
25684 2011-05-29 Ulrich Drepper <drepper@gmail.com>
25687 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
25688 bit from old_res_options.
25689 (gaih_inet): Likewise.
25692 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
25695 * resolv/res_init.c (res_setoptions): Make the code more compact.
25698 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
25702 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
25704 * malloc/malloc.h: Mark malloc hook variables as deprecated.
25707 * malloc/malloc.h: Declare malloc hook variables as volatile.
25709 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
25713 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
25714 raise in the comment.
25715 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
25716 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
25717 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
25719 2011-05-28 Ulrich Drepper <drepper@gmail.com>
25722 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
25723 grow the buffers more if it already has to be sufficient.
25724 (build_wcs_upper_buffer): Likewise.
25725 * posix/regexec.c (check_matching): Likewise.
25726 (clean_state_log_if_needed): Likewise.
25727 (extend_buffers): Don't enlarge buffers beyond size of the input
25729 Patches mostly by Emil Wojak <emil@wojak.eu>.
25730 * posix/bug-regex32.c: New file.
25731 * posix/Makefile (tests): Add bug-regex32.
25733 * locale/findlocale.c (_nl_find_locale): Return right away if
25734 _nl_explode_name failed.
25735 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
25737 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
25739 * debug/xtrace.sh: Unify messages.
25740 * malloc/memusage.sh: Likewise.
25743 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
25744 time symbol from vDSO. Substitute with vsyscall if not available.
25745 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
25748 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
25749 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
25750 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
25751 Add sendmmsg and internal_sendmmsg.
25752 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
25753 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
25754 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
25756 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
25757 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
25758 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
25760 2011-05-27 Ulrich Drepper <drepper@gmail.com>
25763 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
25764 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
25766 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
25770 * iconvdata/Makefile (tests): Add bug-iconv9.
25771 * iconvdata/bug-iconv9.c: New file.
25773 2011-05-27 Andreas Schwab <schwab@redhat.com>
25776 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
25778 2011-05-25 Jakub Jelinek <jakub@redhat.com>
25780 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
25781 (struct user_regs_struct): Change intcs field back to cs.
25783 2011-05-25 Ulrich Drepper <drepper@gmail.com>
25785 * po/ja.po: Update from translation team.
25787 2011-05-23 Ulrich Drepper <drepper@gmail.com>
25790 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
25791 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
25793 2011-05-20 Andreas Schwab <schwab@redhat.com>
25795 * stdlib/longlong.h: Update from GCC.
25797 2011-05-23 Andreas Schwab <schwab@redhat.com>
25799 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
25801 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
25802 Add parameter name.
25803 (__sysconf): Pass it down.
25805 2011-05-22 Ulrich Drepper <drepper@gmail.com>
25808 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
25810 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
25811 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
25812 add in in __libc_use_alloca calls. Adjust callers.
25813 (glob): Use malloc in some situations.
25815 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
25816 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
25819 2011-05-21 Ulrich Drepper <drepper@gmail.com>
25821 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
25822 and CLOCK_BOOTTIME_ALARM.
25825 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
25828 * string/_strerror.c (__strerror_r): Print negative errors as signed
25832 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
25833 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
25834 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
25836 * configure.in: Fix typo in redirection and correct removal of test
25837 files in two cases.
25840 * locale/setlocale.c (new_composite_name): Fix test to check for
25841 identical name of all categories.
25844 * libio/filedoalloc.c (local_isatty): New function.
25845 (_IO_file_doallocate): Use local_isatty.
25846 * stdio-common/perror.c (perror): In case a new stream is used
25847 forward the stream error.
25848 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
25851 2011-05-20 Ulrich Drepper <drepper@gmail.com>
25854 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
25856 * include/alloca.h (extend_alloca_account): Define.
25859 * posix/regex.h: Fix comments with documentation of user-accessible
25860 fields after compilation and describe correct free'ing of pattern
25861 after re_compile_pattern.
25862 Patch by Reuben Thomas <rrt@sc3d.org>.
25864 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
25866 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
25867 and -mno-altivec to prevent the compiler from using Altivec and/or
25868 VSX instructions when the corresponding registers are not available.
25870 2011-05-19 Andreas Schwab <schwab@redhat.com>
25872 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
25874 2011-05-19 Ulrich Drepper <drepper@gmail.com>
25876 * libio/freopen.c (freopen): Use __dup2, not dup2.
25877 * libio/freopen64.c (freopen64): Likewise.
25879 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
25882 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
25883 * math/Makefile (tests): Add test-powl.
25884 (CFLAGS-test-powl.c): Define.
25885 * math/test-powl.c: New file.
25887 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
25889 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
25891 2011-05-17 Ulrich Drepper <drepper@gmail.com>
25894 * iconvdata/gb18030.c: Update to GB18020-2005.
25896 2011-05-16 Ulrich Drepper <drepper@gmail.com>
25898 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
25899 RE_SYNTAX_POSIX_AWK): Update to match recent development.
25900 Patch by Aharon Robbins <arnold@skeeve.com>.
25903 * stdlib/putenv.c (putenv): Don't always create copy of the variable
25907 * misc/pselect.c (__pselect): Handle timeout value errors hidden
25908 through underflows.
25911 * misc/error.c (error_at_line): Ensure file_name and old_file_name
25912 point to strings before performing equality test for error_one_per_line
25916 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
25919 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
25920 (struct user_fpregs_struct): Avoid __uint*_t types.
25923 * malloc/mtrace.c (tr_where): Add additional parameter to point to
25924 symbol info. Use it instead of calling _dl_addr locally.
25925 (lock_and_info): New function.
25926 (tr_freehook): Call lock_and_info and pass symbol info as additional
25927 parameter to tr_where.
25928 (tr_mallochook): Likewise.
25929 (tr_reallochook): Likewise.
25930 (tr_memalignhook): Likewise.
25932 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
25933 used and couldn't be at all thread-safe.
25935 2011-05-15 Ulrich Drepper <drepper@gmail.com>
25937 * libio/freopen.c (freopen): Don't close old file descriptor
25938 before the new one is opened. Instead dup the new file descriptor
25939 to the old one after the new stream is created.
25940 * libio/freopen64.c (freopen64): Likewise.
25941 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
25942 * libio/fileops.c (_IO_new_file_close_it): Handle new
25943 _IO_FLAGS2_NOCLOSE flag.
25944 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
25945 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
25946 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
25947 _IO_FLAGS2_NOCLOSE flag.
25948 * include/unistd.h: Add hidden_proto for dup3.
25949 Define __have_dup3.
25950 * io/dup3.c: Define hidden symbol.
25951 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
25954 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
25955 when an incomplete long option is used.
25956 * posix/tst-getopt_long1.c: New file.
25957 * posix/Makefile (tests): Add tst-getopt_long1.
25960 * scripts/config.guess: Update from autoconf-2.68.
25961 * scripts/config.sub: Likewise.
25964 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
25966 (has_cpuclock): ...this. New function.
25967 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
25968 macro here based on has_cpuclock code.
25971 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25972 First byte (not low byte) is now always NUL.
25973 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
25975 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25976 Use non-cancelable interfaces.
25979 * locale/iso-639.def: Add entry for Sorani.
25982 * include/stdlib.h: Move include protection to the right place.
25983 Define abort_msg_s. Declare __abort_msg with it.
25984 * stdlib/abort.c (__abort_msg): Adjust type.
25985 * assert/assert.c (__assert_fail_base): New function. Majority
25986 of code from __assert_fail. Allocate memory for __abort_msg with
25988 (__assert_fail): Now call __assert_fail_base.
25989 * assert/assert-perr.c: Remove bulk of implementation. Use
25990 __assert_fail_base.
25991 * include/assert.hL Declare __assert_fail_base.
25992 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
25994 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
25996 2011-05-14 Ulrich Drepper <drepper@gmail.com>
26000 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
26001 until all modules are registered in the DTV.
26002 * elf/Makefile: Add rules to build and run tst-tls19.
26003 * elf/tst-tls19.c: New file.
26004 * elf/tst-tls19mod1.c: New file.
26005 * elf/tst-tls19mod2.c: New file.
26006 * elf/tst-tls19mod3.c: New file.
26007 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
26010 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
26014 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
26015 two-byte sequence errors.
26016 * iconvdata/Makefile (tests): Add bug-iconv8.
26017 * iconvdata/bug-iconv8.c: New file.
26020 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
26023 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
26026 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
26027 (dummy_getcfa): New function.
26028 (init): Get _Unwind_GetCFA address, use dummy if not found.
26029 (backtrace_helper): In recursion check, also check whether CFA changes.
26030 (__backtrace): Completely initialize arg.
26032 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
26033 storing incomplete byte sequence in state object. Avoid testing for
26034 guaranteed too small input if we know there is enough data available.
26036 2011-05-11 Andreas Schwab <schwab@redhat.com>
26038 * Makeconfig (+link-pie): Indent.
26039 * Rules (binaries-pie): Define if $(have-fpie) and
26041 (binaries-shared): Also filter out $(binaries-pie).
26042 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
26043 * nscd/Makefile (others-pie): Add nscd.
26044 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
26045 ($(objpfx)nscd): Remove command override.
26046 * login/Makefile (others-pie): Add pt_chown.
26047 ($(objpfx)pt_chown): Remove command override.
26048 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
26049 remove command overrides.
26051 2011-05-13 Ulrich Drepper <drepper@gmail.com>
26053 * libio/tst_putwc.c: Fix error messages.
26056 * libio/fileops.c (_IO_new_file_close_it): Always flush when
26057 currently writing and seek to current position when not.
26058 * libio/Makefile (tests): Add bug-fclose1.
26059 * libio/bug-fclose1.c: New file.
26061 2011-05-12 Ulrich Drepper <drepper@gmail.com>
26064 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
26065 don't set DF_1_NODELETE here.
26066 (do_lookup_x): When entering new entry test for copy relocation
26067 and if necessary set DF_1_NODELETE flag.
26068 * elf/tst-unique4.cc: New file.
26069 * elf/tst-unique4.h: New file.
26070 * elf/tst-unique4lib.cc: New file.
26071 * elf/Makefile: Add rules to build and run tst-unique4.
26072 Patch by Piotr Bury <pbury@goahead.com>.
26074 2011-05-11 Ulrich Drepper <drepper@gmail.com>
26077 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
26080 * misc/mntent_r.c (addmntent): Flush the stream after the output
26083 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
26084 (is_trusted_path_normalize): Skip initial colon. Append slash
26085 to empty buffer. Duplicate is_trusted_path code but allow
26086 constructed patch to be prefix.
26087 (is_dst): Allow $ORIGIN followed by /.
26088 (_dl_dst_substitute): Correct clearing of check_for_trusted.
26089 Correct testing of result of is_trusted_path_normalize
26090 (decompose_rpath): Fix warning.
26092 2011-05-10 Ulrich Drepper <drepper@gmail.com>
26095 * grp/initgroups.c (internal_getgrouplist): When we found the service
26096 list through the initgroups entry in nsswitch.conf do not always
26097 continue on a successful lookup. Don't always use the
26098 __nss_group_database value if it is set.
26099 * nss/nsswitch.conf (initgroups): Change action for successful db
26100 lookup to continue for compatibility.
26102 2011-05-09 Ulrich Drepper <drepper@gmail.com>
26105 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
26107 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
26109 * iconvdata/tst-tables.sh: Likewise.
26110 * iconvdata/cp770.c: New file.
26111 * iconvdata/cp771.c: New file.
26112 * iconvdata/cp772.c: New file.
26113 * iconvdata/cp773.c: New file.
26114 * iconvdata/cp774.c: New file.
26115 * iconvdata/testdata/CP770: New file.
26116 * iconvdata/testdata/CP770..UTF8: New file.
26117 * iconvdata/testdata/CP771: New file.
26118 * iconvdata/testdata/CP771..UTF8: New file.
26119 * iconvdata/testdata/CP772: New file.
26120 * iconvdata/testdata/CP772..UTF8: New file.
26121 * iconvdata/testdata/CP773: New file.
26122 * iconvdata/testdata/CP773..UTF8: New file.
26123 * iconvdata/testdata/CP774: New file.
26124 * iconvdata/testdata/CP774..UTF8: New file.
26126 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
26128 * iconvdata/gen-8bit-gap.sh: Likewise.
26129 * iconvdata/gen-8bit.sh: Likewise.
26131 * locale/iso-639.def: Add ary entry.
26134 * locale/C-translit.h.in: Add U20A1 transliteration.
26137 * locale/iso-639.def: Add wae entry.
26138 Patch by Kevin Bortis <bortis@translate-wae.ch>.
26141 * locale/programs/localedef.c (construct_output_path): Use ssize_t
26145 * locale/C-translit.h.in: Add entry for U20B9.
26146 Patch by pravin.d.s@gmail.com.
26148 2011-05-08 Ulrich Drepper <drepper@gmail.com>
26151 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
26152 ENAMETOOLONG use generic getcwd.
26153 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
26154 in rtld. Use *stat64.
26155 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
26156 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
26157 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
26158 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
26159 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
26160 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
26161 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
26162 __fstatat64 macros.
26163 * include/dirent.h: Add libc_hidden_proto for rewinddir.
26164 * dirent/rewinddir.c: Add libc_hidden_def.
26165 * sysdeps/mach/hurd/rewinddir.c: Likewise.
26166 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
26168 * include/dirent.h (__alloc_dir): Add flags parameter.
26169 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
26170 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
26172 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
26173 from fdopendir if O_CLOEXEC is already set.
26175 2011-03-15 Alan Modra <amodra@gmail.com>
26177 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
26178 l_tls_firstbyte_offset non-zero. Save padding offset in
26179 l_tls_firstbyte_offset for later use.
26180 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
26181 freeing static tls block.
26183 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
26185 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
26186 where #ifdef was intended. The intent is to prevent ARG_MAX from
26187 being defined by the kernel headers.
26189 2011-05-07 Ulrich Drepper <drepper@gmail.com>
26192 * resolv/resolv.h: Define RES_NOTLDQUERY.
26193 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
26194 no-tld-query and set RES_NOTLDQUERY.
26195 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
26196 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
26197 modern BIND to search name as TLD unless forbidden.
26199 2011-05-07 Petr Baudis <pasky@suse.cz>
26200 Ulrich Drepper <drepper@gmail.com>
26203 * elf/dl-load.c (fillin_rpath): Move trusted path check...
26204 (is_trusted_path): ...to here.
26205 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
26206 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
26207 using is_trusted_path_normalize() in setuid scripts.
26209 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
26211 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
26212 __BEGIN/__END_DECLS.
26214 2011-05-06 Ulrich Drepper <drepper@gmail.com>
26216 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
26217 NSS_STATUS_NOTFOUND if no record was found.
26219 2011-05-05 Andreas Schwab <schwab@redhat.com>
26221 * sunrpc/Makefile (headers): Add rpc/netdb.h.
26222 (headers-not-in-tirpc): Remove rpc/netdb.h
26223 * resolv/netdb.h: Revert last change.
26225 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
26227 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
26228 circular dependency between libgcc.a and libc.a.
26230 2011-05-05 Andreas Schwab <schwab@redhat.com>
26232 * resolv/netdb.h: Don't include <rpc/netdb.h>.
26233 * nis/Makefile: Don't install rpcsvc/*.
26234 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
26235 instead of <rpc/types.h>.
26236 (MAXHOSTNAMELEN): Define.
26238 2011-05-03 Andreas Schwab <schwab@redhat.com>
26240 * elf/ldconfig.c (add_dir): Don't crash on empty path.
26242 2011-04-28 Maciej Babinski <mbabinski@google.com>
26245 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
26246 gethostbyname4_r when IPv6 results are possible.
26248 2011-05-02 Ulrich Drepper <drepper@gmail.com>
26251 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
26252 _PC_PIPE_BUF handling.
26254 2011-04-30 Bruno Haible <bruno@clisp.org>
26257 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
26258 * resolv/netdb.h (getnameinfo): Change type of flags parameter
26260 * inet/getnameinfo.c (getnameinfo): Likewise.
26262 2011-04-29 Ulrich Drepper <drepper@gmail.com>
26264 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
26265 to groups setting in database lookup.
26266 * nss/nsswitch.conf: Add initgroups entry.
26268 2011-04-22 Ulrich Drepper <drepper@gmail.com>
26271 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
26273 Patch by Eric Blake <eblake@redhat.com>.
26275 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
26277 * sunrpc/Makefile (need-export-routines): Add svc_run.
26278 (routines): Remove svc_run.
26279 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
26280 * sunrpc/clnt_perr.c (clnt_perrno): Export.
26281 * sunrpc/svc_run.c (svc_run): Likewise.
26282 * sunrpc/svc_udp.c (svcudp_create): Likewise.
26284 2011-04-21 Ulrich Drepper <drepper@gmail.com>
26286 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
26287 problem in reallocation in last patch.
26289 2011-04-20 Ulrich Drepper <drepper@gmail.com>
26291 * sunrpc/Makefile: Move inclusion of Rules.
26293 2011-04-19 Ulrich Drepper <drepper@gmail.com>
26295 * nss/nss_files/files-initgroups.c: New file.
26296 * nss/Makefile (libnss_files-routines): Add files-initgroups.
26297 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
26298 _nss_files_initgroups_dyn.
26300 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
26302 * elf/elf.h (R_ARM_IRELATIVE): Define.
26304 2011-04-19 Ulrich Drepper <drepper@gmail.com>
26306 * po/ru.po: Update from translation team.
26308 2011-04-17 Ulrich Drepper <drepper@gmail.com>
26310 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
26313 2011-02-06 Mike Frysinger <vapier@gentoo.org>
26316 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
26317 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
26318 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
26319 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
26320 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
26322 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
26324 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
26326 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
26327 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
26328 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
26330 2011-04-17 Ulrich Drepper <drepper@gmail.com>
26333 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
26335 * stdlib/bug-getcontext.c: New file.
26336 * stdlib/Makefile: Add rules to build and run bug-getcontext.
26338 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26340 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
26341 instructions into .machine "z9-109".
26342 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
26343 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
26345 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26347 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
26348 between environment variables and auxiliary vector.
26350 2011-04-16 Ulrich Drepper <drepper@gmail.com>
26352 * Makefile: Add rules to build linkobj/libc.so.
26353 * include/libc-symbols.h: Define libc_hidden_nolink.
26354 * include/rpc/auth.h: Mark functions which are to be hidden.
26355 * include/rpc/auth_des.h: Likewise.
26356 * include/rpc/auth_unix.h: Likewise.
26357 * include/rpc/clnt.h: Likewise.
26358 * include/rpc/des_crypt.h: Likewise.
26359 * include/rpc/key_prot.h: Likewise.
26360 * include/rpc/pmap_clnt.h: Likewise.
26361 * include/rpc/pmap_prot.h: Likewise.
26362 * include/rpc/pmap_rmt.h: Likewise.
26363 * include/rpc/rpc_msg.h: Likewise.
26364 * include/rpc/svc.h: Likewise.
26365 * include/rpc/svc_auth.h: Likewise.
26366 * include/rpc/xdr.h: Likewise.
26367 * nis/Makefile: Link all DSOs against linkobj/libc.so.
26368 * nss/Makefile: Likewise.
26369 * sunrpc/Makefile: Don't install headers. Build library with normal
26370 entry points. Don't build rpcinfo. Link RPC tests appropriately.
26371 * sunrpc/auth_des.c: Hide exported symbols by default, export some
26372 for the compat linking library. Remove use of INTDEF/INTUSE.
26373 * sunrpc/auth_none.c: Likewise.
26374 * sunrpc/auth_unix.c: Likewise.
26375 * sunrpc/authdes_prot.c: Likewise.
26376 * sunrpc/authuxprot.c: Likewise.
26377 * sunrpc/clnt_gen.c: Likewise.
26378 * sunrpc/clnt_perr.c: Likewise.
26379 * sunrpc/clnt_raw.c: Likewise.
26380 * sunrpc/clnt_simp.c: Likewise.
26381 * sunrpc/clnt_tcp.c: Likewise.
26382 * sunrpc/clnt_udp.c: Likewise.
26383 * sunrpc/clnt_unix.c: Likewise.
26384 * sunrpc/des_crypt.c: Likewise.
26385 * sunrpc/des_soft.c: Likewise.
26386 * sunrpc/get_myaddr.c: Likewise.
26387 * sunrpc/key_call.c: Likewise.
26388 * sunrpc/key_prot.c: Likewise.
26389 * sunrpc/netname.c: Likewise.
26390 * sunrpc/pm_getmaps.c: Likewise.
26391 * sunrpc/pm_getport.c: Likewise.
26392 * sunrpc/pmap_clnt.c: Likewise.
26393 * sunrpc/pmap_prot.c: Likewise.
26394 * sunrpc/pmap_prot2.c: Likewise.
26395 * sunrpc/pmap_rmt.c: Likewise.
26396 * sunrpc/publickey.c: Likewise.
26397 * sunrpc/rpc_cmsg.c: Likewise.
26398 * sunrpc/rpc_common.c: Likewise.
26399 * sunrpc/rpc_dtable.c: Likewise.
26400 * sunrpc/rpc_prot.c: Likewise.
26401 * sunrpc/rpc_thread.c: Likewise.
26402 * sunrpc/rtime.c: Likewise.
26403 * sunrpc/svc.c: Likewise.
26404 * sunrpc/svc_auth.c: Likewise.
26405 * sunrpc/svc_authux.c: Likewise.
26406 * sunrpc/svc_raw.c: Likewise.
26407 * sunrpc/svc_run.c: Likewise.
26408 * sunrpc/svc_simple.c: Likewise.
26409 * sunrpc/svc_tcp.c: Likewise.
26410 * sunrpc/svc_udp.c: Likewise.
26411 * sunrpc/svc_unix.c: Likewise.
26412 * sunrpc/svcauth_des.c: Likewise.
26413 * sunrpc/xcrypt.c: Likewise.
26414 * sunrpc/xdr.c: Likewise.
26415 * sunrpc/xdr_array.c: Likewise.
26416 * sunrpc/xdr_float.c: Likewise.
26417 * sunrpc/xdr_intXX_t.c: Likewise.
26418 * sunrpc/xdr_mem.c: Likewise.
26419 * sunrpc/xdr_rec.c: Likewise.
26420 * sunrpc/xdr_ref.c: Likewise.
26421 * sunrpc/xdr_sizeof.c: Likewise.
26422 * sunrpc/xdr_stdio.c: Likewise.
26424 2011-04-10 Ulrich Drepper <drepper@gmail.com>
26427 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
26428 * sysdeps/ia64/dl-tls.h: Likewise.
26429 * sysdeps/powerpc/dl-tls.h: Likewise.
26430 * sysdeps/s390/dl-tls.h: Likewise.
26431 * sysdeps/sh/dl-tls.h: Likewise.
26432 * sysdeps/sparc/dl-tls.h: Likewise.
26433 * sysdeps/x86_64/dl-tls.h: Likewise.
26434 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
26436 2011-03-14 Andreas Schwab <schwab@redhat.com>
26438 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
26439 rpath element also skip the following colon.
26440 (expand_dynamic_string_token): Add is_path parameter and pass
26441 down to DL_DST_REQUIRED and _dl_dst_substitute.
26442 (decompose_rpath): Call expand_dynamic_string_token with
26443 non-zero is_path. Ignore empty rpaths.
26444 (_dl_map_object_from_fd): Call expand_dynamic_string_token
26447 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
26449 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
26452 2011-04-09 Ulrich Drepper <drepper@gmail.com>
26455 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
26456 Patch by Filipe David Manana <fdmanana@apache.org>.
26458 2011-04-07 Andreas Schwab <schwab@redhat.com>
26460 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
26461 Maintain aligned stack.
26462 (CHECK_RSP): Remove unused macro.
26464 2011-04-03 Ulrich Drepper <drepper@gmail.com>
26466 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
26467 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
26469 2011-04-02 Ulrich Drepper <drepper@gmail.com>
26471 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
26473 * include/features.h: Mention __USE_XOPEN2K8 in comment.
26475 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
26478 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
26479 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
26480 * sysdeps/x86_64/memmove.c: New file.
26481 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
26482 (memcpy): Renamed to ...
26483 (__new_memcpy): This.
26484 (memcpy): Provide GLIBC_2_14 memcpy.
26485 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
26486 (memcpy): Provide GLIBC_2_2_5 memcpy.
26488 2011-04-01 Ulrich Drepper <drepper@gmail.com>
26491 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
26493 2011-03-30 Andreas Schwab <schwab@redhat.com>
26495 * misc/syncfs.c: New file.
26496 * misc/Makefile (routines): Add syncfs.
26497 * posix/unistd.h: Declare syncfs.
26498 * sysdeps/unix/syscalls.list: Add syncfs.
26500 2011-04-01 Andreas Schwab <schwab@redhat.com>
26502 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
26504 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
26505 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
26506 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
26507 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
26508 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26509 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
26510 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
26512 2011-04-01 Ulrich Drepper <drepper@gmail.com>
26514 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
26515 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
26516 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
26517 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
26518 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
26519 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26520 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
26522 * io/Makefile: Compile fallocate.c, fallocate64.c, and
26523 sync_file_range.c with -fexceptions.
26524 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
26525 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
26526 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
26527 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
26528 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
26529 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
26530 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
26531 sync_file_range as cancellation point
26532 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
26533 now a wrapper around __call_sync_file_range with cancellation handling.
26534 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
26535 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
26536 function name to __call_sync_file_range.
26537 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
26538 Add call_sync_file_range.
26540 2011-04-01 Andreas Schwab <schwab@redhat.com>
26542 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26545 2011-04-01 Ulrich Drepper <drepper@gmail.com>
26547 * iconv/iconv.h: Fix typo in comment.
26548 * io/fcntl.h: Likewise.
26549 * libio/stdio.h: Likewise.
26550 * posix/spawn.h: Likewise.
26551 * posix/unistd.h: Likewise.
26552 * stdlib/stdlib.h: Likewise.
26553 * time/time.h: Likewise.
26554 * wcsmbs/wchar.h: Likewise.
26556 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
26557 open_by_handle): Add.
26558 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
26559 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
26560 Augment a few comments.
26561 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
26562 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
26563 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
26564 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26565 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
26566 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
26569 * io/fcntl.h (AT_EMPTY_PATH): Define.
26571 2011-03-30 Ulrich Drepper <drepper@gmail.com>
26573 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
26574 * sysdeps/unix/sysv/linux/bits/time.h: New file.
26575 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
26577 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
26578 * Versions.def: Add GLIBC_2.14.
26579 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
26582 2011-03-22 Ulrich Drepper <drepper@gmail.com>
26584 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
26586 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
26588 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
26591 * string/test-strncmp.c (do_page_test): New function.
26592 (check2): Likewise.
26593 (test_main): Call check2.
26594 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
26596 2011-03-20 Ulrich Drepper <drepper@gmail.com>
26599 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
26600 Handle cache information in CPU leaf 4.
26601 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
26603 2011-03-18 Ulrich Drepper <drepper@gmail.com>
26606 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
26607 character representation.
26608 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
26610 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
26612 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
26613 END(__isnan) to END(__isnanf) to match function entry point/label
26614 EALIGN(__isnanf,...).
26616 2011-03-10 Jakub Jelinek <jakub@redhat.com>
26618 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
26620 2011-03-10 Ulrich Drepper <drepper@gmail.com>
26623 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
26624 copy from the symbol referenced in the relocation to initialize the
26626 Patch by Piotr Bury <pbury@goahead.com>.
26627 * elf/Makefile: Add rules to build and tst-unique3.
26628 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
26629 * elf/tst-unique3.cc: New file.
26630 * elf/tst-unique3.h: New file.
26631 * elf/tst-unique3lib.cc: New file.
26632 * elf/tst-unique3lib2.cc: New file.
26634 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
26636 2011-03-10 Mike Frysinger <vapier@gentoo.org>
26638 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
26639 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
26642 2011-03-06 Ulrich Drepper <drepper@gmail.com>
26644 * elf/dl-load.c (_dl_map_object): If we are looking for the first
26645 to-be-loaded object along a path to loader is ld.so.
26647 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
26648 Ulrich Drepper <drepper@gmail.com>
26650 * sysdeps/x86_64/memset.S: After aligning destination, code
26651 branches to different locations depending on the value of
26652 misalignment, when multiarch is enabled. Fix this.
26654 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
26656 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
26657 Set _x86_64_preferred_memory_instruction for AMD processsors.
26658 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26659 Set bit_Prefer_SSE_for_memop for AMD processors.
26661 2011-03-04 Ulrich Drepper <drepper@gmail.com>
26663 * libio/fmemopen.c (fmemopen): Optimize a bit.
26665 2011-03-03 Andreas Schwab <schwab@redhat.com>
26667 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
26669 2011-03-03 Roland McGrath <roland@redhat.com>
26671 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
26673 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
26675 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
26676 __bzero_ultra1 instead of __memset_ultra1.
26678 2011-02-23 Andreas Schwab <schwab@redhat.com>
26679 Ulrich Drepper <drepper@gmail.com>
26682 * include/link.h (struct link_map): Add l_orig_initfini.
26683 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
26684 returning unsuccessfully.
26685 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
26686 close of a file loaded at startup, restore the original l_initfini
26688 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
26689 list, store the pointer.
26690 * elf/Makefile ($(objpfx)noload-mem): New rule.
26691 (noload-ENV): Define.
26692 (tests): Add $(objpfx)noload-mem.
26693 * elf/noload.c: Include <memcheck.h>.
26694 (main): Call mtrace. Close all opened handles.
26696 2011-02-17 Andreas Schwab <schwab@redhat.com>
26699 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
26700 dependencies are missing.
26702 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
26704 Fix __if_freereq crash: Unlike the generic version which uses free,
26706 * sysdeps/mach/hurd/ifreq.h: New file.
26708 2011-01-27 Petr Baudis <pasky@suse.cz>
26709 Ulrich Drepper <drepper@gmail.com>
26712 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
26713 to extend_alloca().
26714 * stdio-common/bug23.c: New file.
26715 * stdio-common/Makefile (tests): Add bug23.
26717 2010-09-28 Andreas Schwab <schwab@redhat.com>
26718 Ulrich Drepper <drepper@gmail.com>
26721 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
26722 before performing relro protection. At old place add assertion
26723 to make sure nothing changed.
26725 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
26726 Glauber de Oliveira Costa <glommer@gmail.com>
26728 * elf/elf.h: Add new ARM TLS relocs.
26730 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
26732 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
26733 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
26735 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
26737 * sysdeps/wordsize-64/tst-writev.c: New file.
26739 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
26741 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
26742 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
26743 insns in _dl_start to prevent a TOC reference before relocs are
26746 2011-02-15 Ulrich Drepper <drepper@gmail.com>
26749 * Makeconfig: Remove RANLIB definition.
26750 * Makerules: Don't use RANLIB.
26751 * aclocal.m4: Remove ranlib test.
26752 * configure.in: No need to check for ranlib.
26753 * elf/rtld-Rules: Don't use RANLIB.
26755 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
26757 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
26759 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
26760 inclusion protection macro.
26762 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
26763 SIGRTMIN and SIGRTMAX and print information in that case only when
26764 SIGRTMIN is defined.
26766 2011-02-11 Jakub Jelinek <jakub@redhat.com>
26768 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
26769 arginfo fn returning -1.
26771 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
26772 and thousands string is zero terminated.
26774 2011-02-03 Andreas Schwab <schwab@redhat.com>
26776 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
26777 sysdeps/unix/sysv/linux/bits/socket.h.
26779 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
26781 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
26782 (__CPU_COUNT): Remove old macros.
26783 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
26784 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
26785 (__CPU_ALLOC, __CPU_FREE): Add macros.
26786 (__sched_cpualloc, __sched_cpufree): Add declarations.
26788 2011-02-05 Ulrich Drepper <drepper@gmail.com>
26790 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
26791 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
26792 * nscd/aicache.c (addhstaiX): Return timeout of added value.
26793 (readdhstai): Return value of addhstaiX call.
26794 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
26795 (addgrbyX): Return value returned by cache_addgr.
26796 (readdgrbyname): Return value returned by addgrbyX.
26797 (readdgrbygid): Likewise.
26798 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
26799 (addpwbyX): Return value returned by cache_addpw.
26800 (readdpwbyname): Return value returned by addhstbyX.
26801 (readdpwbyuid): Likewise.
26802 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
26803 (addservbyX): Return value returned by cache_addserv.
26804 (readdservbyname): Return value returned by addservbyX:
26805 (readdservbyport): Likewise.
26806 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
26807 (addhstbyX): Return value returned by cache_addhst.
26808 (readdhstbyname): Return value returned by addhstbyX.
26809 (readdhstbyaddr): Likewise.
26810 (readdhstbynamev6): Likewise.
26811 (readdhstbyaddrv6): Likewise.
26812 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
26813 (readdinitgroups): Return value returned by addinitgroupsX.
26814 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
26815 (prune_cache): Keep track of timeout value of re-added entries.
26816 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
26817 * nscd/nscd.h: Adjust prototypes of readd* functions.
26819 2011-02-04 Roland McGrath <roland@redhat.com>
26821 * nis/nis_server.c (nis_servstate): Use the right name for 0.
26822 (nis_stats): Likewise.
26823 * nis/nis_modify.c (nis_modify): Likewise.
26824 * nis/nis_remove.c (nis_remove): Likewise.
26825 * nis/nis_add.c (nis_add): Likewise.
26827 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
26829 * posix/fnmatch_loop.c: Add some consts.
26831 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
26833 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
26836 * config.make.in (config-cflags-novzeroupper): Define.
26837 * configure.in: Substitute libc_cv_cc_novzeroupper.
26838 * elf/Makefile (AVX-CFLAGS): Define.
26839 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
26840 (CFLAGS-tst-auditmod4a.c): Likewise.
26841 (CFLAGS-tst-auditmod4b.c): Likewise.
26842 (CFLAGS-tst-auditmod6b.c): Likewise.
26843 (CFLAGS-tst-auditmod6c.c): Likewise.
26844 (CFLAGS-tst-auditmod7b.c): Likewise.
26845 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
26847 2011-02-02 Ulrich Drepper <drepper@gmail.com>
26849 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
26850 function to the callback.
26851 Patch partly by Jiri Olsa <jolsa@redhat.com>.
26853 2011-02-02 Andreas Schwab <schwab@redhat.com>
26855 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
26858 2011-01-19 Ulrich Drepper <drepper@gmail.com>
26861 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
26863 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
26865 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
26868 * elf/Makefile: Add rules to build and run new test.
26869 * elf/tst-initorder.c: New file.
26870 * elf/tst-initorder.exp: New file.
26871 * elf/tst-initordera1.c: New file.
26872 * elf/tst-initordera2.c: New file.
26873 * elf/tst-initordera3.c: New file.
26874 * elf/tst-initordera4.c: New file.
26875 * elf/tst-initorderb1.c: New file.
26876 * elf/tst-initorderb2.c: New file.
26877 * elf/tst-order-a1.c: New file.
26878 * elf/tst-order-a2.c: New file.
26879 * elf/tst-order-a3.c: New file.
26880 * elf/tst-order-a4.c: New file.
26881 * elf/tst-order-b1.c: New file.
26882 * elf/tst-order-b2.c: New file.
26883 * elf/tst-order-main.c: New file.
26884 New test case by George Gensure <werkt0@gmail.com>.
26886 2010-10-01 Andreas Schwab <schwab@redhat.com>
26888 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
26889 decoding ACE if AI_CANONIDN.
26891 2011-01-18 Ulrich Drepper <drepper@gmail.com>
26893 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
26895 2011-01-17 Ulrich Drepper <drepper@gmail.com>
26897 * version.h (RELEASE): Bump for 2.13 release.
26898 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
26900 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
26902 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
26904 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
26905 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
26906 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
26907 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
26908 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
26909 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
26911 * posix/getconf.c: Update copyright year.
26912 * catgets/gencat.c: Likewise.
26913 * csu/version.c: Likewise.
26914 * debug/catchsegv.sh: Likewise.
26915 * debug/xtrace.sh: Likewise.
26916 * elf/ldconfig.c: Likewise.
26917 * elf/ldd.bash.in: Likewise.
26918 * elf/sprof.c (print_version): Likewise.
26919 * iconv/iconv_prog.c: Likewise.
26920 * iconv/iconvconfig.c: Likewise.
26921 * locale/programs/locale.c: Likewise.
26922 * locale/programs/localedef.c: Likewise.
26923 * malloc/memusage.sh: Likewise.
26924 * malloc/mtrace.pl: Likewise.
26925 * nscd/nscd.c (print_version): Likewise.
26926 * nss/getent.c: Likewise.
26928 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
26929 PF_CAIF, and PF_ALG.
26930 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
26932 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
26934 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
26935 (modules-names): Use them.
26936 (ifunc-test-modules, ifunc-pie-tests): Define.
26937 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
26938 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
26939 (test-extras): Likewise.
26940 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
26941 $(compile-command.c).
26942 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
26943 (all-built-dso): Define.
26944 (check-textrel.out, check-execstack.out): Depend on it.
26946 * configure.in: Don't override --enable-multi-arch.
26948 2011-01-15 Ulrich Drepper <drepper@gmail.com>
26951 * nscd/hstcache.c (tryagain): Define.
26952 (cache_addhst): Return tryagain not notfound for temporary errors.
26953 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
26956 2011-01-14 Ulrich Drepper <drepper@gmail.com>
26959 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
26960 to make the syscall.
26961 * sysdeps/unix/sysv/linux/setgroups.c: New file.
26964 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
26965 and fall back to matching as normal character if the string ends before
26966 the matching ']' is found. This is what POSIX requires.
26967 * posix/testfnm.c: Adjust test result.
26968 * posix/globtest.sh: Adjust test result. Add new test.
26969 * posix/tst-fnmatch.input: Likewise.
26970 * posix/tst-fnmatch2.c: Add new test.
26972 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
26974 * elf/Makefile (check-execstack): Revert last change. Depend on
26976 (check-execstack.h): New target.
26977 (generated): Add check-execstack.h.
26978 * elf/check-execstack.c: Include "check-execstack.h".
26979 (main): Revert last change.
26980 (handle_file): Return zero if GNU_STACK is absent and
26981 DEFAULT_STACK_PERMS doesn't include PF_X.
26983 2011-01-13 Ulrich Drepper <drepper@gmail.com>
26985 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
26986 in child fails because the descriptor is already closed.
26987 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
26988 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
26989 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
26992 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
26996 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
26997 temporary buffer used to handle multi lookups locally.
26998 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
27000 2011-01-12 Ulrich Drepper <drepper@gmail.com>
27002 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
27005 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
27007 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
27008 alignment for SSE2.
27010 2011-01-12 Ulrich Drepper <drepper@gmail.com>
27013 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
27014 characters. When rounding increased number of integer digits recompute
27016 * stdio-common/tst-grouping.c: New file.
27017 * stdio-common/Makefile: Add rules to build and run tst-grouping.
27019 2011-01-09 Ulrich Drepper <drepper@gmail.com>
27021 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
27022 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
27024 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
27026 * bits/select.h: Likewise.
27028 2011-01-08 Ulrich Drepper <drepper@gmail.com>
27030 * po/ja.po: Update from translation team.
27032 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
27035 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
27036 implementation just like for lxstat, fxstatat, et al.
27038 2010-12-27 Jim Meyering <meyering@redhat.com>
27041 * posix/regexec.c (build_trtable): Return failure indication upon
27042 calloc failure. Otherwise, re_search_internal could infloop on OOM.
27044 2010-12-25 Ulrich Drepper <drepper@gmail.com>
27047 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
27048 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
27049 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
27050 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
27053 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
27056 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
27057 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
27059 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
27061 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
27062 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
27063 script has SORT_BY_INIT_PRIORITY.
27064 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
27065 NO_CTORS_DTORS_SECTIONS is defined.
27066 * elf/soinit.c: Likewise.
27067 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
27068 NO_CTORS_DTORS_SECTIONS is defined.
27069 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
27070 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
27071 * sysdeps/sh/init-first.c: Likewise.
27072 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
27074 2010-12-24 Ulrich Drepper <drepper@gmail.com>
27076 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
27077 always use the slow path.
27079 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
27081 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
27082 similar rule which adds the sysdep directories to the header search in
27083 order to pick up the correct platform stackinfo.h.
27084 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
27085 perform test if it is, otherwise return successfully without testing.
27086 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
27087 DEFAULT_STACK_PERMS define in stackinfo.h.
27088 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
27089 defined in stackinfo.h.
27090 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
27091 DEFAULT_STACK_PERMS defined in stackinfo.h.
27092 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
27093 * sysdeps/ia64/stackinfo.h: Likewise.
27094 * sysdeps/s390/stackinfo.h: Likewise.
27095 * sysdeps/sh/stackinfo.h: Likewise.
27096 * sysdeps/sparc/stackinfo.h: Likewise.
27097 * sysdeps/x86_64/stackinfo.h: Likewise.
27098 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
27099 PF_X for powerpc64. Retain PF_X for powerpc32.
27101 2010-12-19 Ulrich Drepper <drepper@gmail.com>
27103 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
27105 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
27106 GETDENTS_64BIT_ALIGNED.
27108 2010-12-14 Ulrich Drepper <dreper@gmail.com>
27110 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
27112 2010-12-10 Andreas Schwab <schwab@redhat.com>
27114 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
27117 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
27118 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
27120 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
27121 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
27123 2010-12-09 Ulrich Drepper <drepper@gmail.com>
27126 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
27129 2010-12-09 Jakub Jelinek <jakub@redhat.com>
27131 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
27133 2010-12-03 Ulrich Drepper <drepper@gmail.com>
27135 * po/it.po: Update from translation team.
27137 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
27139 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
27142 2010-11-30 Ulrich Drepper <drepper@gmail.com>
27144 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
27146 2010-11-24 Andreas Schwab <schwab@redhat.com>
27148 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
27150 (gaih_getanswer_slice): Likewise.
27152 2010-10-20 Jakub Jelinek <jakub@redhat.com>
27154 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
27156 2010-05-31 Petr Baudis <pasky@suse.cz>
27159 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
27160 silently even in the chroot mode.
27162 2010-11-22 Ulrich Drepper <drepper@gmail.com>
27164 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
27165 last patch a bit. Pretty printing
27167 2010-05-31 Petr Baudis <pasky@suse.cz>
27170 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
27171 initialization of skip_initgroups_dyn.
27173 2010-11-19 Ulrich Drepper <drepper@gmail.com>
27175 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
27176 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
27178 2010-11-16 Ulrich Drepper <drepper@gmail.com>
27180 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
27182 2010-11-11 Andreas Schwab <schwab@redhat.com>
27184 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
27185 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
27186 (tst-fnmatch-ENV): Set MALLOC_TRACE.
27187 ($(objpfx)tst-fnmatch-mem): New rule.
27188 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
27189 * posix/tst-fnmatch.c (main): Call mtrace.
27191 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
27193 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27194 Support Intel processor model 6 and model 0x2c.
27196 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
27198 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
27201 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
27204 * string/test-strncasecmp.c (check_result): New function.
27205 (do_one_test): Use it.
27206 (check1): New function.
27207 (test_main): Use it.
27208 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
27209 Support strcasecmp and strncasecmp.
27211 2010-11-08 Ulrich Drepper <drepper@gmail.com>
27214 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
27215 * sysdeps/x86_64/bits/byteswap.h: Likewise.
27217 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
27219 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
27221 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27223 * sysdeps/x86_64/multiarch/bzero.S: New file.
27224 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
27225 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
27226 * sysdeps/x86_64/multiarch/memset.S: New file.
27227 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
27228 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27229 Set bit_Prefer_SSE_for_memop for Intel processors.
27230 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
27232 (index_Prefer_SSE_for_memop): Define.
27233 (HAS_PREFER_SSE_FOR_MEMOP): Define.
27235 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
27237 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
27238 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
27240 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
27243 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
27244 (__x86_64_raw_data_cache_size_half): Likewise.
27245 (__x86_64_raw_shared_cache_size): Likewise.
27246 (__x86_64_raw_shared_cache_size_half): Likewise.
27248 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
27249 (__x86_64_raw_data_cache_size_half): Likewise.
27250 (__x86_64_raw_shared_cache_size): Likewise.
27251 (__x86_64_raw_shared_cache_size_half): Likewise.
27252 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
27253 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
27254 and __x86_64_raw_shared_cache_size_half. Round
27255 __x86_64_data_cache_size_half, __x86_64_data_cache_size
27256 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
27257 to multiple of 256 bytes.
27259 2010-11-03 Ulrich Drepper <drepper@gmail.com>
27262 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
27263 of inacessible symlinks. Verify result of symlink before returning it.
27264 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
27265 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
27267 2010-10-28 Erich Ritz <erichritz@gmail.com>
27269 * math/math.h (isinf): Fix typo in comment.
27271 2010-11-01 Ulrich Drepper <drepper@gmail.com>
27273 * po/da.po: Update from translation team.
27275 2010-10-26 Ulrich Drepper <drepper@gmail.com>
27277 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
27278 is added to the list.
27280 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27281 Ulrich Drepper <drepper@gmail.com>
27283 * elf/dl-object.c (_dl_new_object): Don't append the new object to
27284 the global list here. Move code to...
27285 (_dl_add_to_namespace_list): ...here. New function.
27286 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
27287 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
27288 * elf/dl-load.c (lose): Don't remove the element from the list.
27289 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
27290 (_dl_map_object): Likewise.
27292 2010-10-25 Ulrich Drepper <drepper@gmail.com>
27295 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
27296 into all bytes of SSE register.
27297 Patch by Richard Li <richardpku@gmail.com>.
27299 2010-10-24 Ulrich Drepper <drepper@gmail.com>
27302 * malloc/malloc.c (_int_free): Fill correct number of bytes when
27305 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
27307 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
27308 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
27309 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
27310 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
27311 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
27313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
27315 2010-10-22 Andreas Schwab <schwab@redhat.com>
27317 * include/dlfcn.h (__RTLD_SECURE): Define.
27318 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
27319 mode & __RTLD_SECURE instead.
27320 (open_path): Rename preloaded parameter to secure.
27321 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
27322 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
27323 * elf/dl-deps.c (openaux): Likewise.
27324 * elf/rtld.c (struct map_args): Remove is_preloaded.
27325 (map_doit): Don't use it.
27326 (dl_main): Likewise.
27327 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
27328 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
27330 2010-09-09 Andreas Schwab <schwab@redhat.com>
27332 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
27333 (sysd-rules-targets): Remove duplicates.
27334 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
27335 rtld-%.$o dependency.
27337 2010-10-18 Andreas Schwab <schwab@redhat.com>
27339 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
27340 _dl_map_object do it.
27342 2010-10-19 Ulrich Drepper <drepper@gmail.com>
27344 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
27345 fast fma builtins, define the macros in the C99 standard.
27346 (FP_FAST_FMAF): Likewise.
27347 (FP_FAST_FMAL): Likewise.
27348 * sysdeps/x86_64/bits/mathdef.h: Likewise.
27350 * bits/mathdef.h: Update copyright year.
27351 * sysdeps/powerpc/bits/mathdef.h: Likewise.
27353 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
27355 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
27356 builtins, define the macros in the C99 standard.
27357 (FP_FAST_FMAF): Likewise.
27358 (FP_FAST_FMAL): Likewise.
27359 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
27361 (FP_FAST_FMAF): Likewise.
27363 2010-10-15 Jakub Jelinek <jakub@redhat.com>
27366 * math/libm-test.inc (fma_test): Some new testcases.
27367 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
27368 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
27369 y and infinite z. Do multiplication by C already in long double.
27370 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
27371 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
27372 y and infinite z. Do bitwise or of inexact bit into u.d.
27373 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
27374 * sysdeps/i386/fpu/s_fmaf.S: Removed.
27375 * sysdeps/i386/fpu/s_fma.S: Removed.
27376 * sysdeps/i386/fpu/s_fmal.S: Removed.
27378 2010-10-16 Jakub Jelinek <jakub@redhat.com>
27381 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
27382 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
27383 computation is not scheduled after fetestexcept. Fix value
27384 of minimum denormal long double.
27386 2010-10-14 Jakub Jelinek <jakub@redhat.com>
27389 * math/libm-test.inc (fma_test): Add some more tests.
27390 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
27393 2010-10-15 Andreas Schwab <schwab@redhat.com>
27395 * scripts/data/localplt-s390-linux-gnu.data: New file.
27396 * scripts/data/localplt-s390x-linux-gnu.data: New file.
27398 2010-10-13 Jakub Jelinek <jakub@redhat.com>
27401 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
27402 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
27404 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
27406 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
27407 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
27408 if one of x and y is very large and the other is subnormal.
27409 * sysdeps/s390/fpu/s_fmaf.c: New file.
27410 * sysdeps/s390/fpu/s_fma.c: New file.
27411 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
27412 * sysdeps/powerpc/fpu/s_fma.S: New file.
27413 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
27414 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
27415 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
27417 2010-10-12 Jakub Jelinek <jakub@redhat.com>
27420 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
27422 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
27423 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
27424 * sysdeps/i386/i686/multiarch/s_fma.c: Include
27425 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
27426 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
27427 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
27428 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
27430 2010-10-12 Ulrich Drepper <drepper@redhat.com>
27433 * posix/regcomp.c (parse_branch): One more memory leak plugged.
27434 * posix/bug-regex31.input: Add test case.
27436 2010-10-11 Ulrich Drepper <drepper@gmail.com>
27438 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
27439 * posix/bug-regex31.input: New file.
27442 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
27443 (parse_sub_exp): Fix last change, use postorder.
27445 * posix/bug-regex31.c: New file.
27446 * posix/Makefile: Add rules to build and run bug-regex31.
27448 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
27451 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
27454 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
27455 to have entries in sys_siglist.
27458 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
27461 2010-10-07 Jakub Jelinek <jakub@redhat.com>
27464 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
27465 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
27466 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
27467 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
27468 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
27469 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
27470 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
27471 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
27472 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
27473 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
27474 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
27475 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
27476 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
27477 * math/ftestexcept.c (fetestexcept): Likewise.
27478 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
27479 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
27480 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
27481 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
27482 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
27483 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
27484 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
27486 2010-10-11 Ulrich Drepper <drepper@gmail.com>
27489 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
27492 2010-10-06 Ulrich Drepper <drepper@gmail.com>
27494 * string/bug-strstr1.c: New file.
27495 * string/Makefile: Add rules to build and run bug-strstr1.
27497 2010-10-05 Eric Blake <eblake@redhat.com>
27500 * string/str-two-way.h (two_way_long_needle): Always clear memory
27501 when skipping input due to the shift table.
27503 2010-10-03 Ulrich Drepper <drepper@gmail.com>
27506 * malloc/mcheck.c: Handle large requests.
27509 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
27510 for strncmp and strncasecmp.
27511 * string/stratcliff.c: Add tests for strcmp and strncmp.
27512 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
27514 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
27516 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
27519 2010-09-30 Andreas Jaeger <aj@suse.de>
27521 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
27522 (CGROUP_SUPER_MAGIC): Define.
27523 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
27524 Handle btrfs and cgroup file systems.
27525 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
27528 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
27530 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
27531 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
27533 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27536 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
27537 trying to locate the ELF header.
27539 2010-09-27 Andreas Schwab <schwab@redhat.com>
27542 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
27543 Mask out sign-bit copies when constructing f_fsid.
27545 2010-09-24 Petr Baudis <pasky@suse.cz>
27547 * debug/stack_chk_fail_local.c: Add missing licence exception.
27548 * debug/warning-nop.c: Likewise.
27550 2010-09-15 Joseph Myers <joseph@codesourcery.com>
27552 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
27553 implementing getdents64 using getdents syscall, set d_type if
27554 __ASSUME_GETDENTS32_D_TYPE.
27556 2010-09-16 Andreas Schwab <schwab@redhat.com>
27558 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
27559 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
27561 2010-09-21 Ulrich Drepper <drepper@redhat.com>
27564 * posix/unistd.h: Undo change of feature selection for ftruncate from
27567 2010-09-20 Ulrich Drepper <drepper@redhat.com>
27569 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
27572 2010-09-20 Andreas Schwab <schwab@redhat.com>
27574 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
27576 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
27578 2010-09-14 Andreas Schwab <schwab@redhat.com>
27580 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
27581 variables after CHECK_SP call.
27582 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
27584 2010-09-13 Andreas Schwab <schwab@redhat.com>
27585 Ulrich Drepper <drepper@redhat.com>
27587 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
27588 re-relocationg ld.so.
27589 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
27590 _dl_init_paths call.
27591 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
27594 2010-09-14 Ulrich Drepper <drepper@redhat.com>
27596 * resolv/res_init.c (__res_vinit): Count the default server we added.
27598 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
27599 Ulrich Drepper <drepper@redhat.com>
27602 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
27603 (____longjmp_chk): Use %ebx for saving value across system call.
27606 2010-09-06 Andreas Schwab <schwab@redhat.com>
27608 * manual/Makefile: Don't mix pattern rules with normal rules.
27610 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
27612 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
27614 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
27615 * libio/iofopncook.c (_IO_cookie_init): Likewise.
27616 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
27617 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
27618 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
27621 2010-09-04 Ulrich Drepper <drepper@redhat.com>
27624 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
27625 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
27627 2010-09-02 Ulrich Drepper <drepper@redhat.com>
27629 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
27630 * sysdeps/x86_64/addmul_1.S: Likewise.
27631 * sysdeps/x86_64/lshift.S: Likewise.
27632 * sysdeps/x86_64/mul_1.S: Likewise.
27633 * sysdeps/x86_64/rshift.S: Likewise.
27634 * sysdeps/x86_64/sub_n.S: Likewise.
27635 * sysdeps/x86_64/submul_1.S: Likewise.
27637 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
27639 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
27640 Define __sched_param instead of SCHED_* and sched_param when
27641 <bits/sched.h> is included with __need_schedparam defined.
27642 * bits/sched.h [__need_schedparam]
27643 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
27644 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
27645 (__defined_schedparam): Define to 1.
27646 (__sched_param): New structure, identical to sched_param.
27647 (__need_schedparam): Undefine.
27649 2010-08-31 Mike Frysinger <vapier@gentoo.org>
27651 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
27652 (epoll_create1): Declare.
27654 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
27656 2010-08-31 Andreas Schwab <schwab@redhat.com>
27659 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
27660 shifting retval into place.
27662 2010-09-01 Ulrich Drepper <drepper@redhat.com>
27664 * nis/rpcsvc/nis.h: Update copyright notice.
27665 * nis/rpcsvc/nis.x: Likewise.
27666 * nis/rpcsvc/nis_callback.h: Likewise.
27667 * nis/rpcsvc/nis_callback.x: Likewise.
27668 * nis/rpcsvc/nis_object.x: Likewise.
27669 * nis/rpcsvc/nis_tags.h: Likewise.
27670 * nis/rpcsvc/yp.h: Likewise.
27671 * nis/rpcsvc/yp.x: Likewise.
27672 * nis/rpcsvc/ypupd.h: Likewise.
27673 * nis/yp_xdr.c: Likewise.
27674 * nis/ypupdate_xdr.c: Likewise.
27676 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
27677 mainly the body of pmap_getport. Add parameters to specify timeouts.
27678 (pmap_getport): Use __libc_rpc_getport.
27679 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
27680 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
27681 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
27683 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
27685 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
27688 2010-08-27 Roland McGrath <roland@redhat.com>
27690 * sysdeps/i386/i686/multiarch/Makefile
27691 (CFLAGS-varshift.c): New variable.
27693 2010-08-27 Ulrich Drepper <drepper@redhat.com>
27695 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
27696 * sysdeps/i386/i686/multiarch/varshift.c: New file.
27698 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
27700 * sysdeps/x86_64/strlen.S: Minimal code improvement.
27702 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
27704 * sysdeps/x86_64/strlen.S: Unroll the loop.
27705 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27706 strlen-sse2 strlen-sse2-bsf.
27707 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
27708 __strlen_no_bsf if bit_Slow_BSF is set.
27709 (__strlen_sse42): Removed.
27710 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
27711 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
27713 2010-08-25 Roland McGrath <roland@redhat.com>
27715 * sysdeps/x86_64/multiarch/varshift.S: File removed.
27716 * sysdeps/x86_64/multiarch/varshift.c: New file.
27717 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
27718 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
27719 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
27720 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
27722 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
27724 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27725 strlen-sse2 strlen-sse2-bsf.
27726 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
27727 __strlen_sse2_bsf if bit_Slow_BSF is unset.
27728 (__strlen_sse2): Removed.
27729 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
27730 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
27731 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
27732 bit_Slow_BSF for Atom.
27733 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
27734 (index_Slow_BSF): Define.
27735 (HAS_SLOW_BSF): Define.
27737 2010-08-25 Ulrich Drepper <drepper@redhat.com>
27740 * resolv/res_init.c (__res_vinit): When no server address at all
27741 is given default to loopback.
27743 2010-08-24 Roland McGrath <roland@redhat.com>
27745 * configure.in: Remove config-name.h generation.
27746 * configure: Regenerated.
27747 * config-name.in: File removed.
27748 * scripts/config-uname.sh: New file.
27749 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
27750 ($(objdir)config-name.h): New target.
27752 * sunrpc/rpc_parse.h: Avoid nested comment.
27754 2010-08-24 Richard Henderson <rth@redhat.com>
27755 Ulrich Drepper <drepper@redhat.com>
27756 H.J. Lu <hongjiu.lu@intel.com>
27758 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
27759 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
27760 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
27761 Replace _mm_srli_si128 with __m128i_shift_right. Replace
27762 _mm_alignr_epi8 with _mm_loadu_si128.
27763 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
27764 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
27765 (__m128i_shift_right): Removed.
27766 * sysdeps/i386/i686/multiarch/varshift.h: New file.
27767 * sysdeps/i386/i686/multiarch/varshift.S: New file.
27768 * sysdeps/x86_64/multiarch/varshift.h: New file.
27769 * sysdeps/x86_64/multiarch/varshift.S: New file.
27771 2010-08-21 Mike Frysinger <vapier@gentoo.org>
27773 * configure.in: Move assembler checks to before sysdep dir checking.
27775 2010-08-20 Petr Baudis <pasky@suse.cz>
27777 * LICENSES: Sync the sunrpc license.
27779 2010-08-19 Ulrich Drepper <drepper@redhat.com>
27781 * sunrpc/auth_des.c: Update copyright notice once again.
27782 * sunrpc/auth_none.c: Likewise.
27783 * sunrpc/auth_unix.c: Likewise.
27784 * sunrpc/authdes_prot.c: Likewise.
27785 * sunrpc/authuxprot.c: Likewise.
27786 * sunrpc/bindrsvprt.c: Likewise.
27787 * sunrpc/clnt_gen.c: Likewise.
27788 * sunrpc/clnt_perr.c: Likewise.
27789 * sunrpc/clnt_raw.c: Likewise.
27790 * sunrpc/clnt_simp.c: Likewise.
27791 * sunrpc/clnt_tcp.c: Likewise.
27792 * sunrpc/clnt_udp.c: Likewise.
27793 * sunrpc/clnt_unix.c: Likewise.
27794 * sunrpc/des_crypt.c: Likewise.
27795 * sunrpc/des_soft.c: Likewise.
27796 * sunrpc/get_myaddr.c: Likewise.
27797 * sunrpc/getrpcport.c: Likewise.
27798 * sunrpc/key_call.c: Likewise.
27799 * sunrpc/key_prot.c: Likewise.
27800 * sunrpc/openchild.c: Likewise.
27801 * sunrpc/pm_getmaps.c: Likewise.
27802 * sunrpc/pm_getport.c: Likewise.
27803 * sunrpc/pmap_clnt.c: Likewise.
27804 * sunrpc/pmap_prot.c: Likewise.
27805 * sunrpc/pmap_prot2.c: Likewise.
27806 * sunrpc/pmap_rmt.c: Likewise.
27807 * sunrpc/rpc/auth.h: Likewise.
27808 * sunrpc/rpc/auth_unix.h: Likewise.
27809 * sunrpc/rpc/clnt.h: Likewise.
27810 * sunrpc/rpc/des_crypt.h: Likewise.
27811 * sunrpc/rpc/key_prot.h: Likewise.
27812 * sunrpc/rpc/netdb.h: Likewise.
27813 * sunrpc/rpc/pmap_clnt.h: Likewise.
27814 * sunrpc/rpc/pmap_prot.h: Likewise.
27815 * sunrpc/rpc/pmap_rmt.h: Likewise.
27816 * sunrpc/rpc/rpc.h: Likewise.
27817 * sunrpc/rpc/rpc_des.h: Likewise.
27818 * sunrpc/rpc/rpc_msg.h: Likewise.
27819 * sunrpc/rpc/svc.h: Likewise.
27820 * sunrpc/rpc/svc_auth.h: Likewise.
27821 * sunrpc/rpc/types.h: Likewise.
27822 * sunrpc/rpc/xdr.h: Likewise.
27823 * sunrpc/rpc_clntout.c: Likewise.
27824 * sunrpc/rpc_cmsg.c: Likewise.
27825 * sunrpc/rpc_common.c: Likewise.
27826 * sunrpc/rpc_cout.c: Likewise.
27827 * sunrpc/rpc_dtable.c: Likewise.
27828 * sunrpc/rpc_hout.c: Likewise.
27829 * sunrpc/rpc_main.c: Likewise.
27830 * sunrpc/rpc_parse.c: Likewise.
27831 * sunrpc/rpc_parse.h: Likewise.
27832 * sunrpc/rpc_prot.c: Likewise.
27833 * sunrpc/rpc_sample.c: Likewise.
27834 * sunrpc/rpc_scan.c: Likewise.
27835 * sunrpc/rpc_scan.h: Likewise.
27836 * sunrpc/rpc_svcout.c: Likewise.
27837 * sunrpc/rpc_tblout.c: Likewise.
27838 * sunrpc/rpc_util.c: Likewise.
27839 * sunrpc/rpc_util.h: Likewise.
27840 * sunrpc/rpcinfo.c: Likewise.
27841 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
27842 * sunrpc/rpcsvc/key_prot.x: Likewise.
27843 * sunrpc/rpcsvc/klm_prot.x: Likewise.
27844 * sunrpc/rpcsvc/mount.x: Likewise.
27845 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
27846 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
27847 * sunrpc/rpcsvc/rex.x: Likewise.
27848 * sunrpc/rpcsvc/rstat.x: Likewise.
27849 * sunrpc/rpcsvc/rusers.x: Likewise.
27850 * sunrpc/rpcsvc/sm_inter.x: Likewise.
27851 * sunrpc/rpcsvc/spray.x: Likewise.
27852 * sunrpc/rpcsvc/yppasswd.x: Likewise.
27853 * sunrpc/rtime.c: Likewise.
27854 * sunrpc/svc.c: Likewise.
27855 * sunrpc/svc_auth.c: Likewise.
27856 * sunrpc/svc_authux.c: Likewise.
27857 * sunrpc/svc_raw.c: Likewise.
27858 * sunrpc/svc_run.c: Likewise.
27859 * sunrpc/svc_simple.c: Likewise.
27860 * sunrpc/svc_tcp.c: Likewise.
27861 * sunrpc/svc_udp.c: Likewise.
27862 * sunrpc/svc_unix.c: Likewise.
27863 * sunrpc/svcauth_des.c: Likewise.
27864 * sunrpc/xcrypt.c: Likewise.
27865 * sunrpc/xdr.c: Likewise.
27866 * sunrpc/xdr_array.c: Likewise.
27867 * sunrpc/xdr_float.c: Likewise.
27868 * sunrpc/xdr_mem.c: Likewise.
27869 * sunrpc/xdr_rec.c: Likewise.
27870 * sunrpc/xdr_ref.c: Likewise.
27871 * sunrpc/xdr_sizeof.c: Likewise.
27872 * sunrpc/xdr_stdio.c: Likewise.
27874 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
27877 2010-08-19 Andreas Schwab <schwab@redhat.com>
27879 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
27881 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
27883 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
27884 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
27885 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
27886 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
27887 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
27888 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
27889 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
27890 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
27891 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
27892 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
27893 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
27894 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
27895 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
27896 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
27898 2010-07-26 Anton Blanchard <anton@samba.org>
27900 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
27901 * malloc/arena.c (heap_trim): Likewise.
27903 2010-08-16 Ulrich Drepper <drepper@redhat.com>
27905 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
27907 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
27908 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
27910 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
27912 * sysdeps/i386/elf/Makefile: New file.
27914 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
27916 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
27917 from fanotify_init.
27918 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
27919 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
27921 2010-08-15 Ulrich Drepper <drepper@redhat.com>
27923 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
27925 * sysdeps/multiarch/strcmp.S: Likewise.
27927 2010-08-14 Ulrich Drepper <drepper@redhat.com>
27929 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
27930 strncase_l-nonascii.
27931 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
27932 Add strncase_l-ssse3.
27933 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
27934 * sysdeps/x86_64/strcmp.S: Likewise.
27935 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
27936 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
27937 * sysdeps/x86_64/strncase.S: New file.
27938 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
27939 * sysdeps/x86_64/strncase_l.S: New file.
27940 * string/Makefile (strop-tests): Add strncasecmp.
27941 * string/test-strncasecmp.c: New file.
27943 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
27946 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
27947 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
27949 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
27951 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
27953 2010-08-12 Ulrich Drepper <drepper@redhat.com>
27955 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
27956 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
27957 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
27959 2010-05-01 Alan Modra <amodra@gmail.com>
27961 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
27962 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
27963 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
27964 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
27965 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
27966 tidying. Don't tail-call __sigjmp_save for static lib.
27967 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
27969 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
27970 (CALL_MCOUNT): Add eh info, and nop after bl.
27971 (TAIL_CALL_SYSCALL_ERROR): New macro.
27972 (PSEUDO_RET): Use it.
27973 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
27974 Correct save location of integer regs and cr.
27975 (_dl_profile_resolve): Correct cr save location. Delete nops
27976 after bl when SHARED. Reduce cfi size a little by better
27977 placement of cfi directives.
27978 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
27979 make a stack frame. Instead use parm save area as a temp.
27980 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
27981 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
27982 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
27983 Don't make a stack frame for parent, use parm save area.
27984 Increase child stack frame to 112 bytes. Don't save unused reg,
27985 and adjust reg usage. Set up cfi on error recovery and
27986 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
27987 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
27988 (__makecontext): Add dummy nop after jump to exit.
27989 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
27990 Use correct parm save area and cr save, reduce stack frame.
27991 Correct cfi for possible PSEUDO_RET frame setup.
27992 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
27993 Branch to local label emitted by PSEUDO_RET rather than
27996 2010-08-12 Andreas Schwab <schwab@redhat.com>
27999 * locale/programs/locale.c (print_assignment): New function.
28000 (show_locale_vars): Use it.
28002 2010-08-11 Ulrich Drepper <drepper@redhat.com>
28004 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
28006 (struct statfs64): Likewise.
28007 (_STATFS_F_FLAGS): Define.
28008 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
28009 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
28010 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
28011 (ST_VALID): Define locally.
28012 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
28013 __statvfs_getflags, use the provided value.
28014 * sysdeps/unix/sysv/linux/kernel-features.h: Define
28015 __ASSUME_STATFS_F_FLAGS.
28017 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
28019 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
28020 Add sys/fanotify.h.
28021 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
28022 fanotify_mask for GLIBC_2.13.
28023 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
28024 fanotify_init and fanotify_mark.
28025 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
28026 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
28028 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
28030 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
28031 prlimit64 for GLIBC_2.13.
28032 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
28034 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
28036 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
28037 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
28038 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
28039 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
28040 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
28042 * sysdeps/unix/sysv/linux/prlimit.c: New file.
28045 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
28046 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
28048 * nss/Makefile: Add rules to build and run tst-nss-test1.
28049 * shlib-versions: Add entry for libnss_test1.
28050 * nss/nss_test1.c: New file.
28051 * nss/tst-nss-test1.c: New file.
28053 * nss/nsswitch.c (__nss_database_custom): Define new variable.
28054 (__nss_configure_lookup): Set appropriate entry in
28055 __nss_configure_lookup to true.
28056 * nss/nsswitch.h: Define enum with indeces of databases in
28057 databases and __nss_database_custom arrays. Declare
28058 __nss_database_custom.
28059 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
28060 to avoid using nscd when custom rules are installed.
28061 * nss/getXXbyYY_r.c: Likewise.
28062 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
28064 * nss/nss_files/files-parse.c: Whitespace fixes.
28066 2010-08-09 Ulrich Drepper <drepper@redhat.com>
28069 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
28070 * posix/fnmatch_loop.c: Likewise.
28072 2010-07-17 Andi Kleen <ak@linux.intel.com>
28074 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
28075 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
28076 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
28077 * Versions.def [GLIBC_2.13]: Add.
28079 2010-08-06 Ulrich Drepper <drepper@redhat.com>
28081 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
28082 Also fail if tpwd after pwuid call is NULL.
28084 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
28086 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
28087 when converting to ms.
28089 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
28091 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
28092 EOPNOTSUPP errors with ENOTTY.
28093 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
28094 EOPNOTSUPP errors with ENOTTY.
28096 2010-07-31 Ulrich Drepper <drepper@redhat.com>
28098 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
28099 Add strcasecmp_l-ssse3.
28100 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
28102 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
28103 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
28104 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
28106 2010-07-30 Ulrich Drepper <drepper@redhat.com>
28108 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
28110 * string/Makefile (strop-tests): Add strcasecmp.
28111 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
28112 strcasecmp_l-nonascii.
28113 (gen-as-const-headers): Add locale-defines.sym.
28114 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
28115 * sysdeps/x86_64/strcasecmp.S: New file.
28116 * sysdeps/x86_64/strcasecmp_l.S: New file.
28117 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
28118 * sysdeps/x86_64/locale-defines.sym: New file.
28119 * string/test-strcasecmp.c: New file.
28121 * string/test-strcasestr.c: Test both ends of the range of characters.
28122 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
28124 2010-07-29 Roland McGrath <roland@redhat.com>
28127 * manual/locale.texi (Yes-or-No Questions): Fix example code.
28129 2010-07-27 Ulrich Drepper <drepper@redhat.com>
28131 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
28134 2010-07-27 Andreas Schwab <schwab@redhat.com>
28136 * manual/memory.texi (Malloc Tunable Parameters): Document
28139 2010-07-26 Roland McGrath <roland@redhat.com>
28142 * configure.in (-fgnu89-inline check): Set and substitute
28143 gnu89_inline, not libc_cv_gnu89_inline.
28144 * configure: Regenerated.
28145 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
28147 2010-07-26 Ulrich Drepper <drepper@redhat.com>
28149 * string/test-strnlen.c: New file.
28150 * string/Makefile (strop-tests): Add strnlen.
28151 * string/tester.c (test_strnlen): Add a few more test cases.
28152 * string/tst-strlen.c: Better error reporting.
28154 * sysdeps/x86_64/strnlen.S: New file.
28156 2010-07-24 Ulrich Drepper <drepper@redhat.com>
28158 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
28159 lower-latency instructions.
28161 2010-07-23 Ulrich Drepper <drepper@redhat.com>
28163 * string/test-strcasestr.c: New file.
28164 * string/test-strstr.c: New file.
28165 * string/Makefile (strop-tests): Add strstr and strcasestr.
28166 * string/str-two-way.h: Don't undefine MAX.
28167 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
28169 2010-07-21 Andreas Schwab <schwab@redhat.com>
28171 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28172 strcasestr-nonascii.
28173 (CFLAGS-strcasestr-nonascii.c): Define.
28174 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
28175 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
28176 Remove unused attribute.
28178 2010-07-20 Roland McGrath <roland@redhat.com>
28180 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
28181 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
28182 ld.so.cache was broken. With it, there is no way to disable dsocaps
28183 like LD_HWCAP_MASK can disable hwcaps.
28185 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
28187 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
28189 2010-07-16 Ulrich Drepper <drepper@redhat.com>
28191 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
28192 call in strcasestr.
28193 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
28194 __strcasestr_sse42_nonascii.
28195 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
28196 strcasestr-nonascii.c.
28197 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
28199 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
28201 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
28202 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
28203 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
28204 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
28206 2010-07-09 Ulrich Drepper <drepper@redhat.com>
28208 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
28211 2010-07-06 Andreas Schwab <schwab@redhat.com>
28214 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
28217 2010-07-06 Ulrich Drepper <drepper@redhat.com>
28219 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
28220 _PC_PIPE_BUF using F_GETPIPE_SZ.
28222 2010-07-05 Roland McGrath <roland@redhat.com>
28224 * manual/arith.texi (Rounding Functions): Fix rint description
28225 implicit in round description.
28227 2010-07-02 Ulrich Drepper <drepper@redhat.com>
28229 * elf/Makefile: Fix linking for a few tests to make recent linker
28232 2010-06-30 Andreas Schwab <schwab@redhat.com>
28234 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
28235 $(common-objpfx)libc_nonshared.a.
28237 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
28239 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
28240 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
28241 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
28242 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
28243 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
28244 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
28245 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
28246 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
28247 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
28248 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
28249 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
28250 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
28251 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
28252 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
28253 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
28254 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
28255 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
28256 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
28257 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
28258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
28259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
28260 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
28261 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
28262 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
28263 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
28264 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
28265 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
28266 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
28267 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
28268 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
28269 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
28270 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
28271 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
28272 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
28273 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
28274 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
28275 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
28276 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
28277 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
28278 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
28279 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
28280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
28281 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
28282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
28283 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
28284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
28285 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
28286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
28288 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
28290 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
28291 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
28292 * string/memmove.c (memmove): Renamed to ...
28293 (MEMMOVE): ...this. Default to memmove.
28294 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
28295 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
28297 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28298 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
28299 mempcpy-ssse3-back memmove-ssse3-back.
28300 * sysdeps/x86_64/multiarch/bcopy.S: New file .
28301 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
28302 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
28303 * sysdeps/x86_64/multiarch/memcpy.S: New file.
28304 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
28305 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
28306 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
28307 * sysdeps/x86_64/multiarch/memmove.c: New file.
28308 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
28309 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
28310 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
28311 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
28312 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
28313 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
28315 (index_Fast_Copy_Backward): Define.
28316 (HAS_ARCH_FEATURE): Define.
28317 (HAS_FAST_REP_STRING): Define.
28318 (HAS_FAST_COPY_BACKWARD): Define.
28320 2010-06-21 Andreas Schwab <schwab@redhat.com>
28322 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
28323 Restore proper fallback handling.
28325 2010-06-19 Ulrich Drepper <drepper@redhat.com>
28328 * posix/group_member.c (__group_member): Correct checking loop.
28330 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
28331 OOM in getpwuid_r correctly. Return error number when the caller
28332 should return, otherwise -1.
28333 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
28334 call returning > 0 value.
28335 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
28337 2010-06-07 Andreas Schwab <schwab@redhat.com>
28339 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
28340 libc_nonshared.a from targets in modules-names.
28342 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
28344 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
28347 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
28349 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
28350 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
28351 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
28352 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
28354 2010-06-02 Andreas Schwab <schwab@redhat.com>
28356 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
28358 2010-06-14 Ulrich Drepper <drepper@redhat.com>
28360 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
28362 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
28363 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
28364 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
28365 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
28366 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
28367 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
28369 2010-06-14 Roland McGrath <roland@redhat.com>
28371 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
28373 2010-06-07 Jakub Jelinek <jakub@redhat.com>
28375 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
28376 __REDIRECT followed by __THROW.
28377 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
28378 * posix/getopt.h (getopt): Likewise.
28380 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
28382 * hurd/lookup-at.c (__file_name_lookup_at): Accept
28383 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
28384 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
28386 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
28387 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
28389 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
28391 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
28393 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
28396 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28397 Properly check family and model.
28399 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
28401 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
28403 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
28405 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
28407 2010-05-21 Ulrich Drepper <drepper@redhat.com>
28409 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
28412 2010-05-19 Andreas Schwab <schwab@redhat.com>
28414 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
28417 2010-05-21 Andreas Schwab <schwab@redhat.com>
28419 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
28420 and internal_recvmmsg.
28421 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
28422 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
28423 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
28424 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
28426 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
28427 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
28428 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
28430 2010-05-20 Andreas Schwab <schwab@redhat.com>
28432 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
28434 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
28436 POWER7 optimizations.
28437 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
28438 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
28440 2010-05-19 Ulrich Drepper <drepper@redhat.com>
28442 * version.h: Update for 2.13 development version.
28444 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
28446 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
28447 exceptions. Return 0.
28449 2010-05-07 Roland McGrath <roland@redhat.com>
28451 * elf/ldconfig.c (main): Add a const.
28453 2010-05-06 Ulrich Drepper <drepper@redhat.com>
28455 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
28456 (args_options): Add no-idn option.
28457 (ahosts_keys_int): Add idn_flags to ai_flags.
28458 (parse_option): Handle 'i' option to clear idn_flags.
28460 * malloc/malloc.c (_int_free): Possible race in the most recently
28461 added check. Only act on the data if no current modification
28464 See ChangeLog.17 for earlier changes.