1 2013-05-07 Roland McGrath <roland@hack.frob.com>
3 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
4 and _dl_skip_args_internal.
6 2013-05-07 Carlos O'Donell <carlos@redhat.com>
8 * manual/message.texi (Message Translation): Talk about users.
9 Message to key mapping impacts design.
11 2013-05-06 Roland McGrath <roland@hack.frob.com>
13 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
15 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
17 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
18 * sysdeps/wordsize-64/glob64.c: ... here.
20 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
21 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
24 * debug/getlogin_r_chk.c: Moved to ...
25 * login/getlogin_r_chk.c: ... here.
26 * debug/Makefile (routines): Move getlogin_r_chk to ...
27 * login/Makefile (routines): ... here.
28 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
29 * login/Versions (libc: GLIBC_2.4): ... here.
31 * io/poll.c (__poll): Renamed from poll.
33 (poll): Define as weak alias.
35 * debug/ptsname_r_chk.c: Moved to ...
36 * login/ptsname_r_chk.c: ... here.
37 * debug/Makefile (routines): Move ptsname_r_chk to ...
38 * login/Makefile (routines): ... here.
39 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
40 * login/Versions (libc: GLIBC_2.4): ... here.
42 * posix/getlogin.c: Moved to ...
43 * login/getlogin.c: ... here.
44 * posix/getlogin_r.c: Moved to ...
45 * login/getlogin_r.c: ... here.
46 * posix/getlogin_r.c: Moved to ...
47 * login/getlogin_r.c: ... here.
48 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
49 * login/Makefile (routines): ... here.
50 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
51 * login/Versions (libc: GLIBC_2.0): ... here.
53 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
54 (setrlimit): Define as weak alias.
56 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
57 Call __ names for open, ftruncate, and close.
58 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
59 (truncate): Define as weak alias.
61 2013-05-06 Joseph Myers <joseph@codesourcery.com>
63 * math/gen-libm-test.pl (parse_args): Initialize x before each
64 test of frexp, modf and remquo.
66 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
69 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
73 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
75 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
77 2013-05-06 Roland McGrath <roland@hack.frob.com>
79 * elf/dl-writev.h: New file.
80 * elf/dl-misc.c: Include it.
81 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
82 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
84 2013-05-04 Joseph Myers <joseph@codesourcery.com>
86 * math/libm-test.inc (noXFails): Remove variable.
87 (noXPasses): Likewise.
88 (BUILD_COMPLEX_INT): Remove macro.
89 (print_screen): Remove xfail argument.
90 (print_screen_max_error): Likewise.
91 (update_stats): Likewise.
92 (print_max_error): Likewise. Update calls to other affected
94 (print_complex_max_error): Likewise.
95 (test_single_exception): Update calls to print_screen.
96 (test_single_errno): Likewise.
97 (check_float_internal): Remove xfail argument. Update calls to
98 other affected functions.
99 (check_float): Likewise.
100 (check_complex): Likewise.
101 (check_int): Likewise.
102 (check_long): Likewise.
103 (check_bool): Likewise.
104 (check_longlong): Likewise.
105 (main): Don't print noXFails and noXPasses.
106 * math/gen-libm-test.pl (top level): Don't mention expected
107 failure handling in comment.
108 (new_test): Don't handle expected failures.
109 (parse_args): Don't mention expected failure handling in comment.
110 (generate_testfile): Don't handle expected failures.
111 (parse_ulps): Likewise.
112 (print_ulps_file): Likewise.
113 (get_failure): Remove function.
114 (output_test): Don't handle expected failures.
115 * make/README.libm-test: Don't mention expected failure handling.
117 * math/libm-test.inc (plus_zero): Make const. Add initializer.
118 (minus_zero): Likewise.
119 (plus_infty): Likewise.
120 (minus_infty): Likewise.
121 (qnan_value): Likewise.
122 (max_value): Likewise.
123 (min_value): Likewise.
124 (min_subnorm_value): Likewise.
125 (initialize): Do not initialize those variables dynamically.
127 2013-05-03 Roland McGrath <roland@hack.frob.com>
129 * io/open.c (__open_2): Moved to ...
130 * io/open_2.c: ... this new file.
131 * io/open64.c (__open64_2): Moved to ...
132 * io/open64_2.c: ... this new file.
133 * io/openat.c (__openat_2): Moved to ...
134 * io/openat_2.c: ... this new file.
135 * io/openat64.c (__openat64_2): Moved to ...
136 * io/openat64_2.c: ... this new file.
137 * io/Makefile (routines): Add them.
138 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
139 * sysdeps/unix/sysv/linux/open_2.c: File removed.
140 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
141 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
142 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
143 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
144 (__openat64): Add hidden_ver.
145 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
146 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
148 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
149 Separately conditionalize setting of GLRO(dl_sysinfo) so
150 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
151 as well, but the actual setting is only under [NEED_DL_SYSINFO].
153 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
155 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
156 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
158 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
159 * sysdeps/unix/sysv/linux/powerpc/init-first.c
160 (_libc_vdso_platform_setup): Add __vdso_time initialization.
161 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
162 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
164 2013-05-03 Joseph Myers <joseph@codesourcery.com>
166 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
169 * math/libm-test.inc (hypot_test): Do not use
170 IGNORE_ZERO_INF_SIGN.
172 2013-05-03 Andreas Jaeger <aj@suse.de>
174 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
176 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
177 (PF_MAX): Adjust for VSOCK change.
179 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
181 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
183 2013-05-02 Carlos O'Donell <carlos@redhat.com>
186 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
187 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
188 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
190 2013-05-02 David S. Miller <davem@davemloft.net>
192 * sysdeps/sparc/fpu/libm-test-ulps: Update.
194 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
196 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
198 2013-05-01 Roland McGrath <roland@hack.frob.com>
200 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
202 2013-05-01 Richard Smith <richard@metafoo.co.uk>
205 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
206 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
207 Use __attribute__ ((__gnu_inline__)).
208 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
209 Don't use __attribute__ ((__gnu_inline__)).
211 2013-05-01 Joseph Myers <joseph@codesourcery.com>
214 * math/s_catan.c (__catan): Handle small real or imaginary part of
215 input specially to avoid spurious underflow.
216 * math/s_catanf.c (__catanf): Likewise.
217 * math/s_catanh.c (__catanh): Likewise.
218 * math/s_catanhf.c (__catanhf): Likewise.
219 * math/s_catanhl.c (__catanhl): Likewise.
220 * math/s_catanl.c (__catanl): Likewise.
221 * math/libm-test.inc (catan_test): Add more tests.
222 (catanh_test): Likewise.
223 * sysdeps/i386/fpu/libm-test-ulps: Update.
224 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
226 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
228 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
230 2013-04-30 Joseph Myers <joseph@codesourcery.com>
233 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
234 accurately for denominator in atan2.
235 * math/s_catanf.c (__catanf): Likewise.
236 * math/s_catanh.c (__catanh): Likewise.
237 * math/s_catanhf.c (__catanhf): Likewise.
238 * math/s_catanhl.c (__catanhl): Likewise.
239 * math/s_catanl.c (__catanl): Likewise.
240 * math/libm-test.inc (catan_test): Add more tests.
241 (catanh_test): Likewise.
242 * sysdeps/i386/fpu/libm-test-ulps: Update.
243 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
245 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
247 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
249 * benchtests/Makefile (bench): Remove slow benchmarks.
250 * benchtests/atan-inputs: Add slow benchmark inputs.
251 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
252 (BENCH_FUNC): Accept variant offset.
254 * benchtests/bench-skeleton.c (main): Run benchmark for each
256 * benchtests/cos-inputs: Add slow benchmark inputs.
257 * benchtests/exp-inputs: Likewise.
258 * benchtests/pow-inputs: Likewise.
259 * benchtests/sin-inputs: Likewise.
260 * benchtests/slowatan-inputs: Remove.
261 * benchtests/slowatan.c: Remove.
262 * benchtests/slowcos-inputs: Remove.
263 * benchtests/slowcos.c: Remove.
264 * benchtests/slowexp-inputs: Remove.
265 * benchtests/slowexp.c: Remove.
266 * benchtests/slowpow-inputs: Remove.
267 * benchtests/slowpow.c: Remove.
268 * benchtests/slowsin-inputs: Remove.
269 * benchtests/slowsin.c: Remove.
270 * benchtests/slowtan-inputs: Remove.
271 * benchtests/slowtan.c: Remove.
272 * benchtests/tan-inputs: Add slow benchmark inputs.
273 * scripts/bench.pl: Parse comments and directives.
275 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
277 ($(objpfx)bench-%.c): Remove *-ITER.
278 * benchtests/bench-modf.c: Remove definition of ITER.
279 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
280 (main): Loop for DURATION seconds instead of fixed number of
282 * scripts/bench.pl: Don't expect iterations in parameters.
284 2013-04-29 Roland McGrath <roland@hack.frob.com>
286 * io/fchdir.c (__fchdir): Renamed from fchdir.
287 (fchdir): Define as weak alias.
289 2013-04-29 Joseph Myers <joseph@codesourcery.com>
291 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
292 (ERRNO_EDOM): Likewise.
293 (ERRNO_ERANGE): Likewise.
294 (noErrnoTests): New variable.
295 (init_max_error): Set errno to 0.
296 (test_single_errno): New function.
297 (test_errno): Likewise.
298 (check_float_internal): Call test_errno. Set errno to 0.
299 (check_complex): Refer to errno tests in comment.
300 (check_int): Call test_errno. Set errno to 0.
301 (check_long): Likewise.
302 (check_bool): Likewise.
303 (check_longlong): Likewise.
304 (cos_test): Use ERRNO_* flags for errno tests instead of
306 (expm1_test): Likewise.
307 (fmod_test): Likewise.
308 (ilogb_test): Likewise.
309 (lgamma_test): Likewise.
310 (pow_test): Likewise.
311 (remainder_test): Likewise.
312 (sin_test): Likewise.
313 (tan_test): Likewise.
315 (initialize): Set errno to 0.
316 (main): Print number of errno tests.
317 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
319 2013-04-29 Andreas Jaeger <aj@suse.de>
322 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
326 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
327 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
331 * stdlib/random.c (__initstate): Return NULL if
335 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
336 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
339 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
341 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
343 2013-04-29 Joseph Myers <joseph@codesourcery.com>
345 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
347 (casin_test): Likewise.
348 (casinh_test): Likewise.
350 2013-04-27 Joseph Myers <joseph@codesourcery.com>
353 * math/s_catan.c (__catan): Handle arguments with large real or
354 imaginary part separately without squaring.
355 * math/s_catanf.c (__catanf): Likewise.
356 * math/s_catanh.c (__catanh): Likewise.
357 * math/s_catanhf.c (__catanhf): Likewise.
358 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
360 (__catanhl): Handle arguments with large real or imaginary part
361 separately without squaring.
362 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
364 (__catanl): Handle arguments with large real or imaginary part
365 separately without squaring.
366 * math/libm-test.inc (catan_test): Add more tests.
367 (catanh_test): Likewise.
368 * sysdeps/i386/fpu/libm-test-ulps: Update.
369 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
371 2013-04-27 Andreas Jaeger <aj@suse.de>
374 * stdlib/stdlib.h: Update guards for qecvt.
375 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
378 2013-04-27 Allan McRae <allan@archlinux.org>
380 * sysdeps/i386/fpu/libm-test-ulps: Update.
382 2013-04-26 Joseph Myers <joseph@codesourcery.com>
385 * math/s_catan.c: Include <float.h>.
386 (__catan): Ensure underflow exception occurs for underflowed
388 * math/s_catanf.c: Include <float.h>.
389 (__catanf): Ensure underflow exception occurs for underflowed
391 * math/s_catanh.c: Include <float.h>.
392 (__catanh): Ensure underflow exception occurs for underflowed
394 * math/s_catanhf.c: Include <float.h>.
395 (__catanhf): Ensure underflow exception occurs for underflowed
397 * math/s_catanhl.c: Include <float.h>.
398 (__catanhl): Ensure underflow exception occurs for underflowed
400 * math/s_catanl.c: Include <float.h>.
401 (__catanl): Ensure underflow exception occurs for underflowed
403 * math/libm-test.inc (catan_test): Add more tests.
404 (catanh_test): Likewise.
407 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
409 * math/s_ccoshf.c (__ccoshf): Likewise.
410 * math/s_ccoshl.c (__ccoshl): Likewise.
411 * math/s_csin.c (__csin): Likewise.
412 * math/s_csinf.c (__csinf): Likewise.
413 * math/s_csinh.c (__csinh): Likewise.
414 * math/s_csinhf.c (__csinhf): Likewise.
415 * math/s_csinhl.c (__csinhl): Likewise.
416 * math/s_csinl.c (__csinl): Likewise.
417 * math/libm-test.inc (ccos_test): Add more tests.
418 (ccosh_test): Likewise.
419 (csin_test): Likewise.
420 (csinh_test): Likewise.
422 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
424 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
425 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
426 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
427 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
428 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
429 powerpc/power5+/fpu folders.
430 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
433 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
435 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
437 2013-04-25 Joseph Myers <joseph@codesourcery.com>
439 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
440 additions to variable.
441 [$(config-machine) = x86_64] (modules-names): Likewise.
442 ($(objpfx)tst-audit3): Remove dependency.
443 ($(objpfx)tst-audit3.out): Likewise.
444 ($(objpfx)tst-audit4): Likewise.
445 ($(objpfx)tst-audit4.out): Likewise.
446 ($(objpfx)tst-audit5): Likewise.
447 ($(objpfx)tst-audit5.out): Likewise.
448 ($(objpfx)tst-audit6): Likewise.
449 ($(objpfx)tst-audit6.out): Likewise.
450 ($(objpfx)tst-audit7): Likewise.
451 ($(objpfx)tst-audit7.out): Likewise.
452 (tst-audit3-ENV): Remove variable.
453 (tst-audit4-ENV): Likewise.
454 (tst-audit5-ENV): Likewise.
455 (tst-audit6-ENV): Likewise.
456 (tst-audit7-ENV): Likewise.
457 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
458 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
459 addition to variable.
460 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
461 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
462 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
463 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
464 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
465 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
466 tst-audit3, tst-audit4 and tst-audit5.
467 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
468 tst-audit6 and tst-audit7.
469 [$(subdir) = elf] (modules-names): Add audit modules for those
471 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
472 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
473 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
474 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
475 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
476 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
477 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
478 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
479 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
480 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
481 [$(subdir) = elf] (tst-audit3-ENV): New variable.
482 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
483 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
484 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
485 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
486 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
488 [$(subdir) = elf && $(config-cflags-avx) = yes]
489 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
490 [$(subdir) = elf && $(config-cflags-avx) = yes]
491 (CFLAGS-tst-auditmod4a.c): Likewise.
492 [$(subdir) = elf && $(config-cflags-avx) = yes]
493 (CFLAGS-tst-auditmod4b.c): Likewise.
494 [$(subdir) = elf && $(config-cflags-avx) = yes]
495 (CFLAGS-tst-auditmod6b.c): Likewise.
496 [$(subdir) = elf && $(config-cflags-avx) = yes]
497 (CFLAGS-tst-auditmod6c.c): Likewise.
498 [$(subdir) = elf && $(config-cflags-avx) = yes]
499 (CFLAGS-tst-auditmod7b.c): Likewise.
500 * elf/tst-audit3.c: Move to ...
501 * sysdeps/x86_64/tst-audit3.c: ... here.
502 * elf/tst-audit4.c: Move to ...
503 * sysdeps/x86_64/tst-audit4.c: ... here.
504 * elf/tst-audit5.c: Move to ...
505 * sysdeps/x86_64/tst-audit5.c: ... here.
506 * elf/tst-audit6.c: Move to ...
507 * sysdeps/x86_64/tst-audit6.c: ... here.
508 * elf/tst-audit7.c: Move to ...
509 * sysdeps/x86_64/tst-audit7.c: ... here.
510 * elf/tst-auditmod3a.c: Move to ...
511 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
512 * elf/tst-auditmod3b.c: Move to ...
513 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
514 * elf/tst-auditmod4a.c: Move to ...
515 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
516 * elf/tst-auditmod4b.c: Move to ...
517 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
518 * elf/tst-auditmod5a.c: Move to ...
519 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
520 * elf/tst-auditmod5b.c: Move to ...
521 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
522 * elf/tst-auditmod6a.c: Move to ...
523 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
524 * elf/tst-auditmod6b.c: Move to ...
525 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
526 * elf/tst-auditmod6c.c: Move to ...
527 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
528 * elf/tst-auditmod7a.c: Move to ...
529 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
530 * elf/tst-auditmod7b.c: Move to ...
531 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
533 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
536 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
537 define unconditionally.
538 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
539 define unconditionally.
540 (INT8_C, INT16_C, etc.): Likewise.
542 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
544 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
545 __ehdr_start with hidden visibility.
547 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
549 2013-04-24 Carlos O'Donell <carlos@redhat.com>
551 * math/libm-test.inc (cos_test): Use accurate hex constants.
552 (sincost_test): Likewise.
554 2013-04-24 Joseph Myers <joseph@codesourcery.com>
556 * math/libm-test.inc (catan_test): Add more tests.
557 (catanh_test): Likewise.
559 * math/s_catanf.c (__catanf): Use suffixed floating-point
561 * math/s_catanhf.c (__catanhf): Likewise.
562 * math/s_catanhl.c (__catanhl): Likewise.
563 * math/s_catanl.c (__catanl): Likewise.
566 * math/s_catan.c (__catan): Calculate imaginary part of result
567 with log1p not log unless computing log of number close to 0.
568 * math/s_catanf.c (__catanf): Likewise.
569 * math/s_catanl.c (__catanl): Likewise.
570 * math/s_catanh.c (__catanh): Calculate real part of result with
571 log1p not log unless computing log of number close to 0.
572 * math/s_catanhf.c (__catanhf): Likewise.
573 * math/s_catanhl.c (__catanhl): Likewise.
574 * math/libm-test.inc (catan_test): Add more tests.
575 (catanh_test): Likewise.
576 * sysdeps/i386/fpu/libm-test-ulps: Update.
577 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
579 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
581 * benchtests/Makefile: Mention files in which fast and slow
582 paths of math functions are implemented.
584 2013-04-23 Roland McGrath <roland@hack.frob.com>
586 * sysdeps/posix/timespec_get.c: New file.
588 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
590 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
592 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
594 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
595 powerpc/power5/fpu folders.
596 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
597 * benchtests/Makefile: Add modf testcase.
598 * benchtests/bench-modf.c: New file: Benchmark test for mo
600 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
603 * time/Makefile (tests): Add tst-strptime-whitespace.
604 * time/strptime_l.c (get_number): Use ISSPACE.
605 (__strptime_internal): Likewise.
606 * time/tst-strptime-whitespace.c: New test case.
608 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
610 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
612 (_nss_files_init): Set it here.
614 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
616 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
617 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
620 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
622 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
624 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
626 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
629 2013-04-21 David S. Miller <davem@davemloft.net>
631 * po/ru.po: Update Russion translation from translation project.
633 2013-04-17 Adam Conrad <adconrad@0c3.net>
635 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
638 2013-04-17 Carlos O'Donell <carlos@redhat.com>
640 * configure.in: Remove i386 configure warning. Remove i386 case.
641 * configure: Regenerate.
642 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
643 Add example to error message.
644 * sysdeps/i386/configure: Regenerate.
646 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
648 * benchtests/Makefile (bench): Add cos, tan, slowcos and
650 * benchtests/cos-inputs: New file.
651 * benchtests/slowcos-inputs: New file.
652 * benchtests/slowcos.c: New file.
653 * benchtests/slowtan-inputs: New file.
654 * benchtests/slowtan.c: New file.
655 * benchtests/tan-inputs: New file.
657 2013-04-16 Roland McGrath <roland@hack.frob.com>
659 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
662 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
664 * benchtests/Makefile: Include cppflags-iterator.mk to add
665 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
667 * Makefile.in (bench-clean): New target.
668 * benchtests/Makefile (bench-clean): Likewise.
670 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
672 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
674 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
676 * stdio-common/tstdiomisc.c: Fix coding-style violation.
678 2013-04-15 Andreas Schwab <schwab@suse.de>
680 * nscd/grpcache.c (cache_addgr): Properly check for short write.
681 * nscd/initgrcache.c (addinitgroupsX): Likewise.
682 * nscd/pwdcache.c (cache_addpw): Likewise.
683 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
686 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
688 * benchtests/Makefile (bench): Write all output to
689 bench-out.tmp together.
691 2013-04-15 Andreas Schwab <schwab@suse.de>
693 * nscd/nscd.c (main): Don't fork again after closing files.
695 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
697 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
699 * benchtests/Rules (bench-deps): Collect dependencies into a
700 single variable. Add Makefile to dependencies.
701 ($(objpfx)bench-%.c): Depend on bench-deps.
703 2013-04-12 Roland McGrath <roland@hack.frob.com>
704 Xavier Roche <roche+kml2@exalead.com>
707 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
708 just that it's a file descriptor.
709 * manual/llio.texi (Synchronizing AIO Operations): Update description
710 for EBADF error from aio_fsync.
712 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
714 * Rules (bench): Move target definition...
715 * benchtests/Makefile: ... here.
717 2013-04-11 Carlos O'Donell <carlos@redhat.com>
719 * math/libm-test.inc (cos_test): Fix PI/2 test.
720 (sincos_test): Likewise.
721 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
722 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
724 2013-04-11 Andreas Schwab <schwab@suse.de>
727 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
728 accept exponent character only when digits were seen.
729 * stdio-common/Makefile (tests): Add bug26.
730 * stdio-common/bug26.c: New file.
733 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
736 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
738 * Makeconfig (rtld-prefix): Define built linker prefix.
739 * Rules (run-bench): Use it.
740 * math/Makefile (run-regen-ulps): Likewise.
742 * Rules (bench): Remove eval.
744 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
745 Roland McGrath <roland@hack.frob.com>
746 Ondrej Bilka <neleai@seznam.cz>
749 * time/getdate.c: Include ctype.h and alloca.h.
750 (__getdate_r): Trim leading and trailing spaces of input.
751 * time/tst-getdate.c (tests): Add tests with leading and
754 2013-04-08 Roland McGrath <roland@hack.frob.com>
757 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
758 when computing value.
760 2013-04-06 Carlos O'Donell <carlos@redhat.com>
762 * math/README.libm-test (How can I generate "libm-test-ulps"?):
763 Use testrun.sh to run libm tests.
766 * elf/dl-open.c (dl_open_worker): memset all of seen array.
768 2013-04-06 Marko Myllynen <myllynen@redhat.com>
771 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
773 2013-04-06 Carlos O'Donell <carlos@redhat.com>
775 * Makefile.in (regen-ulps): New target.
776 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
777 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
778 [ifneq (no,$(PERL)] (regen-ulps): New target.
779 [ifeq (no,$(PERL)] (regen-ulps): New target.
780 * math/libm-test.inc (ulps_file_name): Define.
781 (output_dir): New variable.
782 (options): Add "output-dir" option.
783 (parse_opt): Handle 'o' case.
784 (main): If output_dir is non-NULL use it as a prefix
786 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
788 2013-04-06 Carlos O'Donell <carlos@redhat.com>
791 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
792 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
793 fail configure if __sync_val_compare_and_swap is not inlined.
794 * sysdeps/i386/configure: Regenerate.
795 * configure.in: Build for i686 when configured for i386.
796 * configure: Regenerate.
797 * README: Remove i386 reference.
799 2013-04-06 Carlos O'Donell <carlos@redhat.com>
801 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
802 * sysdeps/s390/s390-64/sysdep.h: Likewise.
804 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
806 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
807 (lmsnanval): New variables.
808 (F): Add conversion tests.
809 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
810 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
812 * stdio-common/tstdiomisc.c (F): Properly collect individual
816 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
817 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
818 Instead, use input NaN values or generate a qNaN by arithmetic
819 operation. Also fix bugs to comply with the standard.
820 * math/libm-test.inc (remainder_test): Add more tests.
823 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
824 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
825 input NaN values or generate a qNaN by arithmetic operation.
827 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
830 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
833 2013-04-03 Joseph Myers <joseph@codesourcery.com>
836 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
838 * math/s_cexpf.c (__cexpf): Likewise.
839 * math/s_cexpl.c (__cexpl): Likewise.
840 * math/libm-test.inc (cexp_test): Add more tests.
842 2013-04-03 Andreas Schwab <schwab@suse.de>
845 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
846 order arrays from heap if bigger than alloca cutoff.
848 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
850 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
851 (SNAN_TESTS_double): Refer to GCC PR56831.
852 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
855 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
857 * Rules (bench): Move bench.out after the run is complete.
859 * Rules (bench): Echo currently running benchmark.
861 * benchtests/Makefile (bench): Add atan and slowatan.
862 * benchtests/atan-inputs: New file.
863 * benchtests/slowatan-inputs: New file.
864 * benchtests/slowatan.c: New file.
866 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
867 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
871 * sysdeps/unix/sysv/linux/kernel-features.h
872 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
873 __ASSUME_XFS_RESTRICTED_CHOWN.
874 * sysdeps/unix/sysv/linux/pathconf.c
875 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
876 Save and restore errno.
878 2013-04-02 Joseph Myers <joseph@codesourcery.com>
881 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
882 arguments using __kernel_casinh.
883 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
884 arguments using __kernel_casinhf.
885 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
886 arguments using __kernel_casinhl.
887 * math/libm-test.inc (cacosh_test): Add more tests.
888 * sysdeps/i386/fpu/libm-test-ulps: Update.
889 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
891 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
893 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
894 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
896 * bench/Makefile (bench): Add sin and slowsin.
897 * benchtests/sin-inputs: New file.
898 * benchtests/slowsin-inputs: New file.
899 * benchtests/slowsin.c: New file.
901 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
902 (bench): Add slowexp and slowpow.
903 (exp-ITER): Increase iterations.
904 (pow-ITER): Likewise.
905 * benchtests/exp-inputs: Change input.
906 * benchtests/pow-inputs: Likewise.
907 * benchtests/slowexp-inputs: New file.
908 * benchtests/slowexp.c: New file.
909 * benchtests/slowpow-inputs: New file.
910 * benchtests/slowpow.c: New file.
912 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
914 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
916 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
917 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
918 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
919 * benchtests/Makefile: Add rint benchtest.
920 * benchtests/rint-inputs: Input for rint benchtest.
922 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
924 * Versions.def (libm): Add GLIBC_2.18.
925 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
926 hidden libm prototypes.
927 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
928 * math/Makefile (libm-calls): Add s_issignaling.
929 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
930 __issignalingf, __issignalingl. Adjust all libm.abilist files.
931 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
933 * math/math.h [__USE_GNU] (issignaling): New macro.
934 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
935 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
936 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
937 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
938 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
939 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
940 * manual/arith.texi (issignaling): New section.
941 * manual/libm-err-tab.pl (@all_functions): Update comment.
942 * math/gen-libm-test.pl (parse_args): Apply special handling for
944 * math/libm-test.inc (print_float, issignaling_test): New
946 (check_float_internal): Add issignaling checks.
947 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
949 * sysdeps/powerpc/math-tests.h: New file.
950 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
952 * math/test-snan.c (TEST_FUNC): Likewise.
954 2013-03-30 David S. Miller <davem@davemloft.net>
956 * po/de.po: Update from translation team.
958 2013-03-30 Joseph Myers <joseph@codesourcery.com>
961 * math/k_casinh.c (__kernel_casinh): Handle arguments with
962 imaginary part less than 1.0 and real part less than 0.5
964 * math/k_casinhf.c (__kernel_casinhf): Likewise.
965 * math/k_casinhl.c (__kernel_casinhl): Likewise.
966 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
967 (cacos_test): Add more tests.
968 (casin_test): Likewise.
969 (casinh_test): Likewise.
970 * sysdeps/i386/fpu/libm-test-ulps: Update.
971 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
973 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
975 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
978 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
979 (__pow_mp): Replace ONE and MONE with their values.
980 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
981 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
982 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
983 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
984 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
985 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
987 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
989 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
990 (__pow_mp): Replace ZERO and MZERO with their values.
991 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
992 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
993 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
994 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
995 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
996 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
999 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
1001 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
1003 2013-03-28 Roland McGrath <roland@hack.frob.com>
1005 * include/stdlib.h [!SHARED] (__call_tls_dtors):
1006 Declare with __attribute__ ((weak)).
1007 * stdlib/exit.c (__libc_atexit) [!SHARED]:
1008 Call __call_tls_dtors only if it's not NULL.
1010 2013-03-28 Roland McGrath <roland@hack.frob.com>
1012 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
1013 didn't do it already, then set _dl_phdr and _dl_phnum based on the
1014 magic __ehdr_start linker symbol if it's defined.
1015 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
1016 them up here if it was already done.
1018 * elf/dl-support.c (_dl_phdr): Make pointer to const.
1019 (_dl_aux_init): Use const in cast when setting it.
1020 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
1021 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
1022 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
1024 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
1026 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
1027 * csu/libc-tls.c: Nor here.
1028 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
1030 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
1031 (__libc_message): Never call vsyslog.
1033 2013-03-28 Alan Modra <amodra@gmail.com>
1035 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
1037 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
1040 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1043 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
1045 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1047 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1050 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
1051 Don't add gid passed as argument.
1053 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
1055 2013-03-27 Joseph Myers <joseph@codesourcery.com>
1058 * math/k_casinh.c (__kernel_casinh): Handle arguments with
1059 imaginary part between 1.0 and 1.5 and real part less than 0.5
1061 * math/k_casinhf.c (__kernel_casinhf): Likewise.
1062 * math/k_casinhl.c (__kernel_casinhl): Likewise.
1063 * math/libm-test.inc (cacos_test): Add more tests.
1064 (casin_test): Likewise.
1065 (casinh_test): Likewise.
1066 * sysdeps/i386/fpu/libm-test-ulps: Update.
1067 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1069 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1071 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
1075 (__dbl_mp): Likewise.
1076 (add_magnitudes): Likewise.
1077 (sub_magnitudes): Likewise.
1085 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
1087 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
1088 (__dubcos): Likewise.
1089 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
1090 (__ieee754_acos): Likewise.
1091 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
1092 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
1094 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
1095 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
1097 (my_log2): Likewise.
1098 (checkint): Likewise.
1099 * sysdeps/ieee754/dbl-64/e_remainder.c
1100 (__ieee754_remainder): Likewise.
1101 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
1102 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
1104 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
1106 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
1107 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
1108 MANTISSA_STORE_T to store computations on mantissa. Use
1109 macros for rounding and division.
1111 (__dbl_mp): Likewise.
1112 (add_magnitudes): Likewise.
1113 (sub_magnitudes): Likewise.
1116 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
1117 powers of two in terms of TWOPOW macro.
1118 (mp_no): Make type of mantissa as MANTISSA_T.
1119 [!RADIXI]: Define RADIXI.
1120 [!TWO52]: Define TWO52.
1121 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
1123 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1125 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
1126 llroundl symbol when building for PPC32.
1128 2013-03-24 Mark H Weaver <mhw@netris.org>
1130 * manual/arith.texi (Normalization Functions): Fix prototypes for
1131 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
1133 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1136 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
1137 high value to check if expl overflow.
1138 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
1139 to check for underflow and overflow.
1140 * math/libm-test.inc: Add exp test.
1142 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
1145 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
1148 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1150 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
1153 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
1155 * math/gen-libm-test.pl (parse_args, special_functions): Properly
1156 wrap blocks consisting of several statements.
1158 * sysdeps/generic/math-tests.h: New file.
1159 * sysdeps/i386/fpu/math-tests.h: Likewise.
1160 * math/test-snan.c: Include it.
1161 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
1163 2013-03-21 Joseph Myers <joseph@codesourcery.com>
1166 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
1167 (__ieee754_j0l): Do not improve calculations using cos of twice
1168 input for inputs above LDBL_MAX / 2.0L.
1169 (__ieee754_y0l): Likewise.
1170 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
1171 (__ieee754_j1l): Do not improve calculations using cos of twice
1172 input for inputs above LDBL_MAX / 2.0L.
1173 (__ieee754_y1l): Likewise.
1174 * math/libm-test.inc (j0_test): Add another test.
1175 (j1_test): Likewise.
1176 (y0_test): Likewise.
1177 (y1_test): Likewise.
1178 * sysdeps/i386/fpu/libm-test-ulps: Update.
1180 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1182 * Rules ($(objpfx)bench-%.c): Include code from a C source
1185 2013-03-21 Joseph Myers <joseph@codesourcery.com>
1188 * math/k_casinh.c (__kernel_casinh): Handle arguments with
1189 imaginary part 1.0 and real part less than 0.5 specially.
1190 * math/k_casinhf.c (__kernel_casinhf): Likewise.
1191 * math/k_casinhl.c (__kernel_casinhl): Likewise.
1192 * math/libm-test.inc (cacos_test): Add more tests.
1193 (casin_test): Likewise.
1194 (casinh_test): Likewise.
1195 * sysdeps/i386/fpu/libm-test-ulps: Update.
1196 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1198 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1200 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
1201 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
1203 2013-03-20 Joseph Myers <joseph@codesourcery.com>
1205 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
1206 * config.make.in (config-cflags-sse4): Remove variable.
1207 (config-cflags-avx): Likewise.
1208 (config-cflags-sse2avx): Likewise.
1209 (config-cflags-novzeroupper): Likewise.
1210 (config-asflags-i686): Likewise.
1211 (have-mfma4): Likewise.
1212 (have-as-vis3): Likewise.
1214 * configure.in (MIG): Do not AC_SUBST.
1215 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
1216 (libc_cv_cc_sse4): Do not AC_SUBST.
1217 (libc_cv_cc_avx): Likewise.
1218 (libc_cv_cc_sse2avx): Likewise.
1219 (libc_cv_cc_novzeroupper): Likewise.
1220 (libc_cv_cc_fma4): Likewise.
1221 (libc_cv_as_i686): Likewise.
1222 (libc_cv_sparc_as_vis3): Likewise.
1223 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
1225 (config-asflags-i686): Likewise.
1226 (config-cflags-avx): Likewise.
1227 (config-cflags-sse2avx): Likewise.
1228 (have-mfma4): Likewise.
1229 (config-cflags-novzeroupper): Likewise.
1230 * sysdeps/mach/configure.in (MIG): Likewise.
1231 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
1232 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
1234 (config-cflags-avx): Likewise.
1235 (config-cflags-sse2avx): Likewise.
1236 (have-mfma4): Likewise.
1237 (config-cflags-novzeroupper): Likewise.
1238 * configure: Regenerated.
1239 * sysdeps/i386/configure: Likewise.
1240 * sysdeps/mach/configure: Likewise.
1241 * sysdeps/sparc/configure: Likewise.
1242 * sysdeps/x86_64/configure: Likewise.
1244 2013-03-20 Roland McGrath <roland@hack.frob.com>
1247 * locale/programs/localedef.c (options): Put N_ translation marker
1248 on argument names, not just descriptions.
1250 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1252 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
1254 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
1257 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
1259 2013-03-19 Roland McGrath <roland@hack.frob.com>
1261 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
1262 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
1263 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
1264 [!BEFORE_ABORT] (before_abort): New function.
1265 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
1266 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
1267 (writev_for_fatal): New function.
1268 (WRITEV_FOR_FATAL): New macro; call that.
1269 (backtrace_and_maps): New function.
1270 (BEFORE_ABORT): New macro; call that.
1271 (struct str_list): Type removed.
1272 (__libc_message, __libc_fatal): Functions removed.
1273 Include <sysdeps/posix/libc_fatal.c> instead.
1275 2013-03-19 Joseph Myers <joseph@codesourcery.com>
1277 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
1279 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
1282 2013-03-19 Andreas Schwab <schwab@suse.de>
1284 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
1285 * sysdeps/gnu/configure: Regenerate.
1287 * configure.in: Substitute libc_cv_rtlddir.
1288 * configure: Regenerate.
1289 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
1290 * Makeconfig (rtlddir, inst_rtlddir): New variables.
1291 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
1292 * elf/Makefile (install-others, CFLAGS-interp.c)
1293 (ldso_install, common-ldd-rewrite): Likewise.
1294 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
1295 $(inst_slibdir)/$(rtld-installed-name).
1296 * scripts/rellns-sh: Add -p option.
1297 * Makerules (make-shlib-link): Use rellns-sh to get relative name
1300 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1302 * manual/nptl.texi: Renamed to ...
1303 * manual/threads.texi: ... this.
1304 * manual/Makefile (chapters): Update.
1306 2013-03-18 Roland McGrath <roland@hack.frob.com>
1309 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
1310 on argument names, not just descriptions.
1311 * malloc/memusagestat.c (options): Likewise.
1312 * nss/getent.c (options): Likewise.
1314 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
1317 * iconv/iconv_prog.c (options): Put N_ translation marker
1318 on argument names, not just descriptions.
1319 * iconv/iconvconfig.c (options): Likewise.
1321 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
1323 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
1324 implementation which is faster on all x86_64 architectures.
1325 Tested on AMD, Intel Nehalem, SNB, IVB.
1326 * sysdeps/x86_64/strnlen.S: Likewise.
1328 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
1329 Remove all multiarch strlen and strnlen versions.
1330 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
1331 Remove strlen and strnlen related parts.
1333 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
1335 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
1337 * sysdeps/x86_64/multiarch/strlen.S: Remove.
1338 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
1339 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
1340 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
1341 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
1342 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
1344 2013-03-17 Carlos O'Donell <carlos@redhat.com>
1346 * manual/memory.texi (Malloc Tunable Parameters):
1347 Sort parameters alphabetically. Add comments for missing entries.
1349 2013-03-17 David S. Miller <davem@davemloft.net>
1351 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1353 2013-03-16 Joseph Myers <joseph@codesourcery.com>
1356 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
1357 for arguments at most half maximum finite value.
1358 * math/libm-test.inc (j0_test): Add more tests.
1359 (j1_test): Likewise.
1360 (y0_test): Likewise.
1361 (y1_test): Likewise.
1362 * sysdeps/i386/fpu/libm-test-ulps: Update.
1363 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1366 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
1367 1 / x and functions P and Q for arguments above 0x1p256L.
1368 (__ieee754_y0l): Likewise.
1369 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
1370 (__ieee754_y1l): Likewise.
1371 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
1372 (j1_test): Likewise.
1373 (y0_test): Likewise.
1374 (y1_test): Likewise.
1376 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
1378 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
1381 2013-03-15 Roland McGrath <roland@hack.frob.com>
1383 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
1384 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
1385 zero since it's initialized to EXEC_PAGESIZE.
1387 * sysdeps/unix/sysv/linux/ldsodefs.h
1388 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
1389 * sysdeps/generic/ldsodefs.h: ... here.
1391 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
1393 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
1395 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
1397 * math/test-snan.c: Renamed from
1398 sysdeps/powerpc/fpu/test-powerpc-snan.c.
1399 * math/Makefile (tests): Add test-snan.
1400 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
1403 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
1404 SUFFIX. Initialize qNaN_var with __builtin_nan family of
1406 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
1407 __builtin_nan family of functions.
1408 * math/libm-test.inc (initialize): Initialize qnan_value with
1409 __builtin_nan family of functions.
1410 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
1412 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
1414 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
1415 storage class. Initialize qNaN_var and sNaN_var with
1416 __builtin_nan and __builtin_nans families of functions,
1419 * math/libm-test.inc (acosh_test): Also test with qNaN input.
1420 (sqrt_test): Remove duplicate test with qNaN input.
1421 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
1422 (round_test, signbit_test, significand_test): Note missing +/-Inf
1423 as well as qNaN tests.
1425 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
1426 qNaN_var. Fix a few strings, too.
1427 * math/libm-test.inc (nan_value): Rename to qnan_value.
1428 * math/gen-libm-test.pl (%beautify): Adjust to that.
1429 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
1430 * math/test-misc.c (main): Likewise.
1431 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
1432 to __qnan_bytes, and __qnan_union, respectively.
1433 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
1435 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
1436 and lqnanval, respectively.
1437 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
1438 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
1439 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
1440 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
1442 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
1443 * math/test-misc.c (main) [__x86_64__]: Enable test for long
1446 * math/test-misc.c (main): Fix copy'n'pastos.
1447 * misc/tst-efgcvt.c (special): Likewise.
1449 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
1450 Remove declarations.
1452 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1454 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
1455 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
1456 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
1457 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
1459 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1461 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
1462 macro to return vdso values correctly in IFUNC implementations.
1463 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
1464 Optimization by using IFUNC.
1466 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1467 Richard Henderson <rth@redhat.com>
1468 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1470 * Makefile.in (bench): New target.
1471 * NEWS: Mention the benchmark framework.
1472 * Rules (bench): Likewise.
1473 (binaries-bench): Generate binaries for functions to
1475 * benchtests/Makefile: New makefile for benchmark tests.
1476 * benchtests/bench-skeleton.c: New skeleton file for benchmark
1478 * benchtests/exp-inputs: New input file for EXP function.
1479 * benchtests/pow-inputs: New input file for POW function.
1480 * scripts/bench.pl: New script to generate source files for
1483 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1485 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
1486 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
1487 computations on mantissa. Use macros for rounding and
1490 (__dbl_mp): Likewise.
1491 (add_magnitudes): Likewise.
1492 (sub_magnitudes): Likewise.
1495 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
1496 powers of two in terms of TWOPOW macro.
1497 (mp_no): Make type of mantissa as MANTISSA_T.
1498 [!RADIXI]: Define RADIXI.
1499 [!TWO52]: Define TWO52.
1500 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
1502 * manual/nptl.texi (cindex): Modify threads to pthreads.
1504 2013-03-15 Joseph Myers <joseph@codesourcery.com>
1506 * sysdeps/x86_64/preconfigure: Regenerated.
1508 2013-03-14 Joseph Myers <joseph@codesourcery.com>
1511 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
1513 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
1514 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
1516 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
1517 * math/libm-test.inc (j0_test): Do not allow one spurious
1518 underflow exception.
1519 (y1_test): Likewise.
1521 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
1523 * manual/Makefile (chapters): Add nptl.
1524 * manual/debug.texi (Debugging Support): Add link to Threads
1526 * manual/nptl.texi: New file.
1528 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
1530 2013-03-14 Petr Baudis <pasky@ucw.cz>
1532 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
1533 for non-NULL pointer before the memory validity test. Pointed
1534 out by Holger Brunck <holger.brunck@keymile.com>.
1536 2013-03-13 Andreas Schwab <schwab@suse.de>
1538 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
1541 2013-03-13 Joseph Myers <joseph@codesourcery.com>
1543 * timezone/zic.c: Update from tzcode 2013b.
1545 2013-03-12 Carlos O'Donell <carlos@redhat.com>
1547 * manual/install.texi (Configuring and compiling):
1548 Mention i686 and i586.
1549 * INSTALL: Regenerate.
1551 2013-03-12 Roland McGrath <roland@hack.frob.com>
1553 * sysdeps/init_array/elf-init.c: New file.
1555 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
1556 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
1558 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
1559 __gmon_start__ as global, but as static with a .preinit_array pointer.
1560 * sysdeps/init_array/gmon-start.c: New file. Use that.
1561 * sysdeps/init_array/crti.S: New file, empty except for comments.
1562 * sysdeps/init_array/crtn.S: Likewise.
1564 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
1566 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
1568 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1569 Remove Prefer_SSE_for_memop.
1570 * sysdeps/x86_64/multiarch/init-arch.h: Remove
1571 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
1572 HAS_PREFER_SSE_FOR_MEMOP.
1573 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
1575 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1576 Remove bzero, memset ifunc support.
1577 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
1578 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
1579 * sysdeps/x86_64/multiarch/memset.S: Likewise.
1580 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1582 2013-03-11 Andreas Schwab <schwab@suse.de>
1585 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
1587 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
1588 (GLIBC_2.16): Remove pthread_atfork.
1590 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
1592 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
1593 (ptestcases.h): Likewise.
1595 2013-03-08 Roland McGrath <roland@hack.frob.com>
1597 * Makeconfig ($(common-objpfx)config.status): Depend on
1598 sysdeps/*/preconfigure{,.in} too.
1600 2013-03-08 Joseph Myers <joseph@codesourcery.com>
1602 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
1603 (__free_hook): Use void * instead of __malloc_ptr_t.
1604 (__malloc_hook): Likewise.
1605 (__realloc_hook): Likewise.
1606 (__memalign_hook): Likewise.
1607 (__after_morecore_hook): Likewise.
1608 * malloc/arena.c (save_malloc_hook): Likewise.
1609 (save_free_hook): Likewise.
1610 * malloc/hooks.c (malloc_hook_ini): Likewise.
1611 (realloc_hook_ini): Likewise.
1612 (memalign_hook_ini): Likewise.
1613 * malloc/malloc.c (malloc_hook_ini): Likewise.
1614 (realloc_hook_ini): Likewise.
1615 (memalign_hook_ini): Likewise.
1616 (__free_hook): Likewise.
1617 (__malloc_hook): Likewise.
1618 (__realloc_hook): Likewise.
1619 (__memalign_hook): Likewise.
1620 (__libc_malloc): Likewise.
1621 (__libc_free): Likewise.
1622 (__libc_realloc): Likewise.
1623 (__libc_memalign): Likewise.
1624 (__libc_valloc): Likewise.
1625 (__libc_pvalloc): Likewise.
1626 (__libc_calloc): Likewise.
1627 (__posix_memalign): Likewise.
1628 * malloc/morecore.c (__sbrk): Likewise.
1629 (__default_morecore): Likewise.
1631 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
1633 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
1634 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
1637 * malloc/malloc.h (__malloc_size_t): Remove macro.
1638 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
1640 (old_memalign_hook): Likewise.
1641 (old_realloc_hook): Likewise.
1642 (struct hdr): Likewise.
1644 (mallochook): Likewise.
1645 (memalignhook): Likewise.
1646 (reallochook): Likewise.
1647 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
1648 (tr_old_realloc_hook): Likewise.
1649 (tr_old_memalign_hook): Likewise.
1650 (tr_mallochook): Likewise.
1651 (tr_reallochook): Likewise.
1652 (tr_memalignhook): Likewise.
1654 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1656 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
1657 default_ldbl_pack and using as default implementation.
1658 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
1660 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
1661 redundant definition.
1662 (ldbl_insert_mantissa): Likewise.
1663 (ldbl_canonicalize): Likewise.
1664 (ldbl_nearbyint): Likewise.
1665 (ldbl_pack): Rename to ldbl_pack_ppc.
1666 (ldbl_unpack): Rename to ldbl_unpack_ppc.
1667 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
1668 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
1670 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
1672 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
1673 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
1674 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
1675 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
1676 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
1677 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
1678 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
1679 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
1681 2013-03-07 Andreas Jaeger <aj@suse.de>
1683 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1686 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
1688 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
1689 Include mpa.h and declare __MPEXP.
1690 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
1691 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
1692 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
1693 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
1694 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
1695 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
1696 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
1698 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
1699 (__slowpow): Use long double EXPL and LOGL functions to
1701 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
1702 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
1703 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
1704 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
1705 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
1706 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
1708 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
1709 intermediate variable to calculate exponent.
1711 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
1715 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
1716 [!NO__SQR]: Define __sqr.
1717 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
1718 and NO__SQR. Remove all code except __mul and __sqr. Include
1719 sysdeps/ieee754/dbl-64/mpa.c.
1720 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
1723 * posix/Makefile (tests): Add tst-pathconf.
1724 * posix/tst-pathconf.c: New test case.
1725 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
1727 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
1729 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
1731 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
1733 2013-03-06 Andreas Jaeger <aj@suse.de>
1735 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
1736 definition via __MAP_ANONYMOUS.
1738 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
1739 it's not part of Linux headers.
1741 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
1742 (MAP_HUGE_MASK): Define.
1744 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
1746 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
1747 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
1749 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
1750 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
1752 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
1753 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
1755 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
1757 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
1758 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
1759 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
1760 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
1761 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
1762 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
1764 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
1767 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
1768 Handle f2fs and efivarfs.
1770 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
1773 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
1774 (EFIVARFS_MAGIC): Add.
1775 (F2FS_LINK_MAX): Add.
1777 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
1779 * stdio-common/vfprintf.c: Replace __builtin_expect with
1782 2013-03-06 Joseph Myers <joseph@codesourcery.com>
1785 * sysdeps/generic/bp-sym.h: Remove file.
1786 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
1787 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
1788 <bp-sym.h> and <bp-asm.h>.
1789 (__longjmp): Don't use BP_SYM.
1790 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
1792 (memcpy): Don't use BP_SYM.
1793 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
1794 <bp-sym.h> and <bp-asm.h>.
1795 (memcpy): Don't use BP_SYM.
1796 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
1798 (memcpy): Don't use BP_SYM.
1799 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
1801 (memset): Don't use BP_SYM.
1802 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1803 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1804 (__bzero): Don't use BP_SYM.
1805 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1806 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1807 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
1808 <bp-sym.h> and <bp-asm.h>.
1809 (memcmp): Don't use BP_SYM. Remove comment about bounded
1811 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
1812 <bp-sym.h> and <bp-asm.h>.
1813 (memcpy): Don't use BP_SYM.
1814 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
1815 <bp-sym.h> and <bp-asm.h>.
1816 (memset): Don't use BP_SYM.
1817 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1818 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1819 (__bzero): Don't use BP_SYM.
1820 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1821 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1822 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
1823 <bp-sym.h> and <bp-asm.h>.
1824 (strncmp): Don't use BP_SYM. Remove comment about bounded
1826 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
1827 <bp-sym.h> and <bp-asm.h>.
1828 (memcpy): Don't use BP_SYM.
1829 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
1830 <bp-sym.h> and <bp-asm.h>.
1831 (memset): Don't use BP_SYM.
1832 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1833 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1834 (__bzero): Don't use BP_SYM.
1835 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1836 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1837 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
1838 <bp-sym.h> and <bp-asm.h>.
1839 (__memchr): Don't use BP_SYM.
1840 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
1841 <bp-sym.h> and <bp-asm.h>.
1842 (memcmp): Don't use BP_SYM. Remove comment about bounded
1844 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
1845 <bp-sym.h> and <bp-asm.h>.
1846 (memcpy): Don't use BP_SYM.
1847 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
1848 <bp-sym.h> and <bp-asm.h>.
1849 (__mempcpy): Don't use BP_SYM.
1850 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
1851 <bp-sym.h> and <bp-asm.h>.
1852 (__memrchr): Don't use BP_SYM.
1853 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
1854 <bp-sym.h> and <bp-asm.h>.
1855 (memset): Don't use BP_SYM.
1856 (__bzero): Likewise.
1857 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
1858 <bp-sym.h> and <bp-asm.h>.
1859 (__rawmemchr): Don't use BP_SYM.
1860 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
1861 <bp-sym.h> and <bp-asm.h>.
1862 (__STRCMP): Don't use BP_SYM.
1863 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
1864 <bp-sym.h> and <bp-asm.h>.
1865 (strchr): Don't use BP_SYM.
1866 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
1867 <bp-sym.h> and <bp-asm.h>.
1868 (__strchrnul): Don't use BP_SYM.
1869 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
1870 <bp-sym.h> and <bp-asm.h>.
1871 (strlen): Don't use BP_SYM.
1872 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
1873 <bp-sym.h> and <bp-asm.h>.
1874 (strncmp): Don't use BP_SYM. Remove comment about bounded
1876 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
1877 <bp-sym.h> and <bp-asm.h>.
1878 (__strnlen): Don't use BP_SYM.
1879 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
1880 <bp-sym.h> and <bp-asm.h>.
1881 (__GI__setjmp): Don't use BP_SYM.
1882 (_setjmp): Likewise.
1883 (__sigsetjmp): Likewise.
1884 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
1885 (L(start_addresses)): Don't use BP_SYM.
1887 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
1889 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
1890 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
1891 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1892 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1893 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
1895 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
1896 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
1897 about bounded pointers.
1898 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
1899 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
1900 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
1902 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
1903 about bounded pointers. Remove GKM FIXME comments.
1904 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
1905 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
1907 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
1908 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
1909 Remove GKM FIXME comments.
1910 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1911 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1912 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
1914 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
1915 about bounded pointers. Remove GKM FIXME comment.
1916 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
1918 (strncmp): Don't use BP_SYM. Remove comment about bounded
1920 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
1921 <bp-sym.h> and <bp-asm.h>.
1922 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
1923 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
1924 <bp-sym.h> and <bp-asm.h>.
1925 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
1928 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
1930 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
1933 2013-03-05 David S. Miller <davem@davemloft.net>
1935 * po/es.po: Update from translation team.
1937 2013-03-05 Andreas Jaeger <aj@suse.de>
1939 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
1940 <bits/mman-linux.h>.
1941 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
1943 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
1944 <bits/mman-linux.h> to end of file.
1945 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
1947 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
1948 <bits/mman-linux.h> to end of file.
1949 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
1951 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
1952 <bits/mman-linux.h> to end of file.
1954 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
1955 (MCL_CURRENT, MCL_FUTURE): Define here.
1957 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1960 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
1962 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
1964 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1966 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
1967 fourth parameter needed for rt_sigprocmask syscall.
1968 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
1969 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
1970 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
1971 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
1972 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
1973 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
1975 2013-03-04 Joseph Myers <joseph@codesourcery.com>
1978 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
1979 comment about bounded pointers.
1980 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
1981 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
1983 2013-03-04 Andreas Jaeger <aj@suse.de>
1985 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
1988 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
1989 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
1990 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
1991 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
1992 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
1993 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
1995 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1998 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
1999 __ieee754_sqrl instead of __sqrl.
2001 2013-03-01 Joseph Myers <joseph@codesourcery.com>
2003 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
2004 * sysdeps/powerpc/fpu_control.h: ... here.
2005 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
2006 * sysdeps/powerpc/bits/fenvinline.h: ... here.
2007 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
2008 * sysdeps/powerpc/bits/mathinline.h: ... here.
2010 2013-03-01 Roland McGrath <roland@hack.frob.com>
2012 * elf/dl-hwcaps.c (_dl_important_hwcaps):
2013 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
2014 to just [NEED_DL_SYSINFO_DSO].
2015 * elf/dl-support.c: Likewise.
2016 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
2017 * elf/rtld.c (dl_main): Likewise.
2018 * elf/setup-vdso.h (setup_vdso): Likewise.
2019 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
2020 * sysdeps/unix/sysv/linux/dl-sysdep.c
2021 (_dl_discover_osversion): Likewise.
2023 2013-03-01 Carlos O'Donell <carlos@redhat.com>
2025 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
2026 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
2028 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
2030 * NEWS: Mention libm performance improvements and non-x86 PI
2033 * csu/libc-start.c (__pthread_initialize_minimal): Change
2035 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
2037 2013-02-28 Joseph Myers <joseph@codesourcery.com>
2040 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
2041 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
2042 <bp-sym.h> and <bp-asm.h>.
2043 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
2044 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
2046 (memcpy): Don't use BP_SYM.
2047 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
2049 (__mpn_add_n): Don't use BP_SYM.
2050 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
2051 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
2053 (__mpn_addmul_1): Don't use BP_SYM.
2054 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2055 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
2057 (_setjmp): Don't use BP_SYM.
2058 (__novmx_setjmp): Likewise.
2059 (__GI__setjmp): Likewise.
2060 (__vmx_setjmp): Likewise.
2061 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
2063 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
2064 (__bzero): Don't use BP_SYM.
2065 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
2066 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
2067 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
2068 <bp-sym.h> and <bp-asm.h>.
2069 (memcpy): Don't use BP_SYM.
2070 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
2071 <bp-sym.h> and <bp-asm.h>.
2072 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
2073 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
2074 <bp-sym.h> and <bp-asm.h>.
2075 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
2076 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
2078 (__mpn_lshift): Don't use BP_SYM.
2079 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2080 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
2082 (memset): Don't use BP_SYM.
2083 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
2084 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
2085 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
2087 (__mpn_mul_1): Don't use BP_SYM.
2088 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2089 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
2090 <bp-sym.h> and <bp-asm.h>.
2091 (memcmp): Don't use BP_SYM.
2092 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
2093 <bp-sym.h> and <bp-asm.h>.
2094 (memcpy): Don't use BP_SYM.
2095 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
2096 <bp-sym.h> and <bp-asm.h>.
2097 (memset): Don't use BP_SYM.
2098 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
2099 <bp-sym.h> and <bp-asm.h>.
2100 (strncmp): Don't use BP_SYM.
2101 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
2102 <bp-sym.h> and <bp-asm.h>.
2103 (memcpy): Don't use BP_SYM.
2104 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
2105 <bp-sym.h> and <bp-asm.h>.
2106 (memset): Don't use BP_SYM.
2107 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
2108 <bp-sym.h> and <bp-asm.h>.
2109 (__memchr): Don't use BP_SYM.
2110 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
2111 <bp-sym.h> and <bp-asm.h>.
2112 (memcmp): Don't use BP_SYM.
2113 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
2114 <bp-sym.h> and <bp-asm.h>.
2115 (memcpy): Don't use BP_SYM.
2116 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
2117 <bp-sym.h> and <bp-asm.h>.
2118 (__mempcpy): Don't use BP_SYM.
2119 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
2120 <bp-sym.h> and <bp-asm.h>.
2121 (__memrchr): Don't use BP_SYM.
2122 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
2123 <bp-sym.h> and <bp-asm.h>.
2124 (memset): Don't use BP_SYM.
2125 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
2126 <bp-sym.h> and <bp-asm.h>.
2127 (__rawmemchr): Don't use BP_SYM.
2128 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
2129 <bp-sym.h> and <bp-asm.h>.
2130 (__STRCMP): Don't use BP_SYM.
2131 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
2132 <bp-sym.h> and <bp-asm.h>.
2133 (strchr): Don't use BP_SYM.
2134 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
2135 <bp-sym.h> and <bp-asm.h>.
2136 (__strchrnul): Don't use BP_SYM.
2137 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
2138 <bp-sym.h> and <bp-asm.h>.
2139 (strlen): Don't use BP_SYM.
2140 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
2141 <bp-sym.h> and <bp-asm.h>.
2142 (strncmp): Don't use BP_SYM.
2143 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
2144 <bp-sym.h> and <bp-asm.h>.
2145 (__strnlen): Don't use BP_SYM.
2146 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
2148 (__mpn_rshift): Don't use BP_SYM.
2149 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2150 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
2151 <bp-sym.h> and <bp-asm.h>.
2152 (__sigsetjmp): Don't use BP_SYM.
2153 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
2154 (L(start_addresses)): Don't use BP_SYM.
2156 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
2158 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
2159 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
2160 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
2161 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
2163 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
2164 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
2165 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
2166 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
2168 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
2170 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
2171 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
2173 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
2175 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
2176 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
2177 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
2179 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
2181 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
2183 (strncmp): Don't use BP_SYM,
2184 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
2186 (__mpn_sub_n): Don't use BP_SYM.
2187 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2188 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
2190 (__mpn_submul_1): Don't use BP_SYM.
2191 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2192 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
2193 <bp-sym.h> and <bp-asm.h>.
2194 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
2195 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
2196 <bp-sym.h> and <bp-asm.h>.
2197 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
2200 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2202 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
2203 Use ZK to minimize writes to Z.
2204 (sub_magnitudes): Simplify code a bit.
2205 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
2206 Use ZK to minimize writes to Z.
2207 (sub_magnitudes): Simplify code a bit.
2209 2013-02-27 Roland McGrath <roland@hack.frob.com>
2211 * csu/gmon-start.c: Add special exception to license text.
2213 2013-02-27 Richard Henderson <rth@redhat.com>
2215 * scripts/config.guess: Update from config.git.
2216 * scripts/config.sub: Likewise.
2218 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2220 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
2222 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
2224 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
2226 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
2228 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
2230 2013-02-26 Roland McGrath <roland@hack.frob.com>
2232 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
2233 [$(build-shared = yes].
2235 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2237 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
2238 (__mul): Reduce iterations for calculating mantissa.
2240 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
2242 (__mpranred): Likewise.
2245 * malloc/memusagestat.c (main): Draw graphs for heap and stack
2246 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
2248 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
2250 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
2251 Define __attribute__.
2253 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2255 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
2257 * posix/regex_internal.h (__attribute): Remove.
2258 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
2259 (re_string_context_at): Likewise.
2260 (bitset_not): Use __attribute__ and mark function as possibly
2262 (bitset_merge): Likewise.
2263 (bitset_mask): Likewise.
2264 (re_string_char_size_at): Likewise.
2265 (re_string_wchar_at): Likewise.
2266 (re_string_elem_size_at): Likewise.
2268 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
2270 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
2274 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
2279 (__dbl_mp): Likewise.
2280 (add_magnitudes): Likewise.
2281 (sub_magnitudes): Likewise.
2285 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
2288 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
2291 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
2294 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
2295 up changes with default code.
2296 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
2299 2013-02-24 Allan McRae <allan@archlinux.org>
2301 * manual/socket.texi (The Internet Namespace): Order menu items
2302 to match that in the file.
2304 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
2305 node listing of the info page menu.
2307 2013-02-21 Joseph Myers <joseph@codesourcery.com>
2310 * sysdeps/i386/bp-asm.h: Remove file.
2311 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
2312 (PARMS): Do not use macros from bp-asm.h.
2316 (__mpn_add_n): Do not use BP_SYM
2317 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
2319 (PARMS): Do not use macros from bp-asm.h.
2322 (__mpn_addmul_1): Do not use BP_SYM
2323 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
2325 (PARMS): Do not use macros from bp-asm.h.
2327 (_setjmp): Likewise. Do not use BP_SYM.
2328 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
2330 (PARMS): Do not use macros from bp-asm.h.
2332 (setjmp): Likewise. Do not use BP_SYM.
2333 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
2335 (PARMS): Do not use macros from bp-asm.h.
2336 (__frexp): Do not use BP_SYM.
2338 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
2340 (PARMS): Do not use macros from bp-asm.h.
2341 (__frexpf): Do not use BP_SYM.
2343 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
2345 (PARMS): Do not use macros from bp-asm.h.
2346 (__frexpl): Do not use BP_SYM.
2348 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
2350 (PARMS): Do not use macros from bp-asm.h.
2351 (__remquo): Do not use BP_SYM.
2353 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
2355 (PARMS): Do not use macros from bp-asm.h.
2356 (__remquof): Do not use BP_SYM.
2357 (remquof): Likewise.
2358 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
2360 (PARMS): Do not use macros from bp-asm.h.
2361 (__remquol): Do not use BP_SYM.
2362 (remquol): Likewise.
2363 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
2365 (PARMS): Do not use macros from bp-asm.h.
2368 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
2369 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
2371 (PARMS): Do not use macros from bp-asm.h.
2372 (strlen): Do not use BP_SYM.
2373 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
2375 (PARMS): Do not use macros from bp-asm.h.
2379 (__mpn_add_n): Do not use BP_SYM.
2380 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
2382 (PARMS): Do not use macros from bp-asm.h.
2385 (__mpn_addmul_1): Do not use BP_SYM.
2386 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
2389 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
2391 (PARMS): Do not use macros from bp-asm.h.
2394 (__mpn_lshift): Do not use BP_SYM.
2395 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
2397 (PARMS): Do not use macros from bp-asm.h.
2401 (memcpy): Likewise. Do not use BP_SYM.
2402 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
2403 libc_hidden_def and weak_alias.
2404 (mempcpy): Do not use BP_SYM in weak_alias.
2405 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
2407 (PARMS): Do not use macros from bp-asm.h.
2410 [!BZERO_P] (CHR): Likewise.
2411 (memset): Likewise. Do not use BP_SYM.
2412 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
2414 (PARMS): Do not use macros from bp-asm.h.
2417 (__mpn_mul_1): Do not use BP_SYM.
2418 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
2420 (PARMS): Do not use macros from bp-asm.h.
2423 (__mpn_rshift): Do not use BP_SYM.
2424 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
2426 (PARMS): Do not use macros from bp-asm.h.
2429 (strchr): Likewise. Do not use BP_SYM.
2430 (index): Do not use BP_SYM in weak_alias.
2431 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
2433 (PARMS): Do not use macros from bp-asm.h.
2436 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
2437 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
2439 (PARMS): Do not use macros from bp-asm.h.
2440 (strlen): Do not use BP_SYM.
2441 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
2443 (PARMS): Do not use macros from bp-asm.h.
2447 (__mpn_sub_n): Do not use BP_SYM.
2448 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
2450 (PARMS): Do not use macros from bp-asm.h.
2453 (__mpn_submul_1): Do not use BP_SYM.
2454 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
2456 (PARMS): Do not use macros from bp-asm.h.
2460 (__mpn_add_n): Do not use BP_SYM.
2461 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
2464 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
2466 (PARMS): Do not use macros from bp-asm.h.
2469 (memcmp): Do not use BP_SYM.
2470 (bcmp): Do not use BP_SYM in weak_alias.
2471 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
2473 (PARMS): Do not use macros from bp-asm.h.
2477 (memcpy): Likewise. Do not use BP_SYM.
2478 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
2480 (PARMS): Do not use macros from bp-asm.h.
2484 (memmove): Likewise. Do not use BP_SYM.
2485 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
2487 (PARMS): Do not use macros from bp-asm.h.
2491 (__mempcpy): Likewise. Do not use BP_SYM.
2492 (mempcpy): Do not use BP_SYM in weak_alias.
2493 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
2495 (PARMS): Do not use macros from bp-asm.h.
2498 [!BZERO_P] (CHR): Likewise.
2499 (memset): Likewise. Do not use BP_SYM.
2500 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
2502 (PARMS): Do not use macros from bp-asm.h.
2504 (strcmp): Do not use BP_SYM.
2505 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
2507 (PARMS): Do not use macros from bp-asm.h.
2510 [USE_AS_STRTOK_R] (SAVE): Likewise.
2511 (FUNCTION): Likewise. Do not use BP_SYM.
2512 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
2514 (strtok_r): Likewise.
2515 (__GI___strtok_r): Likewise.
2516 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
2517 (PARMS): Do not use macros from bp-asm.h.
2520 (__mpn_lshift): Do not use BP_SYM.
2521 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
2522 (PARMS): Do not use macros from bp-asm.h.
2525 (__memchr): Do not use BP_SYM.
2526 (memchr): Do not use BP_SYM in weak_alias.
2527 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
2528 (PARMS): Do not use macros from bp-asm.h.
2531 (memcmp): Do not use BP_SYM.
2532 (bcmp): Do not use BP_SYM in weak_alias.
2533 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
2534 (PARMS): Do not use macros from bp-asm.h.
2537 (__mpn_mul_1): Do not use BP_SYM.
2538 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
2540 (PARMS): Do not use macros from bp-asm.h.
2543 (__rawmemchr): Do not use BP_SYM.
2544 (rawmemchr): Do not use BP_SYM in weak_alias.
2545 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
2546 (PARMS): Do not use macros from bp-asm.h.
2549 (__mpn_rshift): Do not use BP_SYM.
2550 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
2551 (PARMS): Do not use macros from bp-asm.h.
2553 (__sigsetjmp): Likewise. Do not use BP_SYM.
2554 * sysdeps/i386/start.S: Do not include "bp-sym.h".
2555 (_start): Do not use BP_SYM.
2556 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
2557 (PARMS): Do not use macros from bp-asm.h.
2560 (__stpcpy): Likewise. Do not use BP_SYM.
2561 (stpcpy): Do not use BP_SYM in weak_alias.
2562 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
2564 (PARMS): Do not use macros from bp-asm.h.
2568 (__stpncpy): Likewise. Do not use BP_SYM.
2569 (stpncpy): Do not use BP_SYM in weak_alias.
2570 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
2571 (PARMS): Do not use macros from bp-asm.h.
2574 (strchr): Likewise. Do not use BP_SYM.
2575 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
2577 (PARMS): Do not use macros from bp-asm.h.
2580 (__strchrnul): Likewise. Do not use BP_SYM.
2581 (strchrnul): Do not use BP_SYM in weak_alias.
2582 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
2584 (PARMS): Do not use macros from bp-asm.h.
2586 (strcspn): Do not use BP_SYM.
2587 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
2589 (PARMS): Do not use macros from bp-asm.h.
2592 (strpbrk): Likewise. Do not use BP_SYM.
2593 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
2595 (PARMS): Do not use macros from bp-asm.h.
2598 (strrchr): Likewise. Do not use BP_SYM.
2599 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
2600 (PARMS): Do not use macros from bp-asm.h.
2602 (strspn): Do not use BP_SYM.
2603 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
2604 (PARMS): Do not use macros from bp-asm.h.
2608 (FUNCTION): Likewise. Do not use BP_SYM.
2609 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
2611 (strtok_r): Likewise.
2612 (__GI___strtok_r): Likewise.
2613 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
2614 (PARMS): Do not use macros from bp-asm.h.
2618 (__mpn_sub_n): Do not use BP_SYM.
2619 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
2621 (PARMS): Do not use macros from bp-asm.h.
2624 (__mpn_submul_1): Do not use BP_SYM.
2625 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
2627 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
2629 (PARMS): Do not use macros from bp-asm.h.
2634 (__clone): Do not use BP_SYM.
2635 (clone): Do not use BP_SYM in weak_alias.
2636 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
2638 (PARMS): Do not use macros from bp-asm.h.
2640 (__mmap64): Do not use BP_SYM.
2641 (mmap64): Do not use BP_SYM in weak_alias.
2642 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
2643 <bp-sym.h> and <bp-asm.h>.
2644 (PARMS): Do not use macros from bp-asm.h.
2645 (__posix_fadvise64_l64): Do not use BP_SYM.
2646 * sysdeps/unix/sysv/linux/i386/semtimedop.S
2647 (PARMS): Do not use macros from bp-asm.h.
2649 (semtimedop): Do not use BP_SYM.
2650 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
2653 2013-02-21 Allan McRae <allan@archlinux.org>
2655 * manual/message.texi (Charset conversion in gettext):
2656 Move @end statement to beginning of line.
2658 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2660 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
2662 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
2665 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
2667 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
2668 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
2670 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2672 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
2673 tail-call to the resolved function if pltexit isn't needed.
2675 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2677 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
2678 or Y being zero as being unlikely.
2679 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
2682 2013-02-20 Carlos O'Donell <carlos@redhat.com>
2684 * manual/nss.texi (System Databases and Name Service Switch):
2685 Remove frobnicate @pxref.
2687 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
2689 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
2690 __attribute__ ((unused)) to __attribute__ ((__unused__)).
2692 2013-02-20 Petr Machata <pmachata@redhat.com>
2694 * elf/elf.h (R_ARM_TARGET1): New macro.
2695 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
2696 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
2697 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
2698 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
2699 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
2700 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
2701 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
2702 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
2703 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
2704 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
2705 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
2706 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
2707 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
2708 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
2709 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
2710 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
2711 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
2712 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
2713 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
2714 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
2715 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
2716 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
2717 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
2718 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
2719 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
2720 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
2721 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
2722 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
2723 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
2724 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
2725 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
2726 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
2727 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
2728 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
2729 (R_ARM_THM_GOT_BREL12): Likewise.
2730 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
2731 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
2732 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
2733 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
2734 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
2735 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
2736 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
2737 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
2738 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
2740 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
2742 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
2743 __attribute_used__ to __attribute__ ((unused)).
2745 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
2747 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
2749 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
2751 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
2753 2013-02-19 Joseph Myers <joseph@codesourcery.com>
2756 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
2758 (ENTER): Remove both macro definitions.
2760 (CHECK_BOUNDS_LOW): Likewise.
2761 (CHECK_BOUNDS_HIGH): Likewise.
2762 (CHECK_BOUNDS_BOTH): Likewise.
2763 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
2764 (RETURN_BOUNDED_POINTER): Likewise.
2765 (RETURN_NULL_BOUNDED_POINTER): Likewise.
2766 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
2767 (POP_ERRNO_LOCATION_RETURN): Likewise.
2768 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
2769 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2770 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
2772 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2773 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
2774 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
2775 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
2776 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
2777 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
2778 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
2779 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
2780 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
2781 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
2782 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
2783 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
2784 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2785 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
2787 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2788 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
2790 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2791 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
2792 * sysdeps/i386/i586/memset.S (memset): Likewise.
2793 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
2794 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2795 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
2797 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2798 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
2799 Change uses of L(2) to L(out).
2800 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
2801 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
2802 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
2803 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2804 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
2806 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2807 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
2809 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2810 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
2811 (RETURN): Do not use macro LEAVE.
2812 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
2813 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
2814 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
2815 * sysdeps/i386/i686/memset.S (memset): Likewise.
2816 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
2817 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
2818 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
2819 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
2821 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
2822 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
2823 L(1_2) and L(1_3) into L(1).
2824 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
2825 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
2826 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2827 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
2828 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
2829 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
2830 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
2831 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2832 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
2834 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
2835 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2836 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
2837 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
2838 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
2839 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
2840 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
2841 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
2842 * sysdeps/i386/strcspn.S (strcspn): Likewise.
2843 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
2844 * sysdeps/i386/strrchr.S (strrchr): Likewise.
2845 * sysdeps/i386/strspn.S (strspn): Likewise.
2846 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
2848 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
2849 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
2850 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
2851 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
2853 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
2854 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2855 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
2857 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2859 2013-02-19 Jakub Jelinek <jakub@redhat.com>
2861 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
2864 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2866 * math/atest-exp.c (exp_mpn): Remove ROUND.
2867 * math/atest-exp2.c (exp_mpn): Likewise.
2868 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
2870 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
2871 * stdlib/tst-tls-atexit-lib.c: Likewise.
2872 * stdlib/tst-tls-atexit.c: Likewise.
2874 2013-02-18 Mike Frysinger <vapier@gentoo.org>
2876 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
2877 and __attribute_alloc_size__.
2879 2013-02-18 Mike Frysinger <vapier@gentoo.org>
2881 * include/programs/xmalloc.h: Change __attribute_alloc_size to
2882 __attribute_alloc_size__.
2883 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
2884 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
2886 2013-02-18 Mike Frysinger <vapier@gentoo.org>
2888 * include/programs/xmalloc.h: New file.
2889 * catgets/gencat.c: Include it.
2890 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
2891 * elf/pldd.c: Likewise.
2892 * iconv/iconv_charmap.c: Likewise.
2893 * iconv/iconvconfig.c: Likewise.
2894 * iconv/strtab.c: Likewise.
2895 * locale/programs/locale.c: Likewise.
2896 * locale/programs/localedef.h: Likewise.
2897 * locale/programs/simple-hash.c: Likewise.
2898 * nscd/nscd.h: Likewise.
2899 * nss/makedb.c: Likewise.
2900 * sysdeps/generic/ldconfig.h: Likewise.
2902 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
2904 * Versions.def: Add GLIBC_2.18.
2905 * include/link.h (struct link_map): New member l_tls_dtor_count.
2906 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
2907 (__call_tls_dtors): Likewise.
2908 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
2909 __cxa_thread_atexit_impl.
2910 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2912 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2914 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
2916 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
2918 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
2919 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
2921 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
2923 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
2924 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
2926 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
2927 (tests): Add test case tst-tls-atexit.
2928 (modules-names): Add shared library for tst-tls-atexit.
2929 * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
2930 (GLIBC_PRIVATE): Add __call_tls_dtors.
2931 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
2933 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
2934 * stdlib/tst-tls-atexit.c: New test case.
2935 * stdlib/tst-tls-atexit-lib.c: New test case.
2937 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
2939 * elf/Versions (ld): Add _dl_find_dso_for_object.
2940 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
2941 * elf/dl-open.c (_dl_find_dso_for_object): New function.
2942 (dl_open_worker): Use _dl_find_dso_for_object.
2943 * elf/dl-sym.c (do_sym): Likewise.
2944 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
2946 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2948 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
2949 Syntactic changes only.
2950 (_dl_runtime_profile): Do a tail-call to the resolved function.
2952 2013-02-17 Joseph Myers <joseph@codesourcery.com>
2955 * sysdeps/x86_64/bp-asm.h: Remove file.
2956 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
2957 <bp-sym.h> and <bp-asm.h>.
2958 (__clone): Do not use BP_SYM.
2959 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
2960 <bp-sym.h> and <bp-asm.h>.
2961 * sysdeps/unix/x86_64/sysdep.S: Likewise.
2962 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
2964 (_setjmp): Do not use BP_SYM.
2965 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
2967 (setjmp): Do not use BP_SYM.
2968 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
2970 (mempcpy): Do not use BP_SYM in weak_alias.
2971 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
2973 (strchr): Do not use BP_SYM.
2974 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
2976 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
2977 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
2978 (_start): Do not use BP_SYM.
2979 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
2981 (strcat): Do not use BP_SYM.
2982 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
2984 (STRCMP): Do not use BP_SYM.
2985 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
2987 (STRCPY): Do not use BP_SYM.
2988 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
2990 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
2992 (FUNCTION): Do not use BP_SYM.
2993 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
2995 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
2997 2013-02-17 Andreas Jaeger <aj@suse.de>
2999 * time/Versions: Sort entries.
3000 * string/Versions: Likewise.
3001 * resolv/Versions: Likewise.
3002 * posix/Versions: Likewise.
3003 * iconv/Versions: Likewise.
3004 * elf/Versions: Likewise.
3005 * wcsmbs/Versions: Likewise.
3007 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3009 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
3010 loop termination condition.
3012 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
3013 variable to calculate EZ.
3016 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
3017 the lower precision input.
3019 2013-02-15 Joseph Myers <joseph@codesourcery.com>
3022 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
3023 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
3024 (run-via-rtld-prefix): Do not handle %-bp tests.
3025 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
3026 (all-object-suffixes): Remove .ob.
3027 (bppfx): Remove variable.
3028 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
3029 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
3030 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
3031 [$(build-bounded) = yes] (libtype.ob): Likewise.
3032 * Makerules (elide-routines.ob): Remove variable.
3033 (do-tests-clean): Do not handle *-bp.out.
3034 (common-mostlyclean): Do not handle *-bp and *-bp.out.
3035 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
3036 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
3037 (tests): Do not include $(tests-bp.out).
3038 (xtests): Do not include $(xtests-bp.out).
3039 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
3040 [$(build-bounded) = yes] ($(addprefix
3041 $(objpfx),$(binaries-bounded))): Remove rule.
3042 ($(objpfx)%-bp.out): Remove rule.
3043 * config.make.in (build-bounded): Remove variable.
3044 * crypt/Makefile [$(build-bounded) = yes]
3045 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
3046 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
3048 [$(build-bounded) = yes] (install-lib): Likewise.
3049 [$(build-bounded) = yes] (generated): Likewise.
3050 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
3052 * intl/Makefile [$(build-bounded) = yes]
3053 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
3054 * math/Makefile [$(build-bounded) = yes]
3055 ($(tests:%=$(objpfx)%-bp): Likewise.
3056 * misc/Makefile [$(build-bounded) = yes]
3057 ($(objpfx)tst-tsearch-bp): Likewise.
3058 * nptl/Makeconfig (bounded-thread-library): Remove variable.
3059 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
3061 * string/Makefile (o-objects.ob): Remove variable.
3062 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
3063 (CFLAGS-.ob): Remove variable.
3064 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
3065 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
3066 both definitions of variable.
3067 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
3068 (ASFLAGS-.ob): Remove variable.
3070 2013-02-14 Joseph Myers <joseph@codesourcery.com>
3073 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
3074 Remove __BOUNDED_POINTERS__ from condition.
3075 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
3076 * string/bits/string2.h [!__NO_STRING_INLINES &&
3077 !__BOUNDED_POINTERS__]: Likewise.
3078 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
3080 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
3081 Remove conditional code.
3082 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
3083 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
3084 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
3088 * csu/libc-start.c: Do not include <bp-sym.h>.
3089 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
3090 * elf/dl-open.c: Do not include <bp-sym.h>.
3091 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
3092 * math/fegetenv.c: Do not include <bp-sym.h>.
3093 (fegetenv): Do not use BP_SYM in versioned symbols.
3094 * nptl/sysdeps/pthread/bits/libc-lockP.h
3095 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
3097 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3098 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
3099 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3100 (__pthread_mutex_destroy): Likewise.
3101 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3102 (__pthread_mutex_lock): Likewise.
3103 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3104 (__pthread_mutex_trylock): Likewise.
3105 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3106 (__pthread_mutex_unlock): Likewise.
3107 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3108 (__pthread_mutexattr_init): Likewise.
3109 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3110 (__pthread_mutexattr_destroy): Likewise.
3111 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3112 (__pthread_mutexattr_settype): Likewise.
3113 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3114 (__pthread_rwlock_init): Likewise.
3115 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3116 (__pthread_rwlock_destroy): Likewise.
3117 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3118 (__pthread_rwlock_rdlock): Likewise.
3119 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3120 (__pthread_rwlock_tryrdlock): Likewise.
3121 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3122 (__pthread_rwlock_wrlock): Likewise.
3123 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3124 (__pthread_rwlock_trywrlock): Likewise.
3125 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3126 (__pthread_rwlock_unlock): Likewise.
3127 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3128 (__pthread_key_create): Likewise.
3129 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3130 (__pthread_setspecific): Likewise.
3131 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3132 (__pthread_getspecific): Likewise.
3133 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
3135 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3136 (_pthread_cleanup_push_defer): Likewise.
3137 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3138 (_pthread_cleanup_pop_restore): Likewise.
3139 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3140 (pthread_setcancelstate): Likewise.
3141 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
3143 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
3144 (memchr): Do not use BP_SYM in weak_alias.
3145 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
3146 (fegetenv): Do not use BP_SYM in versioned symbols.
3147 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
3148 (fesetenv): Do not use BP_SYM in versioned symbols.
3149 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
3150 (feupdateenv): Do not use BP_SYM in versioned symbols.
3151 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
3152 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
3153 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
3154 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
3155 (open64): Do not use BP_SYM in weak_alias.
3156 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
3157 (fegetenv): Do not use BP_SYM in versioned symbols.
3158 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
3159 (fesetenv): Do not use BP_SYM in versioned symbols.
3160 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
3161 (feupdateenv): Do not use BP_SYM in versioned symbols.
3162 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
3163 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
3164 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
3165 (feraiseexcept): Do not use BP_SYM in versioned symbols.
3166 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
3167 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
3168 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
3170 (__libc_start_main): Do not use BP_SYM.
3172 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
3174 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
3175 redundant return line.
3179 (sub_magnitudes): Likewise.
3185 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
3189 (sub_magnitudes): Likewise.
3196 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
3198 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
3199 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
3202 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
3203 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
3204 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
3205 of __mul for squares.
3206 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
3208 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
3210 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
3211 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
3213 2013-02-13 Joseph Myers <joseph@codesourcery.com>
3216 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
3218 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
3219 prototype or function definition. Rename ubp_* variables and
3220 parameters. Remove argv definitions conditional on
3221 [__BOUNDED_POINTERS__].
3222 * debug/backtrace.c (__backtrace): Do not use __unbounded.
3223 * elf/dl-runtime.c (_dl_fixup): Likewise.
3224 * include/set-hooks.h (RUN_HOOK): Likewise.
3225 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
3227 * string/strcpy.c (strcpy): Do not use __unbounded.
3228 * sysdeps/generic/frame.h (struct layout): Likewise.
3229 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
3230 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
3231 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
3232 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
3233 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
3234 (__backtrace): Likewise.
3235 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
3237 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
3238 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
3239 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
3241 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
3242 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
3243 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
3244 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
3245 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
3246 Do not use __unbounded.
3247 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
3248 Rename __unboundedrlimits parameter to rlimits in prototype.
3249 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
3250 Do not use __unbounded.
3251 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
3253 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
3254 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
3255 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
3256 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
3257 __ptrvalue or __unbounded.
3258 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
3259 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
3261 (__new_msgctl): Do not use __ptrvalue.
3262 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
3264 (__libc_msgrcv): Do not use __ptrvalue.
3265 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
3266 startup_info): Do not use __unbounded.
3267 (__libc_start_main): Likewise. Rename ubp_* variables and
3268 parameters. Remove argv definitions conditional on
3269 [__BOUNDED_POINTERS__].
3270 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
3272 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
3274 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
3276 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
3278 (__new_shmctl): Do not use __ptrvalue.
3279 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
3280 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
3282 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
3283 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
3284 (__libc_sigaction): Likewise.
3285 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
3286 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
3288 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
3290 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
3292 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
3294 * string/mempcpy.c: Implement by calling memcpy.
3296 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
3298 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
3300 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
3303 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
3304 values in the mantissa.
3306 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
3307 minimize writes to Z.
3308 (sub_magnitudes): Simplify code a bit.
3310 2013-02-12 Roland McGrath <roland@hack.frob.com>
3312 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
3313 from the message. The linker prefixes all warnings with that already.
3315 2013-02-12 Andreas Schwab <schwab@suse.de>
3318 * posix/regexec.c (extend_buffers): Add parameter min_len.
3319 (check_matching): Pass minimum needed length.
3320 (clean_state_log_if_needed): Likewise.
3321 (get_subexp): Likewise.
3322 * posix/Makefile (tests): Add bug-regex34.
3323 (bug-regex34-ENV): Define.
3324 * posix/bug-regex34.c: New file.
3327 * posix/regcomp.c (parse_bracket_exp): When looking up collating
3328 elements compare against the byte sequence of it, not its name.
3329 * posix/Makefile (tests): Add bug-regex35.
3330 (bug-regex35-ENV): Define.
3331 * posix/bug-regex35.c: New file.
3333 2013-02-11 Tom de Vries <tom@codesourcery.com>
3335 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
3337 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
3338 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
3339 (CHECK_EOL): Add undef.
3341 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
3343 * bits/stdlib-bsearch.h: New file.
3344 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
3345 * stdlib/stdlib.h: Likewise.
3347 2013-02-11 Roland McGrath <roland@hack.frob.com>
3349 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
3350 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
3352 * manual/search.texi (Array Search Function): Add missing const in
3354 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
3355 declaration to use rlim_t.
3356 (Basic Scheduling Functions): Remove erroneous const from
3357 sched_getparam prototype. Remove erroneous * from
3358 sched_get_priority_max and sched_get_priority_min prototypes.
3359 (Resource Usage): Fix summary @comment on vtimes to refer to
3360 sys/vtimes.h rather than vtimes.h.
3361 Add missing *s in vtimes prototype.
3362 (Limits on Resources): Fix ulimit prototype to return long int.
3363 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
3364 prototypes to use long int rather than double.
3365 (BSD Random): Fix initstate and setstate to use char *, not void *.
3366 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
3367 prototype to make second argument 'struct aiocb64 *const[]'.
3368 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
3369 (Status of AIO Operations): Remove erroneous const in aio_return and
3370 aio_return64 prototypes.
3371 (Synchronizing I/O): Fix sync prototype to return void.
3372 * manual/startup.texi (Suboptions): Remove an erroneous const in
3373 getsubopt prototype.
3374 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
3375 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
3376 use size_t rather than int.
3377 (Scanning All Users): Likewise for getpwent_r.
3378 (Setting Groups): Add missing const to setgroups prototype.
3379 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
3380 * manual/socket.texi (Host Names): Fix gethostbyaddr and
3381 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
3382 'const void *' rather than 'const char *'.
3383 (Host Address Functions): Likewise for inet_ntop.
3384 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
3385 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
3386 ssize_t for return value.
3387 (Sending Data): Likewise for send, sendto, sendmsg.
3388 (Socket Option Functions): Add a missing const in setsockopt prototype.
3389 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
3390 use wchar_t for the argument.
3391 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
3392 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
3394 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
3395 double/float/long double for second argument.
3396 Fix return types of significand, significandf, significandl.
3397 * manual/filesys.texi (Setting Permissions): Use mode_t for second
3398 argument in fchmod prototype.
3399 (File Owner): Use uid_t and gid_t in fchown prototype.
3400 (File Times): Add const to utimes, futimes, and lutimes prototypes.
3401 (Making Special Files): Use mode_t and dev_t in mknod prototype.
3402 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
3403 use 'const struct dirent **' as argument types to CMP function pointer
3405 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
3406 (File Times): Fix summary magic @comment for struct utimbuf and utime
3407 to refer to utime.h, not time.h.
3408 * manual/string.texi (Argz Functions): Add missing const in
3409 argz_extract and argz_next prototypes.
3410 (Finding Tokens in a String): Likewise for basename.
3411 (String/Array Comparison): Fix typo in wcscasecmp prototype.
3412 (Copying and Concatenation): Fix typo in wmemmove prototype.
3413 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
3414 (Signal Stack): Remove erroneous const in sigstack prototype.
3415 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
3417 (Simple Calendar Time): Likewise for stime.
3418 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
3420 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
3421 say sys/sysctl.h instead.
3422 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
3423 and vsyslog prototypes.
3425 2013-02-11 Tom de Vries <tom@codesourcery.com>
3427 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
3430 2013-02-11 Roland McGrath <roland@hack.frob.com>
3432 * misc/sys/mman.h: Fix typo in mremap comment.
3434 2013-02-08 Roland McGrath <roland@hack.frob.com>
3436 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
3437 the '\0' terminator.
3439 2013-02-08 Joseph Myers <joseph@codesourcery.com>
3442 * debug/segfault.c: Don't include <bp-checks.h>.
3443 * sysdeps/generic/bp-checks.h: Remove file.
3444 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
3445 (__GETDENTS): Don't use CHECK_N.
3446 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
3447 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
3448 (__getgroups): Don't use CHECK_N.
3449 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
3450 (setgroups): Don't use CHECK_N.
3451 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
3452 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
3453 (__libc_msgrcv): Don't use CHECK_N.
3454 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
3455 (__libc_msgsnd): Don't use CHECK_N.
3456 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
3458 (__libc_pread): Don't use CHECK_N.
3459 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
3460 include <bp-checks.h>.
3461 (__libc_pread64): Don't use CHECK_N.
3462 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
3463 include <bp-checks.h>.
3464 (__libc_pwrite): Don't use CHECK_N.
3465 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
3466 include <bp-checks.h>.
3467 (__libc_pwrite64): Don't use CHECK_N.
3468 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
3470 (__libc_pread): Don't use CHECK_N.
3471 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
3472 include <bp-checks.h>.
3473 (__libc_pread64): Don't use CHECK_N.
3474 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
3475 include <bp-checks.h>.
3476 (__libc_pwrite): Don't use CHECK_N.
3477 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
3478 include <bp-checks.h>.
3479 (__libc_pwrite64): Don't use CHECK_N.
3480 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
3481 (do_pread): Don't use CHECK_N.
3482 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
3483 (do_pread64): Don't use CHECK_N.
3484 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
3485 (do_pwrite): Don't use CHECK_N.
3486 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
3487 (do_pwrite64): Don't use CHECK_N.
3488 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
3489 (__libc_readv): Don't use CHECK_N.
3490 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
3491 (semop): Don't use CHECK_N.
3492 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
3494 (semtimedop): Don't use CHECK_N.
3495 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
3496 (__libc_pread): Don't use CHECK_N.
3497 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
3499 (__libc_pread64): Don't use CHECK_N.
3500 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
3502 (__libc_pwrite): Don't use CHECK_N.
3503 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
3505 (__libc_pwrite64): Don't use CHECK_N.
3506 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
3508 (__libc_msgrcv): Don't use CHECK_N.
3509 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
3510 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
3511 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
3512 (__libc_writev): Don't use CHECK_N.
3514 2013-02-08 Roland McGrath <roland@hack.frob.com>
3516 * string/strcpy.c: Removed unused variable.
3518 * Makeconfig (+sysdep-includes): Define with := rather than =.
3519 Use an existing include/ subdir of each sysdeps dir before it.
3521 2013-02-08 Carlos O'Donell <carlos@redhat.com>
3523 * nscd/connection.c (register_traced_file): Comment function.
3524 [HAVE_INOTIFY] (union __inev): Define.
3525 [HAVE_INOTIFY] (inotify_check_files): New function.
3526 [HAVE_INOTIFY] (clear_db_cache): Likewise.
3527 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
3529 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
3531 2013-02-08 Carlos O'Donell <carlos@redhat.com>
3533 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
3534 loaded if not already and that a failure is permanent.
3536 2013-02-08 Carlos O'Donell <carlos@redhat.com>
3539 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
3540 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
3542 2013-02-08 Joseph Myers <joseph@codesourcery.com>
3545 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
3546 (CHECK_1_NULL_OK): Likewise.
3547 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
3548 (__fxstat): Do not use CHECK_1.
3549 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
3551 (___fxstat64): Do not use CHECK_1.
3552 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
3554 (__fxstatat): Do not use CHECK_1.
3555 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
3557 (__fxstatat64): Do not use CHECK_1.
3558 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
3560 (__fxstat): Do not use CHECK_1.
3561 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
3563 (__fxstatat): Do not use CHECK_1.
3564 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
3566 (__getresgid): Do not use CHECK_1.
3567 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
3569 (__getresuid): Do not use CHECK_1.
3570 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
3572 (__lxstat): Do not use CHECK_1.
3573 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
3575 (__old_msgctl): Do not use CHECK_1.
3576 (__new_msgctl): Likewise.
3577 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
3579 (__new_setrlimit): Do not use CHECK_1.
3580 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
3582 (__old_shmctl): Do not use CHECK_1.
3583 (__new_shmctl): Likewise.
3584 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
3586 (__xstat): Do not use CHECK_1.
3587 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
3588 (__lxstat): Do not use CHECK_1.
3589 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
3591 (___lxstat64): Do not use CHECK_1.
3592 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
3593 (__old_msgctl): Do not use CHECK_1.
3594 (__new_msgctl): Likewise.
3595 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
3597 (__gettimeofday): Do not use CHECK_1.
3598 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
3599 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
3600 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
3602 (__gettimeofday): Do not use CHECK_1.
3603 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
3604 (__old_shmctl): Do not use CHECK_1_NULL_OK.
3605 (__new_shmctl): Do not use CHECK_1.
3606 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
3608 (do_sigtimedwait): Do not use CHECK_1.
3609 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
3611 (do_sigwaitinfo): Do not use CHECK_1.
3612 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
3614 (msgctl): Do not use CHECK_1.
3615 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
3617 (shmctl): Do not use CHECK_1.
3618 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
3619 (ustat): Do not use CHECK_1.
3620 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
3622 (__fxstat): Do not use CHECK_1.
3623 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
3625 (__fxstatat): Do not use CHECK_1.
3626 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
3628 (__lxstat): Do not use CHECK_1.
3629 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
3631 (__xstat): Do not use CHECK_1.
3632 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
3633 (__xstat): Do not use CHECK_1.
3634 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
3635 (___xstat64): Do not use CHECK_1.
3638 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
3640 (CHECK_BOUNDS_HIGH): Likewise.
3641 * string/strcpy.c: Do not include <bp-checks.h>.
3642 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
3644 2013-02-07 Roland McGrath <roland@hack.frob.com>
3646 * nscd/nscd-client.h (__nscd_drop_map_ref):
3647 Add __attribute__ ((unused)).
3648 * nis/nss-nisplus.h (niserr2nss): Likewise.
3650 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
3651 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
3653 * csu/libc-tls.c (init_static_tls, init_slotinfo):
3654 Remove inline keyword.
3655 * include/rounding-mode.h (round_away): Likewise.
3656 * libio/wfileops.c (adjust_wide_data): Likewise.
3657 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
3658 (__m128i_strloadu_tolower): Likewise.
3659 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
3660 (__m128i_strloadu_tolower): Likewise.
3661 * time/mktime.c (ydhms_diff): Likewise.
3662 * locale/elem-hash.h (elem_hash): Likewise.
3663 * locale/setlocale.c (setdata): Likewise.
3664 * posix/regex_internal.h (re_string_char_size_at): Likewise.
3665 (re_string_wchar_at): Likewise.
3666 (bitset_not, bitset_merge, bitset_mask): Likewise.
3667 [!(__GNUC__ > 3)] (inline): Remove macro.
3668 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
3669 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
3670 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
3671 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
3672 * string/memcmp.c (memcmp_bytes): Likewise.
3673 * locale/programs/locarchive.c (compute_hashval): Likewise.
3674 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
3675 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
3676 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
3677 * nss/getent.c (print_rpc, print_protocols): Likewise.
3678 (print_passwd, print_group, print_aliases): Likewise.
3679 * nis/nss-nisplus.h (niserr2nss): Likewise.
3680 * nscd/connections.c (restart_p): Likewise.
3681 Change return type to bool.
3683 2013-02-05 Roland McGrath <roland@hack.frob.com>
3685 * Makeconfig (all-Depend-files): Add existing
3686 $(sorted-subdirs:=/Depend) files.
3687 (all-subdirs): Remove nss.
3688 * sysdeps/unix/inet/Subdirs: Add it here instead.
3689 * hesiod/Depend: New file.
3691 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
3692 instead of calling alloca.
3694 * io/lseek.c (__lseek): Rename to __libc_lseek.
3695 Define __lseek as an alias.
3697 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
3699 2013-02-04 Carlos O'Donell <carlos@redhat.com>
3701 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
3702 else clause and remove check for non-standard endianness.
3704 2013-02-04 David S. Miller <davem@davemloft.net>
3706 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3708 2013-02-04 Joseph Myers <joseph@codesourcery.com>
3711 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
3712 (__ubp_memchr): Remove prototype.
3713 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
3714 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
3715 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
3716 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
3717 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
3719 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
3720 (__ubp_memchr): Likewise.
3721 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
3722 (__ubp_memchr): Likewise.
3723 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
3724 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
3725 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
3726 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
3728 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
3729 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
3730 (__getcwd): Do not use CHECK_STRING.
3731 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
3733 (__real_chown): Do not use CHECK_STRING.
3734 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
3736 (fchownat): Do not use CHECK_STRING.
3737 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
3739 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
3741 (__lchown): Do not use CHECK_STRING.
3742 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
3743 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
3744 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
3745 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
3746 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
3747 include <bp-checks.h>.
3748 (truncate64): Do not use CHECK_STRING.
3749 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
3751 (__real_chown): Do not use CHECK_STRING.
3752 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
3754 (__lchown): Do not use CHECK_STRING.
3755 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
3757 (__chown): Do not use CHECK_STRING.
3758 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
3760 (truncate64): Do not use CHECK_STRING.
3761 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
3763 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
3764 (__xmknod): Do not use CHECK_STRING.
3765 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
3767 (__xmknodat): Do not use CHECK_STRING.
3768 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
3769 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
3771 2013-02-04 Andreas Schwab <schwab@suse.de>
3774 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
3775 * include/netdb.h: Likewise for h_errno.
3776 * elf/tst-stackguard1.c: Include <tls.h>.
3778 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3780 * elf/link.h (struct link_map): Extend the l_addr comment.
3781 * include/link.h (struct link_map): Likewise.
3783 2013-02-01 Joseph Myers <joseph@codesourcery.com>
3786 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
3787 (BOUNDED_1): Remove macro.
3788 * debug/backtrace.c: Don't include <bp-checks.h>.
3789 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
3790 (__backtrace): Likewise.
3791 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
3793 (__backtrace): Don't use BOUNDED_1.
3794 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
3796 (__backtrace): Don't use BOUNDED_1.
3797 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
3798 (__backtrace): Don't use BOUNDED_1.
3799 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
3800 (shmat): Don't use BOUNDED_N.
3802 2013-01-31 Joseph Myers <joseph@codesourcery.com>
3805 * sysdeps/generic/bp-start.h: Remove file.
3806 * csu/libc-start.c: Don't include <bp-start.h>.
3807 (LIBC_START_MAIN): Set up __environ directly instead of using
3808 INIT_ARGV_and_ENVIRON.
3809 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
3813 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
3815 (CHECK_FCNTL): Likewise.
3816 (CHECK_N_PAGES): Likewise.
3819 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
3821 (CHECK_SIGSET_NULL_OK): Likewise.
3822 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
3824 (sigpending): Don't use CHECK_SIGSET.
3825 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
3827 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
3828 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
3830 (do_sigsuspend): Don't use CHECK_SIGSET.
3831 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
3833 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
3834 (do_sigwait): Don't use CHECK_SIGSET.
3835 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
3837 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
3838 include <bp-checks.h>.
3839 (sigpending): Don't use CHECK_SIGSET.
3840 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
3841 include <bp-checks.h>.
3842 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
3843 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
3845 (sigpending): Don't use CHECK_SIGSET.
3846 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
3848 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
3851 * sysdeps/generic/bp-semctl.h: Remove file.
3852 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
3853 <bp-checks.h> and <bp-semctl.h>.
3854 (__old_semctl): Don't use CHECK_SEMCTL.
3855 (__new_semctl): Likewise.
3856 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
3858 (__old_semctl): Don't use CHECK_SEMCTL.
3859 (__new_semctl): Likewise.
3860 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
3861 <bp-checks.h> and <bp-semctl.h>.
3862 (__old_semctl): Don't use CHECK_SEMCTL.
3863 (__new_semctl): Likewise.
3864 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
3865 <bp-checks.h> and <bp-semctl.h>.
3866 (semctl): Don't use CHECK_SEMCTL.
3869 * Makerules (elide-bp-thunks): Remove variable.
3870 (elide-routines.oS): Don't use $(elide-bp-thunks).
3871 (elide-routines.os): Likewise.
3872 (elide-routines.o): Likewise.
3873 (elide-routines.op): Likewise.
3874 (elide-routines.og): Likewise.
3875 (objects): Don't use $(bp-thunks).
3876 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
3878 (common-generated): Do not add s-proto-bp.d.
3879 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
3882 Do not generate makefile rules for bounded-pointer thunks.
3883 * sysdeps/generic/bp-thunks.h: Remove file.
3884 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
3885 * sysdeps/unix/s-proto-bp.S: Likewise.
3888 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
3889 parts of result separately when argument is not close to line from
3890 -i to i and one part of argument is small.
3891 * math/k_casinhf.c (__kernel_casinhf): Likewise.
3892 * math/k_casinhl.c (__kernel_casinhl): Likewise.
3893 * math/libm-test.inc (cacos_test): Add more tests.
3894 (casin_test): Likewise.
3895 (casinh_test): Likewise.
3896 * sysdeps/i386/fpu/libm-test-ulps: Update.
3897 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3899 2013-01-31 David S. Miller <davem@davemloft.net>
3901 * po/de.po: Update from translation team.
3903 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
3905 * time/tzfile.c: Include stdint.h for SIZE_MAX.
3907 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
3909 * configure.in (_AC_PROG_CC_C89): New definition.
3910 * configure: Regenerate.
3912 * configure.in (AC_PROG_CPP): New definition.
3913 * configure: Regenerate.
3915 2013-01-23 Joseph Myers <joseph@codesourcery.com>
3917 * debug/tst-backtrace.h: New file.
3918 * debug/tst-backtrace2.c: Include tst-backtrace.h.
3919 (ret): Remove variable.
3921 (FAIL): Remove macro.
3922 (NO_INLINE): Likewise.
3923 (fn1): Use match function instead of strstr.
3924 * debug/tst-backtrace3.c: Include tst-backtrace.h.
3925 (ret): Remove variable.
3927 (FAIL): Remove macro.
3928 (NO_INLINE): Likewise.
3929 (fn): Use match function instead of strstr.
3930 * debug/tst-backtrace4.c: Include tst-backtrace.h.
3931 (ret): Remove variable.
3933 (FAIL): Remove macro.
3934 (NO_INLINE): Likewise.
3935 (handle_signal): Use match function instead of strstr.
3936 * debug/tst-backtrace5.c: Include tst-backtrace.h.
3937 (ret): Remove variable.
3939 (FAIL): Remove macro.
3940 (NO_INLINE): Likewise.
3941 (handle_signal): Use match function instead of strstr.
3943 2013-01-23 Roland McGrath <roland@hack.frob.com>
3945 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
3947 2013-01-23 David S. Miller <davem@davemloft.net>
3949 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
3950 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
3951 argument of CAS if possible.
3952 * sysdeps/sparc/sparc64/bits/atomic.h
3953 (__arch_compare_and_exchange_val_32_acq): Likewise.
3954 (__arch_compare_and_exchange_val_64_acq): Likewise.
3956 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
3958 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
3959 * sysdeps/posix/ulimit.c: ... this.
3961 * sysdeps/unix/bsd/ulimit.c: Remove file.
3963 2013-01-23 Adam Conrad <adconrad@0c3.net>
3965 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
3966 (LDFLAGS-tst-array5): Likewise.
3968 2013-01-23 Joseph Myers <joseph@codesourcery.com>
3971 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
3972 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
3973 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
3974 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
3976 2013-01-21 David S. Miller <davem@davemloft.net>
3978 * sysdeps/sparc/backtrace.c: New file.
3979 * sysdeps/sparc/sparc32/backtrace.h: New file.
3980 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
3981 * sysdeps/sparc/sparc64/backtrace.h: New file.
3982 * sysdeps/sparc/sparc64/backtrace.c: Delete.
3983 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
3986 2013-01-21 Andreas Schwab <schwab@suse.de>
3989 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
3992 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
3994 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
3996 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
3998 2013-01-18 Joseph Myers <joseph@codesourcery.com>
3999 Mark Mitchell <mark@codesourcery.com>
4000 Tom de Vries <tom@codesourcery.com>
4001 Paul Pluzhnikov <ppluzhnikov@google.com>
4003 * debug/tst-backtrace2.c: New file.
4004 * debug/tst-backtrace3.c: Likewise.
4005 * debug/tst-backtrace4.c: Likewise.
4006 * debug/tst-backtrace5.c: Likewise.
4007 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
4008 (CFLAGS-tst-backtrace3.c): Likewise.
4009 (CFLAGS-tst-backtrace4.c): Likewise.
4010 (CFLAGS-tst-backtrace5.c): Likewise.
4011 (LDFLAGS-tst-backtrace2): Likewise.
4012 (LDFLAGS-tst-backtrace3): Likewise.
4013 (LDFLAGS-tst-backtrace4): Likewise.
4014 (LDFLAGS-tst-backtrace5): Likewise.
4015 (tests): Add new tests tst-backtrace2, tst-backtrace3,
4016 tst-backtrace4 and tst-backtrace5.
4018 2013-01-18 Anton Blanchard <anton@samba.org>
4019 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4021 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
4022 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
4023 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
4024 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
4025 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
4026 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
4027 "+r" and remove output regs list as redundant. Add explicit inline
4028 asm to specify register of return val to work around compiler codegen
4029 bug. Remove (int) cast on return value. Add return type parameter to
4030 use in macro so that this macro does not truncate return value for
4032 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
4033 pass to INTERNAL_VSYSCALL_NCS.
4034 (INLINE_VSYSCALL): Add 'long int' as return type to
4035 INTERNAL_VSYSCALL_NCS macro invocation.
4036 (INTERNAL_VSYSCALL): Add 'long int' as return type to
4037 INTERNAL_VSYSCALL_NCS macro invocation.
4038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
4040 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
4043 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
4044 Fix application of SIMD FP exception mask.
4046 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
4047 mp_no from a power of two.
4048 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
4049 __mpexp_twomm1. Use __pow_mp.
4051 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
4054 2013-01-17 David S. Miller <davem@davemloft.net>
4056 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4058 2013-01-17 Joseph Myers <joseph@codesourcery.com>
4061 * include/complex.h: Condition contents on [!_COMPLEX_H].
4062 (__kernel_casinhf): New prototype.
4063 (__kernel_casinh): Likewise.
4064 (__kernel_casinhl): Likewise.
4065 * math/Makefile (libm_calls): Add k_casinh.
4066 * math/k_casinh.c: New file.
4067 * math/k_casinhf.c: Likewise.
4068 * math/k_casinhl.c: Likewise.
4069 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
4070 finite nonzero arguments.
4071 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
4072 finite nonzero arguments.
4073 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
4074 finite nonzero arguments.
4075 * math/s_casinh.c: Do not include <float.h>.
4076 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
4077 * math/s_casinhf.c: Do not include <float.h>.
4078 (__casinhf): Move code for finite nonzero arguments to
4080 * math/s_casinhl.c: Do not include <float.h>.
4081 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
4083 (__casinhl): Move code for finite nonzero arguments to
4085 * math/libm-test.inc (cacos_test): Add more tests.
4086 * sysdeps/i386/fpu/libm-test-ulps: Update.
4087 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4089 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
4091 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
4092 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
4093 [!HAVE_MREMAP]: Remove [defined linux] case.
4094 * malloc/arena.c: Do not include <malloc-sysdep.h>.
4096 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
4098 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
4100 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
4102 * elf/elf.h (R_386_SIZE32): New relocation.
4103 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
4105 (elf_machine_rela): Likewise.
4106 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
4107 R_X86_64_SIZE64 and R_X86_64_SIZE32.
4109 2013-01-17 Joseph Myers <joseph@codesourcery.com>
4111 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
4112 (FP_FAST_FMA): Do not define.
4113 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
4114 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
4115 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
4116 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
4117 !_SOFT_FLOAT]: Likewise.
4118 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
4119 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
4121 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
4122 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
4123 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
4124 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
4125 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
4126 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
4129 2013-01-16 Andreas Schwab <schwab@suse.de>
4132 * include/stdlib.h (__mktemp): Add declaration.
4133 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
4134 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
4136 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4138 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
4140 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
4141 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
4142 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
4144 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
4145 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
4147 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
4149 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
4150 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
4151 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
4153 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
4154 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
4156 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
4158 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
4160 2013-01-15 David S. Miller <davem@davemloft.net>
4162 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
4163 trunc{,f} to libm-sysdep_routes.
4164 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
4165 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
4167 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
4168 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
4170 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
4172 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
4173 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
4174 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
4175 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
4176 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
4177 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
4178 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
4179 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
4181 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
4182 nearbyint{,f} to libm-sysdep_routes.
4183 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
4184 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
4186 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
4188 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
4190 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
4192 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
4193 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
4194 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
4196 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
4197 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
4199 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
4200 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
4201 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
4203 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
4204 libc_feholdexcept and libc_fesetenv.
4206 2013-01-15 Mike Frysinger <vapier@gentoo.org>
4208 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
4210 2013-01-14 David S. Miller <davem@davemloft.net>
4212 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
4213 (SPARC_ASM_VIS2_IFUNC): Likewise.
4214 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
4215 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
4216 use of 'siam' instruction.
4217 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
4219 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
4221 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
4223 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
4224 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
4225 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
4226 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
4227 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
4229 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
4231 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
4233 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
4235 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
4236 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
4237 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
4238 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
4239 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
4241 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
4242 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
4243 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
4245 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
4246 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
4247 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
4248 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
4249 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
4250 routines to libm-sysdep_routines.
4251 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
4253 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
4254 fdim/fdimf to libm-sysdep_routines.
4255 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
4257 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
4258 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
4260 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
4261 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
4262 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
4263 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
4264 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
4265 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
4266 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
4268 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
4270 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
4273 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
4274 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
4275 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
4277 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
4278 local variable MPTWO.
4279 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
4282 2013-01-13 Mike Frysinger <vapier@gentoo.org>
4284 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
4287 2013-01-13 Mike Frysinger <vapier@gentoo.org>
4289 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
4291 2013-01-13 Mike Frysinger <vapier@gentoo.org>
4293 * manual/pattern.texi (glob_t): Document gl_flags.
4294 (glob64_t): Likewise.
4296 2013-01-11 David S. Miller <davem@davemloft.net>
4298 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
4299 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
4300 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
4301 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
4302 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
4303 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
4304 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
4305 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
4306 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
4307 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
4308 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
4309 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
4310 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
4312 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
4313 sparc V9 rather than using V8 code.
4314 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
4315 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
4317 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
4319 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
4322 2013-01-11 Roland McGrath <roland@hack.frob.com>
4324 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
4325 not in the main loop.
4326 * configure: Regenerated.
4328 2013-01-11 Joseph Myers <joseph@codesourcery.com>
4330 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
4331 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
4333 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
4334 [!__GLIBC_HAVE_LONG_LONG] case.
4335 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
4336 condition to just #else.
4337 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
4338 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
4339 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
4340 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
4342 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
4343 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
4344 #elif condition to just #else.
4345 * sysdeps/unix/sysv/linux/sys/sysmacros.h
4346 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
4347 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
4348 #elif condition to just #else.
4350 2013-01-11 Steve Ellcey <sellcey@mips.com>
4352 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
4353 (EF_MIPS_ARCH_64): Fix value.
4354 (EF_MIPS_ARCH_32R2): New.
4355 (EF_MIPS_ARCH_64R2): New.
4357 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
4359 * Makeconfig (+link-pie-before-libc): New.
4360 (+link-pie-after-libc): Likewise.
4361 (+link-pie-tests): Likewise.
4362 (+link-pie): Rewritten.
4363 (link-before-libc): Remove $(config-LDFLAGS).
4364 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
4365 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
4366 (config-LDFLAGS): Renamed to ...
4367 (rtld-LDFLAGS): This.
4368 (rtld-tests-LDFLAGS): New macro.
4369 (link-libc-rpath-link): Likewise.
4370 (link-libc-tests-rpath-link): Likewise.
4371 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
4372 (link-libc): Prepand $(link-libc-rpath-link).
4373 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
4374 (test-program-prefix): New macro.
4375 (test-via-rtld-prefix): Likewise.
4376 (test-program-cmd): Likewise.
4377 (host-test-program-cmd): Likewise.
4378 * Makefile ($(common-objpfx)testrun.sh): Replace
4379 $(run-program-prefix) with $(test-program-prefix).
4380 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
4382 ($(common-objpfx)shlib.lds): Likewise.
4383 (build-module-helper): Likewise.
4384 ($(common-objpfx)format.lds): Likewise.
4385 * Rules (binaries-pie-tests): New.
4386 (binaries-pie-notests): Likewise.
4387 (binaries-pie): Rewritten.
4388 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
4389 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
4390 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
4391 (make-test-out): Replace $(host-built-program-cmd) with
4392 $(host-test-program-cmd).
4393 * config.make.in (build-hardcoded-path-in-tests): New variable.
4394 * configure.in (--enable-hardcoded-path-in-tests): New configure
4396 (hardcoded_path_in_tests): New AC_SUBST.
4397 * configure: Regenerated.
4398 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
4399 $(built-program-cmd) with $(test-program-cmd).
4400 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
4401 (test_program_cmd): This.
4402 * elf/Makefile ($(objpfx)order.out): Run test with
4403 $(test-program-prefix).
4404 ($(objpfx)order2.out): Likewise.
4405 ($(objpfx)tst-initorder.out): Likewise.
4406 ($(objpfx)tst-initorder2.out): Likewise.
4407 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
4408 $(test-program-cmd).
4409 ($(objpfx)tst-array1-static.out): Likewise.
4410 ($(objpfx)tst-array2.out): Likewise.
4411 ($(objpfx)tst-array3.out): Likewise.
4412 ($(objpfx)tst-array4.out): Likewise.
4413 ($(objpfx)tst-array5.out): Likewise.
4414 ($(objpfx)tst-array5-static.out): Likewise.
4415 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
4416 $(test-program-cmd).
4417 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
4418 $(run-program-prefix) with $(test-program-prefix).
4419 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
4420 (test_program_prefix): This.
4421 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
4422 $(run-program-prefix) with $(test-program-prefix).
4423 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
4424 (test_program_prefix): This.
4425 * iconvdata/tst-tables.sh: Likewise.
4426 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
4427 $(run-program-prefix) with $(test-program-prefix).
4428 ($(objpfx)tst-translit.out): Likewise.
4429 ($(objpfx)tst-gettext2.out): Likewise.
4430 ($(objpfx)tst-gettext4.out): Likewise.
4431 ($(objpfx)tst-gettext6.out): Likewise.
4432 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
4433 (test_program_prefix): This.
4434 * intl/tst-gettext2.sh: Likewise.
4435 * intl/tst-gettext4.sh Likewise.
4436 * intl/tst-gettext6.sh: Likewise.
4437 * intl/tst-translit.sh: Likewise.
4438 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
4439 with $(test-program-cmd).
4440 * libio/Makefile ($(objpfx)test-freopen.out): Replace
4441 $(run-program-prefix) with $(test-program-prefix).
4442 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
4443 (test_program_prefix): This.
4444 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
4445 $(run-program-prefix) with $(test-program-prefix).
4446 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
4447 (test_program_prefix): This.
4448 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
4449 * posix/Makefile ($(objpfx)globtest.out): Replace
4450 $(run-via-rtld-prefix) and $(test-wrapper) with
4451 $(test-program-prefix) and $(test-via-rtld-prefix).
4452 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
4453 $(test-program-prefix).
4454 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
4455 $(host-test-program-cmd).
4456 (tst-spawn-ARGS): Likewise.
4457 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
4458 $(test-program-prefix).
4459 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
4460 (test_via_rtld_prefix): This.
4461 (test_wrapper): Renamed to ...
4462 (test_program_prefix): This.
4463 (run_program_prefix): Replaced by test_program_prefix.
4464 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
4465 (test_program_prefix): This.
4466 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
4467 with $(host-test-program-cmd).
4468 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
4469 $(run-program-prefix) with $(test-program-prefix).
4470 ($(objpfx)tst-printf.out): Likewise.
4471 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
4472 $(test-program-cmd).
4473 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
4474 (test_program_prefix): This.
4475 * stdio-common/tst-unbputc.sh: Likewise.
4476 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
4477 $(run-program-prefix) with $(test-program-prefix).
4478 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
4479 (test_program_prefix): This.
4480 * string/Makefile ($(objpfx)tst-svc.out): Replace
4481 $(built-program-cmd) with $(test-program-cmd).
4483 2013-01-11 Andreas Jaeger <aj@suse.de>
4486 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
4487 value. Sync with Linux 3.7.
4489 2013-01-10 David S. Miller <davem@davemloft.net>
4491 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
4492 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
4493 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
4495 2013-01-10 Roland McGrath <roland@hack.frob.com>
4497 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
4499 * configure: Regenerated.
4501 2013-01-10 David S. Miller <davem@davemloft.net>
4503 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
4504 sparc V9 rather than using V8 code.
4505 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
4506 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
4508 2013-01-10 Roland McGrath <roland@hack.frob.com>
4510 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
4511 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
4512 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
4513 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
4514 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
4515 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
4516 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
4517 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
4518 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
4519 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
4520 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
4521 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
4522 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
4523 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
4524 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
4525 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
4526 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
4527 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
4528 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
4529 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
4530 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
4531 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
4532 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
4533 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
4534 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
4535 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
4536 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
4538 2013-01-10 David S. Miller <davem@davemloft.net>
4540 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4542 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
4544 * posix/Makefile (tests-static): New variable.
4545 (tests): Add $(tests-static).
4546 (tst-exec-static-ARGS): New variable.
4547 (tst-spawn-static-ARGS): Likewise.
4548 * posix/tst-exec-static.c: New file.
4549 * posix/tst-spawn-static.c: Likewise.
4550 * posix/tst-exec.c: Support run directly.
4551 * posix/tst-spawn.c: Likewise.
4553 2013-01-10 Joseph Myers <joseph@codesourcery.com>
4555 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
4557 * math/bits/mathcalls.h (llrint): Likewise.
4558 (llround): Likewise.
4559 * stdlib/stdlib.h (struct drand48_data): Likewise.
4560 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
4561 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
4562 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
4564 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
4566 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
4567 (elf_greg_t): Likewise.
4568 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
4569 (__jmp_buf): Likewise.
4570 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
4572 (llrint): Likewise, for all definitions.
4573 (llrintl): Likewise.
4575 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
4576 Remove [__GNUC__] condition.
4577 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
4578 condition to just [__USE_ISOC99].
4579 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
4581 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
4584 * sysdeps/unix/sysv/linux/x86/bits/environments.h
4585 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
4587 (_POSIX_V6_ILP32_OFF32): Likewise.
4588 (_XBS5_ILP32_OFF32): Likewise.
4589 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
4590 (__ILP32_OFFBIG_LDFLAGS): Likewise.
4592 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4594 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
4596 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
4597 doubles __mpexp_twomm1. Adjust usage.
4598 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
4601 2013-01-10 Andreas Schwab <schwab@suse.de>
4604 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
4605 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
4607 2013-01-09 David S. Miller <davem@davemloft.net>
4610 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
4611 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
4612 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
4613 TCP_FASTOPEN): Define.
4614 (tcp_repair_opt): New structure.
4615 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
4617 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
4618 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
4619 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
4620 (tcp_cookie_transactions): New structure.
4622 2013-01-09 Anton Blanchard <anton@samba.org>
4624 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
4625 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
4626 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
4627 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
4629 2013-01-09 Joseph Myers <joseph@codesourcery.com>
4631 * include/features.h (__USE_ANSI): Remove.
4633 2013-01-09 Roland McGrath <roland@hack.frob.com>
4635 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
4637 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
4639 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
4641 * sysdeps/s390/fpu/libm-test-ulps: Update.
4643 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4645 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
4650 (__mp_dbl): Likewise.
4651 (__dbl_mp): Likewise.
4652 (add_magnitudes): Likewise.
4653 (sub_magnitudes): Likewise.
4659 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
4664 (__mp_dbl): Likewise.
4665 (__dbl_mp): Likewise.
4666 (add_magnitudes): Likewise.
4667 (sub_magnitudes): Likewise.
4673 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
4678 (__mp_dbl): Likewise.
4679 (__dbl_mp): Likewise.
4680 (add_magnitudes): Likewise.
4681 (sub_magnitudes): Likewise.
4688 2013-01-08 Joseph Myers <joseph@codesourcery.com>
4690 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
4691 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
4692 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
4693 2 && __USE_EXTERN_INLINES]: Likewise.
4695 2013-01-08 Andreas Jaeger <aj@suse.de>
4698 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
4700 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
4701 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
4703 2013-01-07 Anton Blanchard <anton@samba.org>
4705 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
4706 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
4707 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
4708 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
4709 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
4710 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
4711 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
4712 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
4713 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
4714 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
4715 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
4716 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
4717 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
4718 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
4719 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
4720 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
4721 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
4722 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
4723 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
4724 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
4725 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
4726 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
4727 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
4728 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
4729 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
4730 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
4731 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
4732 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
4733 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
4734 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
4735 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
4736 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
4737 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
4738 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
4739 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
4740 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
4741 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
4742 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
4743 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
4744 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
4745 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
4746 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
4747 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
4749 2013-01-07 Joseph Myers <joseph@codesourcery.com>
4751 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
4752 (__MALLOC_PMT): Likewise.
4753 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
4754 [__GNUC__], only on [_LIBC].
4755 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
4756 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
4757 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
4758 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
4759 forward declaration.
4760 (realloc_hook_ini): Likewise.
4761 (memalign_hook_ini): Likewise.
4762 (__libc_memalign): Do not use __MALLOC_PMT in variable
4764 (__libc_valloc): Likewise.
4765 (__libc_pvalloc): Likewise.
4766 (__libc_calloc): Likewise.
4767 (__posix_memalign): Likewise.
4770 * math/s_casinh.c: Include <float.h>.
4771 (__casinh): Do not do computation with squaring and square root
4772 for large arguments.
4773 * math/s_casinhf.c: Include <float.h>.
4774 (__casinhf): Do not do computation with squaring and square root
4775 for large arguments.
4776 * math/s_casinhl.c: Include <float.h>.
4777 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
4778 (__casinhl): Do not do computation with squaring and square root
4779 for large arguments.
4780 * math/libm-test.inc (casin_test): Add more tests.
4781 (casinh_test): Likewise.
4782 * sysdeps/i386/fpu/libm-test-ulps: Update.
4783 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4785 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
4787 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
4788 (__x86_64_raw_data_cache_size): Likewise.
4789 (__x86_64_data_cache_size_half): Likewise.
4790 (__x86_64_raw_data_cache_size_half): Likewise.
4791 (__x86_64_shared_cache_size): Likewise.
4792 (__x86_64_raw_shared_cache_size): Likewise.
4793 (__x86_64_shared_cache_size_half): Likewise.
4794 (__x86_64_raw_shared_cache_size_half): Likewise.
4795 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
4797 (__x86_data_cache_size): This.
4798 (__x86_64_raw_data_cache_size): Renamed to ...
4799 (__x86_raw_data_cache_size): This.
4800 (__x86_64_data_cache_size_half): Renamed to ...
4801 (__x86_data_cache_size_half): This.
4802 (__x86_64_raw_data_cache_size_half): Renamed to ...
4803 (__x86_raw_data_cache_size_half): This.
4804 (__x86_64_shared_cache_size): Renamed to ...
4805 (__x86_shared_cache_size): This.
4806 (__x86_64_raw_shared_cache_size): Renamed to ...
4807 (__x86_raw_shared_cache_size): This.
4808 (__x86_64_shared_cache_size_half): Renamed to ...
4809 (__x86_shared_cache_size_half): This.
4810 (__x86_64_raw_shared_cache_size_half): Renamed to ...
4811 (__x86_raw_shared_cache_size_half): This.
4812 * sysdeps/x86_64/memcpy.S: Updated.
4813 * sysdeps/x86_64/memset.S: Likewise.
4814 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
4815 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
4816 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
4818 2013-01-04 David S. Miller <davem@davemloft.net>
4820 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4822 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
4824 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
4825 1 to avoid redefinition warning.
4826 (__USE_GNU): Don't define.
4827 (init_signaling_nan): Protoize.
4829 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4831 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4833 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
4834 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
4835 (__cpymn): Likewise.
4836 (norm): Remove commented code.
4838 (__mp_dbl): Likewise.
4840 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
4841 (__cpymn): Likewise.
4842 (norm): Remove commented code.
4844 (__mp_dbl): Likewise.
4847 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
4848 mp_no value for 1.0 and 2.0.
4849 (norm): Use RADIXI instead of radixi.d.
4851 (__mul): Use 0.0 instead of zero.d.
4852 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
4853 mp_no value for 1.0 and 2.0.
4854 (norm): Use RADIXI instead of radixi.d.
4856 (__mul): Use 0.0 instead of zero.d.
4858 2013-01-04 Joseph Myers <joseph@codesourcery.com>
4861 * math/s_casinh.c (__casinh): Reduce finite argument to first
4862 quadrant then set signs of results at the end.
4863 * math/s_casinhf.c (__casinhf): Likewise.
4864 * math/s_casinhl.c (__casinhl): Likewise.
4865 * math/libm-test.inc (casin_test): Add more tests.
4866 (casinh_test): Likewise.
4867 * sysdeps/i386/fpu/libm-test-ulps: Update.
4868 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4870 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4872 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
4874 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
4876 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
4879 (__mp_dbl): Likewise.
4882 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
4883 and adjust the header comment.
4885 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
4886 variable name from declaration.
4888 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
4890 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4891 Initialize COMMON_CPUID_INDEX_7 element.
4892 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
4893 (CPUID_RTM): Likewise.
4894 (HAS_RTM): Likewise.
4895 (COMMON_CPUID_INDEX_7): New enum.
4897 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
4900 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
4901 size is zero, record memory as freed.
4903 2013-01-03 Andreas Jaeger <aj@suse.de>
4905 * po/ia.po: Add new Interlingua translation.
4907 2012-01-03 Allan McRae <allan@archlinux.org>
4909 * locale/programs/localedef.c: Fix description of '--posix' flag.
4911 2013-01-02 Joseph Myers <joseph@codesourcery.com>
4913 * NEWS: Update dates in second copyright notice.
4914 * README: Update copyright dates in example.
4915 * manual/libc.texinfo: Update copyright dates.
4916 * scripts/test-installation.pl: Update copyright date in --version
4919 * hurd/ctty-input.c: Fix copyright notice formatting.
4920 * hurd/ctty-output.c: Likewise.
4921 * hurd/dtable.c: Likewise.
4922 * hurd/hurd-raise.c: Likewise.
4923 * hurd/hurdprio.c: Likewise.
4924 * hurd/msgportdemux.c: Likewise.
4925 * misc/sys/file.h: Likewise.
4926 * misc/sys/ioctl.h: Likewise.
4927 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
4928 * sysdeps/mach/hurd/chdir.c: Likewise.
4929 * sysdeps/mach/hurd/fchdir.c: Likewise.
4930 * sysdeps/mach/hurd/rename.c: Likewise.
4931 * sysdeps/mach/hurd/rmdir.c: Likewise.
4932 * sysdeps/mach/hurd/seekdir.c: Likewise.
4933 * sysdeps/mach/hurd/setsid.c: Likewise.
4934 * sysdeps/posix/wait3.c: Likewise.
4936 * All files with FSF copyright notices: Update copyright dates
4937 using scripts/update-copyrights.
4938 * intl/plural.c: Regenerated.
4939 * locale/programs/charmap-kw.h: Likewise.
4940 * locale/programs/locfile-kw.h: Likewise.
4942 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4944 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
4947 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
4948 calculation loop and add branch prediction.
4950 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
4951 check access beyond bounds of m1np.
4953 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
4955 (__inv): Remove local variable MPTWO to use the global
4957 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
4958 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
4960 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
4961 MP3HALFS static const.
4963 2013-01-01 David S. Miller <davem@davemloft.net>
4965 * po/ca.po: Update from translation team.
4967 2013-01-01 Joseph Myers <joseph@codesourcery.com>
4969 * scripts/update-copyrights: New file.
4970 * Makeconfig: Reformat copyright notice.
4971 * ctype/ctype.h: Likewise.
4972 * debug/swprintf_chk.c: Likewise.
4973 * elf/dl-cache.c: Likewise.
4974 * elf/dl-debug.c: Likewise.
4975 * elf/dl-object.c: Likewise.
4976 * grp/initgroups.c: Likewise.
4977 * hurd/Makefile: Likewise.
4978 * hurd/hurd/signal.h: Likewise.
4979 * hurd/hurdfault.c: Likewise.
4980 * hurd/hurdioctl.c: Likewise.
4981 * hurd/hurdlookup.c: Likewise.
4982 * hurd/intr-msg.c: Likewise.
4983 * iconv/gconv_open.c: Likewise.
4984 * libio/swprintf.c: Likewise.
4985 * locale/lc-ctype.c: Likewise.
4986 * locale/nl_langinfo.c: Likewise.
4987 * mach/Machrules: Likewise.
4988 * mach/Makefile: Likewise.
4989 * malloc/obstack.h: Likewise.
4990 * manual/Makefile: Likewise.
4991 * manual/tsort.awk: Likewise.
4992 * misc/bits/stab.def: Likewise.
4993 * nis/nis_print_group_entry.c: Likewise.
4994 * nis/nis_table.c: Likewise.
4995 * nis/nss_compat/compat-pwd.c: Likewise.
4996 * nis/nss_compat/compat-spwd.c: Likewise.
4997 * po/Makefile: Likewise.
4998 * posix/fnmatch.c: Likewise.
4999 * posix/regex.h: Likewise.
5000 * resolv/Makefile: Likewise.
5001 * resolv/nss_dns/dns-network.c: Likewise.
5002 * resolv/res_hconf.c: Likewise.
5003 * scripts/gen-sorted.awk: Likewise.
5004 * soft-fp/soft-fp.h: Likewise.
5005 * stdio-common/printf.h: Likewise.
5006 * stdlib/monetary.h: Likewise.
5007 * stdlib/random.c: Likewise.
5008 * stdlib/random_r.c: Likewise.
5009 * sysdeps/generic/Makefile: Likewise.
5010 * sysdeps/gnu/Makefile: Likewise.
5011 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
5012 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5013 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
5014 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5015 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5016 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5017 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5018 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
5019 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
5020 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5021 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
5022 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
5023 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
5024 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
5025 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
5026 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
5027 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
5028 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5029 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
5030 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5031 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
5032 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
5033 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
5034 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
5035 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
5036 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
5037 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
5038 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
5039 * sysdeps/mach/hurd/errnos.awk: Likewise.
5040 * sysdeps/mach/hurd/fork.c: Likewise.
5041 * sysdeps/mach/hurd/getcwd.c: Likewise.
5042 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
5043 * sysdeps/mach/hurd/mmap.c: Likewise.
5044 * sysdeps/mach/hurd/utimes.c: Likewise.
5045 * sysdeps/mach/hurd/xmknod.c: Likewise.
5046 * sysdeps/posix/profil.c: Likewise.
5047 * sysdeps/posix/readdir_r.c: Likewise.
5048 * sysdeps/powerpc/bits/mathdef.h: Likewise.
5049 * sysdeps/powerpc/bits/setjmp.h: Likewise.
5050 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
5051 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
5052 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
5053 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
5054 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
5055 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
5056 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
5057 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
5058 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
5059 * sysdeps/pthread/lio_listio.c: Likewise.
5060 * sysdeps/sparc/dl-procinfo.h: Likewise.
5061 * sysdeps/unix/i386/sysdep.S: Likewise.
5062 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
5063 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
5064 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
5065 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
5066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
5067 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
5068 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
5069 * sysdeps/unix/sysv/linux/speed.c: Likewise.
5070 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
5071 * sysdeps/wordsize-32/divdi3.c: Likewise.
5072 * time/sys/time.h: Likewise.
5073 * wcsmbs/Makefile: Likewise.
5075 2013-01-01 David S. Miller <davem@davemloft.net>
5077 * po/fr.po: Update from translation team.
5079 * catgets/gencat.c: Update copyright year.
5080 * csu/version.c: Likewise.
5081 * debug/catchsegv.sh: Likewise.
5082 * debug/pcprofiledump.c: Likewise.
5083 * debug/xtrace.sh: Likewise.
5084 * elf/ldconfig.c: Likewise.
5085 * elf/ldd.bash.in: Likewise.
5086 * elf/pldd.c: Likewise.
5087 * elf/sotruss.ksh: Likewise.
5088 * elf/sprof.c: Likewise.
5089 * iconv/iconv_prog.c: Likewise.
5090 * iconv/iconvconfig.c: Likewise.
5091 * locale/programs/locale.c: Likewise.
5092 * locale/programs/localedef.c: Likewise.
5093 * login/programs/pt_chown.c: Likewise.
5094 * malloc/memusage.sh: Likewise.
5095 * malloc/memusagestat.c: Likewise.
5096 * malloc/mtrace.pl: Likewise.
5097 * nscd/nscd.c: Likewise.
5098 * nss/getent.c: Likewise.
5099 * nss/makedb.c: Likewise.
5100 * posix/getconf.c: Likewise.
5102 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
5104 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
5107 2012-12-30 Mike Frysinger <vapier@gentoo.org>
5109 * math/bits/mathcalls.h (modf): Use __nonnull.
5111 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
5113 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
5114 (split): Use macro CN instead of the bare value.
5115 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
5117 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
5118 instead of the bare value.
5121 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5123 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
5125 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
5127 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
5129 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
5130 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
5131 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
5132 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
5134 2012-12-28 Andreas Jaeger <aj@suse.de>
5136 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
5137 values are from Linux 3.7.
5139 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
5140 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
5142 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5144 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
5147 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
5149 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
5150 variables with preprocessor constants.
5151 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
5152 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
5153 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
5155 2012-12-27 Bruno Haible <bruno@clisp.org>
5158 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
5161 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5163 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
5164 and use variable directly.
5165 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
5167 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
5169 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
5170 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
5172 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
5173 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
5174 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
5175 include directive. Remove local variable MPONE.
5176 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
5177 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
5178 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
5180 2012-12-25 David S. Miller <davem@davemloft.net>
5182 * version.h (RELEASE): Set to "development".
5183 (VERSION): Set to "2.17.90".
5184 * NEWS: Add 2.18 section.
5186 2012-12-21 David S. Miller <davem@davemloft.net>
5188 * po/hr.po: Update from translation team.
5190 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5192 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
5194 2012-12-19 Steve Ellcey <sellcey@mips.com>
5196 * NEWS: Mention new memcpy for MIPS.
5198 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5200 * manual/contrib.texi (Contributors): Spelling correction.
5202 2012-12-15 David S. Miller <davem@davemloft.net>
5204 * po/ru.po: Update from translation team.
5206 2012-12-13 David S. Miller <davem@davemloft.net>
5208 * NEWS: Mention IFUNC testsuite enhancements.
5210 * po/pl.po: Update from translation team.
5211 * po/bg.po: Likewise.
5213 * manual/contrib.texi (Contributors): Update entries for Hongjiu
5214 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
5216 2012-12-11 David S. Miller <davem@davemloft.net>
5218 * po/sv.po: Update from translation team.
5220 * po/vi.po: Update from translation team.
5222 * po/cs.po: Update from translation team.
5224 * po/de.po: Update from translation team.
5225 * po/eo.po: Likewise.
5226 * po/nl.po: Likewise.
5228 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5231 * manual/argp.texi (Argp Helper Functions): Move node to follow
5235 * manual/conf.texi (Limits on File System Capacity): Mention if
5236 terminating null is included in the max size.
5238 2012-12-10 Andreas Jaeger <aj@suse.de>
5240 * po/cs.po: Update from translation team.
5242 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
5244 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
5245 void pointer and cast to uintptr_t.
5246 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
5248 * sysdeps/s390/s390-64/memcpy.S: Likewise.
5249 * sysdeps/s390/s390-64/memset.S: Likewise.
5251 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
5254 * menual/message.texi (Message Translation): Fix typos.
5255 (Helper programs for gettext): Likewise.
5257 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
5260 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
5263 2012-12-07 David S. Miller <davem@davemloft.net>
5265 * po/libc.pot: Update.
5267 2012-12-07 Richard Henderson <rth@redhat.com>
5270 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
5271 normal/normal case to before the switch.
5272 (_FP_DIV): Likewise.
5274 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
5275 Mike Frysinger <vapier@gentoo.org>
5277 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
5278 check for __NR_fadvise64_64.
5280 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
5282 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
5283 0, not just to plain "0" as a statement.
5284 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
5287 2012-12-06 Joseph Myers <joseph@codesourcery.com>
5289 * NEWS: Use sourceware.org in Bugzilla URL.
5291 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
5293 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
5294 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
5296 * stdio-common/tst-put-error.c (do_test): Add newline to the
5297 padded test to ensure flush.
5299 2012-12-05 Jeff Law <law@redhat.com>
5301 * sunrpc/etc.rpc (fedfs_admin): Add entry.
5303 2012-12-05 Joseph Myers <joseph@codesourcery.com>
5305 * README: Don't refer to ports add-on as distributed separately.
5306 Mention AArch64 in list of systems supported in the ports add-on.
5308 * LICENSES: Add more non-FSF copyright and license notices.
5310 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
5313 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
5315 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
5316 10000 as width of padded output.
5318 2012-12-04 Joseph Myers <joseph@codesourcery.com>
5320 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
5322 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
5323 variable LX with __attribute__ ((unused)).
5324 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
5326 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
5327 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
5328 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
5329 with __attribute__ ((unused)).
5331 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
5333 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
5335 2012-12-04 Joseph Myers <joseph@codesourcery.com>
5337 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
5338 (CFLAGS-nldbl-acos.c): New variable.
5339 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
5340 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
5341 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
5342 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
5343 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
5344 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
5345 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
5346 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
5347 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
5348 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
5349 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
5350 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
5351 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
5352 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
5353 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
5354 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
5355 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
5356 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
5357 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
5358 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
5359 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
5360 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
5361 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
5362 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
5363 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
5364 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
5365 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
5366 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
5367 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
5368 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
5369 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
5370 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
5371 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
5372 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
5373 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
5374 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
5375 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
5376 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
5377 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
5378 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
5379 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
5380 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
5381 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
5382 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
5383 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
5384 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
5385 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
5386 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
5387 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
5388 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
5389 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
5390 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
5391 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
5392 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
5393 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
5394 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
5395 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
5396 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
5397 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
5398 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
5399 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
5400 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
5401 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
5402 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
5403 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
5404 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
5405 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
5406 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
5407 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
5408 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
5409 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
5410 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
5411 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
5412 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
5413 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
5414 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
5415 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
5416 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
5417 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
5418 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
5419 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
5420 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
5421 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
5422 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
5423 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
5424 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
5425 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
5426 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
5427 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
5428 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
5429 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
5430 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
5431 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
5432 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
5433 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
5434 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
5435 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
5437 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
5438 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
5441 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
5442 whole low double instead of just low 47 bits when splitting values
5445 2012-12-03 Allan McRae <allan@archlinux.org>
5447 * manual/stdio.texi (Predefined Printf Handlers): Remove
5448 @hsep and @vsep usage.
5450 2012-12-03 Mike Frysinger <vapier@gentoo.org>
5452 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
5453 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
5455 2012-12-03 Jeff Law <law@redhat.com>
5457 * time/sys/time.h (settimeofday): Do not mark TV argument
5460 2012-12-01 Mike Frysinger <vapier@gentoo.org>
5462 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
5463 when currently writing and seek to current position when not.
5464 * libio/Makefile (tests): Remove bug-fclose1.
5465 * libio/bug-fclose1.c: Delete.
5467 2012-12-01 Joseph Myers <joseph@codesourcery.com>
5469 * manual/arith.texi (feenableexcept): Fix typo.
5470 (fedisableexcept): Likewise.
5472 2012-11-30 Roland McGrath <roland@hack.frob.com>
5474 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
5475 second, differently-typed declaration, rather than a cast.
5477 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5479 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
5480 * include/rpc/svc.h: ... here.
5482 2012-11-30 Aurelien Jarno <aurel32@debian.org>
5485 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
5486 depending n and resplen2 to catch cases where answer
5489 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
5491 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
5492 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
5494 2012-11-29 Mike Frysinger <vapier@gentoo.org>
5496 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
5498 2012-11-29 Roland McGrath <roland@hack.frob.com>
5500 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
5502 2012-11-28 Jeff Law <law@redhat.com>
5505 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
5506 dataset_temporary. Track alloca usage into alloca_used.
5507 If dataset is large allocate and release it via malloc/free.
5509 2012-06-04 Florian Weimer <fweimer@redhat.com>
5512 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
5514 2012-11-28 David S. Miller <davem@davemloft.net>
5516 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5518 2012-11-28 Joseph Myers <joseph@codesourcery.com>
5521 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
5522 of pi/2 rounded to nearest to 64 bits.
5523 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
5525 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
5528 2012-11-28 Jeff Law <law@redhat.com>
5529 Martin Osvald <mosvald@redhat.com>
5532 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
5533 * sunrpc/svc.c: Include time.h.
5534 (__svc_accept_failed): New function.
5535 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
5536 any reason other than EINTR, call __svc_accept_failed.
5537 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
5538 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
5540 2012-11-28 Andreas Schwab <schwab@suse.de>
5542 * scripts/abilist.awk: Also handle indirect functions in .opd
5545 2012-11-28 Joseph Myers <joseph@codesourcery.com>
5548 * sysdeps/x86/fpu/powl_helper.c: New file.
5549 * sysdeps/x86/fpu/Makefile: Likewise.
5550 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
5552 (__ieee754_powl): Use __powl_helper for finite arguments except
5553 integer exponents below 8.
5554 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
5556 (__ieee754_powl): Use __powl_helper for finite arguments except
5557 integer exponents below 8.
5558 * math/libm-test.inc (pow_test): Add more tests and enable some
5559 previously disabled tests.
5560 * sysdeps/i386/fpu/libm-test-ulps: Update.
5561 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5563 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5564 Carlos O'Donell <carlos_odonell@mentor.com>
5566 * nss/makedb.c (is_prime): Assert that input is odd and greater
5567 than 4. Note that fact in a comment too.
5568 (next_prime): Add 4 to input.
5570 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5573 * libio/Makefile (tests): Add test case tst-fwrite-error.
5574 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
5575 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
5576 * libio/tst-fwrite-error.c: New test case.
5578 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
5580 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
5581 before casting to void *.
5582 * include/libc-internal.h (__pointer_type): New macro.
5583 (__integer_if_pointer_type_sub): Likewise.
5584 (__integer_if_pointer_type): Likewise.
5585 (cast_to_integer): Likewise.
5586 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
5587 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
5588 before casting to atomic64_t.
5589 (atomic_exchange_acq): Likewise.
5590 (__arch_exchange_and_add_body): Likewise.
5591 (__arch_add_body): Likewise.
5592 (atomic_add_negative): Likewise.
5593 (atomic_add_zero): Likewise.
5595 2012-11-26 Joseph Myers <joseph@codesourcery.com>
5597 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
5598 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
5599 (add_fdes): Likewise.
5600 (linear_search_fdes): Likewise.
5601 (binary_search_unencoded_fdes): Likewise.
5603 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
5605 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
5607 2012-11-24 Adam Conrad <adconrad@0c3.net>
5609 * configure.in: Autodetect C++ header directories.
5610 * configure: Regenerated.
5612 2012-11-23 Mike Frysinger <vapier@gentoo.org>
5614 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
5616 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
5618 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5620 2012-11-22 Joseph Myers <joseph@codesourcery.com>
5622 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
5623 LDBL_MANT_DIG == 106]: Disable some tests.
5624 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
5626 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
5630 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
5631 input for small inputs. Return +/- pi/2 for large inputs.
5632 * math/libm-test.inc (atan_test): Add more tests.
5634 * sysdeps/generic/unwind-dw2-fde-glibc.c
5635 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
5636 __attribute__ ((unused)).
5639 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
5640 x * y if x and y are nonzero and z is zero.
5643 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
5644 nonzero exponents with absolute value below 0x1p-117 to +/-
5648 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
5649 up arguments below 2**-450, not just those below 2**-500.
5650 * math/libm-test.inc (hypot_test): Add another test.
5653 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
5654 Return a+b for ratio over 2**120, not 2**60.
5655 * math/libm-test.inc (hypot_test): Add another test.
5657 * math/libm-test.inc (clog_test): Use
5658 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
5659 (clog10_test): Likewise.
5662 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
5664 2012-11-22 Andreas Schwab <schwab@suse.de>
5666 * sysdeps/i386/fpu/libm-test-ulps: Update.
5668 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
5670 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
5671 printf output with newline.
5673 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
5676 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
5677 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
5678 -z nodlopen, -z initfirst and -z execstack support.
5679 * configure: Regenerated.
5681 * elf/elf.h (DF_1_NODIRECT): New macro.
5682 (DF_1_IGNMULDEF): Likewise.
5683 (DF_1_NOKSYMS): Likewise.
5684 (DF_1_NOHDR): Likewise.
5685 (DF_1_EDITED): Likewise.
5686 (DF_1_NORELOC): Likewise.
5687 (DF_1_SYMINTPOSE): Likewise.
5688 (DF_1_GLOBAUDIT): Likewise.
5689 (DF_1_SINGLETON): Likewise.
5690 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
5691 DT_1_SUPPORTED_MASK bits.
5692 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
5694 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
5696 * sysdeps/unix/make-syscalls.sh: Document prefixes.
5698 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
5700 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
5703 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
5704 (sendmmsg): Move declarations...
5705 * socket/sys/socket.h: ... here.
5706 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
5707 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
5709 * socket/recvmmsg.c: ... this new file.
5710 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
5711 (sendmmsg): Rename to __sendmmsg, create weak alias and make
5712 definition of __sendmmsg hidden.
5713 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
5714 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
5715 Move ENOSYS stub into and include it from...
5716 * socket/sendmmsg.c: ... this new file.
5717 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
5718 (sysdep_routines): Move recvmmsg and sendmmsg...
5719 * socket/Makefile (routines): ... here.
5720 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
5721 (GLIBC_PRIVATE): Add __sendmmsg.
5722 * include/sys/socket.h (__sendmmsg): Add declarations.
5723 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
5726 2012-11-20 Joseph Myers <joseph@codesourcery.com>
5728 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
5729 variable I1 with __attribute__ ((unused)).
5730 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
5732 2012-11-19 Joseph Myers <joseph@codesourcery.com>
5734 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
5735 DUMMY variables with __attribute__ ((unused)).
5737 * bits/byteswap.h: Include <bits/types.h>.
5738 (__bswap_64): Use __uint64_t instead of unsigned long long int.
5740 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
5742 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
5743 string_t. Do not manually set errno.
5744 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
5745 length with __strnlen. Make sure to both set errno and return it on
5748 2012-11-19 David S. Miller <davem@davemloft.net>
5750 With help from Joseph Myers.
5751 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
5752 very large arguments properly.
5753 * math/libm-test.inc (atan_test): New tests.
5754 (atan2_test): New tests.
5755 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5756 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5758 2012-11-19 Joseph Myers <joseph@codesourcery.com>
5761 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
5764 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
5765 [POSIX] (EADDRNOTAVAIL): Likewise.
5766 [POSIX] (EAFNOSUPPORT): Likewise.
5767 [POSIX] (EALREADY): Likewise.
5768 [POSIX] (ECONNABORTED): Likewise.
5769 [POSIX] (ECONNREFUSED): Likewise.
5770 [POSIX] (ECONNRESET): Likewise.
5771 [POSIX] (EDESTADDRREQ): Likewise.
5772 [POSIX] (EDQUOT): Likewise.
5773 [POSIX] (EHOSTUNREACH): Likewise.
5774 [POSIX] (EIDRM): Likewise.
5775 [POSIX] (EISCONN): Likewise.
5776 [POSIX] (ELOOP): Likewise.
5777 [POSIX] (EMULTIHOP): Likewise.
5778 [POSIX] (ENETDOWN): Likewise.
5779 [POSIX] (ENETUNREACH): Likewise.
5780 [POSIX] (ENOBUFS): Likewise.
5781 [POSIX] (ENODATA): Likewise.
5782 [POSIX] (ENOLINK): Likewise.
5783 [POSIX] (ENOMSG): Likewise.
5784 [POSIX] (ENOPROTOOPT): Likewise.
5785 [POSIX] (ENOSR): Likewise.
5786 [POSIX] (ENOSTR): Likewise.
5787 [POSIX] (ENOTCONN): Likewise.
5788 [POSIX] (ENOTSOCK): Likewise.
5789 [POSIX] (EOPNOTSUPP): Likewise.
5790 [POSIX] (EOVERFLOW): Likewise.
5791 [POSIX] (EPROTO): Likewise.
5792 [POSIX] (EPROTONOSUPPORT): Likewise.
5793 [POSIX] (EPROTOTYPE): Likewise.
5794 [POSIX] (ESTALE): Likewise.
5795 [POSIX] (ETIME): Likewise.
5796 [POSIX] (ETXTBSY): Likewise.
5797 [POSIX] (EWOULDBLOCK): Likewise.
5798 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
5799 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
5800 [POSIX] (SEEK_CUR): Likewise.
5801 [POSIX] (SEEK_END): Likewise.
5802 [POSIX || UNIX98] (mode_t): Do not require.
5803 [POSIX] (off_t): Likewise.
5804 [POSIX] (pid_t): Likewise.
5805 [POSIX] (sys/stat.h): Do not allow header.
5806 [POSIX] (unistd.h): Likewise.
5807 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
5808 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
5809 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
5810 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
5812 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
5813 sigevent): Specify elements.
5814 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
5816 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
5817 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
5819 * conform/data/cpio.h-data [POSIX]: Disable whole file.
5820 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
5821 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
5822 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
5823 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
5824 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
5825 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
5826 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
5827 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
5828 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
5829 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
5830 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
5831 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
5832 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
5834 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
5836 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
5838 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
5840 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
5841 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
5842 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
5843 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
5844 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
5845 Specify lower bound on value.
5846 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
5847 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
5848 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
5849 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
5850 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
5851 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
5852 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
5853 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
5855 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
5857 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
5858 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
5859 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
5860 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
5861 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
5862 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
5863 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
5864 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
5865 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
5866 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
5867 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
5868 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
5869 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
5870 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
5871 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
5872 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
5874 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
5876 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
5877 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
5878 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
5879 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
5880 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
5881 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
5883 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
5884 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
5885 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
5886 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
5887 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
5888 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
5889 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
5891 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
5892 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
5893 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
5894 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
5895 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
5896 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
5897 specify as optional.
5898 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
5899 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
5900 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
5901 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
5902 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
5903 [XPG3] (NL_LANGMAX): Likewise.
5904 [POSIX || XPG3] (NL_MSGMAX): Likewise.
5905 [POSIX || XPG3] (NL_NMAX): Likewise.
5906 [POSIX || XPG3] (NL_SETMAX): Likewise.
5907 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
5908 [XPG3] (NZERO): Likewise.
5909 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
5910 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
5911 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
5912 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
5913 (REG_ERANGE): Expect.
5914 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
5916 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
5917 Use (void) in prototype.
5918 [POSIX] (*_t): Allow.
5919 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
5920 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
5921 (WRDE_BADVAL): Expect.
5923 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
5925 [XPG3 || XPG4] (O_RSYNC): Likewise.
5926 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
5928 [XPG3 || XPG4] (pthread_sigmask): Likewise.
5929 [XPG3 || XPG4] (sigqueue): Likewise.
5930 [XPG3 || XPG4] (sigtimedwait): Likewise.
5931 [XPG3 || XPG4] (sigwaitinfo): Likewise.
5932 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
5933 [XPG3 || XPG4] (vsnprintf): Likewise.
5934 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
5936 [XPG3 || XPG4] (blksize_t): Likewise.
5937 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
5939 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
5940 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
5941 [XPG3 || XPG4] (struct itimerspec): Likewise.
5942 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
5943 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
5944 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
5945 [XPG3 || XPG4] (clockid_t): Likewise.
5946 [XPG3 || XPG4] (timer_t): Likewise.
5947 [XPG3 || XPG4] (clock_getres): Likewise.
5948 [XPG3 || XPG4] (clock_gettime): Likewise.
5949 [XPG3 || XPG4] (clock_settime): Likewise.
5950 [XPG3 || XPG4] (nanosleep): Likewise.
5951 [XPG3 || XPG4] (timer_create): Likewise.
5952 [XPG3 || XPG4] (timer_delete): Likewise.
5953 [XPG3 || XPG4] (timer_gettime): Likewise.
5954 [XPG3 || XPG4] (timer_getoverrun): Likewise.
5955 [XPG3 || XPG4] (timer_settime): Likewise.
5956 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
5957 [XPG3 || XPG4] (getlogin_r): Likewise.
5958 [XPG3 || XPG4] (pread): Likewise.
5959 [XPG3 || XPG4] (pthread_atfork): Likewise.
5960 [XPG3 || XPG4] (pwrite): Likewise.
5963 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
5966 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
5968 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
5969 finalizing MALLSTREAM.
5971 * sysdeps/mach/hurd/syncfs.c: New file.
5973 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5976 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
5977 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
5978 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
5979 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
5980 (_nss_dns_gethostbyname4_r): Likewise.
5981 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
5982 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
5984 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
5987 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
5989 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
5991 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
5992 * elf/cache.c (print_entry): Print ",AArch64" for
5995 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
5996 * elf/cache.c (print_entry): Print ",hard-float" for
5999 2012-11-18 David S. Miller <davem@davemloft.net>
6001 With help from Joseph Myers.
6002 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
6004 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
6006 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
6007 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
6009 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
6010 * math/libm-test.inc (y0_test): New tests.
6011 (y1_test): New tests.
6012 * sysdeps/i386/fpu/libm-test-ulps: Update.
6013 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6014 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6016 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
6018 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
6020 * configure: Regenerated.
6022 2012-11-17 David S. Miller <davem@davemloft.net>
6025 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
6026 nonzero exponents with absolute value below 0x1p-128 to +/-
6029 2012-11-17 Joseph Myers <joseph@codesourcery.com>
6031 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
6033 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
6035 * posix/getconf-speclist.c: New file.
6036 * posix/posix-envs.def: Likewise.
6037 * posix/confstr.c (START_ENV_GROUP): New macro.
6038 (END_ENV_GROUP): Likewise.
6039 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
6040 (KNOWN_PRESENT_ENV_STRING): Likewise.
6041 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
6042 (UNKNOWN_ENVIRONMENT): Likewise.
6043 (confstr): Include posix-envs.def instead of handling
6044 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
6045 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
6046 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
6047 (END_ENV_GROUP): Likewise.
6048 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
6049 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
6050 (UNKNOWN_ENVIRONMENT): Likewise.
6051 (__sysconf): Include posix-envs.def instead of handling associated
6052 cases directly here.
6053 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
6054 preprocessing getconf-speclist.c rather than running getconf or
6055 generating empty file.
6057 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
6059 * scripts/check-local-headers.sh: Ignore 'mach' headers.
6061 2012-11-16 Andrej Lajovic <natrij@gmail.com>
6064 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
6066 2012-11-16 David S. Miller <davem@davemloft.net>
6068 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
6069 smaller than LDBL_EPSILON/2.0L, just return xm1.
6071 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
6073 * elf/tst-array1.c (init): Set constructor priority to 1000.
6074 (fini): Set destructor priority to 1000.
6075 * elf/tst-array2dep.c: Likewise.
6077 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6080 * libio/fileops.c (_IO_new_file_write): Correctly return error.
6081 (_IO_new_file_xsputn): Also return EOF if none of the input
6082 data was written when overflow failed.
6083 * libio/iopadn.c (_IO_padn): Likewise.
6084 * libio/iowpadn.c (_IO_wpadn): Likewise.
6085 * stdio-common/tst-put-error.c: Add copyright notice.
6086 (do_test): Add case for printing padded string.
6087 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
6088 _IO_padn returned error.
6089 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
6090 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
6093 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6095 * libio/libioP.h: Add comment note that the references to C++
6096 bits are now obsolete.
6098 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6100 * math/libm-test.inc (check_complex): Use asprintf.
6102 2012-11-14 Joseph Myers <joseph@codesourcery.com>
6104 * debug/pcprofiledump.c (print_version): Update copyright year.
6105 * malloc/memusagestat.c (print_version): Likewise.
6107 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
6110 * elf/Makefile (tests): Add tst-audit8.
6111 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
6112 ($(objpfx)tst-audit8.out): New target.
6113 (tst-audit8-ENV): New variable.
6114 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
6115 audit if l_reloc_result is NULL.
6116 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
6117 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
6118 * elf/tst-audit8.c: New file.
6120 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6122 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
6123 * misc/Makefile (CFLAGS-select.c): Define.
6124 * posix/Makefile (CFLAGS-pause.c): Define.
6126 2012-11-13 David S. Miller <davem@davemloft.net>
6128 * crypt/Makefile: Move test targets after toplevel Rules
6129 inclusion. Grab any necessary sysdep routines when linking.
6130 * crypt/md5.c (md5_process_block): Remove define, we will always
6131 name it __md5_process_block.
6132 (md5_finish_ctx): Update md5_process_block call.
6133 (md5_stream): Likewise.
6134 (md5_process_bytes): Likewise.
6135 (md5_process_block): Rename to __md5_process_block and move to ...
6136 * crypt/md5-block.c: ... here.
6137 * crypt/sha256.c (sha256_process_block): Move to ...
6138 * crypt/sha256-block.c: ... here.
6139 * crypt/sha512.c (sha512_process_block): Move to ...
6140 * crypt/sha512-block.c: ... here.
6141 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
6143 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
6144 * sysdeps/sparc/sparc64/multiarch/Makefile
6145 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
6147 (localedef-aux): Add md5 crypto assembler when in locale subdir.
6148 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
6150 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
6151 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
6152 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
6153 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
6154 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
6155 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
6156 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
6157 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
6158 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
6160 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
6161 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
6163 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
6165 2012-11-13 Joseph Myers <joseph@codesourcery.com>
6167 * timezone/tzselect.ksh: Update from tzcode git revision
6168 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
6169 * timezone/zdump.c: Likewise.
6170 * timezone/zic.c: Likewise.
6171 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
6172 in TZVERSION setting, not $(PKGVERSION).
6173 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
6174 REPORT_BUGS_TO settings.
6177 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
6180 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6182 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
6183 detection to immediately after _FP_ROUND().
6184 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
6187 2012-11-11 David S. Miller <davem@davemloft.net>
6189 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
6191 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
6192 __close rather than their public counterparts.
6194 2012-11-10 Joseph Myers <joseph@codesourcery.com>
6196 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
6198 [UNIX98] (sem_timedwait): Do not expect.
6199 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
6200 [XPG4 || UNIX98] (sockatmark): Do not expect.
6201 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
6202 (clock_getcpuclockid): Do not expect.
6203 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
6204 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
6206 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
6207 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
6208 [UNIX98] (vwscanf): Likewise.
6209 [UNIX98] (vswscanf): Likewise.
6211 2012-11-09 Joseph Myers <joseph@codesourcery.com>
6213 * timezone/version.h: Remove file.
6214 * timezone/README: Do not refer to version.h.
6215 * timezone/Makefile ($(objpfx)zic.o): New dependency on
6217 ($(objpfx)zdump.o): Likewise.
6218 ($(objpfx)version.h): New target.
6220 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
6222 * timezone/README: Don't mention modification to tzselect.ksh.
6223 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
6224 work on unmodified tzselect.ksh. Substitute version numbers in
6227 * Makefile (format-me): Remove.
6228 (INSTALL): Adjust indentation. Use commands directly instead of
6231 * aclocal.m4 (ACX_PKGVERSION): New macro.
6232 (ACX_BUGURL): Likewise.
6233 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
6234 (PKGVERSION): New AC_DEFINE_UNQUOTED.
6235 (REPORT_BUGS_TO): Likewise.
6236 * configure: Regenerated.
6237 * config.h.in (PKGVERSION): New macro.
6238 (REPORT_BUGS_TO): Likewise.
6239 * config.make.in (PKGVERSION): New variable.
6240 (PKGVERSION_TEXI): Likewise.
6241 (REPORT_BUGS_TO): Likewise.
6242 (REPORT_BUGS_TEXI): Likewise.
6243 * Makefile (format-me): Use -I$(common-objpfx)manual.
6244 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
6245 ($(common-objpfx)manual/%): New target.
6246 (manual/%): Remove target.
6247 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
6248 (print_version): Use PKGVERSION.
6249 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
6250 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
6252 ($(objpfx)xtrace): Likewise.
6253 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
6254 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
6255 (print_version): Use PKGVERSION.
6256 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
6257 (do_version): Use PKGVERSION.
6258 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
6260 (common-ldd-rewrite): Likewise.
6261 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
6262 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
6263 (print_version): Use PKGVERSION.
6264 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
6265 * elf/pldd.c (argp_program_bug_address): Remove variable.
6266 (more_help): New function.
6267 (argp): Use more_help.
6268 (print_version): Use PKGVERSION.
6269 * elf/sln.c (main): Use PKGVERSION.
6270 (usage): Use REPORT_BUGS_TO.
6271 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
6272 (top level): Use PKGVERSION.
6273 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
6274 (print_version): Use PKGVERSION.
6275 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
6276 (print_version): Use PKGVERSION.
6277 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
6278 (print_version): Use PKGVERSION.
6279 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
6280 (print_version): Use PKGVERSION.
6281 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
6282 (print_version): Use PKGVERSION.
6283 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
6284 (print_version): Use PKGVERSION.
6285 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
6287 ($(objpfx)memusage): Likewise.
6288 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
6289 (do_version): Use PKGVERSION.
6290 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
6291 (print_version): Use PKGVERSION.
6292 * malloc/mtrace.pl ($PACKAGE): Remove variable.
6293 ($PKGVERSION): New variable.
6294 ($REPORT_BUGS_TO): Likewise.
6295 (usage): Use $REPORT_BUGS_TO.
6296 (top level): Use $PKGVERSION.
6297 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
6298 ($(objpfx)pkgvers.texi): New rule.
6299 ($(objpfx)stamp-pkgvers): Likewise.
6300 * manual/install.texi: Include pkgvers.texi.
6301 (--with-pkgversion): Document new configure option.
6302 (--with-bugurl): Likewise.
6303 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
6304 than necessarily for this particular distribution. Use
6305 REPORT_BUGS_TO for where to report bugs.
6306 * INSTALL: Regenerated.
6307 * manual/libc.texinfo: Include pkgvers.texi.
6308 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
6309 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
6310 (print_version): Use PKGVERSION.
6311 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
6312 (print_version): Use PKGVERSION.
6313 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
6314 (print_version): Use PKGVERSION.
6315 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
6316 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
6318 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
6319 (print_version): Use PKGVERSION.
6320 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
6321 (print_version): Use PKGVERSION.
6322 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
6325 * timezone/checktab.awk: Update from tzcode 2012i.
6326 * timezone/ialloc.c: Likewise.
6327 * timezone/private.h: Likewise.
6328 * timezone/scheck.c: Likewise.
6329 * timezone/tzfile.h: Likewise.
6330 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
6331 (TZVERSION): Hardcode tzcode version number.
6332 * timezone/zdump.c: Update from tzcode 2012i.
6333 * timezone/zic.c: Likewise.
6334 * timezone/version.h: New file.
6335 * timezone/README: Describe version.h. Update upstream location.
6338 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
6339 (mktemp): Enable declaration.
6340 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
6341 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
6342 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
6343 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
6345 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
6347 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
6349 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
6351 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
6353 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
6357 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
6358 offset in buffer as u_int32_t not u_long. Consistently use memcpy
6359 for copies of such integer values.
6360 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
6361 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
6363 2012-11-09 Andreas Jaeger <aj@suse.de>
6365 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
6366 definitions and declarations that are provided by
6367 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
6369 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6371 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
6372 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
6373 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
6376 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6378 * elf/elf.h: Update comment before AArch64 relocations.
6380 2012-11-07 David S. Miller <davem@davemloft.net>
6382 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
6383 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
6384 (__start_context): Declare.
6385 (__makecontext_ret): Delete.
6386 (__makecontext): Hook up __start_context instead of
6388 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
6389 (sysdep_routines): Add __start_context when in stdlib.
6391 2012-11-07 Joseph Myers <joseph@codesourcery.com>
6393 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
6394 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
6395 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
6397 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
6398 (READELF): New variable. Use it instead of hardcoded "readelf".
6400 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
6402 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
6403 * sysdeps/x86/Makefile: Here.
6404 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
6405 * sysdeps/x86/tst-xmmymm.sh: This.
6407 2012-11-07 Joseph Myers <joseph@codesourcery.com>
6409 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
6411 [UNIX98] (pthread_barrier_t): Do not expect.
6412 [UNIX98] (pthread_barrierattr_t): Likewise.
6413 [UNIX98] (pthread_spinlock_t): Likewise.
6414 [UNIX98] (pthread_barrier_destroy): Likewise.
6415 [UNIX98] (pthread_barrier_init): Likewise.
6416 [UNIX98] (pthread_barrier_wait): Likewise.
6417 [UNIX98] (pthread_barrierattr_destroy): Likewise.
6418 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
6419 [UNIX98] (pthread_barrierattr_init): Likewise.
6420 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
6421 [UNIX98] (pthread_getcpuclockid): Likewise.
6422 [UNIX98] (pthread_mutex_timedlock): Likewise.
6423 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
6424 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
6425 [UNIX98] (pthread_sigmask): Likewise.
6426 [UNIX98] (pthread_spin_destroy): Likewise.
6427 [UNIX98] (pthread_spin_init): Likewise.
6428 [UNIX98] (pthread_spin_lock): Likewise.
6429 [UNIX98] (pthread_spin_trylock): Likewise.
6430 [UNIX98] (pthread_spin_unlock): Likewise.
6431 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
6433 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
6434 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
6435 [XPG3 || XPG4] (pthread_cond_t): Likewise.
6436 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
6437 [XPG3 || XPG4] (pthread_key_t): Likewise.
6438 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
6439 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
6440 [XPG3 || XPG4] (pthread_once_t): Likewise.
6441 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
6442 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
6443 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
6444 [XPG3 || XPG4] (pthread_t): Likewise.
6446 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
6448 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
6450 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
6451 Change function return type to int.
6453 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
6454 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
6455 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
6456 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
6457 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
6458 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
6459 [!POSIX] (posix_madvise): Likewise.
6460 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
6462 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
6463 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
6465 (posix_mem_offset): Likewise.
6466 (posix_typed_mem_get_info): Likewise.
6467 (posix_typed_mem_open): Likewise.
6469 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
6470 Change condition to [XOPEN2K8].
6472 * conform/conformtest.pl: Preprocess allow-header data with -x c
6473 instead of from stdin.
6474 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
6475 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
6476 [C99-based standards] (cerfc): Likewise.
6477 [C99-based standards] (cexp2): Likewise.
6478 [C99-based standards] (cexpm1): Likewise.
6479 [C99-based standards] (clog10): Likewise.
6480 [C99-based standards] (clog1p): Likewise.
6481 [C99-based standards] (clog2): Likewise.
6482 [C99-based standards] (clgamma): Likewise.
6483 [C99-based standards] (ctgamma): Likewise.
6484 [C99-based standards] (cerff): Likewise.
6485 [C99-based standards] (cerfcf): Likewise.
6486 [C99-based standards] (cexp2f): Likewise.
6487 [C99-based standards] (cexpm1f): Likewise.
6488 [C99-based standards] (clog10f): Likewise.
6489 [C99-based standards] (clog1pf): Likewise.
6490 [C99-based standards] (clog2f): Likewise.
6491 [C99-based standards] (clgammaf): Likewise.
6492 [C99-based standards] (ctgammaf): Likewise.
6493 [C99-based standards] (cerfl): Likewise.
6494 [C99-based standards] (cerfcl): Likewise.
6495 [C99-based standards] (cexp2l): Likewise.
6496 [C99-based standards] (cexpm1l): Likewise.
6497 [C99-based standards] (clog10l): Likewise.
6498 [C99-based standards] (clog1pl): Likewise.
6499 [C99-based standards] (clog2l): Likewise.
6500 [C99-based standards] (clgammal): Likewise.
6501 [C99-based standards] (ctgammal): Likewise.
6502 * conform/data/inttypes.h-data [C99-based standards]: Include
6503 stdint.h-data. Remove all expectations for stdint.h contents.
6504 [C99-based standards] (PRI*): Do not allow.
6505 [C99-based standards] (SCN*): Likewise.
6506 [C99-based standards] (*_t): Likewise.
6507 [C99-based-standards] (PRId8): Expect macro.
6508 [C99-based-standards] (PRIi8): Likewise.
6509 [C99-based-standards] (PRIo8): Likewise.
6510 [C99-based-standards] (PRIu8): Likewise.
6511 [C99-based-standards] (PRIx8): Likewise.
6512 [C99-based-standards] (PRIX8): Likewise.
6513 [C99-based-standards] (SCNd8): Likewise.
6514 [C99-based-standards] (SCNi8): Likewise.
6515 [C99-based-standards] (SCNo8): Likewise.
6516 [C99-based-standards] (SCNu8): Likewise.
6517 [C99-based-standards] (SCNx8): Likewise.
6518 [C99-based-standards] (PRIdLEAST8): Likewise.
6519 [C99-based-standards] (PRIiLEAST8): Likewise.
6520 [C99-based-standards] (PRIoLEAST8): Likewise.
6521 [C99-based-standards] (PRIuLEAST8): Likewise.
6522 [C99-based-standards] (PRIxLEAST8): Likewise.
6523 [C99-based-standards] (PRIXLEAST8): Likewise.
6524 [C99-based-standards] (SCNdLEAST8): Likewise.
6525 [C99-based-standards] (SCNiLEAST8): Likewise.
6526 [C99-based-standards] (SCNoLEAST8): Likewise.
6527 [C99-based-standards] (SCNuLEAST8): Likewise.
6528 [C99-based-standards] (SCNxLEAST8): Likewise.
6529 [C99-based-standards] (PRIdFAST8): Likewise.
6530 [C99-based-standards] (PRIiFAST8): Likewise.
6531 [C99-based-standards] (PRIoFAST8): Likewise.
6532 [C99-based-standards] (PRIuFAST8): Likewise.
6533 [C99-based-standards] (PRIxFAST8): Likewise.
6534 [C99-based-standards] (PRIXFAST8): Likewise.
6535 [C99-based-standards] (SCNdFAST8): Likewise.
6536 [C99-based-standards] (SCNiFAST8): Likewise.
6537 [C99-based-standards] (SCNoFAST8): Likewise.
6538 [C99-based-standards] (SCNuFAST8): Likewise.
6539 [C99-based-standards] (SCNxFAST8): Likewise.
6540 [C99-based-standards] (PRId16): Likewise.
6541 [C99-based-standards] (PRIi16): Likewise.
6542 [C99-based-standards] (PRIo16): Likewise.
6543 [C99-based-standards] (PRIu16): Likewise.
6544 [C99-based-standards] (PRIx16): Likewise.
6545 [C99-based-standards] (PRIX16): Likewise.
6546 [C99-based-standards] (SCNd16): Likewise.
6547 [C99-based-standards] (SCNi16): Likewise.
6548 [C99-based-standards] (SCNo16): Likewise.
6549 [C99-based-standards] (SCNu16): Likewise.
6550 [C99-based-standards] (SCNx16): Likewise.
6551 [C99-based-standards] (PRIdLEAST16): Likewise.
6552 [C99-based-standards] (PRIiLEAST16): Likewise.
6553 [C99-based-standards] (PRIoLEAST16): Likewise.
6554 [C99-based-standards] (PRIuLEAST16): Likewise.
6555 [C99-based-standards] (PRIxLEAST16): Likewise.
6556 [C99-based-standards] (PRIXLEAST16): Likewise.
6557 [C99-based-standards] (SCNdLEAST16): Likewise.
6558 [C99-based-standards] (SCNiLEAST16): Likewise.
6559 [C99-based-standards] (SCNoLEAST16): Likewise.
6560 [C99-based-standards] (SCNuLEAST16): Likewise.
6561 [C99-based-standards] (SCNxLEAST16): Likewise.
6562 [C99-based-standards] (PRIdFAST16): Likewise.
6563 [C99-based-standards] (PRIiFAST16): Likewise.
6564 [C99-based-standards] (PRIoFAST16): Likewise.
6565 [C99-based-standards] (PRIuFAST16): Likewise.
6566 [C99-based-standards] (PRIxFAST16): Likewise.
6567 [C99-based-standards] (PRIXFAST16): Likewise.
6568 [C99-based-standards] (SCNdFAST16): Likewise.
6569 [C99-based-standards] (SCNiFAST16): Likewise.
6570 [C99-based-standards] (SCNoFAST16): Likewise.
6571 [C99-based-standards] (SCNuFAST16): Likewise.
6572 [C99-based-standards] (SCNxFAST16): Likewise.
6573 [C99-based-standards] (PRId32): Likewise.
6574 [C99-based-standards] (PRIi32): Likewise.
6575 [C99-based-standards] (PRIo32): Likewise.
6576 [C99-based-standards] (PRIu32): Likewise.
6577 [C99-based-standards] (PRIx32): Likewise.
6578 [C99-based-standards] (PRIX32): Likewise.
6579 [C99-based-standards] (SCNd32): Likewise.
6580 [C99-based-standards] (SCNi32): Likewise.
6581 [C99-based-standards] (SCNo32): Likewise.
6582 [C99-based-standards] (SCNu32): Likewise.
6583 [C99-based-standards] (SCNx32): Likewise.
6584 [C99-based-standards] (PRIdLEAST32): Likewise.
6585 [C99-based-standards] (PRIiLEAST32): Likewise.
6586 [C99-based-standards] (PRIoLEAST32): Likewise.
6587 [C99-based-standards] (PRIuLEAST32): Likewise.
6588 [C99-based-standards] (PRIxLEAST32): Likewise.
6589 [C99-based-standards] (PRIXLEAST32): Likewise.
6590 [C99-based-standards] (SCNdLEAST32): Likewise.
6591 [C99-based-standards] (SCNiLEAST32): Likewise.
6592 [C99-based-standards] (SCNoLEAST32): Likewise.
6593 [C99-based-standards] (SCNuLEAST32): Likewise.
6594 [C99-based-standards] (SCNxLEAST32): Likewise.
6595 [C99-based-standards] (PRIdFAST32): Likewise.
6596 [C99-based-standards] (PRIiFAST32): Likewise.
6597 [C99-based-standards] (PRIoFAST32): Likewise.
6598 [C99-based-standards] (PRIuFAST32): Likewise.
6599 [C99-based-standards] (PRIxFAST32): Likewise.
6600 [C99-based-standards] (PRIXFAST32): Likewise.
6601 [C99-based-standards] (SCNdFAST32): Likewise.
6602 [C99-based-standards] (SCNiFAST32): Likewise.
6603 [C99-based-standards] (SCNoFAST32): Likewise.
6604 [C99-based-standards] (SCNuFAST32): Likewise.
6605 [C99-based-standards] (SCNxFAST32): Likewise.
6606 [C99-based-standards] (PRId64): Likewise.
6607 [C99-based-standards] (PRIi64): Likewise.
6608 [C99-based-standards] (PRIo64): Likewise.
6609 [C99-based-standards] (PRIu64): Likewise.
6610 [C99-based-standards] (PRIx64): Likewise.
6611 [C99-based-standards] (PRIX64): Likewise.
6612 [C99-based-standards] (SCNd64): Likewise.
6613 [C99-based-standards] (SCNi64): Likewise.
6614 [C99-based-standards] (SCNo64): Likewise.
6615 [C99-based-standards] (SCNu64): Likewise.
6616 [C99-based-standards] (SCNx64): Likewise.
6617 [C99-based-standards] (PRIdLEAST64): Likewise.
6618 [C99-based-standards] (PRIiLEAST64): Likewise.
6619 [C99-based-standards] (PRIoLEAST64): Likewise.
6620 [C99-based-standards] (PRIuLEAST64): Likewise.
6621 [C99-based-standards] (PRIxLEAST64): Likewise.
6622 [C99-based-standards] (PRIXLEAST64): Likewise.
6623 [C99-based-standards] (SCNdLEAST64): Likewise.
6624 [C99-based-standards] (SCNiLEAST64): Likewise.
6625 [C99-based-standards] (SCNoLEAST64): Likewise.
6626 [C99-based-standards] (SCNuLEAST64): Likewise.
6627 [C99-based-standards] (SCNxLEAST64): Likewise.
6628 [C99-based-standards] (PRIdFAST64): Likewise.
6629 [C99-based-standards] (PRIiFAST64): Likewise.
6630 [C99-based-standards] (PRIoFAST64): Likewise.
6631 [C99-based-standards] (PRIuFAST64): Likewise.
6632 [C99-based-standards] (PRIxFAST64): Likewise.
6633 [C99-based-standards] (PRIXFAST64): Likewise.
6634 [C99-based-standards] (SCNdFAST64): Likewise.
6635 [C99-based-standards] (SCNiFAST64): Likewise.
6636 [C99-based-standards] (SCNoFAST64): Likewise.
6637 [C99-based-standards] (SCNuFAST64): Likewise.
6638 [C99-based-standards] (SCNxFAST64): Likewise.
6639 [C99-based-standards] (PRIdMAX): Likewise.
6640 [C99-based-standards] (PRIiMAX): Likewise.
6641 [C99-based-standards] (PRIoMAX): Likewise.
6642 [C99-based-standards] (PRIuMAX): Likewise.
6643 [C99-based-standards] (PRIxMAX): Likewise.
6644 [C99-based-standards] (PRIXMAX): Likewise.
6645 [C99-based-standards] (SCNdMAX): Likewise.
6646 [C99-based-standards] (SCNiMAX): Likewise.
6647 [C99-based-standards] (SCNoMAX): Likewise.
6648 [C99-based-standards] (SCNuMAX): Likewise.
6649 [C99-based-standards] (SCNxMAX): Likewise.
6650 [C99-based-standards] (PRIdPTR): Likewise.
6651 [C99-based-standards] (PRIiPTR): Likewise.
6652 [C99-based-standards] (PRIoPTR): Likewise.
6653 [C99-based-standards] (PRIuPTR): Likewise.
6654 [C99-based-standards] (PRIxPTR): Likewise.
6655 [C99-based-standards] (PRIXPTR): Likewise.
6656 [C99-based-standards] (SCNdPTR): Likewise.
6657 [C99-based-standards] (SCNiPTR): Likewise.
6658 [C99-based-standards] (SCNoPTR): Likewise.
6659 [C99-based-standards] (SCNuPTR): Likewise.
6660 [C99-based-standards] (SCNxPTR): Likewise.
6661 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
6663 * conform/data/stdint.h-data: Update comments to clarify
6665 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
6667 [C99-based standards] (INT8_MAX): Likewise.
6668 [C99-based standards] (INT16_MIN): Likewise.
6669 [C99-based standards] (INT16_MAX): Likewise.
6670 [C99-based standards] (INT32_MIN): Likewise.
6671 [C99-based standards] (INT32_MAX): Likewise.
6672 [C99-based standards] (INT64_MIN): Likewise.
6673 [C99-based standards] (INT64_MAX): Likewise.
6674 [C99-based standards] (UINT8_MAX): Likewise.
6675 [C99-based standards] (UINT16_MAX): Likewise.
6676 [C99-based standards] (UINT32_MAX): Likewise.
6677 [C99-based standards] (UINT64_MAX): Likewise.
6678 [C99-based standards] (INT_LEAST8_MIN): Likewise.
6679 [C99-based standards] (INT_LEAST8_MAX): Likewise.
6680 [C99-based standards] (INT_LEAST16_MIN): Likewise.
6681 [C99-based standards] (INT_LEAST16_MAX): Likewise.
6682 [C99-based standards] (INT_LEAST32_MIN): Likewise.
6683 [C99-based standards] (INT_LEAST32_MAX): Likewise.
6684 [C99-based standards] (INT_LEAST64_MIN): Likewise.
6685 [C99-based standards] (INT_LEAST64_MAX): Likewise.
6686 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
6687 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
6688 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
6689 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
6690 [C99-based standards] (INT_FAST8_MIN): Likewise.
6691 [C99-based standards] (INT_FAST8_MAX): Likewise.
6692 [C99-based standards] (INT_FAST16_MIN): Likewise.
6693 [C99-based standards] (INT_FAST16_MAX): Likewise.
6694 [C99-based standards] (INT_FAST32_MIN): Likewise.
6695 [C99-based standards] (INT_FAST32_MAX): Likewise.
6696 [C99-based standards] (INT_FAST64_MIN): Likewise.
6697 [C99-based standards] (INT_FAST64_MAX): Likewise.
6698 [C99-based standards] (UINT_FAST8_MAX): Likewise.
6699 [C99-based standards] (UINT_FAST16_MAX): Likewise.
6700 [C99-based standards] (UINT_FAST32_MAX): Likewise.
6701 [C99-based standards] (UINT_FAST64_MAX): Likewise.
6702 [C99-based standards] (INTPTR_MIN): Likewise.
6703 [C99-based standards] (INTPTR_MAX): Likewise.
6704 [C99-based standards] (UINTPTR_MAX): Likewise.
6705 [C99-based standards] (INTMAX_MIN): Likewise.
6706 [C99-based standards] (INTMAX_MAX): Likewise.
6707 [C99-based standards] (UINTMAX_MAX): Likewise.
6708 [C99-based standards] (PTRDIFF_MIN): Likewise.
6709 [C99-based standards] (PTRDIFF_MAX): Likewise.
6710 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
6711 [C99-based standards] (SIZE_MAX): Likewise.
6712 [C99-based standards] (WCHAR_MAX): Likewise.
6713 [C99-based standards] (WINT_MAX): Likewise.
6714 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
6715 constraint on value.
6716 [C99-based standards] (WCHAR_MIN): Likewise.
6717 [C99-based standards] (WINT_MIN): Likewise.
6718 [C99-based standards] (*_t): Allow.
6719 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
6720 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
6721 Include math.h-data and complex.h-data. Remove all expectations
6722 of math.h and complex.h contents.
6723 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
6725 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
6726 (struct tm): Expect tag.
6727 [C99-based-standards] (wcstof): Expect function.
6728 [C99-based-standards] (wcstold): Likewise.
6729 [C99-based-standards] (wcstoll): Likewise.
6730 [C99-based-standards] (wcstoull): Likewise.
6731 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
6732 macro-int-constant. Specify type.
6733 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
6734 constraint on value.
6735 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
6737 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
6739 [ISO C standards]: Do not allow headers.
6740 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
6741 wcs[abcdefghijklmnopqrstuvwxyz]*.
6742 [ISO C standards] (*_t): Do not allow.
6743 * conform/data/wctype.h-data [C99-based standards] (iswblank):
6745 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
6746 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
6748 [ISO C standards]: Do not allow headers.
6749 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
6750 is[abcdefghijklmnopqrstuvwxyz]*.
6751 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
6752 to[abcdefghijklmnopqrstuvwxyz]*.
6753 [ISO C standards] (*_t): Do not allow.
6754 * conform/data/stdalign.h-data: New file.
6755 * conform/data/stdbool.h-data: Likewise.
6756 * conform/data/stdnoreturn.h-data: Likewise.
6758 2012-11-07 Roland McGrath <roland@hack.frob.com>
6761 * manual/filesys.texi (Directory Entries): Typo fix.
6762 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
6764 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6766 * elf/elf.h (EM_AARCH64): New macro.
6767 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
6768 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
6769 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
6770 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
6771 (R_AARCH64_TLSDESC): Likewise.
6772 (NT_ARM_TLS): Likewise.
6773 (NT_ARM_HW_BREAK): Likewise.
6774 (NT_ARM_HW_WATCH): Likewise.
6776 2012-11-07 Joseph Myers <joseph@codesourcery.com>
6779 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
6780 (__ieee754_powl): Saturate nonzero exponents with absolute value
6781 below 0x1p-79 to +/- 0x1p-79.
6782 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
6783 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
6784 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
6785 nonzero exponents with absolute value below 0x1p-32 to +/-
6787 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
6788 (__ieee754_powl): Saturate nonzero exponents with absolute value
6789 below 0x1p-79 to +/- 0x1p-79.
6790 * math/libm-test.inc (pow_test): Add more tests.
6792 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6794 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
6795 _dl_s390_cap_flags with kernel. Increase string length.
6796 (_dl_s390_platforms): Add z196 and zEC12.
6798 2012-11-07 Joseph Myers <joseph@codesourcery.com>
6800 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
6801 Change XOPEN21K to XOPEN2K.
6803 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
6805 * string/memmove.c: Use memcpy when possible.
6807 2012-11-06 Andreas Jaeger <aj@suse.de>
6809 * po/eo.po: Update from translation team.
6811 2012-11-06 Joseph Myers <joseph@codesourcery.com>
6814 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
6815 exponent and small x and y exponents, scale x or y up. Increase
6816 by 2 the exponent used in scaling up.
6817 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6818 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6819 * math/libm-test.inc (fma_test): Add more tests.
6820 (fma_test_towardzero): Likewise.
6821 (fma_test_downward): Likewise.
6822 (fma_test_upward): Likewise.
6824 2012-11-05 Joseph Myers <joseph@codesourcery.com>
6827 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
6831 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
6832 namespace for names of struct fields.
6833 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
6835 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
6836 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
6838 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
6841 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
6843 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
6845 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
6849 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
6852 2012-11-04 Joseph Myers <joseph@codesourcery.com>
6855 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
6856 definitely overflow as x * y not x * y + z.
6857 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6858 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6859 * math/libm-test.inc (fma_test): Add more tests.
6860 (fma_test_towardzero): Likewise.
6861 (fma_test_downward): Likewise.
6862 (fma_test_upward): Likewise.
6864 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
6868 * include/stub-tag.h: Remove file.
6869 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
6871 * manual/maint.texi (Porting): Don't reference it.
6872 * Makerules ($(objpfx)stubs): Likewise.
6873 * dirent/closedir.c: Don't include <stub-tag.h>.
6874 * dirent/dirfd.c: Likewise.
6875 * dirent/fdopendir.c: Likewise.
6876 * dirent/getdents.c: Likewise.
6877 * dirent/getdents64.c: Likewise.
6878 * dirent/opendir.c: Likewise.
6879 * dirent/readdir.c: Likewise.
6880 * dirent/readdir64.c: Likewise.
6881 * dirent/readdir64_r.c: Likewise.
6882 * dirent/readdir_r.c: Likewise.
6883 * dirent/rewinddir.c: Likewise.
6884 * dirent/seekdir.c: Likewise.
6885 * dirent/telldir.c: Likewise.
6886 * gmon/profil.c: Likewise.
6887 * grp/setgroups.c: Likewise.
6888 * inet/if_index.c: Likewise.
6889 * io/access.c: Likewise.
6890 * io/chdir.c: Likewise.
6891 * io/chmod.c: Likewise.
6892 * io/chown.c: Likewise.
6893 * io/close.c: Likewise.
6894 * io/dup.c: Likewise.
6895 * io/dup2.c: Likewise.
6896 * io/dup3.c: Likewise.
6897 * io/euidaccess.c: Likewise.
6898 * io/faccessat.c: Likewise.
6899 * io/fchdir.c: Likewise.
6900 * io/fchmod.c: Likewise.
6901 * io/fchmodat.c: Likewise.
6902 * io/fchown.c: Likewise.
6903 * io/fchownat.c: Likewise.
6904 * io/fcntl.c: Likewise.
6905 * io/flock.c: Likewise.
6906 * io/fstatfs.c: Likewise.
6907 * io/fstatfs64.c: Likewise.
6908 * io/fstatvfs.c: Likewise.
6909 * io/fstatvfs64.c: Likewise.
6910 * io/futimens.c: Likewise.
6911 * io/fxstat.c: Likewise.
6912 * io/fxstat64.c: Likewise.
6913 * io/fxstatat.c: Likewise.
6914 * io/fxstatat64.c: Likewise.
6915 * io/getcwd.c: Likewise.
6916 * io/isatty.c: Likewise.
6917 * io/lchmod.c: Likewise.
6918 * io/lchown.c: Likewise.
6919 * io/link.c: Likewise.
6920 * io/linkat.c: Likewise.
6921 * io/lseek.c: Likewise.
6922 * io/lseek64.c: Likewise.
6923 * io/lxstat64.c: Likewise.
6924 * io/mkdir.c: Likewise.
6925 * io/mkdirat.c: Likewise.
6926 * io/mkfifo.c: Likewise.
6927 * io/mkfifoat.c: Likewise.
6928 * io/open.c: Likewise.
6929 * io/open64.c: Likewise.
6930 * io/openat.c: Likewise.
6931 * io/openat64.c: Likewise.
6932 * io/pipe.c: Likewise.
6933 * io/pipe2.c: Likewise.
6934 * io/poll.c: Likewise.
6935 * io/posix_fadvise.c: Likewise.
6936 * io/posix_fadvise64.c: Likewise.
6937 * io/posix_fallocate.c: Likewise.
6938 * io/posix_fallocate64.c: Likewise.
6939 * io/read.c: Likewise.
6940 * io/readlink.c: Likewise.
6941 * io/readlinkat.c: Likewise.
6942 * io/rmdir.c: Likewise.
6943 * io/sendfile.c: Likewise.
6944 * io/sendfile64.c: Likewise.
6945 * io/statfs.c: Likewise.
6946 * io/statfs64.c: Likewise.
6947 * io/statvfs.c: Likewise.
6948 * io/statvfs64.c: Likewise.
6949 * io/symlink.c: Likewise.
6950 * io/symlinkat.c: Likewise.
6951 * io/ttyname.c: Likewise.
6952 * io/ttyname_r.c: Likewise.
6953 * io/umask.c: Likewise.
6954 * io/unlink.c: Likewise.
6955 * io/unlinkat.c: Likewise.
6956 * io/utime.c: Likewise.
6957 * io/utimensat.c: Likewise.
6958 * io/write.c: Likewise.
6959 * io/xmknod.c: Likewise.
6960 * io/xmknodat.c: Likewise.
6961 * io/xstat.c: Likewise.
6962 * io/xstat64.c: Likewise.
6963 * login/getpt.c: Likewise.
6964 * login/grantpt.c: Likewise.
6965 * login/unlockpt.c: Likewise.
6966 * math/e_acoshl.c: Likewise.
6967 * math/e_acosl.c: Likewise.
6968 * math/e_asinl.c: Likewise.
6969 * math/e_atan2l.c: Likewise.
6970 * math/e_atanhl.c: Likewise.
6971 * math/e_coshl.c: Likewise.
6972 * math/e_expl.c: Likewise.
6973 * math/e_fmodl.c: Likewise.
6974 * math/e_gammal_r.c: Likewise.
6975 * math/e_hypotl.c: Likewise.
6976 * math/e_j0l.c: Likewise.
6977 * math/e_j1l.c: Likewise.
6978 * math/e_jnl.c: Likewise.
6979 * math/e_lgammal_r.c: Likewise.
6980 * math/e_log10l.c: Likewise.
6981 * math/e_log2l.c: Likewise.
6982 * math/e_logl.c: Likewise.
6983 * math/e_powl.c: Likewise.
6984 * math/e_rem_pio2l.c: Likewise.
6985 * math/e_sinhl.c: Likewise.
6986 * math/e_sqrtl.c: Likewise.
6987 * math/fclrexcpt.c: Likewise.
6988 * math/fedisblxcpt.c: Likewise.
6989 * math/feenablxcpt.c: Likewise.
6990 * math/fegetenv.c: Likewise.
6991 * math/fegetexcept.c: Likewise.
6992 * math/fegetround.c: Likewise.
6993 * math/feholdexcpt.c: Likewise.
6994 * math/fesetenv.c: Likewise.
6995 * math/fesetround.c: Likewise.
6996 * math/feupdateenv.c: Likewise.
6997 * math/fgetexcptflg.c: Likewise.
6998 * math/fraiseexcpt.c: Likewise.
6999 * math/fsetexcptflg.c: Likewise.
7000 * math/ftestexcept.c: Likewise.
7001 * math/k_cosl.c: Likewise.
7002 * math/k_rem_pio2l.c: Likewise.
7003 * math/k_sinl.c: Likewise.
7004 * math/k_tanl.c: Likewise.
7005 * math/s_asinhl.c: Likewise.
7006 * math/s_atanl.c: Likewise.
7007 * math/s_cbrtl.c: Likewise.
7008 * math/s_erfl.c: Likewise.
7009 * math/s_expm1l.c: Likewise.
7010 * math/s_log1pl.c: Likewise.
7011 * math/s_tanhl.c: Likewise.
7012 * misc/acct.c: Likewise.
7013 * misc/brk.c: Likewise.
7014 * misc/chflags.c: Likewise.
7015 * misc/chroot.c: Likewise.
7016 * misc/fchflags.c: Likewise.
7017 * misc/fgetxattr.c: Likewise.
7018 * misc/flistxattr.c: Likewise.
7019 * misc/fremovexattr.c: Likewise.
7020 * misc/fsetxattr.c: Likewise.
7021 * misc/fsync.c: Likewise.
7022 * misc/ftruncate.c: Likewise.
7023 * misc/futimes.c: Likewise.
7024 * misc/futimesat.c: Likewise.
7025 * misc/getdomain.c: Likewise.
7026 * misc/getdtsz.c: Likewise.
7027 * misc/gethostid.c: Likewise.
7028 * misc/gethostname.c: Likewise.
7029 * misc/getloadavg.c: Likewise.
7030 * misc/getpagesize.c: Likewise.
7031 * misc/getsysstats.c: Likewise.
7032 * misc/getxattr.c: Likewise.
7033 * misc/gtty.c: Likewise.
7034 * misc/ioctl.c: Likewise.
7035 * misc/lgetxattr.c: Likewise.
7036 * misc/listxattr.c: Likewise.
7037 * misc/llistxattr.c: Likewise.
7038 * misc/lremovexattr.c: Likewise.
7039 * misc/lsetxattr.c: Likewise.
7040 * misc/lutimes.c: Likewise.
7041 * misc/madvise.c: Likewise.
7042 * misc/mincore.c: Likewise.
7043 * misc/mlock.c: Likewise.
7044 * misc/mlockall.c: Likewise.
7045 * misc/mmap.c: Likewise.
7046 * misc/mprotect.c: Likewise.
7047 * misc/msync.c: Likewise.
7048 * misc/munlock.c: Likewise.
7049 * misc/munlockall.c: Likewise.
7050 * misc/munmap.c: Likewise.
7051 * misc/preadv.c: Likewise.
7052 * misc/preadv64.c: Likewise.
7053 * misc/ptrace.c: Likewise.
7054 * misc/pwritev.c: Likewise.
7055 * misc/pwritev64.c: Likewise.
7056 * misc/readv.c: Likewise.
7057 * misc/reboot.c: Likewise.
7058 * misc/remap_file_pages.c: Likewise.
7059 * misc/removexattr.c: Likewise.
7060 * misc/revoke.c: Likewise.
7061 * misc/select.c: Likewise.
7062 * misc/setdomain.c: Likewise.
7063 * misc/setegid.c: Likewise.
7064 * misc/seteuid.c: Likewise.
7065 * misc/sethostid.c: Likewise.
7066 * misc/sethostname.c: Likewise.
7067 * misc/setregid.c: Likewise.
7068 * misc/setreuid.c: Likewise.
7069 * misc/setxattr.c: Likewise.
7070 * misc/sstk.c: Likewise.
7071 * misc/stty.c: Likewise.
7072 * misc/swapoff.c: Likewise.
7073 * misc/swapon.c: Likewise.
7074 * misc/sync.c: Likewise.
7075 * misc/syncfs.c: Likewise.
7076 * misc/syscall.c: Likewise.
7077 * misc/truncate.c: Likewise.
7078 * misc/ualarm.c: Likewise.
7079 * misc/usleep.c: Likewise.
7080 * misc/ustat.c: Likewise.
7081 * misc/utimes.c: Likewise.
7082 * misc/vhangup.c: Likewise.
7083 * misc/writev.c: Likewise.
7084 * posix/_exit.c: Likewise.
7085 * posix/alarm.c: Likewise.
7086 * posix/execve.c: Likewise.
7087 * posix/fexecve.c: Likewise.
7088 * posix/fork.c: Likewise.
7089 * posix/fpathconf.c: Likewise.
7090 * posix/getaddrinfo.c: Likewise.
7091 * posix/getegid.c: Likewise.
7092 * posix/geteuid.c: Likewise.
7093 * posix/getgid.c: Likewise.
7094 * posix/getgroups.c: Likewise.
7095 * posix/getlogin.c: Likewise.
7096 * posix/getlogin_r.c: Likewise.
7097 * posix/getpgid.c: Likewise.
7098 * posix/getpid.c: Likewise.
7099 * posix/getppid.c: Likewise.
7100 * posix/getresgid.c: Likewise.
7101 * posix/getresuid.c: Likewise.
7102 * posix/getsid.c: Likewise.
7103 * posix/getuid.c: Likewise.
7104 * posix/glob64.c: Likewise.
7105 * posix/nanosleep.c: Likewise.
7106 * posix/pathconf.c: Likewise.
7107 * posix/pause.c: Likewise.
7108 * posix/posix_madvise.c: Likewise.
7109 * posix/pread.c: Likewise.
7110 * posix/pread64.c: Likewise.
7111 * posix/pwrite.c: Likewise.
7112 * posix/pwrite64.c: Likewise.
7113 * posix/sched_getaffinity.c: Likewise.
7114 * posix/sched_getp.c: Likewise.
7115 * posix/sched_gets.c: Likewise.
7116 * posix/sched_primax.c: Likewise.
7117 * posix/sched_primin.c: Likewise.
7118 * posix/sched_rr_gi.c: Likewise.
7119 * posix/sched_setaffinity.c: Likewise.
7120 * posix/sched_setp.c: Likewise.
7121 * posix/sched_sets.c: Likewise.
7122 * posix/sched_yield.c: Likewise.
7123 * posix/setgid.c: Likewise.
7124 * posix/setlogin.c: Likewise.
7125 * posix/setpgid.c: Likewise.
7126 * posix/setresgid.c: Likewise.
7127 * posix/setresuid.c: Likewise.
7128 * posix/setsid.c: Likewise.
7129 * posix/setuid.c: Likewise.
7130 * posix/sleep.c: Likewise.
7131 * posix/spawni.c: Likewise.
7132 * posix/sysconf.c: Likewise.
7133 * posix/times.c: Likewise.
7134 * posix/wait.c: Likewise.
7135 * posix/wait3.c: Likewise.
7136 * posix/wait4.c: Likewise.
7137 * posix/waitpid.c: Likewise.
7138 * resolv/gai_sigqueue.c: Likewise.
7139 * resource/getpriority.c: Likewise.
7140 * resource/getrlimit.c: Likewise.
7141 * resource/getrusage.c: Likewise.
7142 * resource/nice.c: Likewise.
7143 * resource/setpriority.c: Likewise.
7144 * resource/setrlimit.c: Likewise.
7145 * resource/ulimit.c: Likewise.
7146 * rt/aio_cancel.c: Likewise.
7147 * rt/aio_fsync.c: Likewise.
7148 * rt/aio_read.c: Likewise.
7149 * rt/aio_sigqueue.c: Likewise.
7150 * rt/aio_suspend.c: Likewise.
7151 * rt/aio_write.c: Likewise.
7152 * rt/clock_getres.c: Likewise.
7153 * rt/clock_gettime.c: Likewise.
7154 * rt/clock_nanosleep.c: Likewise.
7155 * rt/clock_settime.c: Likewise.
7156 * rt/lio_listio.c: Likewise.
7157 * rt/mq_close.c: Likewise.
7158 * rt/mq_getattr.c: Likewise.
7159 * rt/mq_notify.c: Likewise.
7160 * rt/mq_open.c: Likewise.
7161 * rt/mq_receive.c: Likewise.
7162 * rt/mq_send.c: Likewise.
7163 * rt/mq_setattr.c: Likewise.
7164 * rt/mq_timedreceive.c: Likewise.
7165 * rt/mq_timedsend.c: Likewise.
7166 * rt/mq_unlink.c: Likewise.
7167 * rt/shm_open.c: Likewise.
7168 * rt/shm_unlink.c: Likewise.
7169 * rt/timer_create.c: Likewise.
7170 * rt/timer_delete.c: Likewise.
7171 * rt/timer_getoverr.c: Likewise.
7172 * rt/timer_gettime.c: Likewise.
7173 * rt/timer_settime.c: Likewise.
7174 * setjmp/__longjmp.c: Likewise.
7175 * setjmp/setjmp.c: Likewise.
7176 * signal/kill.c: Likewise.
7177 * signal/killpg.c: Likewise.
7178 * signal/raise.c: Likewise.
7179 * signal/sigaction.c: Likewise.
7180 * signal/sigaltstack.c: Likewise.
7181 * signal/sigblock.c: Likewise.
7182 * signal/sigignore.c: Likewise.
7183 * signal/sigintr.c: Likewise.
7184 * signal/signal.c: Likewise.
7185 * signal/sigpause.c: Likewise.
7186 * signal/sigpending.c: Likewise.
7187 * signal/sigqueue.c: Likewise.
7188 * signal/sigreturn.c: Likewise.
7189 * signal/sigset.c: Likewise.
7190 * signal/sigsetmask.c: Likewise.
7191 * signal/sigstack.c: Likewise.
7192 * signal/sigsuspend.c: Likewise.
7193 * signal/sigtimedwait.c: Likewise.
7194 * signal/sigvec.c: Likewise.
7195 * signal/sigwait.c: Likewise.
7196 * signal/sigwaitinfo.c: Likewise.
7197 * signal/sysv_signal.c: Likewise.
7198 * socket/accept.c: Likewise.
7199 * socket/accept4.c: Likewise.
7200 * socket/bind.c: Likewise.
7201 * socket/connect.c: Likewise.
7202 * socket/getpeername.c: Likewise.
7203 * socket/getsockname.c: Likewise.
7204 * socket/getsockopt.c: Likewise.
7205 * socket/isfdtype.c: Likewise.
7206 * socket/listen.c: Likewise.
7207 * socket/recv.c: Likewise.
7208 * socket/recvfrom.c: Likewise.
7209 * socket/recvmsg.c: Likewise.
7210 * socket/send.c: Likewise.
7211 * socket/sendmsg.c: Likewise.
7212 * socket/sendto.c: Likewise.
7213 * socket/setsockopt.c: Likewise.
7214 * socket/shutdown.c: Likewise.
7215 * socket/sockatmark.c: Likewise.
7216 * socket/socket.c: Likewise.
7217 * socket/socketpair.c: Likewise.
7218 * stdio-common/ctermid.c: Likewise.
7219 * stdio-common/cuserid.c: Likewise.
7220 * stdio-common/remove.c: Likewise.
7221 * stdio-common/rename.c: Likewise.
7222 * stdio-common/renameat.c: Likewise.
7223 * stdio-common/tempname.c: Likewise.
7224 * stdlib/getcontext.c: Likewise.
7225 * stdlib/makecontext.c: Likewise.
7226 * stdlib/setcontext.c: Likewise.
7227 * stdlib/swapcontext.c: Likewise.
7228 * stdlib/system.c: Likewise.
7229 * streams/fattach.c: Likewise.
7230 * streams/fdetach.c: Likewise.
7231 * streams/getmsg.c: Likewise.
7232 * streams/getpmsg.c: Likewise.
7233 * streams/putmsg.c: Likewise.
7234 * streams/putpmsg.c: Likewise.
7235 * sysdeps/unix/bsd/getpt.c: Likewise.
7236 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
7237 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
7238 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
7239 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
7241 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
7242 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
7243 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
7244 * sysvipc/msgctl.c: Likewise.
7245 * sysvipc/msgget.c: Likewise.
7246 * sysvipc/msgrcv.c: Likewise.
7247 * sysvipc/msgsnd.c: Likewise.
7248 * sysvipc/semctl.c: Likewise.
7249 * sysvipc/semget.c: Likewise.
7250 * sysvipc/semop.c: Likewise.
7251 * sysvipc/semtimedop.c: Likewise.
7252 * sysvipc/shmat.c: Likewise.
7253 * sysvipc/shmctl.c: Likewise.
7254 * sysvipc/shmdt.c: Likewise.
7255 * sysvipc/shmget.c: Likewise.
7256 * termios/tcdrain.c: Likewise.
7257 * termios/tcflow.c: Likewise.
7258 * termios/tcflush.c: Likewise.
7259 * termios/tcgetattr.c: Likewise.
7260 * termios/tcgetpgrp.c: Likewise.
7261 * termios/tcsendbrk.c: Likewise.
7262 * termios/tcsetattr.c: Likewise.
7263 * termios/tcsetpgrp.c: Likewise.
7264 * time/adjtime.c: Likewise.
7265 * time/clock.c: Likewise.
7266 * time/getitimer.c: Likewise.
7267 * time/gettimeofday.c: Likewise.
7268 * time/setitimer.c: Likewise.
7269 * time/settimeofday.c: Likewise.
7270 * time/stime.c: Likewise.
7271 * time/time.c: Likewise.
7273 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
7275 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
7278 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
7280 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
7282 2012-11-03 Joseph Myers <joseph@codesourcery.com>
7285 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
7286 FE_TONEAREST before applying Dekker multiplication and Knuth
7287 addition. Clear inexact exceptions and check for exact zero
7289 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7290 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
7291 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7292 * math/libm-test.inc (fma_test): Add more tests.
7293 (fma_test_towardzero): Likewise.
7294 (fma_test_downward): Likewise.
7295 (fma_test_upward): Likewise.
7296 * sysdeps/generic/math_private.h (default_libc_fesetround): New
7298 (libc_fesetround): New macro.
7299 (libc_fesetroundf): Likewise.
7300 (libc_fesetroundl): Likewise.
7301 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
7303 (libc_fesetround_387): Likewise.
7304 (libc_fesetroundf): New macro.
7305 (libc_fesetround): Likewise.
7306 (libc_fesetroundl): Likewise.
7307 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
7309 (libc_fesetroundf): New macro.
7310 (libc_fesetround): Likewise.
7311 (libc_fesetroundl): Likewise.
7312 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
7313 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
7314 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
7316 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
7317 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
7319 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
7320 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
7322 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
7326 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
7327 integer constant usable in #if and use that to give value to enum
7329 (FE_DIVBYZERO): Likewise.
7330 (FE_UNDERFLOW): Likewise.
7331 (FE_OVERFLOW): Likewise.
7332 (FE_INVALID): Likewise.
7333 (FE_INVALID_SNAN): Likewise.
7334 (FE_INVALID_ISI): Likewise.
7335 (FE_INVALID_IDI): Likewise.
7336 (FE_INVALID_ZDZ): Likewise.
7337 (FE_INVALID_IMZ): Likewise.
7338 (FE_INVALID_COMPARE): Likewise.
7339 (FE_INVALID_SOFTWARE): Likewise.
7340 (FE_INVALID_SQRT): Likewise.
7341 (FE_INVALID_INTEGER_CONVERSION): Likewise.
7342 (FE_TONEAREST): Likewise.
7343 (FE_TOWARDZERO): Likewise.
7344 (FE_UPWARD): Likewise.
7345 (FE_DOWNWARD): Likewise.
7346 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
7347 (FE_DIVBYZERO): Likewise.
7348 (FE_OVERFLOW): Likewise.
7349 (FE_UNDERFLOW): Likewise.
7350 (FE_INEXACT): Likewise.
7351 (FE_TONEAREST): Likewise.
7352 (FE_DOWNWARD): Likewise.
7353 (FE_UPWARD): Likewise.
7354 (FE_TOWARDZERO): Likewise.
7355 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
7356 (FE_UNDERFLOW): Likewise.
7357 (FE_OVERFLOW): Likewise.
7358 (FE_DIVBYZERO): Likewise.
7359 (FE_INVALID): Likewise.
7360 (FE_TONEAREST): Likewise.
7361 (FE_TOWARDZERO): Likewise.
7362 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
7363 (FE_OVERFLOW): Likewise.
7364 (FE_UNDERFLOW): Likewise.
7365 (FE_DIVBYZERO): Likewise.
7366 (FE_INEXACT): Likewise.
7367 (FE_TONEAREST): Likewise.
7368 (FE_TOWARDZERO): Likewise.
7369 (FE_UPWARD): Likewise.
7370 (FE_DOWNWARD): Likewise.
7371 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
7372 (FE_DIVBYZERO): Likewise.
7373 (FE_OVERFLOW): Likewise.
7374 (FE_UNDERFLOW): Likewise.
7375 (FE_INEXACT): Likewise.
7376 (FE_TONEAREST): Likewise.
7377 (FE_DOWNWARD): Likewise.
7378 (FE_UPWARD): Likewise.
7379 (FE_TOWARDZERO): Likewise.
7381 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
7383 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
7385 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
7387 * scripts/cross-test-ssh.sh (command): Use newlines to separate
7388 commands. Quote $PWD.
7389 (blacklist_exports): Don't use remove_newlines. Replace "declare
7391 (remove_newlines): Remove.
7393 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
7395 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
7396 * stdlib/stdlib.h (atof): Moved to ...
7397 * include/bits/stdlib-float.h: Here. New file.
7398 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
7399 * stdlib/bits/stdlib-float.h: New file.
7400 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
7402 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
7405 2012-11-02 Joseph Myers <joseph@codesourcery.com>
7407 * conform/conformtest.pl (@headers): Add fenv.h.
7408 * conform/data/fenv.h-data: New file.
7409 * include/fenv.h [_ISOMAC]: Disable all contents of file except
7410 include of <math/fenv.h>.
7412 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
7413 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
7414 && !UNIX98]. Enables tests for XOPEN2K8.
7415 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
7416 POSIX2008]: Likewise.
7418 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
7419 (struct rusage): Do not expect type or its members.
7422 * math/math.h (FP_NAN): Define macro to integer constant usable in
7423 #if and use that to give value to enum constant.
7424 (FP_INFINITE): Likewise.
7425 (FP_ZERO): Likewise.
7426 (FP_SUBNORMAL): Likewise.
7427 (FP_NORMAL): Likewise.
7429 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
7431 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
7432 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
7435 2012-11-02 Roland McGrath <roland@hack.frob.com>
7437 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
7438 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
7439 autoconf-time if not.
7440 * configure.in: Remove AC_PREREQ.
7442 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7444 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
7445 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
7446 of the internal implementation.
7448 2012-11-02 Joseph Myers <joseph@codesourcery.com>
7450 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
7451 except include of <misc/sys/syslog.h>.
7453 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
7455 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
7456 function returns with a NULL context exit with zero.
7458 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7460 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
7462 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
7464 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
7465 (run_program_cmd): This.
7466 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
7467 (tst_langinfo): New variable. Use it.
7469 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
7471 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
7472 floating point opcodes.
7474 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
7476 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
7479 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
7481 * sysdeps/mach/hurd/powerpc: Remove directory.
7482 * sysdeps/mach/powerpc: Likewise.
7484 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
7486 * scripts/check-local-headers.sh: Ignore c++ headers.
7488 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
7490 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
7491 __libc_cleanup_region_start argument.
7493 2012-11-01 Joseph Myers <joseph@codesourcery.com>
7497 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
7498 x * y using scaling, not as x * y + z.
7499 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7500 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7501 * math/libm-test.inc (fma_test): Add more tests.
7502 (fma_test_towardzero): Likewise.
7503 (fma_test_downward): Likewise.
7504 (fma_test_upward): Likewise.
7506 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
7508 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
7510 2012-10-31 Joseph Myers <joseph@codesourcery.com>
7512 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
7515 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
7517 * rt/tst-shm.c (worker): Correct checking for mmap failure.
7519 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
7521 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7526 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7528 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7529 Fix the order of the list for glibc 2.17.
7530 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7533 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
7535 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7537 2012-10-31 Joseph Myers <joseph@codesourcery.com>
7540 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
7541 for low part of x being zero before using __atanl (y).
7542 * math/libm-test.inc (atan2_test): Add another test.
7544 * manual/install.texi (Configuring and compiling): Document
7545 general use of test-wrapper and test-wrapper-env.
7546 * INSTALL: Regenerated.
7548 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
7549 (__fma): Do not extract and scale down low bits on after-rounding
7550 systems when result rounded to normal precision would have normal
7552 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
7553 (__fmal): Do not extract and scale down low bits on after-rounding
7554 systems when result rounded to normal precision would have normal
7556 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
7557 (__fmal): Do not extract and scale down low bits on after-rounding
7558 systems when result rounded to normal precision would have normal
7560 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
7562 (fma_test): Add more tests.
7563 (fma_test_towardzero): Likewise.
7564 (fma_test_downward): Likewise.
7565 (fma_test_upward): Likewise.
7567 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
7569 * sysdeps/i386/tininess.h: Renamed to ...
7570 * sysdeps/x86/tininess.h: This.
7571 * sysdeps/x86_64/tininess.h: Removed.
7573 2012-10-30 Joseph Myers <joseph@codesourcery.com>
7575 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
7576 input. Use $(build-program-cmd).
7577 ($(objpfx)tst-array1-static.out): Likewise.
7578 ($(objpfx)tst-array2.out): Likewise.
7579 ($(objpfx)tst-array3.out): Likewise.
7580 ($(objpfx)tst-array4.out): Likewise.
7581 ($(objpfx)tst-array5.out): Likewise.
7582 ($(objpfx)tst-array5-static.out): Likewise.
7584 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
7586 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
7589 * nss/nsswitch.h (nss_interface_function): Provide new
7590 macro for use with NSS functions.
7591 * grp/initgroups.c: Use new macro.
7592 * nss/getXXbyYY.c: Likewise.
7593 * nss/getXXbyYY_r.c: Likewise.
7594 * nss/getXXent.c: Likewise.
7595 * nss/getXXent_r.c: Likewise.
7596 * sysdeps/posix/getaddrinfo.c: Likewise.
7598 2012-10-30 Andreas Jaeger <aj@suse.de>
7600 * po/ru.po: Update Russion translation from translation project.
7602 2012-10-30 Joseph Myers <joseph@codesourcery.com>
7606 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
7607 result and shift together with sticky bit instead of replicating
7608 round-to-nearest rounding.
7609 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7610 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7611 * math/libm-test.inc (fma_test): Add more tests. Do not permit
7612 missing underflow exceptions.
7613 (fma_test_towardzero): Add more tests.
7614 (fma_test_downward): Likewise.
7615 (fma_test_upward): Likewise.
7618 * sysdeps/generic/tininess.h: New file.
7619 * sysdeps/i386/tininess.h: Likewise.
7620 * sysdeps/sh/tininess.h: Likewise.
7621 * sysdeps/x86_64/tininess.h: Likewise.
7622 * stdlib/tst-strtod-underflow.c: Likewise.
7623 * stdlib/tst-tininess.c: Likewise.
7624 * stdlib/strtod_l.c: Include <tininess.h>.
7625 (round_and_return): Do not set errno for exact underflow cases.
7626 Force an underflow exception when setting errno for underflow.
7627 Determine underflow based on rounding to normal precision if
7628 TININESS_AFTER_ROUNDING.
7629 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
7630 ERANGE for exact underflow cases.
7631 * stdlib/Makefile (tests): Add tst-tininess and
7632 tst-strtod-underflow.
7633 ($(objpfx)tst-tininess): Use $(link-libm).
7634 ($(objpfx)tst-strtod-underflow): Likewise.
7636 2012-10-30 Andreas Jaeger <aj@suse.de>
7639 * elf/Makefile (tests): Remove conditional for have-initfini-array
7640 since this is now always required and the variable does not exist
7642 (tests-static): Likewise.
7643 (modules-names): Likewise.
7645 * po/eo.po: Add Esperanto translation from translation project.
7647 * elf/tst-array1.c (fini_array): Make writeable so that it can be
7648 merged with constructor/destructor.
7649 (init_array): Likewise.
7650 * elf/tst-array2dep.c (fini_array): Likewise.
7651 (init_array): Likewise.
7653 2012-10-29 Mike Frysinger <vapier@gentoo.org>
7655 * manual/message.texi: Delete @cartouche tags.
7657 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
7659 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
7661 * sysdeps/mach/hurd/fsync.c: Likewise.
7663 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
7664 [_POSIX_REALTIME_SIGNALS]: Change condition to
7665 [_POSIX_REALTIME_SIGNALS > 0].
7667 2012-10-27 Andreas Jaeger <aj@suse.de>
7669 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
7670 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
7671 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
7672 [__WORDSIZE != 64]: Likewise.
7674 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
7676 * iconvdata/tst-table.sh: Remove ${SHELL}.
7677 * iconvdata/tst-tables.sh: Likewise.
7679 2012-10-25 David S. Miller <davem@davemloft.net>
7681 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7682 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
7685 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
7687 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
7688 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
7689 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
7692 2012-10-25 Roland McGrath <roland@hack.frob.com>
7694 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7695 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
7698 2012-10-25 Joseph Myers <joseph@codesourcery.com>
7699 Jim Blandy <jimb@codesourcery.com>
7701 * scripts/cross-test-ssh.sh: New file.
7702 * manual/install.texi (Configuring and compiling): Document use of
7704 * INSTALL: Regenerated.
7706 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
7708 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
7711 2012-10-25 Joseph Myers <joseph@codesourcery.com>
7713 * Makeconfig (run-program-prefix): Fix comment.
7715 2012-10-24 Joseph Myers <joseph@codesourcery.com>
7716 Jim Blandy <jimb@codesourcery.com>
7718 * Makeconfig (test-wrapper): New variable,
7719 (test-wrapper-env): Likewise.
7720 [$(cross-compiling) = yes && $(test-wrapper) != ""]
7721 (run-built-tests): Define to yes.
7722 (run-program-prefix): Use $(test-wrapper).
7723 (built-program-cmd): Likewise.
7724 * Rules (make-test-out): Use $(test-wrapper-env) and
7725 $(host-built-program-cmd).
7726 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
7727 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
7729 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
7730 $(test-wrapper-env) to tst-rtld-load-self.sh.
7731 ($(objpfx)order2.out): Use $(test-wrapper).
7732 ($(objpfx)tst-initorder.out): Likewise.
7733 ($(objpfx)tst-initorder2.out): Likewise.
7734 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
7735 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
7736 (test_wrapper_env): New variable. Use it to run ld.so.
7737 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
7738 Use it to run ld.so.
7739 (test_wrapper_env): Likewise.
7740 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
7741 $(test-wrapper) to run-iconv-test.sh.
7742 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
7743 (ICONV): Use $test_wrapper.
7744 * posix/Makefile ($(objpfx)globtest.out): Pass
7745 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
7746 globtest.sh, not $(run-program-prefix).
7747 * posix/globtest.sh (run_via_rtld_prefix): New variable.
7748 (test_wrapper): Likewise.
7749 (test_wrapper_env): Likewise. Use it to run globtest with HOME
7750 set together with run_via_rtld_prefix.
7751 (run_program_prefix): Define in terms of test_wrapper and
7752 run_via_rtld_prefix.
7754 2012-10-24 Roland McGrath <roland@hack.frob.com>
7756 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
7757 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
7761 * include/time.h: Remove librt_hidden_proto (clock_gettime).
7762 Declare __clock_getres, __clock_gettime, __clock_settime,
7763 __clock_nanosleep, and __clock_getcpuclockid.
7764 * rt/clock_gettime.c: Define __clock_gettime as an alias.
7765 Remove librt_hidden_def (clock_gettime).
7766 * sysdeps/unix/clock_gettime.c: Likewise.
7767 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
7768 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
7769 * rt/clock_getres.c: Define __clock_getres as an alias.
7770 * sysdeps/posix/clock_getres.c: Likewise.
7771 * rt/clock_settime.c: Define __clock_settime as an alias.
7772 * sysdeps/unix/clock_settime.c: Likewise.
7773 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
7774 * sysdeps/unix/clock_nanosleep.c: Likewise.
7775 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
7776 * rt/clock-compat.c: New file.
7777 * rt/Makefile (librt-routines): Add clock-compat and move
7778 $(clock-routines) to ...
7779 (routines): ... here, new variable.
7780 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
7781 Don't add get_clockfreq here.
7782 * rt/Versions (libc: GLIBC_2.17): New version set.
7783 Add clock_* symbols here.
7784 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
7785 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
7786 (GLIBC_2.17): Add clock_* symbols.
7787 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
7788 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
7789 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
7790 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7792 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7794 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
7795 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
7796 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
7797 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
7798 * NEWS: Mention the move.
7800 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
7801 Use __open, __read, __close rather than their public counterparts.
7802 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7803 (__get_clockfreq_via_cpuinfo): Likewise.
7804 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
7805 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
7807 * config.h.in (HAVE_IFUNC): New #undef.
7808 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
7810 * configure: Regenerated.
7812 2012-10-24 Mike Frysinger <vapier@gentoo.org>
7814 * configure.in: Move READELF check to start of file.
7815 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
7816 libc_cv_asm_gnu_indirect_function in the process.
7817 * configure: Regenerated.
7819 2012-10-24 Mike Frysinger <vapier@gentoo.org>
7821 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
7822 send the output to /dev/null.
7823 (libc_cv_cc_with_libunwind): Likewise.
7824 (libc_cv_as_noexecstack): Likewise.
7825 * configure: Regenerate.
7827 2012-10-24 Joseph Myers <joseph@codesourcery.com>
7829 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
7831 * posix/globtest.sh (TMPDIR): Do not set.
7832 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
7833 (testout): Likewise.
7835 2012-10-24 Andreas Jaeger <aj@suse.de>
7837 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
7838 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
7839 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
7840 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
7841 posix_fadvise64, posix_fallocate64.
7843 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
7844 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
7845 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
7847 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
7849 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
7851 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
7852 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
7853 <bits/fcntl-linux.h>.
7854 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
7856 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
7857 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
7858 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
7859 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
7860 [__WORDSIZE != 64]: Likewise.
7862 2012-10-23 Joseph Myers <joseph@codesourcery.com>
7864 * Makeconfig (run-built-tests): New variable.
7865 * Rules [$(cross-compiling) = yes]: Change condition to
7866 [$(run-built-tests) = no].
7867 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
7868 to [$(run-built-tests) = yes].
7869 * elf/Makefile [$(cross-compiling) = no]: Likewise
7870 * grp/Makefile [$(cross-compiling) = no]: Likewise.
7871 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
7872 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
7873 * intl/Makefile [$(cross-compiling) = no]: Likewise.
7874 * io/Makefile [$(cross-compiling) = no]: Likewise.
7875 * libio/Makefile [$(cross-compiling) = no]: Likewise.
7876 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
7877 * misc/Makefile [$(cross-compiling) = no]: Likewise.
7878 * posix/Makefile [$(cross-compiling) = no]: Likewise.
7879 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
7880 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
7881 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
7882 * string/Makefile [$(cross-compiling) = no]: Likewise.
7884 * posix/Makefile ($(objpfx)globtest.out): Pass
7885 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
7886 $(rtld-installed-name).
7887 * posix/globtest.sh (elf_objpfx): Remove variable.
7888 (rtld_installed_name): Likewise.
7889 (library_path): Likewise.
7890 (run_program_prefix): New variable. Use for running globtest
7893 2012-10-23 Jim Blandy <jimb@codesourcery.com>
7894 Joseph Myers <joseph@codesourcery.com>
7896 * Makeconfig (host-built-program-cmd): New variable.
7897 * elf/Makefile (tst-stackguard1-ARGS): Use
7898 $(host-built-program-cmd).
7899 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
7900 (tst-spawn-ARGS): Likewise.
7901 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
7903 2012-10-23 Joseph Myers <joseph@codesourcery.com>
7904 Jim Blandy <jimb@codesourcery.com>
7906 * Makeconfig (run-via-rtld-prefix): New variable.
7907 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
7908 (built-program-cmd): Likewise.
7910 2012-10-22 Andreas Jaeger <aj@suse.de>
7912 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
7913 __O_RSYNC if it exists, otherwise to O_SYNC.
7915 2012-10-22 Jim Blandy <jimb@codesourcery.com>
7916 Joseph Myers <joseph@codesourcery.com>
7918 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
7920 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
7922 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
7925 2012-10-22 Andreas Jaeger <aj@suse.de>
7927 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
7929 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
7931 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7934 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
7935 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
7937 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
7939 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
7942 2012-10-21 Jim Blandy <jimb@codesourcery.com>
7943 Joseph Myers <joseph@codesourcery.com>
7945 * config.make.in (NM): New variable.
7947 2012-10-21 Andreas Jaeger <aj@suse.de>
7949 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
7950 definitions and declarations that are provided by
7951 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
7953 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
7956 * elf/Makefile (tests-static): Add tst-leaks1-static.
7957 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
7958 ($(objpfx)tst-leaks1-static): New rule.
7959 ($(objpfx)tst-leaks1-static-mem): Likewise.
7960 (tst-leaks1-static-ENV): New macro.
7961 * elf/dl-open.c (dl_open_worker): Check the main application
7962 only if SHARED is defined.
7963 * elf/tst-leaks1-static.c: New file.
7965 2012-10-20 Andreas Jaeger <aj@suse.de>
7967 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
7968 generic values for Linux.
7969 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
7970 and declarations that are provided by <bits/fcntl-linux.h> and
7971 include <bits/fcntl-linux.h>.
7972 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
7973 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
7975 2012-10-20 Roland McGrath <roland@hack.frob.com>
7977 * io/fcntl.h: Move include of <bits/types.h> to the top and
7978 include it unconditionally.
7980 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
7982 * wcsmbs/Makefile (tests-ifunc): New variable.
7983 (tests): Add $(tests-ifunc).
7984 * wcsmbs/test-wcschr-ifunc.c: New file.
7985 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
7986 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
7987 * wcsmbs/test-wcslen-ifunc.c: Likewise.
7988 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
7989 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
7991 * string/Makefile (tests-ifunc): New variable.
7992 (tests): Add $(tests-ifunc).
7993 * string/test-memccpy.c (TEST_NAME): New macro.
7994 * string/test-memchr.c (TEST_NAME): Likewise.
7995 * string/test-memcmp.c (TEST_NAME): Likewise.
7996 * string/test-memcpy.c (TEST_NAME): Likewise.
7997 * string/test-memmem.c (TEST_NAME): Likewise.
7998 * string/test-memmove.c (TEST_NAME): Likewise.
7999 * string/test-memset.c (TEST_NAME): Likewise.
8000 * string/test-rawmemchr.c (TEST_NAME): Likewise.
8001 * string/test-stpcpy.c (TEST_NAME): Likewise.
8002 * string/test-stpncpy.c (TEST_NAME): Likewise.
8003 * string/test-strcasecmp.c (TEST_NAME): Likewise.
8004 * string/test-strcasestr.c (TEST_NAME): Likewise.
8005 * string/test-strcat.c (TEST_NAME): Likewise.
8006 * string/test-strchr.c (TEST_NAME): Likewise.
8007 * string/test-strcmp.c(TEST_NAME): Likewise.
8008 * string/test-strcpy.c (TEST_NAME): Likewise.
8009 * string/test-strcspn.c (TEST_NAME): Likewise.
8010 * string/test-strlen.c (TEST_NAME): Likewise.
8011 * string/test-strncasecmp.c (TEST_NAME): Likewise.
8012 * string/test-strncmp.c (TEST_NAME): Likewise.
8013 * string/test-strncpy.c (TEST_NAME): Likewise.
8014 * string/test-strnlen.c (TEST_NAME): Likewise.
8015 * string/test-strpbrk.c (TEST_NAME): Likewise.
8016 * string/test-strrchr.c (TEST_NAME): Likewise.
8017 * string/test-strspn.c (TEST_NAME): Likewise.
8018 * string/test-strstr.c (TEST_NAME): Likewise.
8019 * string/test-bcopy-ifunc.c: New file.
8020 * string/test-bzero-ifunc.c: Likewise.
8021 * string/test-memccpy-ifunc.c: Likewise.
8022 * string/test-memchr-ifunc.c: Likewise.
8023 * string/test-memcmp-ifunc.c: Likewise.
8024 * string/test-memcpy-ifunc.c: Likewise.
8025 * string/test-memmem-ifunc.c: Likewise.
8026 * string/test-memmove-ifunc.c: Likewise.
8027 * string/test-mempcpy-ifunc.c: Likewise.
8028 * string/test-memset-ifunc.c: Likewise.
8029 * string/test-rawmemchr-ifunc.c: Likewise.
8030 * string/test-stpcpy-ifunc.c: Likewise.
8031 * string/test-stpncpy-ifunc.c: Likewise.
8032 * string/test-strcasecmp-ifunc.c: Likewise.
8033 * string/test-strcasestr-ifunc.c: Likewise.
8034 * string/test-strcat-ifunc.c: Likewise.
8035 * string/test-strchr-ifunc.c: Likewise.
8036 * string/test-strchrnul-ifunc.c: Likewise.
8037 * string/test-strcmp-ifunc.c: Likewise.
8038 * string/test-strcpy-ifunc.c: Likewise.
8039 * string/test-strcspn-ifunc.c: Likewise.
8040 * string/test-strlen-ifunc.c: Likewise.
8041 * string/test-strncasecmp-ifunc.c: Likewise.
8042 * string/test-strncat-ifunc.c: Likewise.
8043 * string/test-strncmp-ifunc.c: Likewise.
8044 * string/test-strncpy-ifunc.c: Likewise.
8045 * string/test-strnlen-ifunc.c: Likewise.
8046 * string/test-strpbrk-ifunc.c: Likewise.
8047 * string/test-strrchr-ifunc.c: Likewise.
8048 * string/test-strspn-ifunc.c: Likewise.
8049 * string/test-strstr-ifunc.c: Likewise.
8051 * debug/Makefile (tests-ifunc): New variable.
8052 (tests): Add $(tests-ifunc).
8053 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
8054 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
8055 * debug/test-stpcpy_chk-ifunc.c: New file.
8056 * debug/test-strcpy_chk-ifunc.c: Likewise.
8058 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
8061 * elf/dl-load.c (open_verify): Retry read if the entire ELF
8062 header is not read in.
8064 2012-10-19 Joseph Myers <joseph@codesourcery.com>
8066 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
8067 script to $(SHELL) as $<. Pass $(common-objpfx) to script
8068 directly. Pass built executable to script as
8069 $(built-program-cmd).
8070 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
8071 $testprogram without using LD_LIBRARY_PATH and $ldso.
8073 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
8074 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
8075 $(rtld-installed-name).
8076 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
8077 (rtld_installed_name): Likewise.
8078 (library_path): Likewise.
8079 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
8080 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
8081 $(run-program-prefix) to tst-tables.sh.
8082 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
8083 it to run tst-table-from and tst-table-to.
8084 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
8085 Pass it to tst-table.sh.
8086 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
8087 $(run-program-prefix) to tst-gettext.sh.
8088 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
8090 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
8092 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
8094 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
8095 to run tst-gettext2.
8096 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
8097 to run tst-translit.
8098 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
8099 $(run-program-prefix) to tst-mtrace.sh.
8100 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
8102 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
8103 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
8104 $(rtld-installed-name).
8105 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
8106 (rtld_installed_name): Likewise.
8107 (run_program_prefix): New variable. Use it to run wordexp-test.
8109 * Makeconfig (ARCH): Remove all definitions.
8110 (machine): Likewise.
8111 [ARCH]: Remove conditional code.
8112 [!objdir]: Give error.
8113 [!objdir] (objpfx): Remove.
8114 [!objdir] (common-objpfx): Likewise.
8115 [!objdir] (common-objdir): Likewise.
8116 * configure.in (config_makefile): Remove. Hardcode Makefile in
8117 AC_CONFIG_FILES call.
8118 * configure: Regenerated.
8121 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
8123 (testout): Likewise.
8125 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
8126 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
8127 $(rtld-installed-name).
8128 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
8129 (rtld_installed_name): Likwise.
8130 (runit): Remove function.
8131 (run_getconf): New variable, Use it for running getconf binary.
8133 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
8136 * string/test-memmem.c (check_result): New function.
8137 (do_one_test): Use it.
8138 (check1): New function.
8139 (test_main): Use it.
8141 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
8143 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
8145 2012-10-18 Joseph Myers <joseph@codesourcery.com>
8147 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
8148 (_G_LSEEK64): Likewise.
8149 (_G_MMAP64): Likewise.
8150 (_G_FSTAT64): Likewise.
8151 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
8152 (_G_LSEEK64): Likewise.
8153 (_G_MMAP64): Likewise.
8154 (_G_FSTAT64): Likewise.
8155 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
8156 unconditional. Call __mmap64 directly.
8157 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
8158 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
8160 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
8161 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
8163 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
8164 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
8166 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
8167 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
8169 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
8170 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
8172 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
8173 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
8174 __fxstat64 directly.
8175 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
8176 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
8178 (freopen64) [!_G_OPEN64]: Remove conditional code.
8179 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
8181 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
8182 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
8184 (ftello64) [!_G_LSEEK64]: Remove conditional code.
8185 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
8187 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
8188 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
8190 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
8191 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
8193 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
8194 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
8196 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
8197 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
8199 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
8201 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
8204 * manual/memory.texi (Malloc Tunable Parameters): Add note
8205 about free list pointers overwriting some perturb bytes.
8206 Wording suggested by Roland McGrath.
8208 2012-10-17 Joseph Myers <joseph@codesourcery.com>
8210 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
8211 (lgamma_test): Likewise.
8212 (tgamma_test): Likewise.
8214 2012-10-16 Florian Weimer <fweimer@redhat.com>
8217 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
8218 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
8220 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
8222 * NEWS: Mention BZ #14716.
8223 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
8224 when removing AVAILABLE1_USES_J macro.
8226 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
8228 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
8229 (__bswap_64): __uint64_t for unsigned 64-bit int.
8231 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
8233 * include/string.h (memmem): Declare libc hidden alias.
8234 * string/memmem.c (memmem): Define libc hidden alias.
8235 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
8236 __read, __close instead of open, read, close.
8238 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
8240 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
8241 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
8243 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
8244 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
8245 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
8247 (__rawmemchr_sse2): Likewise.
8248 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
8249 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
8250 (__strchr_sse2): Likewise.
8251 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
8252 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
8253 (__strcasecmp_sse2): Likewise.
8254 (__strncasecmp_sse2): Likewise.
8255 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
8256 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
8257 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
8258 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
8259 (__strrchr_sse2): Likewise.
8260 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
8262 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
8263 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
8264 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
8265 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
8266 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
8267 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
8268 * sysdeps/x86_64/multiarch/memset.S: Likewise.
8269 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8270 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
8271 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
8272 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
8273 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
8274 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
8275 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
8276 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
8277 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
8278 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
8279 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
8280 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
8281 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
8282 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
8283 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
8284 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
8285 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
8286 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
8287 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
8288 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
8289 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
8290 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
8291 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
8293 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
8295 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
8296 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
8297 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
8298 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
8300 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
8302 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
8303 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
8304 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
8305 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
8307 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
8308 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
8309 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
8310 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
8311 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
8312 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
8313 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
8314 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
8315 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
8316 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
8317 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
8318 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
8319 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
8320 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
8321 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
8322 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
8323 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
8324 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
8325 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
8326 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
8327 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
8328 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
8329 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
8330 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
8331 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
8332 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
8333 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
8334 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
8335 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
8336 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
8337 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
8338 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
8339 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
8340 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
8341 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
8342 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
8343 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
8344 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
8345 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
8346 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
8347 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
8349 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
8350 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
8351 * include/ifunc-impl-list.h: New file.
8352 * misc/ifunc-impl-list.c: Likewise.
8353 * misc/Makefile (routines): Add ifunc-impl-list.
8354 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
8355 * string/test-string.h: Include <ifunc-impl-list.h>.
8356 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
8357 impl_array): New variables.
8358 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
8360 (test_init): Call __libc_ifunc_impl_list to initialize
8361 func_list if TEST_IFUNC and TEST_NAME are defined.
8363 * string/Makefile (strop-tests): Add bcopy and bzero.
8364 * string/test-bcopy.c: New file.
8365 * string/test-bzero.c: Likewise.
8366 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
8368 * string/test-memset.c: Support bzero test if TEST_BZERO is
8370 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
8372 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
8374 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
8377 2012-10-10 Joseph Myers <joseph@codesourcery.com>
8379 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
8380 * configure: Regenerated.
8382 * Makeconfig (+link-static-before-libc): Don't include
8383 $(link-static-libc).
8385 * libio/libio.h (_IO_pos_t): Remove.
8387 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
8389 * NEWS: Add note about FIPS mode. Wording suggested by Roland
8392 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
8394 * crypt/crypt-entry.c: Include fips-private.h.
8395 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
8396 * crypt/md5c-test.c (main): Tolerate disabled MD5.
8397 * sysdeps/unix/sysv/linux/fips-private.h: New file.
8398 * sysdeps/generic/fips-private.h: New file, dummy fallback.
8400 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
8402 * crypt/crypt-private.h: Include stdbool.h.
8403 (_ufc_setup_salt_r): Return bool.
8404 * crypt/crypt-entry.c: Include errno.h.
8405 (__crypt_r): Return NULL with EINVAL for bad salt.
8406 * crypt/crypt_util.c (bad_for_salt): New.
8407 (_ufc_setup_salt_r): Check that salt is long enough and within
8408 the specified alphabet.
8409 * crypt/badsalttest.c: New file.
8410 * crypt/Makefile (tests): Add it.
8411 ($(objpfx)badsalttest): New.
8413 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
8415 * NEWS: Add entry for BZ #14602.
8417 2012-10-09 Joseph Myers <joseph@codesourcery.com>
8419 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
8421 * math/libm-test.inc: Update comment listing what functions and
8423 (isgreater_test): New function.
8424 (isgreaterequal_test): Likewise.
8425 (isless_test): Likewise.
8426 (islessequal_test): Likewise.
8427 (islessgreater_test): Likewise.
8428 (isunordered_test): Likewise.
8429 (main): Call the new functions.
8431 2012-10-09 Roland McGrath <roland@hack.frob.com>
8433 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
8434 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
8435 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
8436 * sysdeps/i386/configure: Regenerated.
8437 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
8438 * sysdeps/mach/configure: Regenerated.
8439 * sysdeps/mach/hurd/configure: Regenerated.
8440 * sysdeps/powerpc/configure: Regenerated.
8441 * sysdeps/powerpc/powerpc32/configure: Regenerated.
8442 * sysdeps/powerpc/powerpc64/configure: Regenerated.
8443 * sysdeps/s390/s390-32/configure: Regenerated.
8444 * sysdeps/s390/s390-64/configure: Regenerated.
8445 * sysdeps/sh/configure: Regenerated.
8446 * sysdeps/sparc/configure: Regenerated.
8447 * sysdeps/unix/sysv/linux/configure: Regenerated.
8448 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
8449 * sysdeps/x86_64/configure: Regenerated.
8451 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
8452 defined. Don't check if MAP is NULL.
8454 2012-10-09 Joseph Myers <joseph@codesourcery.com>
8456 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
8457 (_G_stat64): Likewise.
8458 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
8459 (_G_stat64): Likewise.
8460 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
8461 instead of struct _G_stat64.
8462 * libio/fileops.c (mmap_remap_check): Likewise.
8463 (decide_maybe_mmap): Likewise.
8464 (_IO_new_file_seekoff): Likewise.
8465 (_IO_file_stat): Likewise.
8466 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
8468 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
8469 instead of struct _G_stat64.
8470 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
8472 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
8475 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
8477 (CHECK_EOL): New macro.
8478 (two_way_short_needle): Check beginning of haystack for EOL. Use
8480 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
8481 Replace with CHECK_EOL.
8482 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
8483 Replace with CHECK_EOL.
8485 2012-10-08 Joseph Myers <joseph@codesourcery.com>
8487 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
8489 * math/libm-test.inc: Update comment listing what functions and
8491 (finite_test): New function.
8492 (isinf_test): Likewise.
8493 (isnan_test): Likewise.
8494 (fpclassify_test): Test subnormal input.
8495 (isfinite_test): Likewise.
8496 (isnormal_test): Likewise.
8497 (main): Call the new functions.
8499 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
8502 * Makerules (%.dynsym): Force C locale when running
8503 $(OBJDUMP) --dynamic-syms.
8505 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
8507 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
8510 2012-10-06 David S. Miller <davem@davemloft.net>
8512 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
8513 upper 32-bits of the length value in %o2 since we use branch-on-register
8514 tests which consider the entire 64-bit register.
8516 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
8518 * string/test-strstr.c (check2): Add a test for page boundary.
8520 2012-10-05 David S. Miller <davem@davemloft.net>
8522 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
8523 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
8525 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
8527 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
8528 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
8529 and bzero when HWCAP_SPARC_CRYPTO is present.
8531 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
8534 * string/test-strstr.c (check2): New function.
8535 (test_main): Call check2.
8537 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
8539 * string/bug-strcasestr1.c (do_test): Moved to ...
8540 * string/test-strcasestr.c (check1): Here. New function.
8541 (do_one_test): Break out result checking code into ...
8542 (check_result): This. New function.
8543 (do_one_test): Call check_result.
8544 (test_main): Call check1.
8545 * string/bug-strchr1.c (do_test): Moved to ...
8546 * string/test-strchr.c (check1): Here. New function.
8547 (do_one_test): Break out result checking code into ...
8548 (check_result): This. New function.
8549 (do_one_test): Call check_result.
8550 (test_main): Call check1.
8551 * string/bug-strstr1.c (main): Moved to ...
8552 * string/test-strstr.c (check1): Here. New function.
8553 (do_one_test): Break out result checking code into ...
8554 (check_result): This. New function.
8555 (do_one_test): Call check_result.
8556 (test_main): Call check1.
8557 * string/bug-strcasestr1.c: Removed.
8558 * string/bug-strchr1.c: Likewise.
8559 * string/bug-strstr1.c: Likewise.
8561 * elf/Makefile (dl-routines): Add hwcaps.
8562 * elf/dl-support.c (_dl_important_hwcaps): Removed.
8563 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
8564 (_dl_important_hwcaps): Moved to ...
8565 * elf/dl-hwcaps.c: Here. New file.
8566 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
8569 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
8570 if IS_IN_rtld isn't defined.
8572 * elf/dl-support.c (_dl_sysinfo_map): New.
8573 Include "get-dynamic-info.h" and "setup-vdso.h".
8574 (_dl_non_dynamic_init): Call setup_vdso.
8575 * elf/dynamic-link.h: Don't include <assert.h>.
8576 (elf_get_dynamic_info): Moved to ...
8577 * elf/get-dynamic-info.h: Here. New file.
8578 * elf/dynamic-link.h: Include "get-dynamic-info.h".
8579 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
8580 * elf/setup-vdso.h: Here. New file.
8581 * elf/rtld.c: Include "setup-vdso.h".
8582 (dl_main): Call setup_vdso.
8584 2012-10-05 Joseph Myers <joseph@codesourcery.com>
8586 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
8587 creal in comment listing functions tested. List finite, isinf,
8588 isnan, isless, islessequal, isgreater, isgreaterequal,
8589 islessgreater, isunordered, lgamma_r and pow10 as functions and
8590 macros not tested. Mention which functions not tested are aliases
8591 for other functions. Fix typo. Note that signs of NaNs are not
8594 * scripts/config.guess: Update from config.git.
8595 * scripts/config.sub: Likewise.
8597 2012-10-04 Roland McGrath <roland@hack.frob.com>
8599 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
8600 * misc/madvise.c (madvise): Renamed to __madvise.
8601 Make madvise a weak alias.
8602 * include/sys/mman.h: Declare __madvise.
8603 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
8604 * sysdeps/unix/syscalls.list
8605 (madvise): Make __madvise the strong name, and madvise a weak alias.
8606 * sysdeps/unix/sysv/linux/syscalls.list
8607 (madvise, mmap): Remove redundant entries.
8608 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
8609 * malloc/malloc.c (mtrim): Likewise.
8610 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
8612 2012-10-03 Roland McGrath <roland@hack.frob.com>
8614 * sysdeps/mach/hurd/dl-cache.c: File removed.
8615 * config.h.in (USE_LDCONFIG): New #undef.
8616 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
8617 * configure: Regenerated.
8618 * elf/Makefile (dl-routines): Add dl-cache only under
8619 [$(use-ldconfig) = yes].
8620 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
8621 cache on [USE_LDCONFIG].
8622 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
8624 * elf/rtld.c (dl_main): Likewise.
8626 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
8628 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
8629 _SC_LEVEL4_CACHE_LINESIZE.
8631 2012-10-03 Roland McGrath <roland@hack.frob.com>
8633 * sysdeps/unix/bsd/confstr.h: File removed.
8635 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
8637 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
8640 2012-10-02 Roland McGrath <roland@hack.frob.com>
8642 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
8643 Make 'mapoff' field ElfW(Off) rather than off_t.
8645 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
8647 * nscd/Makefile: Remove nscd-cflags and all its users.
8648 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
8649 (CFLAGS-nonlib): Add compiler flags for nscd modules.
8652 * malloc.c (malloc_printerr): Clarify error message.
8654 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
8657 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8658 Set bit_FMA_Usable if FMA is supported.
8659 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
8661 (bit_FMA4_Usable): Updated.
8662 (index_FMA_Usable): New macro.
8663 (CPUID_FMA): Likewise
8664 (HAS_FMA): Defined with bit_FMA_Usable.
8666 2012-10-01 Roland McGrath <roland@hack.frob.com>
8668 * bits/types.h (__swblk_t): Type removed.
8669 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
8670 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
8671 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8672 (__SWBLK_T_TYPE): Likewise.
8673 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
8674 (__SWBLK_T_TYPE): Likewise.
8675 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8676 (__SWBLK_T_TYPE): Likewise.
8677 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8678 (__SWBLK_T_TYPE): Likewise.
8680 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
8681 Honza Horak <hhorak@redhat.com>
8683 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
8684 (xdr_mapname): Use YPMAXMAP as maxsize.
8685 (xdr_peername): Use YPMAXPEER as maxsize.
8686 (xdr_keydat): Use YPAXRECORD as maxsize.
8687 (xdr_valdat): Use YPMAXRECORD as maxsize.
8689 2012-10-01 Roland McGrath <roland@hack.frob.com>
8691 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
8693 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
8694 * csu/init-first.c: ... here.
8695 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
8696 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
8697 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
8698 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
8699 * sysdeps/i386/init-first.c: File removed.
8700 * sysdeps/sh/init-first.c: File removed.
8702 2012-10-01 Joseph Myers <joseph@codesourcery.com>
8705 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
8706 if x * y might underflow to zero and z is zero.
8707 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8708 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8709 * math/libm-test.inc (min_subnorm_value): New variable.
8710 (fma_test): Add more tests.
8711 (fma_test_towardzero): Likewise.
8712 (fma_test_downward): Likewise
8713 (fma_test_upward): Likewise.
8714 (initialize): Set min_subnorm_value.
8716 2012-09-29 Joseph Myers <joseph@codesourcery.com>
8719 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
8721 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
8722 mode for addition resulting in exact zero.
8723 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
8724 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
8726 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
8727 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8728 * math/libm-test.inc (fma_test): Add more tests.
8729 (fma_test_towardzero): New function.
8730 (fma_test_downward): Likewise.
8731 (fma_test_upward): Likewise.
8732 (main): Call the new functions.
8734 2012-09-28 David S. Miller <davem@davemloft.net>
8736 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
8738 2012-09-28 Roland McGrath <roland@hack.frob.com>
8740 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
8743 * sysdeps/gnu/_G_config.h: Moved to ...
8744 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
8745 * sysdeps/mach/hurd/_G_config.h: Moved to ...
8746 * sysdeps/generic/_G_config.h: ... here.
8748 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
8750 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
8752 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
8753 Conditionalize target on [libnss_test1.so-version].
8755 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
8757 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
8758 (elfobjdir): Move out of conditionals.
8760 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
8761 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
8762 (__nss_lookup_function): Conditionalize label remove_from_tree on
8763 [!DO_STATIC_NSS || SHARED], matching its only use.
8765 2012-09-28 David S. Miller <davem@davemloft.net>
8767 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
8768 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
8770 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
8772 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
8773 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
8774 when HWCAP_SPARC_CRYPTO is present.
8776 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
8778 * io/tst-mknodat.c: Create a FIFO instead of a socket.
8780 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
8783 * stdio-common/vfprintf.c (process_string_arg): Revert
8786 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
8788 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
8790 * stdio-common/tst-sprintf.c: Include <locale.h>
8791 (main): Test sprintf's handling of incomplete multibyte
8794 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
8796 * elf/dl-runtime.c (VERSYMIDX): Removed.
8797 * elf/dl-version.c (VERSYMIDX): Likewise.
8798 * elf/do-rel.h (VERSYMIDX): Likewise.
8800 * elf/dynamic-link.h (VERSYMIDX): Likewise.
8801 * elf/rtld.c (VALIDX): Likewise.
8802 (ADDRIDX): Likewise.
8803 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
8804 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
8805 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
8806 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
8808 (ADDRIDX): Likewise.
8810 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
8812 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
8814 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
8817 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
8819 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
8820 addresses are in the same scope as 192.0.2/24.
8821 * posix/gai.conf: Document new scope table defaults.
8823 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8826 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
8827 for ftell. Compute offsets from write pointers instead.
8828 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
8830 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8833 * libio/Makefile (tests): New test case tst-fseek.
8834 * libio/tst-fseek.c: New test case to verify that fseek/ftell
8835 combination works in wide mode.
8836 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
8837 state when the external buffer state changes.
8839 2012-09-27 David S. Miller <davem@davemloft.net>
8842 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
8843 pass reloc->r_addend in as the 'high' argument to
8844 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
8846 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8848 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
8850 * rt/tst-aio2.c: Include <pthread.h>.
8851 * rt/tst-aio3.c: Likewise.
8853 2012-09-27 Steve Ellcey <sellcey@mips.com>
8855 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
8857 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
8859 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
8860 contents on [SHARED].
8862 2012-09-26 Marek Polacek <polacek@redhat.com>
8866 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
8867 for C++ and GCC <4.3 as well as for non GCC compilers.
8869 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
8871 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8873 2012-09-25 Roland McGrath <roland@hack.frob.com>
8875 * Makefile.in (all, install): Declare with .PHONY.
8876 Reported by Michael Hope <michael.hope@linaro.org>.
8878 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8880 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
8881 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
8883 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
8885 (sydep_routines): Add the new and the internal functions.
8886 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
8887 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
8888 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
8889 (GLIBC_2.17): Add the new function.
8890 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
8891 (GLIBC_2.17): Likewise.
8892 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
8893 (GLIBC_2.17): Likewise.
8894 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
8895 (GLIBC_2.17): Likewise.
8896 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
8898 2012-09-25 Alan Modra <amodra@gmail.com>
8900 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
8901 Add release barrier before setting once_control to say
8902 initialisation is done. Add hints on lwarx. Use macro in
8904 (clear_once_control): Add release barrier.
8906 2012-09-25 Joseph Myers <joseph@codesourcery.com>
8909 * math/s_clog.c (__clog): Handle more values close to |z| = 1
8911 * math/s_clog10.c (__clog10): Likewise.
8912 * math/s_clog10f.c (__clog10f): Likewise.
8913 * math/s_clog10l.c (__clog10l): Likewise.
8914 * math/s_clogf.c (__clogf): Likewise.
8915 * math/s_clogl.c (__clogl): Likewise.
8916 * math/Makefile (libm-calls): Add x2y2m1.
8917 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
8918 (__x2y2m1): Likewise.
8919 (__x2y2m1l): Likewise.
8920 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
8921 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
8922 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
8923 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
8924 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
8925 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
8926 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
8927 * sysdeps/i386/fpu/libm-test-ulps: Update.
8928 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8931 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
8932 int as type of variable DEPTH.
8933 (glob): Use size_t instead of int as type of variables NEWCOUNT
8936 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8938 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
8940 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
8941 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
8942 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
8943 macros for using routine as __sincosf_ia32.
8944 Use macro for function declaration and weak_alias.
8945 * sysdeps/i386/fpu/libm-test-ulps: Update.
8947 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
8948 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8950 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
8952 * math/s_cexpf.c (__cexpf): Likewise.
8953 * math/s_csinf.c (__csinf): Likewise.
8954 * math/s_csinhf.c (__csinhf): Likewise.
8955 * math/s_ctanf.c (__ctanf): Likewise.
8956 * math/s_ctanhf.c (__ctanhf): Likewise.
8957 * math/s_ccosh.c (__ccoshf): Likewise.
8958 * math/s_cexp.c (__cexpl): Likewise.
8959 * math/s_csin.c (__csin): Likewise.
8960 * math/s_csinh.c (__csinh): Likewise.
8961 * math/s_ctan.c (__ctan): Likewise.
8962 * math/s_ctanh.c (ctanh): Likewise.
8963 * math/s_ccoshl.c (__ccoshl): Likewise.
8964 * math/s_cexpl.c (__cexpl): Likewise.
8965 * math/s_csinl.c (__csinl): Likewise.
8966 * math/s_csinhl.c (__csinhl): Likewise.
8967 * math/s_ctanl.c (__ctanl): Likewise.
8968 * math/s_ctanhl.c (__ctanhl): Likewise.
8970 2012-09-25 Joseph Myers <joseph@codesourcery.com>
8972 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
8973 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
8974 (_IO_off_t): Define to __off_t, not _G_off_t.
8975 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
8976 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
8977 (_IO_wint_t): Define to wint_t, not _G_wint_t.
8978 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
8979 type of __dummy and __dummy2 fields.
8980 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
8981 (_G_ssize_t): Likewise.
8982 (_G_off_t): Likewise.
8983 (_G_pid_t): Likewise.
8984 (_G_uid_t): Likewise.
8985 (_G_wchar_t): Likewise.
8986 (_G_wint_t): Likewise.
8987 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
8988 (_G_ssize_t): Likewise.
8989 (_G_off_t): Likewise.
8990 (_G_pid_t): Likewise.
8991 (_G_uid_t): Likewise.
8992 (_G_wchar_t): Likewise.
8993 (_G_wint_t): Likewise.
8994 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
8995 (_G_ssize_t): Likewise.
8996 (_G_off_t): Likewise.
8997 (_G_pid_t): Likewise.
8998 (_G_uid_t): Likewise.
8999 (_G_wchar_t): Likewise.
9000 (_G_wint_t): Likewise.
9002 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
9004 * malloc/arena.c: Include malloc-sysdep.h.
9005 (shrink_heap): Use check_may_shrink_heap to decide if madvise
9006 is sufficient to shrink the heap or an unmap is needed.
9007 * sysdeps/generic/malloc-sysdep.h: New file. Define
9008 new function check_may_shrink_heap.
9009 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
9010 new function check_may_shrink_heap.
9012 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
9014 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
9017 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
9019 * catgets/test-gencat.sh: Add "set -e".
9020 * elf/tst-pathopt.sh: Likewise.
9021 * grp/tst_fgetgrent.sh: Likewise.
9022 * iconvdata/run-iconv-test.sh: Likewise.
9023 * intl/tst-gettext.sh: Likewise.
9024 * intl/tst-gettext2.sh: Likewise.
9025 * intl/tst-gettext4.sh: Likewise.
9026 * intl/tst-gettext6.sh: Likewise.
9027 * intl/tst-translit.sh: Likewise.
9028 * io/ftwtest-sh: Likewise.
9029 * libio/test-freopen.sh: Likewise.
9030 * malloc/tst-mtrace.sh: Likewise.
9031 * posix/globtest.sh: Likewise.
9032 * posix/tst-getconf.sh: Likewise.
9033 * posix/wordexp-tst.sh: Likewise.
9034 * stdio-common/tst-printf.sh: Likewise.
9035 * stdio-common/tst-unbputc.sh: Likewise.
9036 * stdlib/tst-fmtmsg.sh: Likewise.
9037 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
9038 * catgets/Makefile: Do not specify -e option when running
9039 testsuite shell scripts.
9040 * elf/Makefile: Likewise.
9041 * grp/Makefile: Likewise.
9042 * iconvdata/Makefile: Likewise.
9043 * intl/Makefile: Likewise.
9044 * io/Makefile: Likewise.
9045 * libio/Makefile: Likewise.
9046 * malloc/Makefile: Likewise.
9047 * posix/Makefile: Likewise.
9048 * stdio-common/Makefile: Likewise.
9049 * stdlib/Makefile: Likewise.
9050 * sysdeps/x86_64/Makefile: Likewise.
9052 * io/ftwtest-sh: Add copyright header.
9053 * posix/globtest.sh: Likewise.
9054 * posix/tst-getconf.sh: Likewise.
9055 * posix/wordexp-tst.sh: Likewise.
9056 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
9058 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
9061 * Makeconfig (+link): Defined as $(+link-static) if
9062 $(build-shared) isn't yes.
9063 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
9065 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
9067 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
9070 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
9071 new chunk size with MALLOC_ALIGN_MASK.
9073 2012-09-24 Joseph Myers <joseph@codesourcery.com>
9076 * stdio-common/printf_fphex.c: Include <stdbool.h> and
9078 (__printf_fphex): Determine rounding using get_rounding_mode and
9080 * stdio-common/tst-printf-round.c (struct hex_test): New
9082 (hex_tests): New variable.
9083 (test_hex_in_one_mode): New function.
9084 (do_test): Also run tests for hex float output.
9086 2012-09-21 Joseph Myers <joseph@codesourcery.com>
9088 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
9089 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
9090 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
9091 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
9092 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
9093 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
9094 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
9095 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
9097 2012-09-20 Joseph Myers <joseph@codesourcery.com>
9099 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
9100 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
9101 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
9102 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
9104 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
9107 * elf/rtld.c (dl_main): Limit the check for self loading to normal
9109 * elf/tst-rtld-load-self.sh: New test.
9110 * elf/Makefile: Run it.
9112 2012-09-18 Joseph Myers <joseph@codesourcery.com>
9114 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
9115 (tst-writev-ENV): Remove.
9116 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
9118 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
9120 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
9122 2012-09-17 Joseph Myers <joseph@codesourcery.com>
9124 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
9126 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
9128 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
9129 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
9130 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
9133 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
9136 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
9137 * config.make.in (have-cpp-asm-debuginfo): Removed.
9138 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
9139 * configure: Regenerated.
9141 2012-09-14 Joseph Myers <joseph@codesourcery.com>
9144 * stdio-common/printf_fp.c: Include <stdbool.h> and
9146 (___printf_fp): Determine rounding using get_rounding_mode and
9148 * stdio-common/tst-printf-round.c: New file.
9149 * stdio-common/Makefile (tests): Add tst-printf-round.
9150 (link-libm): New variable.
9151 ($(objpfx)tst-printf-round): Depend in $(link-libm).
9153 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
9156 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
9157 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
9159 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
9162 2012-09-13 Joseph Myers <joseph@codesourcery.com>
9164 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
9165 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
9166 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
9167 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
9169 2012-09-12 Joseph Myers <joseph@codesourcery.com>
9172 * include/rounding-mode.h: New file.
9173 * sysdeps/generic/get-rounding-mode.h: Likewise.
9174 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
9175 * stdlib/strtod_l.c: Include <rounding-mode.h>.
9176 (MAX_VALUE): New macro.
9177 (MIN_VALUE): Likewise.
9178 (overflow_value): New function.
9179 (underflow_value): Likewise.
9180 (round_and_return): Use overflow_value and underflow_value to
9181 determine return values in overflow and underflow cases. Use
9182 round_away to determine rounding depending on rounding mode.
9183 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
9184 determine return values in overflow and underflow cases.
9185 * stdlib/tst-strtod-round.c: Include <fenv.h>.
9186 (struct test_results): New structure.
9187 (struct test): Use struct test_results to store expected results
9188 for all rounding modes.
9189 (TEST): Include expected results for all rounding modes.
9190 (test_in_one_mode): New function.
9191 (do_test): Use test_in_one_mode to compute and check results.
9192 Check results for all rounding modes.
9193 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
9196 2012-12-09 Allan McRae <allan@archlinux.org>
9198 * sysdeps/i386/fpu/libm-test-ulps: Update
9200 2012-09-11 Joseph Myers <joseph@codesourcery.com>
9202 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
9203 (_G_int32_t): Likewise.
9204 (_G_uint16_t): Likewise.
9205 (_G_uint32_t): Likewise.
9206 (_G_HAVE_BOOL): Likewise.
9207 (_G_HAVE_ATEXIT): Likewise.
9208 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
9209 (_G_HAVE_IO_FILE_OPEN): Likewise.
9210 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
9211 (_G_int32_t): Likewise.
9212 (_G_uint16_t): Likewise.
9213 (_G_uint32_t): Likewise.
9214 (_G_HAVE_BOOL): Likewise.
9215 (_G_HAVE_ATEXIT): Likewise.
9216 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
9217 (_G_HAVE_IO_FILE_OPEN): Likewise.
9218 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
9219 (_G_int32_t): Likewise.
9220 (_G_uint16_t): Likewise.
9221 (_G_uint32_t): Likewise.
9222 (_G_HAVE_BOOL): Likewise.
9223 (_G_HAVE_ATEXIT): Likewise.
9224 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
9225 (_G_HAVE_IO_FILE_OPEN): Likewise.
9227 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
9229 * csu/libc-tls.c: Update copyright years.
9231 2012-09-10 Joseph Myers <joseph@codesourcery.com>
9233 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
9234 [!_G_USING_THUNKS]: Remove conditional code.
9235 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
9236 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
9238 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
9239 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
9240 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
9241 (_G_VTABLE_LABEL_PREFIX): Likewise.
9242 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
9243 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
9244 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
9245 (_G_VTABLE_LABEL_PREFIX): Likewise.
9246 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
9247 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
9248 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
9249 (_G_VTABLE_LABEL_PREFIX): Likewise.
9250 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
9252 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
9254 * libio/Makefile: Include ../Makeconfig before tests.
9255 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
9256 only if $(build-shared) is yes.
9258 * iconv/gconv_db.c: Update copyright years.
9260 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9262 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
9263 unwind info if defined PIC. Fix special cases description.
9264 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
9266 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
9268 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
9270 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
9272 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
9274 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
9277 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
9278 (LDLIBS-tst-chk4): This.
9279 (LDFLAGS-tst-chk5): Renamed to ...
9280 (LDLIBS-tst-chk5): This.
9281 (LDFLAGS-tst-chk6): Renamed to ...
9282 (LDLIBS-tst-chk6): This.
9283 (LDFLAGS-tst-lfschk4): Renamed to ...
9284 (LDLIBS-tst-lfschk4): This.
9285 (LDFLAGS-tst-lfschk5): Renamed to ...
9286 (LDLIBS-tst-lfschk5): This.
9287 (LDFLAGS-tst-lfschk6): Renamed to ...
9288 (LDLIBS-tst-lfschk6): This.
9290 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
9291 on $(common-objpfx)soversions.mk.
9293 2012-09-07 Joseph Myers <joseph@codesourcery.com>
9296 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
9299 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
9301 * malloc/arena.c (arena_get_retry): New function that gets
9302 another arena for the caller to try its request on.
9303 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
9304 current arena cannot fulfill the request.
9305 (__libc_memalign): Likewise.
9306 (__libc_memalign): Likewise.
9307 (__libc_pvalloc): Likewise.
9308 (__libc_calloc): Likewise.
9310 2012-09-05 John Tobey <john.tobey@gmail.com>
9313 * manual/arith.texi (Operations on Complex): Fix description
9316 2012-09-06 Joseph Myers <joseph@codesourcery.com>
9319 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
9323 * manual/memory.texi (Memory): Make order of menu items match
9326 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
9328 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
9329 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
9330 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
9332 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
9334 * csu/libc-tls.c (static_dtv): Renamed to ...
9335 (_dl_static_dtv): This. Make it global.
9336 (_dl_initial_dtv): Removed.
9337 (__libc_setup_tls): Updated.
9338 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
9339 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
9342 2012-09-06 Petr Machata <pmachata@redhat.com>
9344 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
9345 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
9346 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
9347 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
9349 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
9352 * csu/libc-tls.c (_dl_initial_dtv): New variable.
9353 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
9356 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
9359 * Makeconfig (link-static-before-libc): Replace $(+prector)
9361 (link-static-after-libc): Replace $(+postctor) with
9363 (link-bounded): Replace $(+prector)/$(+postctor) with
9364 $(+prectorT)/$(+postctorT).
9365 (+prectorT): New macro.
9366 (+postctorT): Likewise.
9368 2012-09-06 Joseph Myers <joseph@codesourcery.com>
9370 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
9371 (round_str): Handle values above the maximum for IBM long double
9373 * stdlib/tst-strtod-round.c (tests): Regenerated.
9375 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9377 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
9379 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
9380 zarch_nohighgprs around the zarch optimized routines.
9381 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
9382 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
9383 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
9386 2012-09-05 David S. Miller <davem@davemloft.net>
9388 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9390 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
9391 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
9392 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
9393 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
9396 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
9398 * malloc/arena.c: Fold copyright years.
9399 * malloc/mcheck.c, malloc/memusage.c: Likewise.
9401 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
9403 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
9405 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
9407 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
9409 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
9411 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
9412 change internal state upon failure.
9414 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
9416 * malloc/mcheck.c (mcheck_check_all): Fix typo.
9417 * malloc/memusage.c (mmap): Likewise.
9418 (mmap64, mremap): Likewise. Adjust name in comment.
9420 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
9422 * libio/fileops.c: Fix typos in comments.
9423 * libio/oldfileops.c: Likewise.
9424 * libio/wfileops.c: Likewise.
9426 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
9429 * malloc/Makefile (tests): Add tst-malloc-usable test case.
9430 (tst-malloc-usable-ENV): Set environment for test case.
9431 * malloc/hooks.c (malloc_check_get_size): New function to get
9433 * malloc/malloc.c (musable): Use malloc_check_get_size.
9434 * malloc/tst-malloc-usable.c: New test case.
9436 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
9438 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
9440 2012-09-05 Allan McRae <allan@archlinux.org>
9443 * configure.in (CXX_SYSINCLUDES): Use compiler output to
9444 determine header location.
9445 * configure: Regenerated.
9447 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
9449 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
9451 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
9452 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
9456 2012-09-04 David S. Miller <davem@davemloft.net>
9458 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
9459 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
9460 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
9462 2012-09-04 Florian Weimer <fweimer@redhat.com>
9464 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
9467 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
9469 2012-09-04 Joseph Myers <joseph@codesourcery.com>
9472 * libio/iogetdelim.c: Include <limits.h>.
9473 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
9474 + len + 1 would overflow.
9476 2012-09-03 Andreas Jaeger <aj@suse.de>
9478 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9479 * sysdeps/i386/fpu/libm-test-ulps: Update.
9481 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9483 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
9484 Add s_sinf-sse2, s_conf-sse2.
9486 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
9487 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
9488 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
9489 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
9491 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
9492 for using routine as __sinf_ia32.
9493 Use macro for function declaration and weak_alias.
9494 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
9495 for using routine as __cosf_ia32.
9496 Use macro for function declaration and weak_alias.
9498 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
9499 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
9501 * sysdeps/x86_64/fpu/s_sinf.S: New file.
9502 * sysdeps/x86_64/fpu/s_cosf.S: New file.
9503 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9505 * math/libm-test.inc (cos_test): Add more test cases.
9506 (sin_test): Likewise.
9507 (sincos_test): Likewise.
9509 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9511 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
9512 (IFUNC_RESOLVE): Make pointers to the specialized implementations
9514 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
9516 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
9519 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
9520 first element of the GOT.
9521 (elf_machine_load_address): Return the difference between
9522 the runtime address of _DYNAMIC and elf_machine_dynamic ().
9524 2012-09-01 Allan McRae <allan@archlinux.org>
9527 * configure.in (AWK): Require gawk version 3.0 or later.
9528 * configure: Regenerated.
9530 2012-09-01 Joseph Myers <joseph@codesourcery.com>
9532 * sysdeps/unix/sysv/linux/kernel-features.h
9533 (__ASSUME_POSIX_CPU_TIMERS): Remove.
9534 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
9535 [__NR_clock_getres]: Make code unconditional.
9536 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
9537 (clock_getcpuclockid): Remove code left unreachable by removal of
9539 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
9541 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
9542 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
9543 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
9544 Make code unconditional.
9545 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
9546 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
9547 * sysdeps/unix/sysv/linux/clock_settime.c
9548 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
9550 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
9551 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
9553 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
9556 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
9557 scripts/test-installation.pl.
9559 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
9560 and $ld_so_version if it is set.
9562 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
9565 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
9566 failure if reading from procfs failed.
9567 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
9569 2012-08-27 Joseph Myers <joseph@codesourcery.com>
9571 * sysdeps/unix/sysv/linux/kernel-features.h
9572 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
9573 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
9574 Remove conditional code.
9575 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9576 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
9577 Remove conditional code.
9578 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9579 * sysdeps/unix/sysv/linux/i386/fxstat.c
9580 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
9581 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9582 * sysdeps/unix/sysv/linux/i386/fxstatat.c
9583 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
9584 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9585 * sysdeps/unix/sysv/linux/i386/lxstat.c
9586 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
9587 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9588 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
9589 Remove conditional code.
9590 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9591 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
9592 Remove conditional code.
9593 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9594 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
9595 <kernel-features.h>.
9596 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
9598 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
9599 Remove conditional code.
9600 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9601 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
9604 2012-08-27 Mike Frysinger <vapier@gentoo.org>
9607 * NEWS: Add fixed bug number.
9609 2012-08-27 Joseph Myers <joseph@codesourcery.com>
9612 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
9613 underflowing exponent in case of negative sign.
9614 * stdlib/tst-strtod-round-data: Add more tests.
9615 * stdlib/tst-strtod-round.c (tests): Regenerated.
9618 * stdlib/strtod_l.c (NDIG): Remove.
9619 (HEXNDIG): Likewise.
9620 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
9621 smallest representable value.
9622 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
9623 lie within an exact representation of 1/2 ulp of the result.
9624 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
9626 (TENS_P9_IDX): Define unconditionally.
9627 (TENS_P9_SIZE): Likewise.
9628 (TENS_P10_IDX): Likewise.
9629 (TENS_P10_SIZE): Likewise.
9630 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
9631 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
9632 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
9633 entries for 10^2^13 and 10^2^14.
9634 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
9635 (TENS_P13_IDX): Define.
9636 (TENS_P13_SIZE): Likewise.
9637 (TENS_P14_IDX): Likewise.
9638 (TENS_P14_SIZE): Likewise.
9639 (_fpioconst_pow10): Change array size to
9640 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
9642 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
9643 1024]: Add entries for 10^2^13 and 10^2^14.
9644 [LAST_POW10 > _LAST_POW10]: Remove #error.
9645 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
9646 (_fpioconst_pow10): Change array size to
9647 FPIOCONST_POW10_ARRAY_SIZE.
9648 * stdlib/gen-fpioconst.c: New file.
9649 * stdlib/gen-tst-strtod-round.c: Likewise.
9650 * stdlib/tst-strtod-round-data: Likewise.
9651 * stdlib/tst-strtod-round.c: Likewise.
9652 * stdlib/Makefile (tests): Add tst-strtod-round.
9655 * stdlib/strtod_l.c: Include <stdint.h>.
9656 (NDEBUG): Do not define.
9657 (round_and_return): Change EXPONENT parameter to type intmax_t.
9658 Rearrange calculations to avoid internal overflow possibilities.
9659 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
9660 Rearrange calculations to avoid internal overflow possibilities.
9661 Assert that number fits inside MPNSIZE limbs.
9662 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
9663 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
9664 calculations and add assertions to avoid internal overflow
9665 possibilities. Add casts to avoid signed/unsigned operations.
9666 * stdlib/tst-strtod-overflow.c: New file.
9667 * stdlib/Makefile (tests): Add tst-strtod-overflow.
9669 2012-08-25 Marek Polacek <polacek@redhat.com>
9671 * time/time.h: Fix some typos in comments.
9673 2012-08-23 Roland McGrath <roland@hack.frob.com>
9675 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
9676 * posix/tst-rfc3484-2.c: Likewise.
9677 * posix/tst-rfc3484-3.c: Likewise.
9679 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
9681 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
9682 (EF_ARM_ABI_FLOAT_HARD): Likewise.
9684 2012-08-23 Joseph Myers <joseph@codesourcery.com>
9686 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
9687 #include of fxstatat64.c.
9689 2012-08-22 Roland McGrath <roland@hack.frob.com>
9691 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
9692 * shadow/getspent_r.c: Likewise.
9693 * shadow/getspnam.c: Likewise.
9694 * shadow/getspnam_r.c: Likewise.
9695 * gshadow/getsgent.c: Likewise.
9696 * gshadow/getsgent_r.c: Likewise.
9697 * gshadow/getsgnam.c: Likewise.
9698 * gshadow/getsgnam_r.c: Likewise.
9699 * inet/getnetbyad.c: Likewise.
9700 * inet/getnetbyad_r.c: Likewise.
9701 * inet/getnetbynm.c: Likewise.
9702 * inet/getnetbynm_r.c: Likewise.
9703 * inet/getnetent.c: Likewise.
9704 * inet/getnetent_r.c: Likewise.
9705 * inet/getproto.c: Likewise.
9706 * inet/getproto_r.c: Likewise.
9707 * inet/getprtent.c: Likewise.
9708 * inet/getprtent_r.c: Likewise.
9709 * inet/getprtname.c: Likewise.
9710 * inet/getprtname_r.c: Likewise.
9711 * inet/getrpcbyname.c: Likewise.
9712 * inet/getrpcbyname_r.c: Likewise.
9713 * inet/getrpcbynumber.c: Likewise.
9714 * inet/getrpcbynumber_r.c: Likewise.
9715 * inet/getrpcent.c: Likewise.
9716 * inet/getrpcent_r.c: Likewise.
9717 * inet/getaliasent.c: Likewise.
9718 * inet/getaliasent_r.c: Likewise.
9719 * inet/getaliasname.c: Likewise.
9720 * inet/getaliasname_r.c: Likewise.
9721 * nscd/getgrgid_r.c: Likewise.
9722 * nscd/getgrnam_r.c: Likewise.
9723 * nscd/gethstbyad_r.c: Likewise.
9724 * nscd/gethstbynm3_r.c: Likewise.
9725 * nscd/getpwnam_r.c: Likewise.
9726 * nscd/getpwuid_r.c: Likewise.
9727 * nscd/getsrvbynm_r.c: Likewise.
9728 * nscd/getsrvbypt_r.c: Likewise.
9729 * nscd/gai.c: Likewise.
9731 * configure.in (build_nscd): New substituted variable, set
9732 by --disable-build-nscd and defaults to $use_nscd.
9733 * configure: Regenerated.
9734 * config.make.in (build-nscd): New substituted variable.
9735 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
9736 Change conditional to require [$(build-nscd) = yes] as well.
9737 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
9740 * configure.in (use_nscd): New substituted variable, set by
9741 --disable-nscd. If enabled, define USE_NSCD.
9742 * configure: Regenerated.
9743 * config.h.in: Add USE_NSCD.
9744 * config.make.in (use-nscd): New substituted variable.
9745 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
9746 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
9747 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
9748 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
9749 (CFLAGS-getgrnam_r.c): Likewise.
9750 (CFLAGS-initgroups.c): Likewise.
9751 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
9752 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
9754 * inet/getnetgrent_r.c
9755 (nscd_setnetgrent): New function, broken out of ...
9756 (setnetgrent): ... here. Call it.
9757 (innetgr): Conditionalize nscd bits on [USE_NSCD].
9758 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
9759 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
9760 * nscd/Makefile (routines, aux): Move definitions after include of
9761 Makeconfig. Conditionalize on [$(use-nscd) != no].
9762 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
9763 Conditionalize on [USE_NSCD].
9764 (is_nscd, nscd_init_cb): Likewise.
9765 (nss_load_library): Conditionalize init callback on [USE_NSCD].
9766 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
9767 * nss/nss_db/db-init.c: Likewise.
9768 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
9770 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
9771 (make_request): Use it.
9772 (cache_valid_p): New function.
9773 (__check_pf): Use it.
9774 * NEWS: Add item for --disable-nscd.
9776 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
9778 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
9779 to support sed >= 4.2.1-20-ga9bf076.
9780 * configure: Regenerated.
9782 2012-08-22 Roland McGrath <roland@hack.frob.com>
9784 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
9785 Conditionalize whole body on [IREL].
9787 2012-08-22 Jeff Law <law@redhat.com>
9790 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
9791 if the family is PF_UNSPEC.
9793 2012-08-22 Mike Frysinger <vapier@gentoo.org>
9795 * Makerules (lib-version): Rename from V.
9796 (install-lib-nosubdir): Change V to lib-version.
9798 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
9801 * powerpc32/power6/wcschr.c: New file.
9802 * powerpc32/power6/wcscpy.c: New file.
9803 * powerpc32/power6/wcsrchr.c: New file.
9804 * powerpc64/power6/wcschr.c: New file.
9805 * powerpc64/power6/wcscpy.c: New file.
9806 * powerpc64/power6/wcsrchr.c: New file.
9808 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
9810 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
9811 (two_way_short_needle): Use it.
9812 * string/strstr.c (AVAILABLE1_USES_J): Define.
9813 * string/strcasestr.c: Likewise.
9815 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
9817 * string/strcasestr.c (TOLOWER): Make side-effect safe.
9820 * NEWS: Add an entry.
9821 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
9822 define their defaults.
9823 (two_way_short_needle): Detect end-of-string on-the-fly.
9824 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
9825 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
9826 * string/bug-strcasestr1.c: New test.
9827 * string/Makefile: Run it.
9829 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
9832 * string/str-two-way.h (two_way_short_needle): Optimize matching of
9833 the first character.
9835 2012-08-21 Roland McGrath <roland@hack.frob.com>
9837 * csu/elf-init.c (__libc_csu_irel): Function removed.
9838 * csu/libc-start.c (apply_irel): New function.
9839 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
9841 2012-08-21 Joseph Myers <joseph@codesourcery.com>
9843 * sysdeps/unix/sysv/linux/kernel-features.h
9844 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
9845 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
9846 <kernel-features.h>.
9847 [__NR_fadvise64_64]: Make code unconditional.
9848 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
9849 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
9850 !__NR_fadvise64_64)]: Likewise.
9851 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
9852 !__NR_fadvise64_64))]: Likewise.
9853 [__NR_fadvise64]: Make code unconditional.
9854 [!__NR_fadvise64]: Remove conditional code.
9855 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
9856 <kernel-features.h>.
9857 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
9859 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
9861 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
9862 not include <kernel-features.h>.
9863 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
9865 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
9867 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
9868 include <kernel-features.h>.
9869 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
9871 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
9874 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
9876 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
9877 slight instruction rearrangements per scrollpipe analysis.
9878 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
9880 2012-08-20 Roland McGrath <roland@hack.frob.com>
9882 * manual/syslog.texi (syslog; vsyslog, closelog):
9883 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
9884 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
9886 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
9887 DSOCAPS to match condition on defining it.
9889 2012-08-20 Joseph Myers <joseph@codesourcery.com>
9891 * sysdeps/unix/sysv/linux/kernel-features.h
9892 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
9893 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
9894 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
9895 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
9896 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
9897 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
9898 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
9899 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
9900 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
9901 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
9903 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
9904 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
9906 * sysdeps/unix/sysv/linux/kernel-features.h
9907 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
9908 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
9910 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9911 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
9912 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
9913 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9914 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
9915 Make code unconditional.
9916 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9917 (__mmap64) [!__NR_mmap2]: Likewise.
9918 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
9919 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
9920 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9921 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
9922 [__NR_mmap2]: Make code unconditional.
9923 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9924 (__mmap64) [!__NR_mmap2]: Likewise.
9926 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9928 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
9930 2012-08-18 Andreas Jaeger <aj@suse.de>
9932 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
9934 2012-08-18 Mike Frysinger <vapier@gentoo.org>
9936 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
9937 * include/unistd.h (__have_sock_cloexec): Likewise.
9938 (__have_pipe2): Likewise.
9939 (__have_dup3): Likewise.
9941 2012-08-18 Mike Frysinger <vapier@gentoo.org>
9944 * include/unistd.h (__have_pipe2): Change define into an extern int.
9945 (__have_dup3): Likewise.
9946 * socket/have_sock_cloexec.c: Include fcntl.h.
9947 (__have_pipe2): New variable.
9948 (__have_dup3): Likewise.
9950 2012-08-17 Mike Frysinger <vapier@gentoo.org>
9952 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
9954 2012-08-17 Marek Polacek <polacek@redhat.com>
9956 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
9957 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
9959 2012-08-17 Roland McGrath <roland@hack.frob.com>
9961 * configure.in: Add AC_SUBST for sysheaders.
9962 * configure: Regenerated.
9963 * config.make.in (sysheaders): New substituted variable.
9965 * sysdeps/unix/mkfifo.c: Moved ...
9966 * sysdeps/posix/mkfifo.c: ... here.
9967 * sysdeps/unix/mkfifoat.c: Moved ...
9968 * sysdeps/posix/mkfifoat.c: ... here.
9970 * sysdeps/unix/utime.c: Moved ...
9971 * sysdeps/posix/utime.c: ... here.
9973 * sysdeps/unix/time.c: Moved ...
9974 * sysdeps/posix/time.c: ... here.
9975 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
9976 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
9978 * sysdeps/unix/nice.c: Moved ...
9979 * sysdeps/posix/nice.c: ... here.
9981 * sysdeps/unix/alarm.c: Moved ...
9982 * sysdeps/posix/alarm.c: ... here.
9984 * intl/Makefile ($(codeset_mo)): Depend on the input file.
9986 2012-08-17 Jeff Law <law@redhat.com>
9988 * intl/Makefile (codeset_mo): New variable.
9989 ($(codeset_mo)): New target.
9990 (tst-codeset.out): Depend on that. Remove explicit rule.
9991 (tst-gettext3.out, tst-gettext5.out): Likewise.
9992 (LOCPATH-ENV, tst-codeset-ENV): New variables.
9993 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
9994 * intl/tst-codeset.sh: Remove.
9995 * intl/tst-gettext3.sh: Likewise.
9996 * intl/tst-gettext5.sh: Likewise.
9998 2012-08-17 Roland McGrath <roland@hack.frob.com>
10000 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
10001 * sysdeps/unix/syscalls.list: ... here.
10003 * sysdeps/posix/getaddrinfo.c
10004 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
10005 (gaiconf_init, gaiconf_reload): Use them.
10006 [!_STATBUF_ST_NSEC]
10007 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
10008 Define using time_t rather than struct timespec.
10010 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
10011 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
10013 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
10015 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
10016 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
10019 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
10020 __libc_cleanup_push argument.
10022 * bits/param.h: New file.
10023 * misc/sys/param.h: New file.
10024 * include/sys/param.h: New file.
10025 * misc/Makefile (headers): Add bits/param.h.
10026 * sysdeps/generic/sys/param.h: File removed.
10027 * sysdeps/unix/sysv/linux/bits/param.h: New file.
10028 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
10029 * sysdeps/mach/hurd/bits/param.h: New file.
10030 * sysdeps/mach/hurd/sys/param.h: File removed.
10032 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
10035 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
10037 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
10038 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
10041 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
10042 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
10043 rather than -D_IO_MTSAFE_IO conditionally.
10044 * stdio-common/Makefile (CPPFLAGS): Likewise.
10045 * wcsmbs/Makefile (CPPFLAGS): Likewise.
10046 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
10047 Use $(libio-mtsafe).
10048 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
10049 of -D_IO_MTSAFE_IO.
10050 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
10051 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
10052 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
10053 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
10054 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
10055 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
10056 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
10057 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
10058 (CFLAGS-fread_u_chk.c): Likewise.
10059 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
10060 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
10061 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
10062 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
10063 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
10064 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
10065 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
10066 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
10067 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
10069 * libio/Makefile: Test [$(libc-reentrant) = yes]
10070 instead of [$(filter %REENTRANT, $(defines)) nonempty].
10073 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
10074 * sysdeps/pthread/configure: File removed.
10075 * sysdeps/pthread/Makeconfig: New file.
10076 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
10077 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
10079 2012-08-16 Gary Benson <gbenson@redhat.com>
10081 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
10082 unmapping the first object in a namespace.
10084 2012-08-16 Roland McGrath <roland@hack.frob.com>
10086 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
10087 (__internal_setnetgrent): ... this. Add internal_function to
10088 definition. Add libc_hidden_def.
10089 (setnetgrent): Update caller.
10090 (internal_endnetgrent): Renamed to ...
10091 (__internal_endnetgrent): ... this. Add internal_function to
10092 definition. Add libc_hidden_def.
10093 (endnetgrent): Update caller.
10094 (internal_getnetgrent_r): Renamed to ...
10095 (__internal_getnetgrent_r): ... this. Add internal_function to
10096 definition. Add libc_hidden_def.
10097 (__getnetgrent_r): Update caller.
10098 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
10100 2012-08-16 Joseph Myers <joseph@codesourcery.com>
10102 * stdlib/longlong.h: Update from GCC.
10104 2012-08-16 Roland McGrath <roland@hack.frob.com>
10106 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
10107 on _QL, which is set by umul_ppmm but never used.
10108 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
10109 variables, which are set by GMP macros but never used.
10110 * stdio-common/_itowa.c (_itowa): Likewise.
10111 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
10112 * stdlib/mod_1.c (mpn_mod_1): Likewise.
10114 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
10116 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
10117 struct La_sh_regs is not constant.
10118 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
10119 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
10120 and struct La_sparc64_regs are not constant.
10122 2012-08-16 Joseph Myers <joseph@codesourcery.com>
10124 * sysdeps/unix/sysv/linux/kernel-features.h
10125 (__ASSUME_POSIX_TIMERS): Remove.
10126 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
10127 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
10128 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
10129 Make code unconditional.
10130 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
10131 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
10132 Make code unconditional.
10133 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
10134 * sysdeps/unix/sysv/linux/clock_nanosleep.c
10135 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
10136 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
10137 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
10138 Make code unconditional.
10139 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
10140 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
10141 (__libc_missing_posix_timers): Remove.
10143 2012-08-15 Roland McGrath <roland@hack.frob.com>
10145 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
10146 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
10148 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
10150 * elf/dl-sym.c: Include <stdlib.h>.
10152 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
10153 constants, which avoids warnings in 32-bit builds.
10155 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
10156 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
10158 * misc/lseek.c: File moved to ...
10159 * io/lseek.c: ... here.
10161 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
10163 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
10164 shifting LEN more than 31 bits at once.
10166 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10169 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
10170 segmentation fault for a case of two empty input strings.
10171 * string/test-strncasecmp.c (check1): Renamed to...
10172 (bz12205): ...this.
10173 (bz14195): Add new testcase for two empty input strings and N > 0.
10174 (test_main): Call new testcase, adapt for renamed function.
10176 2012-08-15 Andreas Jaeger <aj@suse.de>
10179 * crypt/md5test2.c: New test, based on test supplied by Serge
10180 Belyshev <belyshev@depni.sinp.msu.ru>.
10181 * crypt/Makefile (xtests): Add md5test-giant..
10182 * crypt/Makefile ($(objpfx)md5test-giant): Add.
10184 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
10187 * crypt/md5.c (md5_process_block): Don't assume the buffer
10188 length is less than 2**32.
10189 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
10190 length is less than 2**64.
10192 2012-08-15 Roland McGrath <roland@hack.frob.com>
10194 * string/str-two-way.h: Include <sys/param.h>.
10195 (MAX): Macro removed.
10197 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
10198 Move #define and #undef of memmove to just before and after
10199 including <string.h>.
10201 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
10202 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
10203 and after including <string.h>. Move declarations of
10204 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
10205 to before #include "string/memmove.c".
10207 * include/dirent.h: Declare __getdirentries.
10209 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
10210 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
10212 2012-08-14 Mike Frysinger <vapier@gentoo.org>
10214 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
10215 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
10216 * sysdeps/i386/configure: Regenerated.
10217 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
10218 STABS_CURRENT_FILE, and STABS_FUN.
10219 (END): Remove call to STABS_FUN_END.
10220 (STABS_CURRENT_FILE1): Delete.
10221 (STABS_CURRENT_FILE): Likewise.
10222 (STABS_FUN): Likewise.
10223 (STABS_FUN_END): Likewise.
10224 (STABS_FUN2): Likewise.
10225 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
10226 * sysdeps/x86_64/configure: Regenerated.
10228 2012-08-14 Roland McGrath <roland@hack.frob.com>
10230 * elf/dl-open.c: Include <atomic.h>.
10231 * elf/dl-lookup.c: Likewise.
10233 2012-08-14 Joseph Myers <joseph@codesourcery.com>
10235 * sysdeps/unix/sysv/linux/kernel-features.h
10236 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
10237 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
10239 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
10241 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
10242 condition on __ASSUME_CLONE_THREAD_FLAGS.
10244 2012-08-14 Andreas Jaeger <aj@suse.de>
10246 * sysdeps/i386/fpu/libm-test-ulps: Update.
10248 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
10250 * include/atomic.h (atomic_exchange_and_add): Split into ...
10251 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
10254 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
10256 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10258 2012-08-13 Jeff Law <law@redhat.com>
10260 * manual/stdio.texi (snprintf): Clarify handling of the trailing
10261 null byte in the output string.
10263 2012-08-10 Joseph Myers <joseph@codesourcery.com>
10265 * sysdeps/unix/sysv/linux/kernel-features.h
10266 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
10267 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
10268 (__ASSUME_ARG_MAX_STACK_BASED): Define.
10269 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
10270 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
10271 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
10272 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
10274 2012-08-09 Jeff Law <law@redhat.com>
10277 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
10278 When avoid_arena is set, don't retry in the that arena. Pick the
10279 next one, whatever it might be.
10280 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
10281 (arena_lock): Pass in new parameter to arena_get2.
10282 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
10284 (__libc_malloc): Unify retrying after main arena failure with
10285 __libc_memalign version.
10286 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
10288 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
10291 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
10292 to __redirect_strstr.
10293 (__strstr_sse42): Use typeof __redirect_strstr.
10294 (__strstr_ia32): Likewise.
10295 (__libc_strstr): New prototype.
10296 (strstr): Renamed to ...
10297 (__libc_strstr): This.
10298 (strstr): New strong alias of __libc_strstr.
10299 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
10300 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
10303 (__libc_time): New prototype.
10304 (time_ifunc): Replace time with __libc_time.
10305 (time): New strong alias and hidden definition of __libc_time.
10306 (__GI_time): Remove strong alias.
10307 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
10308 Include <stddef.h>.
10309 (memmove): Redefined to __redirect_memmove.
10310 (__memmove_sse2): Use typeof __redirect_memmove.
10311 (__memmove_ssse3): Likewise.
10312 (__memmove_ssse3_back): Likewise.
10313 (__libc_memmove): New prototype.
10314 (memmove): Renamed to ...
10315 (__libc_memmove): This.
10316 (memmove): New strong alias of __libc_memmove.
10318 2012-08-08 Mark Salter <msalter@redhat.com>
10321 (R_MN10300_TLS_GD): Define.
10322 (R_MN10300_TLS_LD): Likewise.
10323 (R_MN10300_TLS_LDO): Likewise.
10324 (R_MN10300_TLS_GOTIE): Likewise.
10325 (R_MN10300_TLS_IE): Likewise.
10326 (R_MN10300_TLS_LE): Likewise.
10327 (R_MN10300_TLS_DTPMOD): Likewise.
10328 (R_MN10300_TLS_DTPOFF): Likewise.
10329 (R_MN10300_TLS_TPOFF): Likewise.
10330 (R_MN10300_SYM_DIFF): Likewise.
10331 (R_MN10300_ALIGN): Likewise.
10332 (R_MN10300_NUM): Update.
10334 2012-08-08 Joseph Myers <joseph@codesourcery.com>
10336 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
10339 2012-08-08 Roland McGrath <roland@hack.frob.com>
10341 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
10343 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
10344 sysdeps/unix -> sysdeps/posix move.
10345 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
10347 2012-08-07 Allan McRae <allan@archlinux.org>
10350 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
10351 (SUNOS_CPP): Likewise.
10352 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
10354 (open_input): Call CPP using execvp.
10356 2012-08-07 Joseph Myers <joseph@codesourcery.com>
10358 * sysdeps/unix/sysv/linux/kernel-features.h
10359 (__ASSUME_PROT_GROWSUPDOWN): Remove.
10360 (__ASSUME_NO_CLONE_DETACHED): Likewise.
10361 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
10362 (__ASSUME_WAITID_SYSCALL): Likewise.
10363 * sysdeps/unix/sysv/linux/dl-execstack.c
10364 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
10365 code unconditional.
10366 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
10368 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
10369 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
10370 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
10372 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
10374 [__ASSUME_WAITID_SYSCALL]: Likewise.
10375 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
10377 2012-08-07 Roland McGrath <roland@hack.frob.com>
10379 * sysdeps/unix/closedir.c: Renamed to ...
10380 * sysdeps/posix/closedir.c: ... here.
10381 * sysdeps/unix/dirfd.c: Renamed to ...
10382 * sysdeps/posix/dirfd.c: ... here.
10383 * sysdeps/unix/dirstream.h: Renamed to ...
10384 * sysdeps/posix/dirstream.h: ... here.
10385 * sysdeps/unix/fdopendir.c: Renamed to ...
10386 * sysdeps/posix/fdopendir.c: ... here.
10387 * sysdeps/unix/opendir.c: Renamed to ...
10388 * sysdeps/posix/opendir.c: ... here.
10389 * sysdeps/unix/readdir.c: Renamed to ...
10390 * sysdeps/posix/readdir.c: ... here.
10391 * sysdeps/unix/readdir_r.c: Renamed to ...
10392 * sysdeps/posix/readdir_r.c: ... here.
10393 * sysdeps/unix/rewinddir.c: Renamed to ...
10394 * sysdeps/posix/rewinddir.c: ... here.
10395 * sysdeps/unix/seekdir.c: Renamed to ...
10396 * sysdeps/posix/seekdir.c: ... here.
10397 * sysdeps/unix/telldir.c: Renamed to ...
10398 * sysdeps/posix/telldir.c: ... here.
10399 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
10400 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
10401 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
10402 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
10404 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
10405 * bits/fcntl.h: ... here.
10407 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
10409 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
10410 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
10411 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
10412 (struct flock): Move l_start, l_len to the beginning.
10413 Use __pid_t for l_pid.
10414 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
10415 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
10416 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
10417 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
10418 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
10419 [__USE_LARGEFILE64] (struct flock64): New type.
10420 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
10422 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
10423 * bits/dirent.h: ... here.
10425 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
10426 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
10428 2012-08-07 Joseph Myers <joseph@codesourcery.com>
10430 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
10431 Change from 2.6.0 to 2.6.16.
10432 * sysdeps/unix/sysv/linux/configure: Regenerated.
10433 * sysdeps/unix/sysv/linux/kernel-features.h
10434 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
10435 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
10437 (__ASSUME_UTIMES): Likewise.
10438 (__ASSUME_CLONE_STOPPED): Remove.
10439 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
10440 architectures, not kernel version.
10441 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
10442 (__ASSUME_NO_CLONE_DETACHED): Likewise.
10443 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
10444 (__ASSUME_WAITID_SYSCALL): Likewise.
10445 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
10446 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
10447 * README: State 2.6.16 as minimum Linux kernel version. Do not
10448 refer to older versions.
10450 2012-08-06 Roland McGrath <roland@hack.frob.com>
10452 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
10453 Define alphasort64 as an alias.
10454 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
10455 Define versionsort64 as an alias.
10456 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
10457 Define scandir64 as an alias.
10458 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
10459 Define scandirat64 as an alias.
10460 * dirent/alphasort64.c (alphasort64):
10461 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
10462 * dirent/versionsort64.c: Likewise.
10463 * dirent/scandir64.c: Likewise.
10464 * dirent/scandirat64.c: Likewise.
10465 * sysdeps/wordsize-64/alphasort.c: File removed.
10466 * sysdeps/wordsize-64/alphasort64.c: File removed.
10467 * sysdeps/wordsize-64/scandir.c: File removed.
10468 * sysdeps/wordsize-64/scandir64.c: File removed.
10469 * sysdeps/wordsize-64/scandirat.c: File removed.
10470 * sysdeps/wordsize-64/scandirat64.c: File removed.
10471 * sysdeps/wordsize-64/versionsort.c: File removed.
10472 * sysdeps/wordsize-64/versionsort64.c: File removed.
10473 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
10474 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
10475 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
10476 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
10477 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
10478 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
10479 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
10480 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
10482 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
10483 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
10484 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
10485 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10486 [defined __arch64__ || defined __sparcv9]
10487 (__INO_T_MATCHES_INO64_T): New macro.
10488 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
10489 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
10490 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
10491 * sysdeps/unix/sysv/linux/bits/dirent.h
10492 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
10493 (_DIRENT_MATCHES_DIRENT64): New macro.
10495 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
10496 Define lockf64 as an alias.
10497 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
10498 Define fseeko64 as an alias.
10499 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
10500 Define ftello64 as an alias.
10501 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
10502 Define _IO_fgetpos64 and fgetpos64 as aliases.
10503 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
10504 Define _IO_fsetpos64 and fsetpos64 as aliases.
10505 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
10506 Conditionalize body on this.
10507 * libio/fseeko64.c: Likewise.
10508 * libio/ftello64.c: Likewise.
10509 * libio/iofgetpos64.c: Likewise.
10510 * libio/iofsetpos64.c: Likewise.
10511 * sysdeps/wordsize-64/lockf.c: File removed.
10512 * sysdeps/wordsize-64/lockf64.c: File removed.
10513 * sysdeps/wordsize-64/fseeko.c: File removed.
10514 * sysdeps/wordsize-64/fseeko64.c: File removed.
10515 * sysdeps/wordsize-64/ftello.c: File removed.
10516 * sysdeps/wordsize-64/ftello64.c: File removed.
10517 * sysdeps/wordsize-64/iofgetpos.c: File removed.
10518 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
10519 * sysdeps/wordsize-64/iofsetpos.c: File removed.
10520 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
10521 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
10522 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
10523 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
10524 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
10525 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
10526 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
10527 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
10528 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
10529 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
10530 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
10532 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
10533 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
10534 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
10535 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10536 [defined __arch64__ || defined __sparcv9]
10537 (__OFF_T_MATCHES_OFF64_T): New macro.
10538 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
10539 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
10540 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
10541 (__OFF_T_MATCHES_OFF64_T): New macro.
10543 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
10545 * stdlib/secure-getenv.c (__secure_getenv): Replace
10546 GLIBC_2_16 with GLIBC_2_17.
10548 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
10550 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
10551 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
10553 2012-08-03 David S. Miller <davem@davemloft.net>
10555 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10557 2012-08-03 Joseph Myers <joseph@codesourcery.com>
10559 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
10561 (__ASSUME_CORRECT_SI_PID): Likewise.
10562 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
10563 (__ASSUME_TMPFS_NAME): Likewise.
10564 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
10565 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
10566 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
10567 (HAVE_AUX_SECURE): Make definition unconditional.
10568 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
10569 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
10571 2012-08-03 Roland McGrath <roland@hack.frob.com>
10573 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
10574 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
10575 * sysdeps/mach/hurd/eloop-threshold.h: New file.
10576 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
10577 __eloop_threshold instead of SYMLOOP_MAX.
10579 * sysdeps/generic/eloop-threshold.h: New file.
10580 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
10582 * elf/chroot_canon.c (chroot_canon): Likewise.
10584 2012-08-03 Joseph Myers <joseph@codesourcery.com>
10587 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
10588 Change to 2.6.0 everywhere.
10589 * sysdeps/unix/sysv/linux/configure: Regenerated.
10590 * sysdeps/unix/sysv/linux/kernel-features.h
10591 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
10592 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
10594 (__ASSUME_POSIX_TIMERS): Define unconditionally.
10595 (__ASSUME_FUTEX_REQUEUE): Remove.
10596 (__ASSUME_STATFS64): Define unconditionally.
10597 (__ASSUME_AT_SECURE): Likewise.
10598 (__ASSUME_CORRECT_SI_PID): Likewise.
10599 (__ASSUME_TGKILL): Define without depending on kernel version for
10601 (__ASSUME_UTIMES): Likewise.
10602 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
10604 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
10605 (__ASSUME_TMPFS_NAME): Likewise.
10606 * README: Update reference to Linux kernel versions.
10608 2012-08-02 Marek Polacek <polacek@redhat.com>
10611 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
10612 libc_cv_asm_type_prefix with %.
10613 * configure: Regenerated.
10614 * include/libc-symbols.h: Remove comment about
10615 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
10616 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
10617 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
10618 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
10619 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
10620 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
10621 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
10622 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
10623 * elf/tst-unique2mod1.c: Likewise.
10624 * elf/tst-unique1mod2.c: Likewise.
10625 * elf/tst-unique1mod1.c: Likewise.
10626 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
10627 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
10628 Replace ASM_TYPE_DIRECTIVE with .type.
10629 * sysdeps/s390/s390-64/sysdep.h: Likewise.
10630 * sysdeps/i386/sysdep.h: Likewise.
10631 * sysdeps/x86_64/sysdep.h: Likewise.
10632 * sysdeps/sh/sysdep.h: Likewise.
10633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
10634 Do not define ASM_TYPE_DIRECTIVE.
10635 * sysdeps/powerpc/sysdep.h: Likewise.
10636 * sysdeps/powerpc/powerpc32/sysdep.h:
10637 Replace ASM_TYPE_DIRECTIVE with .type.
10638 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
10639 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
10640 * sysdeps/i386/fpu/e_powf.S: Likewise.
10641 * sysdeps/i386/fpu/e_expl.S: Likewise.
10642 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
10643 * sysdeps/i386/fpu/e_acosh.S: Likewise.
10644 * sysdeps/i386/fpu/e_pow.S: Likewise.
10645 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
10646 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
10647 * sysdeps/i386/fpu/s_expm1.S: Likewise.
10648 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
10649 * sysdeps/i386/fpu/e_log2.S: Likewise.
10650 * sysdeps/i386/fpu/e_log2l.S: Likewise.
10651 * sysdeps/i386/fpu/e_scalb.S: Likewise.
10652 * sysdeps/i386/fpu/e_powl.S: Likewise.
10653 * sysdeps/i386/fpu/e_log10f.S: Likewise.
10654 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
10655 * sysdeps/i386/fpu/e_logl.S: Likewise.
10656 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
10657 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
10658 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
10659 * sysdeps/i386/fpu/e_log2f.S: Likewise.
10660 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
10661 * sysdeps/i386/fpu/e_log.S: Likewise.
10662 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
10663 * sysdeps/i386/fpu/e_logf.S: Likewise.
10664 * sysdeps/i386/fpu/e_log10l.S: Likewise.
10665 * sysdeps/i386/fpu/e_atanh.S: Likewise.
10666 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
10667 * sysdeps/i386/fpu/e_log10.S: Likewise.
10668 * sysdeps/i386/fpu/s_frexp.S: Likewise.
10669 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
10670 * sysdeps/i386/fpu/s_asinh.S: Likewise.
10671 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
10672 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
10673 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
10674 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
10675 * sysdeps/i386/i686/strtok.S: Likewise.
10676 * sysdeps/i386/i386-mcount.S: Likewise.
10677 * sysdeps/i386/strtok.S: Likewise.
10678 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
10679 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
10680 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
10681 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
10682 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
10683 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
10684 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
10685 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
10686 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
10687 * sysdeps/x86_64/_mcount.S: Likewise.
10688 * sysdeps/x86_64/strtok.S: Likewise.
10689 * sysdeps/sh/_mcount.S: Likewise.
10691 2012-08-01 Roland McGrath <roland@hack.frob.com>
10693 * libio/iofopen.c: Include <fcntl.h>.
10694 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
10695 (_IO_fopen64, fopen64): Define as aliases.
10696 * libio/iofopen64.c: Include <fcntl.h>.
10697 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
10698 Conditionalize body on this.
10699 * sysdeps/wordsize-64/iofopen.c: File removed.
10700 * sysdeps/wordsize-64/iofopen64.c: File removed.
10702 2012-08-01 Marek Polacek <polacek@redhat.com>
10704 * libc/Makeconfig: Use elf in place of binfmt-subdir.
10705 Use dlfcn directly instead of a variable.
10706 (binfmt-subdir): Do not define.
10709 2012-08-01 Joseph Myers <joseph@codesourcery.com>
10711 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
10712 Remove all definitions.
10713 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
10714 <kernel-features.h>.
10715 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
10716 (miss_F_GETOWN_EX): Remove all definitions.
10717 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
10719 [!__ASSUME_FCNTL64]: Remove conditional code.
10720 [__ASSUME_FCNTL64]: Make code unconditional.
10721 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
10722 <kernel-features.h>.
10723 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
10724 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
10725 (lockf64) [__NR_fcntl64]: Make code unconditional.
10726 (lockf64) [__ASSUME_FCNTL64]: Likewise.
10728 * sysdeps/unix/sysv/linux/kernel-features.h
10729 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
10730 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
10731 Make code unconditional.
10732 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
10733 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
10734 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
10735 [__NR_vfork]: Make code unconditional.
10736 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
10737 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
10738 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
10739 [__NR_vfork]: Make code unconditional.
10740 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
10741 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
10743 2012-08-01 Roland McGrath <roland@hack.frob.com>
10745 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
10746 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
10748 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
10749 Define mkstemp64 as an alias.
10750 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
10751 Define mkstemps64 as an alias.
10752 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
10753 Define mkostemp64 as an alias.
10754 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
10755 Define mkostemps64 as an alias.
10756 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
10757 Conditionalize body on this.
10758 * misc/mkostemp64.c: Likewise.
10759 * misc/mkostemps64.c: Likewise.
10760 * misc/mkstemps64.c: Likewise.
10761 * sysdeps/wordsize-64/mkstemp64.c: File removed.
10762 * sysdeps/wordsize-64/mkostemp64.c: File removed.
10763 * sysdeps/wordsize-64/mkostemp.c: File removed.
10764 * sysdeps/wordsize-64/mkstemp.c: File removed.
10765 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
10766 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
10767 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
10768 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
10771 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
10772 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
10773 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
10774 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
10776 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
10777 compat_symbol macros from <shlib-compat.h> rather than the underlying
10778 default_symbol_version and symbol_version macros, so that DEFAULT
10779 lines in shlib-versions are respected.
10780 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
10782 2012-08-01 Florian Weimer <fweimer@redhat.com>
10784 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
10785 Declare with warn_unused_result.
10786 (setgid, setregid, setegid, setresgid): Likewise.
10787 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
10789 * WUR-REPORT: Remove set*id functions.
10791 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
10793 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
10795 2012-07-31 Roland McGrath <roland@hack.frob.com>
10797 * include/sys/socket.h (__libc_accept, __libc_accept4):
10798 Add attribute_hidden.
10799 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
10801 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
10803 * inet/getnetgrent_r.c (setup): Likewise.
10805 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
10807 2012-07-31 David S. Miller <davem@davemloft.net>
10809 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10811 2012-07-31 Joseph Myers <joseph@codesourcery.com>
10814 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
10815 value between 1.0 and 2.0 and smaller part has absolute value less
10817 * math/s_clog10.c (__clog10): Likewise.
10818 * math/s_clog10f.c (__clog10f): Likewise.
10819 * math/s_clog10l.c (__clog10l): Likewise.
10820 * math/s_clogf.c (__clogf): Likewise.
10821 * math/s_clogl.c (__clogl): Likewise.
10822 * math/libm-test.inc (clog_test): Add more tests.
10823 (clog10_test): Likewise.
10824 * sysdeps/i386/fpu/libm-test-ulps: Update.
10825 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10827 2012-07-31 Florian Weimer <fweimer@redhat.com>
10829 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
10830 Exit with zero in case no suitable GID is found, and write a
10831 message to standard error.
10833 2012-07-30 Roland McGrath <roland@hack.frob.com>
10835 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
10837 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
10838 (MAXPATHLEN): Removed.
10839 (NOGROUP, NODEV): New macros.
10840 (setbit, clrbit, isset, isclr): New macros.
10841 (howmany, roundup, powerof2): New macros.
10842 (DEV_BSIZE): New macro.
10844 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
10845 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
10847 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
10848 definition on [!__NO_LONG_DOUBLE_MATH].
10850 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
10851 PTR_MANGLE and PTR_DEMANGLE.
10853 * socket/accept4.c (accept4): Rename to __libc_accept4.
10854 Define accept4 as a weak alias.
10856 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
10857 on [_DIRENT_HAVE_D_TYPE].
10858 * io/ftw.c (ftw_dir): Likewise.
10860 * io/xmknod.c (__xmknod): Don't check PATH for being null.
10862 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
10864 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
10865 Use the BSD numbers rather than the arbitrary ones we had.
10866 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
10867 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
10868 (SIGXCPU, SIGXFSZ): New macros.
10871 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
10872 initializer on [_LIBC_REENTRANT].
10874 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
10875 definitions inside [_POSIX_MAPPED_FILES].
10877 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
10879 * dirent/opendir.c: Include <fcntl.h>.
10881 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
10882 (__libc_getspecific): Likewise.
10883 (__libc_key_create): Likewise.
10885 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
10886 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
10887 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
10888 (tmpfile64): Define as alias.
10889 * sysdeps/wordsize-64/tmpfile.c: File removed.
10890 * sysdeps/wordsize-64/tmpfile64.c: File removed.
10891 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
10892 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
10894 * stdio-common/vfscanf.c: Include <stdbool.h>.
10895 * nss/makedb.c: Likewise.
10896 * stdio-common/_i18n_number.h: Likewise.
10897 * argp/argp-help.c: Likewise.
10898 * posix/wordexp.c: Likewise.
10899 * sysdeps/posix/spawni.c: Likewise.
10900 * nss/nss_files/files-initgroups.c: Likewise.
10901 * stdio-common/reg-modifier.c: Include <stdlib.h>.
10902 * nss/nss_files/files-initgroups.c: Likewise.
10903 * nss/nss_db/db-netgrp.c: Likewise.
10904 * nss/nss_db/db-initgroups.c: Likewise.
10905 * io/fchmodat.c: Include <sys/stat.h>.
10907 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
10908 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
10910 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
10913 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
10914 Add multiple inclusion protection.
10916 2012-07-27 David S. Miller <davem@davemloft.net>
10918 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10920 2012-07-27 Gary Benson <gbenson@redhat.com>
10923 * elf/rtld.c: Include <stap-probe.h>.
10924 (dl_main): Added static probes "init_start" and "init_complete".
10925 * elf/dl-load.c: Include <stap-probe.h>.
10926 (lose): Take new parameter "nsid".
10927 Added static probe "map_failed".
10928 (_dl_map_object_from_fd): Pass namespace id to lose.
10929 Added static probe "map_start".
10930 (open_verify): Pass namespace id to lose.
10931 * elf/dl-open.c: Include <stap-probe.h>.
10932 (dl_open_worker) Added static probes "map_complete", "reloc_start"
10933 and "reloc_complete".
10934 * elf/dl-close.c: Include <stap-probe.h>.
10935 (_dl_close_worker): Added static probes "unmap_start" and
10937 * elf/rtld-debugger-interface.txt: New file documenting the above.
10939 2012-07-26 Roland McGrath <roland@hack.frob.com>
10941 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
10942 rather than a string variable.
10943 * sunrpc/rpc_main.c (h_output): Likewise.
10944 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
10946 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
10948 * inet/check_native.c: New file.
10950 2012-07-26 Joseph Myers <joseph@codesourcery.com>
10953 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
10954 if larger part has absolute value 1.0.
10955 * math/s_clog10.c (__clog10): Likewise.
10956 * math/s_clog10f.c (__clog10f): Likewise.
10957 * math/s_clog10l.c (__clog10l): Likewise.
10958 * math/s_clogf.c (__clogf): Likewise.
10959 * math/s_clogl.c (__clogl): Likewise.
10960 * math/libm-test.inc (clog_test): Add more tests.
10961 (clog10_test): Likewise.
10962 * sysdeps/i386/fpu/libm-test-ulps: Update.
10963 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10965 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
10966 (pltexit): Likewise.
10967 (La_regs): Likewise.
10968 (La_retval): Likewise.
10969 (int_retval): Likewise.
10970 Update #error for removed macros to refer only to definitions in
10972 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
10974 (pltexit): Likewise.
10975 (La_regs): Likewise.
10976 (La_retval): Likewise.
10977 (int_retval): Likewise.
10978 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
10980 (pltexit): Likewise.
10981 (La_regs): Likewise.
10982 (La_retval): Likewise.
10983 (int_retval): Likewise.
10984 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
10986 (pltexit): Likewise.
10987 (La_regs): Likewise.
10988 (La_retval): Likewise.
10989 (int_retval): Likewise.
10990 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
10992 (pltexit): Likewise.
10993 (La_regs): Likewise.
10994 (La_retval): Likewise.
10995 (int_retval): Likewise.
10996 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
10998 (pltexit): Likewise.
10999 (La_regs): Likewise.
11000 (La_retval): Likewise.
11001 (int_retval): Likewise.
11002 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
11004 (pltexit): Likewise.
11005 (La_regs): Likewise.
11006 (La_retval): Likewise.
11007 (int_retval): Likewise.
11008 * sysdeps/generic/tst-audit.h: Update comment to refer only to
11009 macro definitions in tst-audit.h.
11010 * sysdeps/i386/tst-audit.h: New file.
11011 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
11012 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
11013 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
11014 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
11015 * sysdeps/sh/tst-audit.h: Likewise.
11016 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
11017 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
11018 * sysdeps/x86_64/tst-audit.h: Likewise.
11020 2012-07-26 Andreas Jaeger <aj@suse.de>
11022 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
11025 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
11026 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
11027 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
11029 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
11030 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
11031 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
11033 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
11036 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
11038 (si_call_addr, si_syscall, si_arch): Define new macro.
11039 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
11041 (si_call_addr, si_syscall, si_arch): Define new marcro.
11042 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
11044 (si_call_addr, si_syscall, si_arch): Define new macro.
11045 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
11047 (si_call_addr, si_syscall, si_arch): Define new macro.
11049 2012-07-25 Joseph Myers <joseph@codesourcery.com>
11052 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
11053 Change to 2.4.21 where previously 2.4.1.
11054 * sysdeps/unix/sysv/linux/configure: Regenerated.
11055 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
11056 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
11057 Linux kernel version.
11058 (__ASSUME_STD_AUXV): Remove.
11059 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
11061 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
11062 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
11063 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
11064 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
11065 (__ASSUME_NETLINK_SUPPORT): Likewise.
11066 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
11067 (__no_netlink_support): Remove conditional definition.
11068 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
11070 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
11071 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
11072 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
11073 (if_nameindex_ioctl): Remove.
11074 (if_nameindex_netlink): Do not handle __no_netlink_support.
11075 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
11077 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
11078 Remove conditional code.
11079 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
11081 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
11083 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
11084 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
11085 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
11087 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
11088 [!__ASSUME_STD_AUXV]: Remove conditional code.
11089 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
11090 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
11091 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
11092 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
11093 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
11094 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
11096 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
11097 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
11098 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
11099 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
11101 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
11102 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
11103 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
11105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
11106 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
11108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
11109 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
11110 code unconditional.
11111 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11113 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
11115 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
11118 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
11120 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11122 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
11123 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
11124 code unconditional.
11125 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11127 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
11129 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
11132 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
11133 code unconditional.
11134 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11136 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
11138 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11141 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
11143 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
11144 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
11145 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
11146 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
11147 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
11148 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
11149 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
11150 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
11151 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
11152 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
11153 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
11154 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
11155 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
11156 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
11157 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
11158 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
11159 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
11160 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
11161 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
11162 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
11163 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
11164 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
11165 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
11167 2012-07-25 Florian Weimer <fweimer@redhat.com>
11169 * Versions.def: Add GLIBC_2.17.
11170 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
11171 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
11172 Introduce __libc_secure_getenv.
11173 * stdlib/Versions (2.17): Add secure_getenv
11174 (GLIBC_PRIVATE): Add __libc_secure_getenv.
11175 * stdlib/secure-getenv.c: Rename __secure_getenv to
11176 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
11177 symbol __secure_getenv for GLIBC_2.0.
11178 * stdlib/tst-secure-getenv.c: New.
11179 * stdlib/Makefile (tests): Add testcase.
11180 * manual/startup.texi (Environment Access): Document
11182 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
11183 __libc_secure_getenv.
11184 * inet/ruserpass.c (ruserpass): Likewise.
11185 * malloc/mtrace.c (mtrace): Likewise.
11186 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
11187 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
11188 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
11189 * sysdeps/posix/tempname.c: Likewise. Evaluate
11190 HAVE_SECURE_GETENV.
11191 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
11192 __secure_getenv to __libc_secure_getenv.
11193 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
11194 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11196 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11198 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
11199 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
11200 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
11201 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
11202 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
11203 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
11204 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
11206 2012-07-25 Joseph Myers <joseph@codesourcery.com>
11208 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
11209 (struct La_i86_retval): Likewise.
11210 (struct La_x86_64_regs): Likewise.
11211 (struct La_x86_64_retval): Likewise.
11212 (struct La_x32_regs): Likewise.
11213 (struct La_x32_retval): Likewise.
11214 (struct La_ppc32_regs): Likewise.
11215 (struct La_ppc32_retval): Likewise.
11216 (struct La_ppc64_regs): Likewise.
11217 (struct La_ppc64_retval): Likewise.
11218 (struct La_sh_regs): Likewise.
11219 (struct La_sh_retval): Likewise.
11220 (struct La_s390_32_regs): Likewise.
11221 (struct La_s390_32_retval): Likewise.
11222 (struct La_s390_64_regs): Likewise.
11223 (struct La_s390_64_retval): Likewise.
11224 (struct La_sparc32_regs): Likewise.
11225 (struct La_sparc32_retval): Likewise.
11226 (struct La_sparc64_regs): Likewise.
11227 (struct La_sparc64_retval): Likewise.
11228 (struct audit_ifaces): Remove architecture-specific pltenter and
11230 * sysdeps/i386/ldsodefs.h: New file.
11231 * sysdeps/powerpc/ldsodefs.h: Likewise.
11232 * sysdeps/s390/ldsodefs.h: Likewise.
11233 * sysdeps/sh/ldsodefs.h: Likewise.
11234 * sysdeps/sparc/ldsodefs.h: Likewise.
11235 * sysdeps/x86_64/ldsodefs.h: Likewise.
11237 2012-07-25 Marek Polacek <polacek@redhat.com>
11240 * math/libm-test.inc (yn_test): Add another test.
11241 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
11242 to ERANGE when the result is +-Inf.
11243 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
11244 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
11245 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
11246 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
11248 2012-07-24 Joseph Myers <joseph@codesourcery.com>
11250 * conform/data/time.h-data (NULL): Use macro-constant. Require
11252 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
11254 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
11256 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
11258 * configure.in <sysdeps resolving>: Correct printing
11260 * configure: Regenerate.
11262 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
11264 * math/w_ilogb.c: Include <limits.h>.
11265 * math/w_ilogbl.c: Likewise.
11267 2012-07-20 Joseph Myers <joseph@codesourcery.com>
11269 * manual/lang.texi (__va_copy): Document primarily as ISO C99
11270 va_copy. Document allowing for unavailable va_copy only as
11271 pre-C99 compatibility.
11272 * manual/string.texi (Copying and Concatenation): Use va_copy
11273 instead of __va_copy in concat example.
11275 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
11277 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
11278 (__sendto): Use create_address_port. Initialize APORT and deallocate
11281 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
11282 with O_NOLINK passed to __file_name_lookup.
11284 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
11285 with O_NOLINK passed to __file_name_lookup.
11287 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
11288 negative N or less than NGIDS.
11290 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
11291 type to string_t. Set ERANGE as errno and return it if NAME is not big
11292 enough. Use memcpy instead of strncpy.
11294 2012-07-20 Joseph Myers <joseph@codesourcery.com>
11296 * elf/Makefile (check-data): Remove.
11297 (localplt.data): New vpath directive.
11298 ($(objpfx)check-localplt.out): Use localplt.data from vpath
11299 instead of $(check-data).
11300 * scripts/data/localplt-generic.data: Move to ...
11301 * sysdeps/generic/localplt.data: ... here.
11302 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
11303 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
11304 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
11305 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
11307 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
11308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
11310 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
11311 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
11313 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
11314 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
11316 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
11317 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
11319 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
11320 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
11323 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11325 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
11326 PPC32 and PPC64 files.
11327 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
11328 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
11330 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11332 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
11333 __makecontext_ret to ...
11334 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
11335 ... here and call exit if uc_link is NULL. New file.
11336 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
11337 __makecontext_ret.S.
11338 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
11339 __makecontext_ret to ...
11340 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
11341 ... here and call exit if uc_link is NULL. New file.
11342 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
11343 __makecontext_ret.S.
11345 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11347 * elf/elf.h (R_390_IRELATIVE): New definition.
11348 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
11349 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
11350 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
11351 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
11352 (elf_machine_lazy_rel): Likewise.
11353 * sysdeps/s390/dl-irel.h: New file.
11354 * sysdeps/s390/s390-64/memcpy.S: New asm code.
11355 * sysdeps/s390/s390-64/memset.S: New asm code.
11356 * sysdeps/s390/s390-64/memcmp.S: New asm code.
11357 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
11358 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
11359 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
11360 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
11361 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
11362 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
11363 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
11364 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
11365 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
11366 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
11367 * sysdeps/s390/s390-32/memcpy.S: New asm code.
11368 * sysdeps/s390/s390-32/memset.S: New asm code.
11369 * sysdeps/s390/s390-32/memcmp.S: New asm code.
11371 2012-07-17 Marek Polacek <polacek@redhat.com>
11374 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
11375 * sysdeps/s390/s390-64/configure.in: Likewise.
11376 * sysdeps/sparc/configure.in: Likewise.
11377 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
11378 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
11379 * sysdeps/i386/configure.in: Likewise.
11380 * sysdeps/x86_64/configure.in: Likewise.
11381 * sysdeps/sh/configure.in: Likewise.
11382 * sysdeps/s390/s390-32/configure: Regenerated.
11383 * sysdeps/s390/s390-64/configure: Likewise.
11384 * sysdeps/x86_64/configure: Likewise.
11385 * sysdeps/sh/configure: Likewise.
11386 * sysdeps/powerpc/powerpc64/configure: Likewise.
11387 * sysdeps/powerpc/powerpc32/configure: Likewise.
11388 * sysdeps/sparc/configure: Likwise.
11389 * sysdeps/i386/configure: Likewise.
11391 * elf/dl-open.c: Comment fixes.
11393 2012-07-17 Joseph Myers <joseph@codesourcery.com>
11395 * Makefile [CXX] (check-data): Remove.
11396 [CXX] (c++-types.data): New vpath directive.
11397 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
11398 vpath. Do not allow for C++ type data being missing.
11399 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
11400 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
11401 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
11402 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
11403 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
11404 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
11405 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
11406 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
11408 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
11409 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
11411 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
11412 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
11414 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
11415 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
11417 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
11418 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
11420 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
11421 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
11423 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
11424 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
11426 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
11427 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
11429 * elf/tls-macros.h (TLS_LE): Move architecture-specific
11430 definitions to architecture-specific files.
11431 (TLS_IE): Likewise.
11432 (TLS_LD): Likewise.
11433 (TLS_GD): Likewise.
11434 * sysdeps/i386/tls-macros.h: New file.
11435 * sysdeps/powerpc/tls-macros.h: Likewise.
11436 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
11437 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
11438 * sysdeps/sh/tls-macros.h: Likewise.
11439 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
11440 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
11441 * sysdeps/x86_64/tls-macros.h: Likewise.
11443 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
11445 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
11446 zero value for regular exit case.
11448 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
11449 (__start_context): Preserve zero value for regular exit case.
11451 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
11452 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11454 * manual/setjmp.texi (setcontext): Clarify normal process
11455 termination when uc_link is the null pointer.
11456 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
11459 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
11461 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
11462 preprocessor. Test for each exception mask separately.
11464 2012-07-16 Andreas Jaeger <aj@suse.de>
11466 * po/ru.po: Update from translation team.
11468 2012-07-15 Joseph Myers <joseph@codesourcery.com>
11470 * conform/data/string.h-data (NULL): Use macro-constant. Require
11472 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
11473 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
11474 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
11475 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
11476 [ISO || ISO99 || ISO11] (*_t): Do not allow.
11478 2012-07-13 Andreas Jaeger <aj@suse.de>
11480 * po/fr.po: Update from translation team.
11482 2012-07-12 Marek Polacek <polacek@redhat.com>
11485 * math/libm-test.inc (yn_test): Add test for BZ #14173.
11486 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
11489 2012-07-12 Joseph Myers <joseph@codesourcery.com>
11492 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
11493 Change to 2.4.1 where previously 2.4.0.
11494 * sysdeps/unix/sysv/linux/configure: Regenerated.
11495 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
11496 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
11498 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
11499 (__ASSUME_AT_CLKTCK): Remove.
11500 (__ASSUME_AT_PAGESIZE): Likewise.
11501 (__ASSUME_AT_XID): Likewise.
11502 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
11503 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
11504 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
11506 (HAVE_AUX_PAGESIZE): Likewise.
11507 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
11508 [__ASSUME_AT_CLKTCK]: Make code unconditional.
11509 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
11511 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
11514 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
11515 the temporary buffer used to invoke __gethostbyname2_r,
11516 __gethostbyaddr_r and gethostbyname4_r to make room for struct
11517 host_data / struct gaih_addrtuple.
11518 * resolv/nss_dns/dns-host.c (global scope): Move definition of
11519 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
11520 header file nss/nsswitch.h.
11521 * nss/nsswitch.h (global scope): Add definition of implementation
11522 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
11523 resolv/nss_dns/dns-host.c).
11525 2012-07-11 Andreas Jaeger <aj@suse.de>
11527 * po/fr.po: Update from translation team.
11529 * po/sv.po: Update from translation team
11530 * po/fr.po: Another update from translation team.
11532 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11534 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
11535 for subnormals or multiply small sinh result by itself.
11536 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
11537 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11539 2012-07-11 David S. Miller <davem@davemloft.net>
11541 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11543 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
11546 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
11547 (INTERNAL_MARK): Shift it here.
11549 2012-07-10 Marek Polacek <polacek@redhat.com>
11552 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
11553 libc_cv_asm_global_directive with .globl.
11554 * configure: Regenerated.
11555 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
11557 * sysdeps/i386/configure: Regenerated.
11558 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
11560 * sysdeps/x86_64/configure: Regenerated.
11561 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
11562 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
11563 * elf/tst-unique2mod2.c: Likewise.
11564 * elf/tst-unique2mod1.c: Likewise.
11565 * elf/tst-unique1mod2.c: Likewise.
11566 * elf/tst-unique1mod1.c: Likewise.
11567 * sysdeps/s390/s390-32/sysdep.h: Likewise.
11568 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
11569 * sysdeps/s390/s390-64/sysdep.h: Likewise.
11570 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
11571 * sysdeps/mach/sysdep.h: Likewise.
11572 * sysdeps/i386/sysdep.h: Likewise.
11573 * sysdeps/i386/i386-mcount.S: Likewise.
11574 * sysdeps/x86_64/_mcount.S: Likewise.
11575 * sysdeps/x86_64/sysdep.h: Likewise.
11576 * sysdeps/sh/_mcount.S: Likewise.
11577 * sysdeps/sh/sysdep.h: Likewise.
11578 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
11579 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
11580 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
11581 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
11582 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
11583 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
11584 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
11585 * locale/localeinfo.h: Likewise.
11586 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
11587 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
11589 2012-07-09 Roland McGrath <roland@hack.frob.com>
11592 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
11594 * manual/message.texi (The Uniforum approach): Likewise.
11595 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
11596 (glibc iconv Implementation): Likewise.
11598 2012-07-09 Joseph Myers <joseph@codesourcery.com>
11601 * math/s_clog.c (__clog): Avoid scaling a value down where that
11602 could result in underflow.
11603 * math/s_clog10.c (__clog10): Likewise.
11604 * math/s_clog10f.c (__clog10f): Likewise.
11605 * math/s_clog10l.c (__clog10l): Likewise.
11606 * math/s_clogf.c (__clogf): Likewise.
11607 * math/s_clogl.c (__clogl): Likewise.
11608 * math/libm-test.inc (clog_test): Add more tests.
11609 (clog10_test): Likewise.
11610 * sysdeps/i386/fpu/libm-test-ulps: Update.
11611 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11613 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
11616 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
11617 by 7 not 8 to examine high bit of fractional part.
11620 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
11621 for call to __mcount_internal.
11622 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
11623 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
11624 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
11626 2012-07-06 Joseph Myers <joseph@codesourcery.com>
11629 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
11630 approximation for values within 0x1p-13f of an odd multiple of
11632 * math/libm-test.inc (tan_test): Do not allow spurious underflow
11633 exception. Add more tests.
11634 * sysdeps/i386/fpu/libm-test-ulps: Update.
11637 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
11638 inputs and return -1 for them. Do not check for +Inf in case not
11639 reachable for +Inf.
11640 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
11641 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
11642 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
11643 and return -1 for them. Do not check for +Inf in case not
11644 reachable for +Inf.
11645 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
11647 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
11648 and return -1 for them. Do not check for +Inf in case not
11649 reachable for +Inf.
11650 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
11651 spurious underflow.
11652 * sysdeps/i386/fpu/libm-test-ulps: Update.
11653 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11655 2012-07-06 Mike Frysinger <vapier@gentoo.org>
11657 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
11659 2012-07-05 Joseph Myers <joseph@codesourcery.com>
11663 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
11664 could result in spurious underflow. Scale down values above
11665 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
11666 * math/s_csqrtf.c (__csqrtf): Likewise.
11667 * math/s_csqrtl.c (__csqrtl): Likewise.
11668 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
11669 spurious underflow.
11670 * sysdeps/i386/fpu/libm-test-ulps: Update.
11671 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11673 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
11675 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
11677 * catgets/xopen-msg.awk: New file.
11678 * catgets/xopen-msg.sed: Removed.
11680 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
11682 * intl/po2test.awk: New file.
11683 * intl/po2test.sed: Removed.
11685 2012-07-04 Joseph Myers <joseph@codesourcery.com>
11688 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
11689 or multiply small sinh result by itself.
11690 * math/s_ctanf.c (__ctanf): Likewise.
11691 * math/s_ctanh.c (__ctanh): Likewise.
11692 * math/s_ctanhf.c (__ctanhf): Likewise.
11693 * math/s_ctanhl.c (__ctanhl): Likewise.
11694 * math/s_ctanl.c (__ctanl): Likewise.
11695 * math/libm-test.inc (ctan_test_tonearest): New function.
11696 (ctan_test_towardzero): Likewise.
11697 (ctan_test_downward): Likewise.
11698 (ctan_test_upward): Likewise.
11699 (ctanh_test_tonearest): Likewise.
11700 (ctanh_test_towardzero): Likewise.
11701 (ctanh_test_downward): Likewise.
11702 (ctanh_test_upward): Likewise.
11703 (main): Call these new functions.
11704 * sysdeps/i386/fpu/libm-test-ulps: Update.
11705 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11707 2012-07-03 Mike Frysinger <vapier@gentoo.org>
11709 * .gitignore: Delete /ports entry.
11711 2012-07-03 Andreas Jaeger <aj@suse.de>
11713 * po/bg.po: Update from translation team.
11714 * po/cs.po: Likewise.
11715 * po/de.po: Likewise.
11716 * po/hr.po: Likewise.
11717 * po/nl.pl: Likewise.
11718 * po/pl.po: Likewise.
11719 * po/vi.po: Likewise.
11721 2012-07-03 Joseph Myers <joseph@codesourcery.com>
11723 * Makeconfig [!+link] (+link-before-libc): New variable.
11724 [!+link] (+link-after-libc): Likewise.
11725 [!+link] (+link-tests): Likewise.
11726 [!+link] (+link): Define in terms of $(+link-before-libc) and
11727 $(+link-after-libc).
11728 [!+link-static] (+link-static-before-libc): New variable.
11729 [!+link-static] (+link-static-after-libc): Likewise.
11730 [!+link-static] (+link-static-tests): Likewise.
11731 [!+link-static] (+link-static): Define in terms of
11732 $(+link-static-before-libc) and $(+link-static-after-libc).
11733 [build-shared] (link-libc-before-gnulib): New variable.
11734 [build-shared] (link-libc-tests): Likewise.
11735 [build-shared] (link-libc): Define in terms of
11736 $(link-libc-before-gnulib).
11737 [!build-shared] (link-libc-tests): New variable.
11738 (link-libc-static-tests): New variable.
11739 [!gnulib] (gnulib-arch): New variable.
11740 [!gnulib] (gnulib-tests): Likewise.
11741 [!gnulib] (static-gnulib-arch): Likewise.
11742 [!gnulib] (static-gnulib-tests): Likewise.
11743 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
11744 Define with "=" instead of ":=".
11745 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
11746 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
11747 * Rules (binaries-all-notests): New variable.
11748 (binaries-all-tests): Likewise.
11749 (binaries-static-notests): Likewise.
11750 (binaries-static-tests): Likewise.
11751 (binaries-all): Define using $(binaries-all-notests) and
11752 $(binaries-all-tests).
11753 (binaries-static): Define using $(binaries-static-notests) and
11754 $(binaries-static-tests).
11755 (binaries-shared-tests): New variable.
11756 (binaries-shared-notests): Likewise.
11757 (binaries-shared): Remove variable.
11758 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
11759 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
11760 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
11761 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
11762 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
11763 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
11764 * elf/Makefile (sln-modules): New variable.
11765 (extra-objs): Add $(sln-modules:=.o).
11766 (ldconfig-modules): Add static-stubs.
11767 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
11768 * elf/static-stubs.c: New file.
11771 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
11772 by 7 not 8 to examine high bit of fractional part. Use volatile
11773 variables when splitting into final array of floats if
11774 __FLT_EVAL_METHOD__ != 0.
11775 * math/libm-test.inc (cos_test): Add another test.
11776 (sin_test): Likewise.
11777 * sysdeps/i386/fpu/libm-test-ulps: Update.
11780 * math/libm-test.inc (cosh_test): Add more tests.
11782 * version.h (RELEASE): Set to "development".
11783 (VERSION): Set to "2.16.90".
11785 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
11787 * NEWS: Update copyright. Remove last-updated date.
11788 Mention math library bug fixes and timezone data changes.
11789 * README: Mention GNU/Hurd, x32, and HPPA support status.
11791 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
11793 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
11795 2012-06-27 Andreas Jaeger <aj@suse.de>
11797 * manual/contrib.texi (Contributors): Add Samuel Thibault.
11799 2012-06-25 Andreas Jaeger <aj@suse.de>
11801 * sysdeps/s390/fpu/libm-test-ulps: Update.
11803 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
11804 Thomas Schwinge <thomas@codesourcery.com>
11806 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
11807 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
11808 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
11811 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
11813 * sysdeps/mach/start.c: Remove file.
11814 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
11815 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
11816 * sysdeps/sh/init-first.c: Likewise.
11818 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
11819 registers for frame unwinding purposes, add CFI directives.
11820 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
11821 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
11822 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
11825 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
11826 __fortify_fail returning.
11827 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
11829 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
11830 sysdeps/sh/____longjmp_chk.S.
11831 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
11832 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
11833 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
11834 (gen-as-const-headers): Append sigaltstack-offsets.sym.
11836 * sysdeps/sh/abort-instr.h: New file.
11837 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
11838 process in case exit returns.
11840 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
11841 initialize the GOT register before use.
11843 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
11844 calculation of ARGC > 4.
11846 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
11847 meaningful names to some local labels.
11849 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11850 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11852 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
11853 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
11854 (__arch_compare_and_exchange_val_16_acq): Likewise.
11855 (__arch_compare_and_exchange_val_32_acq): Likewise.
11856 (atomic_exchange_and_add): Fix gUSA sequence.
11857 (atomic_add): Likewise.
11858 (atomic_add_negative): Likewise.
11859 (atomic_add_zero): Likewise.
11860 (atomic_bit_test_set): Likewise.
11862 2012-06-22 Andreas Schwab <schwab@redhat.com>
11865 * include/link.h (struct link_map): Add l_free_initfini.
11866 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
11868 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
11869 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
11870 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
11873 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
11875 * configure.in: Use AC_LANG_SOURCE.
11876 * configure: Regenerate.
11878 2012-06-22 Roland McGrath <roland@hack.frob.com>
11880 * configure.in (libc_cv_localstatedir): New substituted variable.
11881 * configure: Regenerated.
11882 * config.make.in (localstatedir): New variable, substituted from
11883 libc_cv_localstatedir.
11884 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
11885 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
11886 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
11887 * sysdeps/gnu/configure: Regenerated.
11889 2012-06-21 Jeff Law <law@redhat.com>
11892 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
11893 free. Simplify list management for _LIBC case.
11895 2012-06-21 Joseph Myers <joseph@codesourcery.com>
11898 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
11899 Clear sign bit of 64-bit integer value before comparing against
11902 * sysdeps/mach/configure: Regenerated.
11904 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
11907 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
11909 2012-06-21 Jeff Law <law@redhat.com>
11912 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
11913 uint16_t for elements in the "seen" array to avoid char overflows.
11914 * elf/dl-fini.c (_dl_sort_fini): Likewise.
11915 * elf/dl-open.c (dl_open_worker): Likewise.
11917 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
11919 * scripts/list-sources.sh: Scan PORTS for translations.
11920 * po/libc.pot: Regenerated.
11922 2012-06-21 Andreas Jaeger <aj@suse.de>
11925 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
11927 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
11928 * bits/byteswap-16.h (__bswap_16): Likewise.
11929 * bits/byteswap.h (__bswap_constant_16): Likewise.
11931 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
11934 * sysdeps/i386/fpu_control.h: Removed.
11935 * sysdeps/x86_64/fpu_control.h: Moved to ...
11936 * sysdeps/x86/fpu_control.h: Here.
11938 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
11939 (_FPU_SETCW): Likewise.
11941 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
11944 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
11945 * sysdeps/x86/fpu/bits/mathinline.h: This.
11946 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
11950 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
11951 functions if __x86_64__ is defined.
11953 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
11955 * string/endian.h: Add !__ASSEMBLER__ condition for including
11956 conversion interfaces.
11958 2012-06-15 Joseph Myers <joseph@codesourcery.com>
11961 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
11962 of ABS(x) in calculating zero to negative powers other than odd
11964 * math/libm-test.inc (pow_test): Add more tests.
11966 2012-06-15 Andreas Jaeger <aj@suse.de>
11968 * manual/contrib.texi (Contributors): Update entry of Liubov
11969 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
11972 2012-06-15 Cyril Hrubis <metan@ucw.cz>
11974 * string/string.h: Add __wur to GNU version of strerror_r.
11976 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
11979 * string/Makefile (tests): Add tst-strtok_r.
11980 * string/tst-strtok_r.c: New file.
11981 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
11982 RAX_LP/RDX_LP on SAVE_PTR.
11984 2012-06-14 Roland McGrath <roland@hack.frob.com>
11986 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
11988 2012-06-14 Joseph Myers <joseph@codesourcery.com>
11990 * libm_test.inc (csqrt_test): Allow more spurious underflow
11992 (j0_test): Likewise.
11993 (j1_test): Likewise.
11994 (y0_test): Likewise.
11995 (y1_test): Likewise.
11997 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
11999 * po/Makefile (libc.pot): Use UTF-8 charset.
12001 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
12004 Suppress sign-conversion warning from FD_SET.
12005 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
12006 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
12007 not unsigned long int.
12008 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
12010 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
12014 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
12015 __extern_always_inline instead of __extern_inline.
12016 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
12017 (__signbit): Likewise.
12018 (__signbitl): Support C++ namespace.
12019 (lrintf): New inline function.
12021 (llrintf): Likewise.
12022 (llrint): Likewise.
12032 (floorf): Likewise.
12033 (nearbyint): Likewise.
12034 (nearbyintf): Likewise.
12036 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
12038 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
12039 non-default versions.
12041 2012-06-11 Roland McGrath <roland@hack.frob.com>
12044 * manual/argp.texi (Argp): Reword argp_parse description slightly.
12046 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
12048 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
12049 (FE_UPWARD, FE_DOWNWARD): Don't define.
12050 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
12051 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
12053 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
12055 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
12056 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
12058 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12060 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
12061 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
12062 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
12063 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
12065 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
12068 * sysdeps/i386/fpu/bits/fenv.h: Removed.
12069 * sysdeps/i386/fpu/Implies: New file.
12070 * sysdeps/x86_64/fpu/Implies: Likewise.
12071 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
12072 * sysdeps/x86/fpu/bits/fenv.h: This.
12074 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
12077 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
12080 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
12081 character 0xffff that matches the last element of the
12084 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12086 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
12089 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12091 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
12092 values higher than 25.6283.
12094 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12096 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
12097 subnormal exponent extraction and add some __builtin_expect.
12098 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
12099 Fix for subnormal mantissa calculation.
12101 2012-06-04 Mike Frysinger <vapier@gentoo.org>
12103 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
12104 cpu2 is -1 and errno is not ENOSYS.
12106 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
12109 * sysdeps/i386/i486/bits/string.h: Renamed to ...
12110 * sysdeps/x86/bits/string.h: This.
12111 * sysdeps/x86_64/bits/string.h: Removed.
12113 * sysdeps/i386/i486/bits/string.h: Define inline functions only
12114 if not compiling for x86-64, but compiling for >= i486.
12116 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
12117 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
12119 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
12120 New macro from Linux kernel 3.4.0.
12121 (FP_XSTATE_MAGIC2): Likewise.
12122 (FP_XSTATE_MAGIC2_SIZE): Likewise.
12123 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
12124 (struct _fpx_sw_bytes): New struct.
12125 (struct _xsave_hdr): Likewise.
12126 (struct _ymmh_state): Likewise.
12127 (struct _xstate): Likewise.
12129 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
12130 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
12131 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
12132 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
12133 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
12134 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
12136 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
12137 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
12138 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
12139 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
12140 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
12141 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
12143 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12146 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
12147 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
12148 (sysdep_headers): Include sys/platform/ppc.h.
12149 * sysdeps/powerpc/test-gettimebase.c: Test for
12150 __ppc_get_timebase() to catch future ISA opcode/insn changes.
12151 * manual/Makefile (appendices): Include platform.texi.
12152 * manual/contrib.texi (Contributors): Update @node pointers.
12153 * manual/maint.texi (Maintenance): Likewise.
12154 (Platform): New node.
12155 * manual/platform.texi: New file. Document the new features.
12157 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12158 Jakub Jelinek <jakub@redhat.com>
12161 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
12162 where __builtin_expect is unavailable.
12164 2012-06-03 David S. Miller <davem@davemloft.net>
12166 * stdlib/longlong.h: Updated from GCC.
12168 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
12171 * sysdeps/powerpc/powerpc32/mcount.c: New file.
12172 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
12174 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
12175 (GLIBC_2.16): Likewise.
12177 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
12179 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
12181 2012-06-01 Joseph Myers <joseph@codesourcery.com>
12183 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
12184 (default-abi): New variable.
12185 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
12186 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
12188 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
12190 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
12192 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
12195 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
12196 definition. Document in comment.
12198 2012-06-01 David S. Miller <davem@davemloft.net>
12200 * stdlib/longlong.h: Updated from GCC.
12202 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
12205 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
12206 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
12207 sys/debugreg.h sys/io.h here.
12208 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
12209 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
12211 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
12212 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
12213 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
12214 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
12215 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
12216 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
12218 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
12219 Define only if __x86_64__ is defined.
12221 2012-06-01 Joseph Myers <joseph@codesourcery.com>
12224 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
12225 Use int64_t for variable i.
12226 * math/libm-test.inc (fmod_test): Add more tests.
12228 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
12229 z computation is not scheduled after fetestexcept.
12230 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
12231 Use math_force_eval instead of asm to ensure calculation scheduled
12232 before exception test.
12233 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
12234 Ensure a1 + u.d computation is not scheduled after fetestexcept.
12236 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
12238 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
12239 computation is not scheduled after fetestexcept.
12241 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
12244 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
12245 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
12247 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12249 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
12250 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
12252 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
12255 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
12257 (__WCHAR_MIN): Support __WORDSIZE == 64.
12258 (__WCHAR_MAX): Likewise.
12260 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
12261 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
12264 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
12265 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
12268 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
12269 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
12271 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
12272 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
12274 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
12275 Defined to 1 if __x86_64__ isn't defined.
12276 (_STAT_VER_LINUX_OLD): New.
12277 (st_atime): Remove duplicate.
12278 (st_mtime): Likewise.
12279 (st_ctime): Likewise.
12281 2012-05-31 David S. Miller <davem@davemloft.net>
12283 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
12286 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
12288 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
12292 * elf/dl-reloc.c: Include <_itoa.h>.
12293 (_dl_reloc_bad_type): Remove use of INTUSE.
12294 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
12295 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
12296 * stdio-common/psiginfo.c (psiginfo): Likewise.
12297 * stdio-common/psignal.c (psignal): Likewise.
12298 * string/strsignal.c (strsignal): Likewise.
12299 * include/signal.h (_sys_siglist): Declare hidden proto.
12300 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
12301 INTVARDEF with libc_hidden_data_def.
12302 * stdio-common/itoa-udigits.c: Likewise.
12303 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
12304 (_itoa_lower_digits_internal): Remove declaration.
12305 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
12306 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
12307 (_sys_sigabbrev_internal): Remove aliases.
12308 (_sys_siglist): Define hidden alias.
12310 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
12312 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12315 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
12318 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
12319 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
12321 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
12322 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
12323 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
12324 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
12325 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
12326 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
12328 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
12329 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
12330 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
12332 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
12340 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
12341 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
12342 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
12344 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
12345 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
12346 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
12347 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
12348 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
12349 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
12351 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
12352 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
12354 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
12355 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
12357 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
12358 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
12359 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
12361 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
12362 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
12364 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
12366 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
12367 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
12368 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
12370 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
12372 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
12374 2012-05-31 Joseph Myers <joseph@codesourcery.com>
12376 * math/math.h (M_El): Use two more decimal places.
12377 (M_LOG2El): Likewise.
12378 (M_LOG10El): Likewise.
12379 (M_LN2l): Likewise.
12380 (M_LN10l): Likewise.
12382 (M_PI_2l): Likewise.
12383 (M_PI_4l): Likewise.
12384 (M_1_PIl): Likewise.
12385 (M_2_PIl): Likewise.
12386 (M_2_SQRTPIl): Likewise.
12387 (M_SQRT2l): Likewise.
12388 (M_SQRT1_2l): Likewise.
12390 2012-05-31 David S. Miller <davem@davemloft.net>
12392 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
12393 values between float registers.
12394 * sysdeps/sparc/sparc64/memset.S: Likewise.
12395 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
12397 2012-05-31 Mike Frysinger <vapier@gentoo.org>
12399 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
12400 -D_FORTIFY_SOURCE=1.
12401 (CPPFLAGS-tst-longjmp_chk.c): Define.
12402 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
12403 (CPPFLAGS-tst-longjmp_chk2.c): Define.
12404 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
12405 CFLAGS-tst-wchar-h.c.
12407 2012-05-31 Marek Polacek <polacek@redhat.com>
12410 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
12411 __endmntent_internal): Remove declaration.
12412 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
12413 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
12414 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
12416 2012-05-30 David S. Miller <davem@davemloft.net>
12418 * sysdeps/sparc/sparc32/soft-fp/q_util.c
12419 (___Q_simulate_exceptions): Use real FP ops rather than writing
12421 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
12424 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
12427 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
12428 * sysdeps/x86/bits/xtitypes.h: This.
12430 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
12431 * sysdeps/x86/bits/wordsize.h: This.
12433 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
12434 * sysdeps/x86/bits/huge_vall.h: This.
12436 * sysdeps/i386/bits/select.h: Removed.
12437 * sysdeps/x86_64/bits/select.h: Renamed to ...
12438 * sysdeps/x86/bits/select.h: This.
12440 * sysdeps/i386/bits/setjmp.h: Removed.
12441 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
12442 * sysdeps/x86/bits/setjmp.h: This.
12444 * sysdeps/i386/bits/mathdef.h: Removed.
12445 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
12446 * sysdeps/x86/bits/mathdef.h: This.
12448 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
12451 * include/sys/socket.h (__connect_internal)
12452 (__libc_sa_len_internal): Remove declaration.
12453 (__connect, __libc_sa_len): Declare hidden_proto.
12454 (SA_LEN): Remove use of INTUSE.
12455 * socket/connect.c: Add libc_hidden_def.
12456 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
12457 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
12458 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
12460 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
12461 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
12462 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
12463 of adding _internal alias.
12465 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
12468 * sysdeps/i386/bits/link.h: Removed.
12469 * sysdeps/i386/bits/linkmap.h: Likewise.
12470 * sysdeps/x86_64/bits/link.h: Renamed to ...
12471 * sysdeps/x86/bits/link.h: This.
12472 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
12473 * sysdeps/x86/bits/linkmap.h: This.
12475 * sysdeps/i386/bits/endian.h: Removed.
12476 * sysdeps/x86_64/bits/endian.h: Renamed to ...
12477 * sysdeps/x86/bits/endian.h: This.
12479 * sysdeps/i386/bits/byteswap.h: Removed.
12480 * sysdeps/i386/bits/byteswap-16.h: Likewise.
12481 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
12482 * sysdeps/x86/bits/byteswap.h: This.
12483 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
12484 * sysdeps/x86/bits/byteswap-16.h: This.
12485 * sysdeps/i386/Implies: Add x86.
12486 * sysdeps/x86_64/Implies: Likewise.
12488 2012-05-30 David S. Miller <davem@davemloft.net>
12490 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
12491 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
12492 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
12493 (FP_TRAPPING_EXCEPTIONS): Define.
12494 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
12495 (FP_TRAPPING_EXCEPTIONS): Define.
12496 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
12497 subnormals only when inexact has been signalled or underflow
12498 exceptions are enabled.
12499 (_FP_PACK_CANONICAL): Likewise.
12501 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
12504 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
12505 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
12507 2012-05-30 Richard Henderson <rth@twiddle.net>
12509 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
12510 with #ifndef NOT_IN_libc.
12512 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
12513 marked to avoid plt entry.
12515 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
12518 * Makeconfig (default-abi): New macro.
12519 (abi-includes): Likewise.
12520 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
12521 $(abi-$(default-abi)-lib-soname) for soname if defined.
12522 ($(common-objpfx)gnu/lib-names.stmp): Generate from
12524 * Makefile (installed-stubs): Likewise.
12525 * include/stubs-biarch.h: Removed.
12526 * scripts/lib-names.awk: Only handle one library at a time.
12527 * scripts/soversions.awk: Remove WORDSIZE support.
12528 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
12530 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
12532 (syscall-list-default-condition): Likewise.
12533 (syscall-list-default-condition): Likewise.
12534 (syscall-list-includes): Likewise.
12535 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
12536 syscall-list-* with abi-*. Handle undefined abi-variants.
12537 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
12538 * sysdeps/unix/sysv/linux/i386/Implies: New file.
12539 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
12540 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
12541 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
12542 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
12544 (syscall-list-32-options): Likewise.
12545 (syscall-list-32-condition): Likewise.
12546 (syscall-list-64-options): Likewise.
12547 (syscall-list-64-condition): Likewise.
12548 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
12550 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
12553 (abi-64-ld-soname): New macro.
12554 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
12555 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
12558 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
12559 * sysdeps/x86_64/x32/shlib-versions: Likewise.
12561 2012-05-30 Joseph Myers <joseph@codesourcery.com>
12563 * sysdeps/unix/sysv/linux/kernel-features.h
12564 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
12565 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
12566 include <kernel-features.h>.
12567 [!__NR_ftruncate64]: Remove conditional code.
12568 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12569 [__NR_ftruncate64]: Make code unconditional.
12570 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12571 * sysdeps/unix/sysv/linux/truncate64.c: Do not
12572 include <kernel-features.h>.
12573 [!__NR_ftruncate64]: Remove conditional code.
12574 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12575 [__NR_ftruncate64]: Make code unconditional.
12576 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12577 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
12578 include <kernel-features.h>.
12579 [!__NR_ftruncate64]: Remove conditional code.
12580 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12581 [__NR_ftruncate64]: Make code unconditional.
12582 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12583 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
12584 include <kernel-features.h>.
12585 [!__NR_ftruncate64]: Remove conditional code.
12586 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12587 [__NR_ftruncate64]: Make code unconditional.
12588 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12590 * configure.in (libc_cv_fpie): Weaken to a compile test using
12591 LIBC_TRY_CC_OPTION.
12592 * configure: Regenerated.
12594 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12596 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
12597 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
12598 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
12599 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
12601 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
12602 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
12603 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
12604 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
12605 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
12606 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
12609 2012-05-27 David S. Miller <davem@davemloft.net>
12611 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
12613 (__Q_simulate_exceptions): Return void. Change to simulate
12614 exceptions by writing into the %fsr.
12615 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
12616 (__Qp_handle_exceptions): Likewise.
12618 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
12619 __Qp_handle_exceptions.
12620 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
12621 __Qp_handle_exceptions.
12622 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
12623 as unused and give dummy FP_RND_NEAREST initializer.
12624 (FP_INHIBIT_RESULTS): Define.
12625 (___Q_simulate_exceptions): Update declaration.
12626 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
12628 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
12629 as unused and give dummy FP_RND_NEAREST initializer.
12630 (__Qp_handle_exceptions): Update declaration.
12631 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
12634 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
12636 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
12637 the temporary FPU control word.
12638 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
12639 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
12640 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
12641 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
12642 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
12643 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
12644 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
12645 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
12646 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
12647 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
12648 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
12650 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12652 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
12655 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
12657 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
12658 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
12659 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
12660 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
12662 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
12663 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
12666 2012-05-27 Ulrich Drepper <drepper@gmail.com>
12668 * po/h.po: Update from translation team.
12670 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
12672 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
12674 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
12675 handling of denormals.
12676 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
12677 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
12678 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
12679 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
12680 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
12681 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
12682 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
12685 2012-05-26 Marek Polacek <polacek@redhat.com>
12688 * math/libm-test.inc (fma_test): Don't always expect underflow
12691 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12694 * elf/tst-execstack.c: Include stackinfo.h.
12695 (do_test): Adjust test case to ensure that pthread_getattr_np
12696 behaviour remains the same after marking stack executable.
12698 2012-05-25 Joseph Myers <joseph@codesourcery.com>
12700 * sysdeps/unix/sysv/linux/kernel-features.h
12701 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
12702 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
12704 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
12705 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
12706 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
12708 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
12709 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
12711 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
12713 * configure.in: Define the default includes to being none.
12714 * configure: Regenerated.
12716 2012-05-25 Roland McGrath <roland@hack.frob.com>
12718 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
12719 * sysdeps/x86_64/setjmp.S: Likewise.
12720 * sysdeps/i386/bsd-setjmp.S: Likewise.
12721 * sysdeps/i386/bsd-_setjmp.S: Likewise.
12722 * sysdeps/i386/setjmp.S: Likewise.
12723 * sysdeps/i386/__longjmp.S: Likewise.
12724 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
12725 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
12727 * include/stap-probe.h: New file.
12728 * configure.in: Handle --enable-systemtap.
12729 * configure: Regenerated.
12730 * config.h.in (USE_STAP_PROBE): New #undef.
12731 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
12732 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
12733 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
12735 2012-05-25 Joseph Myers <joseph@codesourcery.com>
12738 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
12739 to 2.4.0 where earlier.
12740 * sysdeps/unix/sysv/linux/configure: Regenerated.
12741 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
12742 <kernel-features.h>.
12743 [__ASSUME_32BITUIDS]: Make code unconditional.
12744 [!__ASSUME_32BITUIDS]: Remove conditional code.
12745 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
12746 <kernel-features.h>.
12747 [__ASSUME_32BITUIDS]: Make code unconditional.
12748 [!__ASSUME_32BITUIDS]: Remove conditional code.
12749 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
12750 [__ASSUME_32BITUIDS]: Make code unconditional.
12751 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
12752 * sysdeps/unix/sysv/linux/i386/getegid.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/geteuid.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/getgid.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/getgroups.c: Do not include
12765 <kernel-features.h>.
12766 [__ASSUME_32BITUIDS]: Make code unconditional.
12767 [!__ASSUME_32BITUIDS]: Remove conditional code.
12768 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
12769 <kernel-features.h>.
12770 [__ASSUME_32BITUIDS]: Make code unconditional.
12771 [!__ASSUME_32BITUIDS]: Remove conditional code.
12772 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
12773 <kernel-features.h>.
12774 [__ASSUME_32BITUIDS]: Make code unconditional.
12775 [!__ASSUME_32BITUIDS]: Remove conditional code.
12776 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
12777 <kernel-features.h>.
12778 [__ASSUME_32BITUIDS]: Make code unconditional.
12779 [!__ASSUME_32BITUIDS]: Remove conditional code.
12780 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
12781 <kernel-features.h>.
12782 [__ASSUME_32BITUIDS]: Make code unconditional.
12783 [!__ASSUME_32BITUIDS]: Remove conditional code.
12784 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
12785 <kernel-features.h>.
12786 [__ASSUME_32BITUIDS]: Make code unconditional.
12787 [!__ASSUME_32BITUIDS]: Remove conditional code.
12788 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
12789 <kernel-features.h>.
12790 [__ASSUME_32BITUIDS]: Make code unconditional.
12791 [!__ASSUME_32BITUIDS]: Remove conditional code.
12792 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
12793 <kernel-features.h>.
12794 [__NR_setresgid] (__setresgid): Do not declare.
12795 [__ASSUME_32BITUIDS]: Make code unconditional.
12796 [!__ASSUME_32BITUIDS]: Remove conditional code.
12797 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
12798 <kernel-features.h>.
12799 [__NR_setresuid] (__setresuid): Do not declare.
12800 [__ASSUME_32BITUIDS]: Make code unconditional.
12801 [!__ASSUME_32BITUIDS]: Remove conditional code.
12802 * sysdeps/unix/sysv/linux/i386/setfsgid.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/setfsuid.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/setgid.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/i386/setgroups.c: Do not include
12815 <kernel-features.h>.
12816 [__ASSUME_32BITUIDS]: Make code unconditional.
12817 [!__ASSUME_32BITUIDS]: Remove conditional code.
12818 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
12819 <kernel-features.h>.
12820 [__ASSUME_32BITUIDS]: Make code unconditional.
12821 [!__ASSUME_32BITUIDS]: Remove conditional code.
12822 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
12823 <kernel-features.h>.
12824 [__ASSUME_32BITUIDS]: Make code unconditional.
12825 [!__ASSUME_32BITUIDS]: Remove conditional code.
12826 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
12827 <kernel-features.h>.
12828 [__ASSUME_32BITUIDS]: Make code unconditional.
12829 [!__ASSUME_32BITUIDS]: Remove conditional code.
12830 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
12831 <kernel-features.h>.
12832 [__ASSUME_32BITUIDS]: Make code unconditional.
12833 [!__ASSUME_32BITUIDS]: Remove conditional code.
12834 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
12835 <kernel-features.h>.
12836 [__ASSUME_32BITUIDS]: Make code unconditional.
12837 [!__ASSUME_32BITUIDS]: Remove conditional code.
12838 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
12839 <kernel-features.h>.
12840 [__ASSUME_32BITUIDS]: Make code unconditional.
12841 [!__ASSUME_32BITUIDS]: Remove conditional code.
12842 * sysdeps/unix/sysv/linux/kernel-features.h
12843 (__ASSUME_SETRESUID_SYSCALL): Remove.
12844 (__ASSUME_SETRESGID_SYSCALL): Likewise.
12845 (__ASSUME_32BITUIDS): Likewise.
12846 (__ASSUME_LDT_WORKS): Likewise.
12847 (__ASSUME_O_DIRECTORY): Likewise.
12848 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
12849 architecture but not kernel version.
12850 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
12851 (__ASSUME_MMAP2_SYSCALL): Likewise.
12852 (__ASSUME_STAT64_SYSCALL): Likewise.
12853 (__ASSUME_IPC64): Likewise.
12854 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
12855 <kernel-features.h>.
12856 [__ASSUME_32BITUIDS]: Make code unconditional.
12857 [!__ASSUME_32BITUIDS]: Remove conditional code.
12858 * sysdeps/unix/sysv/linux/opendir.c: Do not include
12859 <kernel-features.h>.
12860 [__ASSUME_O_DIRECTORY]: Make code unconditional.
12861 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
12862 132096]: Remove conditional code.
12863 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
12864 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
12865 <kernel-features.h>.
12866 [__ASSUME_32BITUIDS]: Make code unconditional.
12867 [!__ASSUME_32BITUIDS]: Remove conditional code.
12868 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
12869 <kernel-features.h>.
12870 [__ASSUME_32BITUIDS]: Make code unconditional.
12871 [!__ASSUME_32BITUIDS]: Remove conditional code.
12872 * sysdeps/unix/sysv/linux/setegid.c: Do not include
12873 <kernel-features.h>.
12874 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
12876 (__setresgid): Do not declare.
12877 [__ASSUME_32BITUIDS]: Make code unconditional.
12878 [!__ASSUME_32BITUIDS]: Remove conditional code.
12879 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
12880 <kernel-features.h>.
12881 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
12883 (__setresuid): Do not declare.
12884 [__ASSUME_32BITUIDS]: Make code unconditional.
12885 [!__ASSUME_32BITUIDS]: Remove conditional code.
12886 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
12887 <kernel-features.h>.
12888 [__ASSUME_32BITUIDS]: Make code unconditional.
12889 [!__ASSUME_32BITUIDS]: Remove conditional code.
12890 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
12891 <kernel-features.h>.
12892 [__ASSUME_32BITUIDS]: Make code unconditional.
12893 [!__ASSUME_32BITUIDS]: Remove conditional code.
12895 2012-05-25 Richard Henderson <rth@twiddle.net>
12897 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
12898 dl_hwcap to ifunc resolver.
12899 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
12901 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
12902 dl_hwcap to ifunc resolver.
12903 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
12905 2012-05-24 Joseph Myers <joseph@codesourcery.com>
12908 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
12909 for |x| <= 2**-26, not 2**-57.
12910 * math/libm-test.inc (acos_test): Do not allow spurious underflow
12913 2012-05-24 Jeff Law <law@redhat.com>
12915 * stdio-common/Makefile (tests): Add bug25.
12916 * stdio-common/bug25.c: New test.
12918 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
12921 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
12922 multiple of MALLOC_ALIGNMENT in size.
12923 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
12925 2012-05-24 Joseph Myers <joseph@codesourcery.com>
12927 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
12929 (FILENAME_MAX): Use macro-int-constant.
12930 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
12931 (_IOFBF): Use macro-int-constant.
12932 (_IOLBF): Likewise.
12933 (_IONBF): Likewise.
12934 (SEEK_CUR): Likewise.
12935 (SEEK_END): Likewise.
12936 (SEEK_SET): Likewise.
12937 (TMP_MAX): Likewise.
12938 (EOF): Use macro-int-constant. Require < 0.
12939 (NULL): Use macro-constant. Require == 0.
12940 (stdin): Require type to be FILE *.
12941 (stdout): Likewise.
12942 (stderr): Likewise.
12943 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
12944 macro-int-constant.
12945 (EXIT_SUCCESS): Likewise.
12946 (NULL): Use macro-constant. Require == 0.
12947 (RAND_MAX): Use macro-int-constant.
12948 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
12949 [C99-based standards] (strtof): Require function.
12950 [C99-based standards] (strtold): Likewise.
12951 [C99-based standards] (strtoll): Likewise.
12952 [C99-based standards] (strtoull): Likewise.
12953 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
12954 [ISO || ISO99 || ISO11] (limits.h): Likewise.
12955 [ISO || ISO99 || ISO11] (math.h): Likewise.
12956 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
12957 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
12958 [ISO || ISO99 || ISO11] (*_t): Do not allow.
12960 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
12963 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
12964 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
12965 * intl/dgettext.c (DCGETTEXT): Likewise.
12966 * intl/gettext.c (DCGETTEXT): Likewise.
12967 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
12968 * posix/regex_internal.h (gettext): Likewise.
12969 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
12970 Remove declaration.
12971 * include/argz.h (__argz_count_internal)
12972 (__argz_stringify_internal): Remove declaration.
12973 (__argz_count, __argz_stringify): Declare hidden proto.
12974 * intl/dcgettext.c: Remove use of INTDEF.
12975 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
12976 * string/argz-stringify.c: Likewise.
12977 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
12978 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
12979 Declare hidden proto.
12980 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
12981 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
12982 Declare hidden proto.
12983 * include/stdio.h (__asprintf_internal): Don't declare.
12984 (__asprintf): Don't define as macro. Declare hidden proto.
12985 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
12986 (__fsetlocking): Declare hidden proto.
12987 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
12988 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
12990 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
12991 (_IO_setlinebuf): Remove use of INTUSE.
12992 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
12993 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
12994 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
12995 Remove declaration.
12996 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
12997 (_IO_do_flush): Remove use of INTUSE.
12998 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
12999 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
13000 (_IO_adjust_column, _IO_least_wmarker)
13001 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
13002 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
13003 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
13004 (_IO_default_doallocate, _IO_wdefault_doallocate)
13005 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
13006 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
13007 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
13008 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
13009 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
13010 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
13011 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
13012 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
13013 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
13014 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
13015 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
13016 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
13017 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
13019 (_IO_flush_all_internal, _IO_adjust_column_internal)
13020 (_IO_default_uflow_internal, _IO_default_finish_internal)
13021 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
13022 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
13023 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
13024 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
13025 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
13026 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
13027 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
13028 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
13029 (_IO_file_close_internal, _IO_file_close_it_internal)
13030 (_IO_file_underflow_internal, _IO_file_overflow_internal)
13031 (_IO_file_init_internal, _IO_file_attach_internal)
13032 (_IO_file_fopen_internal, _IO_file_read_internal)
13033 (_IO_file_sync_internal, _IO_file_seek_internal)
13034 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
13035 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
13036 (_IO_str_underflow_internal, _IO_str_overflow_internal)
13037 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
13038 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
13039 (_IO_list_all_internal, _IO_link_in_internal)
13040 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
13041 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
13042 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
13043 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
13044 (_IO_do_write_internal, _IO_padn_internal)
13045 (_IO_getline_info_internal, _IO_getline_internal)
13046 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
13047 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
13048 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
13049 (_IO_vfscanf_internal, _IO_vfprintf_internal)
13050 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
13051 (_IO_init_internal, _IO_un_link_internal): Don't declare.
13052 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
13053 with libc_hidden_ver, remove use of INTUSE.
13054 * libio/genops.c: Likewise.
13055 * libio/freopen.c: Likewise.
13056 * libio/freopen64.c: Likewise.
13057 * libio/iofclose.c: Likewise.
13058 * libio/iofdopen.c: Likewise.
13059 * libio/iofflush.c: Likewise.
13060 * libio/iofflush_u.c: Likewise.
13061 * libio/iofgets.c: Likewise.
13062 * libio/iofgets_u.c: Likewise.
13063 * libio/iofopen.c: Likewise.
13064 * libio/iofopncook.c: Likewise.
13065 * libio/iofread.c: Likewise.
13066 * libio/iofread_u.c: Likewise.
13067 * libio/ioftell.c: Likewise.
13068 * libio/iofwrite.c: Likewise.
13069 * libio/iogetline.c: Likewise.
13070 * libio/iogets.c: Likewise.
13071 * libio/iogetwline.c: Likewise.
13072 * libio/iopadn.c: Likewise.
13073 * libio/iopopen.c: Likewise.
13074 * libio/ioseekoff.c: Likewise.
13075 * libio/ioseekpos.c: Likewise.
13076 * libio/iosetbuffer.c: Likewise.
13077 * libio/iosetvbuf.c: Likewise.
13078 * libio/ioungetc.c: Likewise.
13079 * libio/ioungetwc.c: Likewise.
13080 * libio/iovdprintf.c: Likewise.
13081 * libio/iovsprintf.c: Likewise.
13082 * libio/iovsscanf.c: Likewise.
13083 * libio/memstream.c: Likewise.
13084 * libio/obprintf.c: Likewise.
13085 * libio/oldfileops.c: Likewise.
13086 * libio/oldiofclose.c: Likewise.
13087 * libio/oldiofdopen.c: Likewise.
13088 * libio/oldiofopen.c: Likewise.
13089 * libio/oldiopopen.c: Likewise.
13090 * libio/oldstdfiles.c: Likewise.
13091 * libio/putc.c: Likewise.
13092 * libio/setbuf.c: Likewise.
13093 * libio/setlinebuf.c: Likewise.
13094 * libio/stdfiles.c: Likewise.
13095 * libio/strops.c: Likewise.
13096 * libio/vasprintf.c: Likewise.
13097 * libio/vscanf.c: Likewise.
13098 * libio/vsnprintf.c: Likewise.
13099 * libio/vswprintf.c: Likewise.
13100 * libio/wfiledoalloc.c: Likewise.
13101 * libio/wfileops.c: Likewise.
13102 * libio/wgenops.c: Likewise.
13103 * libio/wmemstream.c: Likewise.
13104 * libio/wstrops.c: Likewise.
13105 * libio/__fpurge.c: Likewise.
13106 * libio/__fsetlocking.c: Likewise.
13107 * assert/assert.c: Likewise.
13108 * debug/fgets_chk.c: Likewise.
13109 * debug/fgets_u_chk.c: Likewise.
13110 * debug/fread_chk.c: Likewise.
13111 * debug/fread_u_chk.c: Likewise.
13112 * debug/gets_chk.c: Likewise.
13113 * debug/obprintf_chk.c: Likewise.
13114 * debug/vasprintf_chk.c: Likewise.
13115 * debug/vdprintf_chk.c: Likewise.
13116 * debug/vsnprintf_chk.c: Likewise.
13117 * debug/vsprintf_chk.c: Likewise.
13118 * malloc/mtrace.c: Likewise.
13119 * misc/error.c: Likewise.
13120 * misc/syslog.c: Likewise.
13121 * stdio-common/asprintf.c: Likewise.
13122 * stdio-common/fxprintf.c: Likewise.
13123 * stdio-common/getw.c: Likewise.
13124 * stdio-common/isoc99_fscanf.c: Likewise.
13125 * stdio-common/isoc99_scanf.c: Likewise.
13126 * stdio-common/isoc99_vfscanf.c: Likewise.
13127 * stdio-common/isoc99_vscanf.c: Likewise.
13128 * stdio-common/isoc99_vsscanf.c: Likewise.
13129 * stdio-common/printf-prs.c: Likewise.
13130 * stdio-common/printf_fp.c: Likewise.
13131 * stdio-common/printf_fphex.c: Likewise.
13132 * stdio-common/printf_size.c: Likewise.
13133 * stdio-common/putw.c: Likewise.
13134 * stdio-common/scanf.c: Likewise.
13135 * stdio-common/sprintf.c: Likewise.
13136 * stdio-common/tmpfile.c: Likewise.
13137 * stdio-common/vfprintf.c: Likewise.
13138 * stdio-common/vfscanf.c: Likewise.
13139 * stdlib/strfmon_l.c: Likewise.
13140 * sunrpc/openchild.c: Likewise.
13141 * sunrpc/xdr_stdio.c: Likewise.
13142 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
13143 * sysdeps/mach/hurd/tmpfile.c: Likewise.
13145 2012-05-24 Roland McGrath <roland@hack.frob.com>
13147 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
13149 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
13150 in the third column, to generate for the shared library an IFUNC
13151 that uses _dl_vdso_vsym.
13152 * Makerules (COMPILE.c, compile-stdin.c): New variables.
13153 * Makeconfig (object-suffixes-noshared): New variable.
13155 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
13156 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
13157 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
13158 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
13161 * include/sys/time.h (__gettimeofday): Remove macro.
13162 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
13163 * time/gettimeofday.c (__gettimeofday): Remove #undef.
13165 (__gettimeofday): Add libc_hidden_def.
13166 (gettimeofday): Add libc_hidden_weak.
13167 * sysdeps/mach/gettimeofday.c: Likewise.
13168 * sysdeps/posix/gettimeofday.c: Likewise.
13169 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
13170 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
13171 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
13172 (__gettimeofday_internal): Remove strong_alias.
13173 (__gettimeofday): Add libc_hidden_def.
13174 (gettimeofday): Add libc_hidden_weak.
13175 * sysdeps/unix/syscalls.list (gettimeofday):
13176 Remove __gettimeofday_internal alias.
13178 2012-05-24 Daniel Jacobowitz <drow@false.org>
13179 H.J. Lu <hongjiu.lu@intel.com>
13182 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
13183 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
13184 (largebin_index_32_big): New.
13185 (largebin_index): Use it for 16-byte alignment.
13186 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
13187 correction with front_misalign.
13189 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
13191 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
13192 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
13194 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
13196 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
13198 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
13200 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
13202 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
13204 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
13206 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
13208 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
13210 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
13212 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
13214 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
13217 * scripts/data/c++-types-x32-linux-gnu.data: New file.
13218 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
13220 2012-05-24 Joseph Myers <joseph@codesourcery.com>
13224 * math/libm-test.inc (exp_test): Add test from bug 14036.
13225 (pow_test): Add test from bug 10846.
13227 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
13229 (special_function): Do not include flags in test name.
13230 (parse_args): Likewise.
13231 * sysdeps/i386/fpu/libm-test-ulps: Update.
13232 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13233 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
13234 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
13235 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13237 * math/gen-libm-test.pl (%beautify): Add entries for underflow
13239 * math/libm-test.inc ("Philosophy"): Update comment about
13241 (UNDERFLOW_EXCEPTION): New macro.
13242 (UNDERFLOW_EXCEPTION_OK): Likewise.
13243 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
13244 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
13245 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
13246 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
13247 (INVALID_EXCEPTION_OK): Update value.
13248 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
13249 (OVERFLOW_EXCEPTION_OK): Likewise.
13250 (IGNORE_ZERO_INF_SIGN): Likewise.
13251 (test_exceptions): Handle underflow exceptions.
13252 (acos_test): Update for underflow exception expectations.
13253 (cexp_test): Likewise.
13254 (clog_test): Likewise.
13255 (clog10_test): Likewise.
13256 (csqrt_test): Likewise.
13257 (ctan_test): Likewise.
13258 (ctanh_test): Likewise.
13259 (exp_test): Likewise.
13260 (exp10_test): Likewise.
13261 (exp2_test): Likewise.
13262 (expm1_test): Likewise.
13263 (fma_test): Likewise.
13264 (j0_test): Likewise.
13265 (jn_test): Likewise.
13266 (nexttoward_test): Likewise.
13267 (pow_test): Likewise.
13268 (scalbn_test): Likewise.
13269 (scalbln_test): Likewise.
13270 (tan_test): Likewise.
13271 (y1_test): Likewise.
13272 * sysdeps/i386/fpu/libm-test-ulps: Update.
13273 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13275 2012-05-23 David S. Miller <davem@davemloft.net>
13277 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
13278 (__libc_sigaction): Remove unused local variables.
13280 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
13282 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
13284 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
13286 mktime: avoid signed integer overflow
13287 * time/mktime.c (__mktime_internal): Do not mishandle the case
13288 where diff == INT_MIN.
13290 mktime: simplify computation of average
13291 * time/mktime.c (ranged_convert): Use new time_t_avg function
13292 instead of rolling our own (probably-slower) code.
13294 mktime: do not assume signed right shift propagates sign bit
13295 * time/mktime.c (isdst_differ): New static function.
13296 (__mktime_internal): No need to normalize tm_isdst now.
13297 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
13300 mktime: merge another wrapv change from gnulib
13301 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
13302 from some compilers.
13304 mktime: remove incorrect attempt at unusual arithmetics
13305 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
13306 The code didn't really work on such machines anyway.
13307 (TYPE_MINIMUM): Assume two's complement.
13308 (twos_complement_arithmetic): Verify that long_int and time_t
13309 are two's complement (or unsigned, in the latter case).
13311 mktime: check signed shifts on long_int and time_t, too
13312 * time/mktime.c (SHR): Check that shifts work as desired
13313 on the types long_int and time_t too, as SHR is used on
13316 mktime: do not assume 'long' is wide enough
13317 * time/mktime.c (verify): Move decl up.
13318 (long_int): New type.
13319 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
13320 to remove assumption in the code that 'long' is wide enough to
13321 store year values. This assumption is not true on x32 and on
13322 some non-glibc platforms.
13324 mktime: merge wrapv change from gnulib
13325 * time/mktime.c (WRAPV): New macro.
13326 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
13327 (guess_time_tm, __mktime_internal): Do not assume that signed
13328 integer overflow wraps around; modern compilers generate code
13329 where this assumption is no longer valid.
13331 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
13333 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
13334 Replace "jmp L(pseudo_end)" with "ret".
13335 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
13338 2012-05-23 Andreas Jaeger <aj@suse.de>
13340 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
13341 * sysdeps/unix/sysv/linux/poll.c: Remove file.
13343 2012-05-23 Andreas Jaeger <aj@suse.de>
13344 Maximilian Attems <max@stro.at>
13346 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
13349 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
13351 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
13352 code so that pseudo_end is just ret and the stack pointer is
13353 correct also for static library in error case.
13355 2012-05-23 Joseph Myers <joseph@codesourcery.com>
13357 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
13358 move to syscalls.list.
13359 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
13360 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
13361 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
13362 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
13364 * manual/install.texi (Running make install): Do not mention Linux
13365 kernel version for which pt_chown is not needed.
13366 (Linux): Do not mention problems with nscd with 2.0 kernels.
13367 * INSTALL: Regenerated.
13369 2012-05-23 Andreas Jaeger <aj@suse.de>
13371 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
13372 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
13374 * sysdeps/unix/sysv/linux/s390/bits/mman.h
13375 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13376 * sysdeps/unix/sysv/linux/sh/bits/mman.h
13377 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13378 * sysdeps/unix/sysv/linux/i386/bits/mman.h
13379 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13380 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
13381 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13382 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
13383 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13384 * sysdeps/unix/sysv/linux/bits/in.h
13385 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
13387 2012-05-22 Roland McGrath <roland@hack.frob.com>
13389 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
13390 (PREPARE_VERSION): Just use assert instead, it will be elided
13391 under [NDEBUG] anyway.
13393 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
13395 * sysdeps/unix/sysv/linux/Makefile: Include
13396 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
13397 (sysdep_routines): Remove sysctl.
13398 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
13399 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
13400 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
13401 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
13402 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
13404 2012-05-22 Andreas Jaeger <aj@suse.de>
13406 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
13407 that pseudo_end is just ret and the stack pointer is correct also
13408 for static library in error case.
13410 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
13413 * nss/nsswitch.c (defconfig_entries): New variable.
13414 (__nss_database_lookup): Don't leak defconfig entries.
13415 (nss_parse_service_list): Don't leak on error paths.
13416 (free_database_entries): New function.
13417 (free_defconfig): New function.
13418 (free_mem): Move common code to free_database_entries.
13420 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
13422 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
13424 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
13426 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
13427 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
13428 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
13430 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
13431 (INTERNAL_SYSCALL_TYPES): Likewise.
13432 (LOAD_ARGS_TYPES_[1-6]): Likewise.
13433 (LOAD_REGS_TYPES_[1-6]): Likewise.
13434 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
13435 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
13437 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13439 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
13440 copysignl for GLIBC_2_0.
13441 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
13442 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
13443 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
13444 logbl for GLIBC_2_0.
13445 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
13446 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
13448 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
13450 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
13451 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
13453 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
13456 * time/mktime.c: Update copyright years.
13458 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
13460 mktime: merge comment-quoting-style change from gnulib
13461 * time/mktime.c: Quote 'like this' in comments.
13462 The GNU coding standards suggest that we no longer quote `like this',
13463 as "`" and "'" are typically rendered asymmetrically nowadays.
13464 The typical gnulib style is to quote 'like this' when quoting
13465 code, and "like this" when quoting English.
13467 * time/mktime.c (compile-command): Add "-I.".
13469 mktime: merge mktime-internal.h change from gnulib
13470 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
13472 mktime: merge time_r change from gnulib
13473 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
13475 mktime: merge DEBUG change from gnulib
13476 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
13477 case system <time.h> has a #define.
13479 mktime: merge <sys/types.h> change from gnulib
13480 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
13481 since <time.t> is now guaranteed to define time_t.
13483 mktime: merge HAVE_CONFIG_H change from gnulib
13484 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
13486 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
13488 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
13491 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
13493 (struct rusage): Use anonymous union to pad each field to
13496 2012-05-21 David S. Miller <davem@davemloft.net>
13498 * Makefules (o-iterator): Remove .s cases.
13499 (compile-command.s): Delete.
13500 (COMPILE.s): Delete.
13501 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
13503 2012-05-21 Joseph Myers <joseph@codesourcery.com>
13505 * configure.in (libc_cv_predef_stack_protector): Only consider
13506 "foobar" and "__stack_chk_fail" lines in libc_undefs.
13507 * configure: Regenerated.
13509 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
13511 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
13512 New macro. Use R*LP on int and pointer.
13513 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
13514 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
13515 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
13516 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
13518 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
13519 [__WORDSIZE_TIME64_COMPAT32] instead of
13520 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
13521 (struct utmp): Likewise.
13522 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
13523 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
13525 (__WORDSIZE_TIME64_COMPAT32): This.
13526 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
13527 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
13528 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
13529 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
13530 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
13531 (__WORDSIZE_TIME64_COMPAT32): New macro.
13533 2012-05-21 Andreas Jaeger <aj@suse.de>
13535 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
13536 only if [SHARED]. Add prototype for __wcschr_ia32.
13538 2012-05-21 Roland McGrath <roland@hack.frob.com>
13540 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
13541 of %rbp unmolested in the jmp_buf while mangling the low bits.
13542 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
13543 unmolested high bits of %rbp while demangling the low bits.
13544 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
13546 2012-05-21 Andreas Jaeger <aj@suse.de>
13548 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
13549 * sunrpc/svc_simple.c: Use it for registerrpc.
13550 * sunrpc/xcrypt.c: Use it for passwd2des.
13552 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
13554 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
13556 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
13557 Don't define if [__SYSCALL_WORDSIZE != 32].
13558 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
13561 2012-05-21 Bruno Haible <bruno@clisp.org>
13562 Andreas Jaeger <aj@suse.de>
13564 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
13565 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
13566 inptr and inend for must_buffer_ch.
13567 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
13568 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
13569 * stdio-common/Makefile (tests): Remove bug15.
13570 (bug15-ENV): Remove macro.
13571 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
13574 2012-05-19 Andreas Jaeger <aj@suse.de>
13575 Roland McGrath <roland@hack.frob.com>
13577 * manual/contrib.texi: Completely rewritten. It contains now an
13578 alphabetical list of contributors and their contributions.
13580 2012-05-21 Richard Henderson <rth@twiddle.net>
13582 * misc/getauxval.c (__getauxval): Use unsigned long int.
13583 * misc/sys/auxv.h: Include <sys/cdefs.h>.
13584 (getauxval): Use unsigned long int.
13586 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
13588 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
13590 2012-05-21 Roland McGrath <roland@hack.frob.com>
13592 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
13593 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
13594 __alignof__ (long double).
13596 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13598 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13600 2012-05-20 Richard Henderson <rth@twiddle.net>
13602 * misc/getauxval.c: New file.
13603 * misc/sys/auxv.h: New file.
13604 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
13605 (routines): Add getauxval.
13606 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
13607 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
13608 * elf/dl-sysdep.c (_dl_auxv): Remove.
13609 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
13610 * elf/dl-support.c (_dl_auxv): New variable.
13611 (_dl_aux_init): Initialize it.
13612 * manual/startup.texi (Auxiliary Vector): New node.
13613 * sysdeps/generic/bits/hwcap.h: New file.
13614 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
13615 * sysdeps/powerpc/sysdep.h: ... here. Include it.
13616 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
13617 * sysdeps/sparc/sysdep.h: ... here. Include it.
13618 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
13619 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
13620 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
13623 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
13624 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
13625 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
13626 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
13627 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
13628 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
13629 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
13631 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13633 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13635 2012-05-19 David S. Miller <davem@davemloft.net>
13637 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13639 2012-05-19 Joseph Myers <joseph@codesourcery.com>
13642 * math/s_ccosh.c: Include <float.h>
13643 (__ccosh): Avoid internal overflow calculating sinh and cosh
13644 values before multiplying by sin and cos values.
13645 * math/s_ccoshf.c: Likewise.
13646 * math/s_ccoshl.c: Likewise.
13647 * math/s_csin.c: Likewise.
13648 * math/s_csinf.c: Likewise.
13649 * math/s_csinl.c: Likewise.
13650 * math/s_csinh.c: Likewise.
13651 * math/s_csinhf.c: Likewise.
13652 * math/s_csinhl.c: Likewise.
13653 * math/libm-test.inc (ccos_test): Add more tests.
13654 (ccosh_test): Likewise.
13655 (csin_test): Likewise.
13656 (csinh_test): Likewise.
13657 * sysdeps/i386/fpu/libm-test-ulps: Update.
13658 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13660 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
13662 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
13663 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
13665 * sysdeps/x86_64/x32/_itoa.h: Add comment.
13667 2012-05-19 Joseph Myers <joseph@codesourcery.com>
13669 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
13670 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
13671 * sysdeps/powerpc/soft-fp/Versions: Likewise.
13672 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
13673 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
13674 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
13675 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
13676 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
13677 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
13678 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
13679 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
13680 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
13681 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
13682 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
13683 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
13684 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
13685 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
13686 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
13687 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
13688 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
13689 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
13690 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
13691 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
13692 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
13693 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
13694 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
13695 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
13696 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
13697 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
13698 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
13699 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
13701 2012-05-18 Andreas Jaeger <aj@suse.de>
13703 * csu/.gitignore: Delete.
13705 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
13707 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
13708 (timex): Use __syscall_slong_t.
13710 2012-05-18 Andreas Jaeger <aj@suse.de>
13711 Carlos O'Donell <carlos_odonell@mentor.com>
13713 * manual/install.texi (Configuring and compiling): Update
13714 description about files modified in the source directory.
13715 * INSTALL: Regenerated.
13717 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
13719 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
13720 value. Use "or" to set return value to -1.
13721 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
13722 negate return value.
13724 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13726 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
13727 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
13728 failure if the compiler has Graphite support disabled.
13729 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
13731 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
13732 CFLAGS-memmove.c): Likewise.
13733 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
13736 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
13738 * sysdeps/x86_64/x32/_itoa.h: New file.
13740 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
13741 getdents system call only if kernel and user dirents have the
13742 same d_ino and d_off.
13744 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
13745 LLONG_MAX != LONG_MAX.
13746 (_itoa_word): Use _ITOA_WORD_TYPE on value.
13747 (_fitoa_word): Likewise.
13749 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
13751 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
13752 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
13753 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
13755 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
13756 include <bits/wordsize.h>. Check __x86_64__ instead of
13758 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
13759 if __x86_64__ is defined. Use anonymous union on fpstate.
13761 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
13764 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
13766 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
13767 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
13768 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
13769 Refer to _rtld_local_ro instead of _rtld_global_ro.
13770 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
13772 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
13774 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
13776 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
13777 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
13778 of _rtld_global, and rtld_progname instead of _dl_argv[0].
13780 * sysdeps/powerpc/powerpc32/dl-machine.c
13781 (__elf_machine_runtime_setup) [PROF]: Don't reference
13784 2012-05-18 Andreas Jaeger <aj@suse.de>
13786 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
13787 function only available for GCCs before 3.4 since GCC 3.4
13788 introduced a builtin.
13790 (llrintf): Likewise.
13791 (llrint): Likewise.
13798 (nearbyint): Likewise.
13799 (nearbyintf): Likewise.
13803 (floorf): Likewise.
13805 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
13807 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
13808 on both fields and cast pointer to __syscall_ulong_t.
13810 * bits/types.h (__fsword_t): New type.
13811 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
13812 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
13813 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13814 (__FSWORD_T_TYPE): Likewise.
13815 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13816 (__FSWORD_T_TYPE): Likewise.
13817 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13818 (__FSWORD_T_TYPE): Likewise.
13819 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
13820 (__FSWORD_T_TYPE): Likewise.
13821 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
13822 __SWORD_TYPE with __fsword_t.
13823 (statfs64): Likewise.
13825 2012-05-17 David S. Miller <davem@davemloft.net>
13827 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
13829 2012-05-17 Andreas Jaeger <aj@suse.de>
13831 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
13834 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
13836 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
13838 2012-05-17 Andreas Jaeger <aj@suse.de>
13840 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
13843 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
13845 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
13847 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
13849 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
13850 * sysdeps/x86_64/tst-mallocalign1.c: New file.
13852 2012-05-17 Andreas Jaeger <aj@suse.de>
13853 Carlos O'Donell <carlos_odonell@mentor.com>
13856 * sysdeps/x86_64/multiarch/init-arch.h
13857 (bit_YMM_Usable): Rename to...
13858 (bit_AVX_Usable): ... this.
13859 (bit_FMA4_Usable): New macro.
13860 (bit_XMM_state): New macro.
13861 (bit_YMM_state): New macro.
13862 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
13863 [__ASSEMBLER__] (index_AVX_Usable): ... this.
13864 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
13865 (CPUID_OSXSAVE): New macro.
13866 (CPUID_AVX): New macro.
13867 (CPUID_FMA4): New macro.
13868 (index_YMM_Usable): Rename to...
13869 (index_AVX_Usable): ... this.
13870 (HAS_AVX): Use HAS_ARCH_FEATURE.
13871 (HAS_FMA4): Likewise.
13872 (HAS_YMM_USABLE): Remove.
13873 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13874 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
13876 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
13877 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
13878 * sysdeps/x86_64/multiarch/Makefile: Likewise.
13879 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
13880 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
13882 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
13884 * math/libm-test.c: Support platforms without multiple rounding modes.
13885 * math/bug-nextafter.c: Support platforms without FP exceptions.
13886 * math/bug-nexttoward.c: Likewise.
13887 * math/test-fenv.c: Likewise.
13888 * math/test-misc.c: Likewise.
13889 * stdlib/bug-getcontext.c: Likewise.
13891 2012-05-17 Andreas Jaeger <aj@suse.de>
13893 * manual/examples/search.c (critter_cmp): Change signature to
13895 * manual/string.texi (Collation Functions): Likewise.
13897 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13899 * bits/types.h: Fold copyright years.
13900 * bits/typesizes.h: Likewise.
13901 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
13902 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
13903 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
13904 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
13905 * time/time.h: Likewise.
13907 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
13910 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
13911 in instead of returning them. Return void.
13912 (__libc_mallinfo): Accumulate over all arenas.
13913 (__malloc_stats): Adjust for change in int_mallinfo interface.
13915 2012-05-16 Roland McGrath <roland@hack.frob.com>
13918 * configure.in (NM): Add AC_CHECK_TOOL for it.
13919 (libc_extra_cflags): New substituted variable.
13920 Check for -fstack-protector being used implicitly.
13921 * configure: Regenerated.
13922 * config.make.in (config-extra-cflags): New variable,
13923 gets @libc_extra_cflags@.
13924 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
13927 * configure.in: Check for _FORTIFY_SOURCE being predefined.
13928 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
13929 * configure: Regenerated.
13930 * config.make.in (CPPUNDEFS): New substituted variable.
13931 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
13932 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
13933 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
13935 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13937 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
13938 (mq_attr): Use __syscall_slong_t.
13940 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13942 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
13943 Check __x86_64__ instead of __WORDSIZE.
13944 (_STAT_VER_LINUX): Likewise.
13945 (stat): Check __x86_64__ instead of __WORDSIZE. Use
13946 __syscall_ulong_t and __syscall_slong_t.
13947 (stat64): Likewise.
13949 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13951 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
13953 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13955 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
13957 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13959 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
13962 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
13963 include <bits/wordsize.h>. Check __x86_64__ instead of
13965 (greg_t): Use "__extension__ long long int" if __x86_64__ is
13967 (mcontext_t): Replace "unsigned long" with "unsigned long long".
13969 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
13970 include <bits/wordsize.h>. Check __x86_64__ instead of
13972 (user_regs_struct): Use "__extension__ unsigned long long"
13973 instead of "unsigned long" if __x86_64__ is defined.
13974 (user): Likewise. Pad after pointer field if __ILP32__ is
13977 2012-05-16 Joseph Myers <joseph@codesourcery.com>
13979 * configure.in (makeinfo): Require version 4.5 or later. Allow
13981 * configure: Regenerated.
13982 * manual/install.texi (texinfo): Increase version requirement to
13984 * INSTALL: Regenerated.
13986 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
13988 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13990 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
13992 * sysdeps/x86_64/x32/ffs.c: New file.
13994 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
13996 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
13997 defined. Use __syscall_ulong_t.
13998 (shminfo): Use __syscall_ulong_t.
13999 (shm_info): Likewise.
14001 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
14004 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
14006 (msgqnum_t): Use __syscall_ulong_t.
14007 (msglen_t): Likewise.
14008 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
14011 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
14012 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
14014 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
14016 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
14017 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
14019 * sysvipc/sys/msg.h (msgbuf): Replace long int with
14022 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
14023 include <bits/wordsize.h>. Check __x86_64__ instead of
14026 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
14027 "unsigned long long int" if __x86_64__ is defined.
14028 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
14030 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
14031 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
14032 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
14034 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
14036 (GET_PC): Cast to uintptr_t first.
14037 (GET_FRAME): Likewise.
14038 (GET_STACK): Likewise.
14040 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
14041 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
14042 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
14043 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
14044 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
14045 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
14046 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
14047 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
14048 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
14049 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
14050 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
14051 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
14052 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
14053 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
14054 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
14055 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
14056 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
14057 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
14058 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
14059 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
14060 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
14061 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
14062 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
14063 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
14064 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
14065 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
14066 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
14067 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
14068 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
14070 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
14072 * Makerules (+depfiles): Also collect depfiles from .oS in
14074 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
14075 .oS, $(libnldbl-routines)).
14077 * Makerules (native-compile-mkdep-flags): Define.
14078 * sunrpc/Makefile (extra-objs): Add $(addprefix
14079 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
14080 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
14081 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
14082 calling $(make-target-directory).
14084 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14086 * bits/types.h (__snseconds_t): Removed.
14087 * time/time.h (struct timespec): Replace __snseconds_t with
14089 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
14090 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
14092 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14093 (__SNSECONDS_T_TYPE): Likewise.
14094 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
14095 (__SNSECONDS_T_TYPE): Likewise.
14096 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14097 (__SNSECONDS_T_TYPE): Likewise.
14099 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14101 * sysdeps/mach/hurd/bits/typesizes.h
14102 (__SYSCALL_SLONG_TYPE): New macro.
14103 (__SYSCALL_ULONG_TYPE): Likewise.
14105 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14107 * bits/types.h (__syscall_slong_t): New type.
14108 (__syscall_ulong_t): Likewise.
14110 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
14111 (__SYSCALL_ULONG_TYPE): Likewise.
14112 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14113 (__SYSCALL_SLONG_TYPE): Likewise.
14114 (__SYSCALL_ULONG_TYPE): Likewise.
14115 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
14116 (__SYSCALL_SLONG_TYPE): Likewise.
14117 (__SYSCALL_ULONG_TYPE): Likewise.
14118 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14119 (__SYSCALL_SLONG_TYPE): Likewise.
14120 (__SYSCALL_ULONG_TYPE): Likewise.
14122 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14124 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
14125 Add sigaltstack-offsets.sym.
14126 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
14127 <sigaltstack-offsets.h>.
14128 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
14129 longjmp_msg pointer.
14130 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
14131 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
14133 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
14135 2012-05-15 Joseph Myers <joseph@codesourcery.com>
14137 * elf/stackguard-macros.h: Remove file.
14138 * sysdeps/generic/stackguard-macros.h: New file.
14139 * sysdeps/i386/stackguard-macros.h: Likewise.
14140 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
14141 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
14142 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
14143 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
14144 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
14145 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
14146 * sysdeps/x86_64/stackguard-macros.h: Likewise.
14147 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
14148 <elf/stackguard-macros.h>.
14151 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
14152 __aligned__ in attribute.
14153 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
14154 (gregset_t): Likewise.
14156 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14158 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
14159 * sysdeps/x86_64/64/Implies-after: Here. New file.
14160 * sysdeps/x86_64/x32/Implies-after: New file.
14162 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14164 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
14165 and access return value for _dl_profile_fixup. Use R10_LP to
14168 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14170 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
14172 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14174 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
14175 * sysdeps/x86_64/x32/sysdep.h: New file.
14177 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14179 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
14180 * sysdeps/x86_64/setjmp.S: Likewise.
14182 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14184 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
14185 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
14186 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
14187 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
14188 remove unused global constant.
14190 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
14192 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
14193 include of <not-cancel.h>.
14195 2012-05-15 Roland McGrath <roland@hack.frob.com>
14197 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
14199 2012-05-15 Jeff Law <law@redhat.com>
14200 Andreas Jaeger <aj@suse.de>
14203 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
14205 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
14206 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
14207 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
14208 code changing __hst_map_handle.map.
14210 2012-05-15 Roland McGrath <roland@hack.frob.com>
14212 * configure.in (sysnames): Look for Implies-before and Implies-after
14214 * configure: Regenerated.
14216 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14218 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
14219 8-byte data alignment with LP_SIZE alignment.
14221 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14223 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
14226 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14228 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
14230 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14232 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
14233 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
14234 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
14236 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
14238 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14240 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
14241 (stackinfo_sub_sp): Likewise.
14243 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14245 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
14248 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14250 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
14253 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14255 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
14258 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14260 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
14262 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14264 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
14265 into R11_LP and load __x86_64_shared_cache_size_half into
14268 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14270 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
14273 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14275 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
14277 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
14279 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
14281 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
14282 powerpc32/power7/fpu/s_logb.c via #include.
14283 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
14284 powerpc32/power7/fpu/s_logbf.c via #include.
14285 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
14286 powerpc32/power7/fpu/s_logbl.c via #include.
14288 2012-05-15 Joseph Myers <joseph@codesourcery.com>
14290 * README.libm: Remove file.
14292 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14294 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
14295 count for x32. Use R*_LP and omit operand-size suffix.
14297 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14299 * shlib-versions: Move x86_64-.*-linux.* entries to ...
14300 * sysdeps/x86_64/64/shlib-versions: Here. New file.
14301 * sysdeps/x86_64/x32/shlib-versions: New file.
14303 2012-05-14 Roland McGrath <roland@hack.frob.com>
14305 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
14306 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
14307 Use _dl_fatal_printf instead.
14309 2012-05-14 Joseph Myers <joseph@codesourcery.com>
14311 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
14312 set if not set by the user. Do not allow for being unset.
14313 * sysdeps/unix/sysv/linux/configure: Regenerated.
14315 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14317 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
14318 the `q' suffix from lea and replace .quad with ASM_ADDR.
14320 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14322 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
14323 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
14325 (PTR_DEMANGLE): Likewise.
14327 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14329 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
14331 (ASM_ADDR): Likewise.
14332 (RAX_LP): Likewise.
14333 (RBP_LP): Likewise.
14334 (RBX_LP): Likewise.
14335 (RCX_LP): Likewise.
14336 (RDI_LP): Likewise.
14337 (RSI_LP): Likewise.
14338 (RSP_LP): Likewise.
14341 (R10_LP): Likewise.
14342 (R10_LP): Likewise.
14343 (R11_LP): Likewise.
14344 (R12_LP): Likewise.
14345 (R13_LP): Likewise.
14346 (R14_LP): Likewise.
14347 (R15_LP): Likewise.
14349 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14351 * sysdeps/x86_64/x32/dl-machine.h: New file.
14353 2012-05-14 Andreas Jaeger <aj@suse.de>
14355 * manual/Makefile (subdir): Remove export of subdir.
14356 (all): Remove target.
14357 (.PHONY): Remove all from list.
14358 (mkinstalldirs): Remove.
14359 (.PHONY): Remove installdirs from list.
14360 ($(inst_infodir)/libc.info): Use make-target-directory.
14361 (installdirs): Remove.
14362 (subdir_%): Remove.
14363 (glibc-targets): Remove.
14366 ($(objpfx)stubs ../po/manual.pot): Remove.
14367 ($(objpfx)stamp%): Remove.
14368 (make-target-directory): Remove.
14369 (subdir_install): Remove.
14370 (routines): Remove.
14377 * manual/.gitignore: Remove, it's not needed anymore.
14378 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
14380 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
14382 (texis): Renamed to $(objpfx)texis.
14383 (texis-path): New, contains path to generated files.
14384 (chapters.%): Use texis-path for complete path, add extra argument
14386 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
14387 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
14388 (summary,texi, stamp-summary): Use complete path of
14389 files. Generate files in build dir.
14390 (dir-add.texi): Build in build dir.
14391 (libm-err.texi,stamp-libm-err): Likewise.
14392 (version.texi, stamp-version): Likewise.
14393 (.%c.texi): Likewise.
14394 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
14395 (mostlyclean): Remove target.
14396 (realclean): Remove target.
14397 (generated): Add new variable with contents from mostlyclean and
14398 realclean, remove entries duplicated in common-mostlyclean, add
14399 stamp-libm-err and stamp-version.
14400 (generated-dirs): Add libc directory.
14401 ($(inst_infodir)/libc.info): Install files from build dir.
14403 * manual/install.texi (Configuring and compiling): Adjust since
14404 the info files are not part of the tar ball anymore.
14406 2012-05-14 Andreas Jaeger <aj@suse.de>
14408 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
14411 2012-05-14 Joseph Myers <joseph@codesourcery.com>
14414 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
14415 to 2.2.0 where earlier.
14416 * sysdeps/unix/sysv/linux/configure: Regenerated.
14417 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
14418 Remove conditional code.
14419 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
14420 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
14421 Remove conditional code.
14422 [!__NR_lchown]: Likewise.
14423 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
14424 [__NR_lchown]: Likewise.
14425 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
14426 comment referencing __ASSUME_LCHOWN_SYSCALL.
14427 * sysdeps/unix/sysv/linux/i386/sigaction.c
14428 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
14429 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
14430 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
14431 Remove conditional code.
14432 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
14433 (__protocol_available): Remove #if 0 code.
14434 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
14436 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
14437 * sysdeps/unix/sysv/linux/kernel-features.h
14438 (__ASSUME_GETCWD_SYSCALL): Don't define.
14439 (__ASSUME_REALTIME_SIGNALS): Likewise.
14440 (__ASSUME_PREAD_SYSCALL): Likewise.
14441 (__ASSUME_PWRITE_SYSCALL): Likewise.
14442 (__ASSUME_POLL_SYSCALL): Likewise.
14443 (__ASSUME_LCHOWN_SYSCALL): Likewise.
14444 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
14446 (__ASSUME_SIOCGIFNAME): Don't define.
14447 (__ASSUME_MSG_NOSIGNAL): Likewise.
14448 (__ASSUME_SENDFILE): Define unconditionally.
14449 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
14450 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
14452 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
14453 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
14454 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
14455 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
14456 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
14457 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
14458 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
14459 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
14460 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
14461 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14462 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
14463 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
14464 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14465 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
14466 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
14467 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14468 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
14469 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
14470 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14471 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
14472 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
14473 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14474 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
14475 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
14476 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14477 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
14478 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
14479 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
14481 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
14482 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14483 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
14484 Remove conditional code.
14485 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14486 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
14487 Remove conditional code.
14488 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14489 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
14490 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
14491 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
14492 Remove conditional code.
14493 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14494 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
14495 Remove conditional code.
14496 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14497 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
14498 Remove conditional code.
14499 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14500 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
14501 Remove conditional code.
14502 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14503 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
14504 Remove conditional code.
14505 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14506 * sysdeps/unix/sysv/linux/sh/pwrite64.c
14507 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
14508 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14509 * sysdeps/unix/sysv/linux/sigaction.c
14510 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
14511 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
14512 * sysdeps/unix/sysv/linux/sigpending.c
14513 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
14514 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
14515 * sysdeps/unix/sysv/linux/sigprocmask.c
14516 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
14517 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
14518 * sysdeps/unix/sysv/linux/sigsuspend.c
14519 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
14520 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
14521 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
14522 (__libc_missing_rt_sigs): Remove.
14523 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
14524 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
14525 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
14526 Remove conditional code.
14527 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
14528 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
14530 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
14531 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
14532 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
14533 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
14535 2012-05-14 Andreas Jaeger <aj@suse.de>
14537 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
14538 it's not used in glibc.
14539 (__coshm1): Likewise.
14540 (__acosh1p): Likewise.
14543 * manual/string.texi (Copying and Concatenation): Add missing
14544 variable in concat example.
14545 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
14547 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14550 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
14551 __builtin_clzl with __builtin_clzll.
14553 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14556 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
14559 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14561 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
14562 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
14563 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
14564 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
14566 2012-05-14 Mike Frysinger <vapier@gentoo.org>
14568 * NEWS: Update ia64 info.
14570 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
14572 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
14575 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
14577 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
14578 * sysdeps/unix/syscalls.list (dup3): Likewise.
14579 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
14580 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
14582 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
14584 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
14585 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
14587 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
14589 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
14591 (TLS_IE): Use mov/add instead of movq/addq to load thread
14593 (TLS_GD_PREFIX): New.
14596 2012-05-11 David S. Miller <davem@davemloft.net>
14598 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
14599 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
14600 (_FPU_SETCW): Likewise.
14602 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
14604 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
14605 is 32-byte aligned.
14607 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
14610 * iconvdata/gb18030.c: Update tables.
14611 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
14612 characters specially.
14613 (BODY for TO_LOOP): Add encoding of missing ranges.
14615 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
14618 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
14619 * sysdeps/mach/hurd/dup3.c: Likewise.
14620 * sysdeps/mach/hurd/readlinkat.c: Likewise.
14621 * sysdeps/powerpc/memmove.c:: Likewise.
14623 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
14625 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
14626 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
14628 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
14630 * elf/elf.h (R_X86_64_RELATIVE64): New.
14631 (R_X86_64_NUM): Updated.
14632 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
14633 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
14634 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
14635 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
14636 tst-quad1pie tst-quad2pie
14637 (modules-names): Add tst-quadmod1 tst-quadmod2.
14638 ($(objpfx)tst-quad1): New dependency.
14639 ($(objpfx)tst-quad2): Likewise.
14640 ($(objpfx)tst-quad1pie): Likewise.
14641 ($(objpfx)tst-quad2pie): Likewise.
14642 * sysdeps/x86_64/tst-quad1.c: New file.
14643 * sysdeps/x86_64/tst-quad1pie.c: New file.
14644 * sysdeps/x86_64/tst-quad2.c: Likewise.
14645 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
14646 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
14647 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
14648 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
14649 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
14651 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14653 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
14654 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
14655 * streams/stropts.h (t_scalar_t): Define type.
14657 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
14658 (_PATH_PRESERVE): Set to "/var/lib".
14659 (_PATH_RWHODIR): Set to "/var/spool/rwho".
14661 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
14664 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
14665 if __dir_mkfile succeeded.
14667 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
14668 checking for _hurd_dtablesize. Unlock it right after having
14669 finished _hurd_dtable allocation.
14671 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
14673 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
14674 * sysdeps/mach/hurd/configure: Regenerated.
14675 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
14676 special-casing to...
14677 * sysdeps/gnu/configure.in: ... this new file.
14678 * sysdeps/unix/sysv/linux/configure: Regenerated.
14679 * sysdeps/gnu/configure: New generated file.
14681 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
14682 for Linux: use nsec instead of usec, as well as:
14683 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
14684 members of type struct timespec.
14685 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
14687 (struct stat64): Likewise.
14688 (_STATBUF_ST_NSEC): New macro.
14689 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
14691 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
14692 __strtoul_internal rather than strtoul.
14694 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
14696 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
14699 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14701 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
14702 which preserves existing values.
14703 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
14705 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
14707 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
14708 TIMEOUT values. Return EINVAL for NFDS values either negative or
14709 greater than FD_SETSIZE.
14711 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14713 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
14714 allocated, call __vm_protect to finish enabling the existing space, and
14715 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
14716 allocate the remainder.
14718 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
14720 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
14721 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
14723 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14725 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
14726 sysdeps/mach/hurd/readlink.c.
14728 * posix/tst-sysconf.c (posix_options): Only use
14729 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
14730 _POSIX_SYNCHRONIZED_IO when they are defined
14731 * sysdeps/mach/hurd/bits/posix_opt.h:
14732 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
14733 (_XOPEN_REALTIME): Undefine macro.
14734 (_XOPEN_REALTIME_THREADS): Undefine macro.
14735 (_XOPEN_SHM): Undefine macro.
14736 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
14738 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
14740 (_POSIX_ASYNC_IO): Undefine macro.
14741 (_POSIX_PRIORITIZED_IO): Undefine macro.
14742 (_POSIX_SPIN_LOCKS): Define macro to -1.
14744 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
14745 SA_NODEFER, SA_RESETHAND.
14746 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
14747 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
14750 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
14752 * elf/Makefile (pldd-modules): Define unconditionally.
14754 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
14756 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
14758 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14760 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
14761 Return ENOENT when name is empty.
14762 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
14764 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
14766 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
14768 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
14770 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14772 Fix mlock in all cases except non-readable pages.
14773 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
14774 instead of VM_PROT_ALL as parameter to __vm_wire function.
14776 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
14777 (__mkdir): When path is `/', just fail with EEXIST.
14778 * sysdeps/mach/hurd/mkdirat.c: Likewise.
14780 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
14782 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
14783 <sys/uio.h> (for writev).
14784 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
14785 and <sys/param.h> (for MIN).
14787 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
14789 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
14790 REQUESTED_TIME. Properly set the remaining time and return EINTR
14793 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
14795 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
14796 Depend on against $(link-rpcuserlibs).
14798 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14800 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
14801 (__libc_stack_end): Do not use attribute_relro.
14802 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
14803 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
14804 to libthread-provided value.
14805 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
14808 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
14811 * bits/libc-lock.h (__libc_once_get): New macro.
14812 * sysdeps/mach/bits/libc-lock.h: Likewise.
14813 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
14814 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
14815 instead of using implementation details.
14817 * libio/fileops.c: Unconditionally include <kernel-features.h>.
14818 * libio/freopen.c: Likewise.
14819 * libio/freopen64.c: Likewise.
14820 * misc/syslog.c: Likewise.
14821 * nscd/connections.c: Likewise.
14822 * nscd/netgroupcache.c: Likewise.
14823 * sysdeps/posix/getcwd.c: Likewise.
14825 2012-05-10 Roland McGrath <roland@hack.frob.com>
14827 * math/w_ilogbf.c: Add #include <limits.h>.
14829 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14831 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
14832 path instead of returning without unlocking.
14834 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
14835 immediate-write ioctls.
14836 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
14838 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
14840 * sysdeps/mach/hurd/i386/init-first.c (init): Use
14841 __builtin_frame_address instead of making assumptions about the
14842 location of the return address relative to DATA. Force early load of
14843 the return address.
14844 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
14845 __builtin_frame_address.
14848 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
14849 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
14850 implement dup3 and do some further code clean-ups.
14851 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
14852 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
14854 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14856 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
14858 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
14859 HURD_CRITICAL_END around holding _hurd_dtable_lock.
14860 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
14861 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
14862 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
14865 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
14866 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
14867 when handler == SIG_ERR, not when handler != SIG_ERR.
14869 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
14871 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
14872 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
14875 accept4 for GNU Hurd.
14876 * include/sys/socket.h (__libc_accept4): New prototype.
14877 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
14878 to implement __libc_accept4.
14879 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
14881 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
14883 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
14884 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
14885 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
14886 signal-defines.sym.
14888 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14890 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
14892 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
14894 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
14895 assertion on O_CLOEXEC flag.
14896 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
14897 * hurd/intern-fd.c: Likewise.
14898 * hurd/port2fd.c: Likewise.
14900 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14903 * bits/in.h (IPV6_PKTINFO): Define new macro.
14904 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
14906 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14911 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
14912 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
14913 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
14914 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
14915 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
14916 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
14917 * math/libm-test.inc (logb_test) : Additional logb tests.
14919 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
14920 Andreas Jaeger <aj@suse.de>
14922 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
14923 * configure: Regenerated.
14924 * config.h.in (LINK_OBSOLETE_RPC): New macro.
14925 * config.make.in (link-obsolete-rpc): New substituted variable.
14926 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
14927 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
14928 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
14929 (shared-only-routines): Don't set it under [link-obsolete-rpc],
14930 so that libc.a contains the symbols.
14931 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
14932 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
14933 * sunrpc/auth_none.c: Likewise.
14934 * sunrpc/auth_unix.c: Likewise.
14935 * sunrpc/authdes_prot.c: Likewise.
14936 * sunrpc/authuxprot.c: Likewise.
14937 * sunrpc/clnt_gen.c: Likewise.
14938 * sunrpc/clnt_perr.c: Likewise.
14939 * sunrpc/clnt_raw.c: Likewise.
14940 * sunrpc/clnt_simp.c: Likewise.
14941 * sunrpc/clnt_tcp.c: Likewise.
14942 * sunrpc/clnt_udp.c: Likewise.
14943 * sunrpc/clnt_unix.c: Likewise.
14944 * sunrpc/des_crypt.c: Likewise.
14945 * sunrpc/des_soft.c: Likewise.
14946 * sunrpc/get_myaddr.c: Likewise.
14947 * sunrpc/key_call.c: Likewise.
14948 * sunrpc/key_prot.c: Likewise.
14949 * sunrpc/netname.c: Likewise.
14950 * sunrpc/pm_getmaps.c: Likewise.
14951 * sunrpc/pm_getport.c: Likewise.
14952 * sunrpc/pmap_clnt.c: Likewise.
14953 * sunrpc/pmap_prot.c: Likewise.
14954 * sunrpc/pmap_prot2.c: Likewise.
14955 * sunrpc/pmap_rmt.c: Likewise.
14956 * sunrpc/publickey.c: Likewise.
14957 * sunrpc/rpc_cmsg.c: Likewise.
14958 * sunrpc/rpc_common.c: Likewise.
14959 * sunrpc/rpc_dtable.c: Likewise.
14960 * sunrpc/rpc_prot.c: Likewise.
14961 * sunrpc/rpc_thread.c: Likewise.
14962 * sunrpc/rtime.c: Likewise.
14963 * sunrpc/svc.c: Likewise.
14964 * sunrpc/svc_auth.c: Likewise.
14965 * sunrpc/svc_raw.c: Likewise.
14966 * sunrpc/svc_run.c: Likewise.
14967 * sunrpc/svc_tcp.c: Likewise.
14968 * sunrpc/svc_udp.c: Likewise.
14969 * sunrpc/svc_unix.c: Likewise.
14970 * sunrpc/svcauth_des.c: Likewise.
14971 * sunrpc/xcrypt.c: Likewise.
14972 * sunrpc/xdr.c: Likewise.
14973 * sunrpc/xdr_array.c: Likewise.
14974 * sunrpc/xdr_float.c: Likewise.
14975 * sunrpc/xdr_intXX_t.c: Likewise.
14976 * sunrpc/xdr_mem.c: Likewise.
14977 * sunrpc/xdr_rec.c: Likewise.
14978 * sunrpc/xdr_ref.c: Likewise.
14979 * sunrpc/xdr_sizeof.c: Likewise.
14980 * sunrpc/xdr_stdio.c: Likewise.
14982 2012-05-10 Roland McGrath <roland@hack.frob.com>
14984 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
14985 change. Update copyright years.
14987 2012-05-10 Joseph Myers <joseph@codesourcery.com>
14989 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
14991 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
14992 Joseph Myers <joseph@codesourcery.com>
14993 Paul Pluzhnikov <ppluzhnikov@google.com>
14996 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
14998 [cross-compiling] (extra-libs): Likewise.
14999 [cross-compiling] (extra-libs-others): Likewise.
15000 [cross-compiling] (librpcsvc-routines): Likewise.
15001 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
15002 [cross-compiling] (omit-deps): Likewise.
15003 (sunrpc-CPPFLAGS): New variable.
15004 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
15005 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
15006 (cross-rpcgen-objs): New variable.
15007 (extra-objs): Append $(cross-rpcgen-objs).
15008 ($(cross-rpcgen-objs)): New rule.
15009 ($(objpfx)cross-rpcgen): Likewise.
15010 (rpcgen-cmd): Define to use $(built-program-file). Expand
15012 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
15013 ($(objpfx)x%.stmp): Likewise.
15014 * sunrpc/proto.h [IS_IN_build] (_): Define.
15015 [IS_IN_build] (_libc_intl_domainname): Likewise.
15017 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
15019 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
15020 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
15021 and R_X86_64_TPOFF64.
15023 2012-05-10 Joseph Myers <joseph@codesourcery.com>
15025 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
15026 sysdeps/unix/sysv/syscalls.list.
15029 * sysdeps/unix/sysv/syscalls.list: Remove file.
15031 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
15034 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
15035 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
15036 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
15037 (__LC_IDENTIFICATION): Make these macros useful in #if
15038 expressions, as required by C99.
15040 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
15042 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
15043 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
15046 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
15048 * stdlib/longlong.h: Updated from GCC.
15050 2012-05-09 Andreas Jaeger <aj@suse.de>
15052 * nscd/nscd.c (run_modes): Make named enum, reorder so that
15053 default is first entry.
15054 (run_mode): Set type.
15055 (main): Remove informal message about syslog.
15056 (options): Fix typo.
15059 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
15062 (llrintf): Likewise.
15063 (llrint): Likewise.
15066 (nearbyint): Likewise.
15067 (nearbyintf): Likewise.
15069 2012-05-09 Andreas Jaeger <aj@suse.de>
15070 Pedro Alves <palves@redhat.com>
15072 * nscd/nscd.c (run_mode): Use enum.
15073 (main): Cleanup coding style issue.
15075 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
15076 Andreas Jaeger <aj@suse.de>
15078 * nscd/nscd.c (go_background): Replaced with...
15079 (run_mode): ... this.
15080 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
15081 (options): Add -F --foreground.
15082 (main): Implement it.
15083 (parse_opt): Parse it.
15085 2012-05-09 Andreas Jaeger <aj@suse.de>
15088 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
15089 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
15090 -Wconversion warning.
15091 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
15094 2012-05-09 Joseph Myers <joseph@codesourcery.com>
15096 * conform/data/locale.h-data (NULL): Use macro-constant. Require
15098 (LC_ALL): Use macro-int-constant.
15099 (LC_COLLATE): Likewise.
15100 (LC_CTYPE): Likewise.
15101 (LC_MESSAGES): Likewise.
15102 (LC_MONETARY): Likewise.
15103 (LC_NUMERIC): Likewise.
15104 (LC_TIME): Likewise.
15105 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
15106 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
15107 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15108 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
15110 [C99-based standards] (float_t): Expect type.
15111 [C99-based standards] (double_t): Expect type.
15112 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
15114 [C99-based standards] (HUGE_VALL): Likewise.
15115 [C99-based standards] (INFINITY): Likewise.
15116 [C99-based standards] (NAN): Likewise.
15117 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
15118 [C99-based standards] (FP_NAN): Likewise.
15119 [C99-based standards] (FP_NORMAL): Likewise.
15120 [C99-based standards] (FP_SUBNORMAL): Likewise.
15121 [C99-based standards] (FP_ZERO): Likewise.
15122 [C99-based standards] (FP_FAST_FMA): Use
15123 optional-macro-int-constant. Specify type. Require == 1.
15124 [C99-based standards] (FP_FAST_FMAF): Likewise.
15125 [C99-based standards] (FP_FAST_FMAL): Likewise.
15126 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
15127 [C99-based standards] (FP_ILOGBNAN): Likewise.
15128 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
15130 [C99-based standards] (MATH_ERREXCEPT): Likewise.
15131 [C99-based standards] (math_errhandling): Specify type.
15132 [ISO99 || ISO11] (signgam): Do not allow.
15133 [non-C99-based standards] (copysignf): Do not allow.
15134 [non-C99-based standards] (exp2f): Likewise.
15135 [non-C99-based standards] (log2f): Likewise.
15136 [non-C99-based standards] (modff): Allow.
15137 [non-C99-based standards] (erff): Do not allow.
15138 [non-C99-based standards] (erfcf): Likewise.
15139 [non-C99-based standards] (gammaf): Likewise.
15140 [non-C99-based standards] (hypotf): Likewise.
15141 [non-C99-based standards] (j0f): Likewise.
15142 [non-C99-based standards] (j1f): Likewise.
15143 [non-C99-based standards] (jnf): Likewise.
15144 [non-C99-based standards] (lgammaf): Likewise.
15145 [non-C99-based standards] (tgammaf): Likewise.
15146 [non-C99-based standards] (y0f): Likewise.
15147 [non-C99-based standards] (y1f): Likewise.
15148 [non-C99-based standards] (ynf): Likewise.
15149 [non-C99-based standards] (isnanf): Likewise.
15150 [non-C99-based standards] (acoshf): Likewise.
15151 [non-C99-based standards] (asinhf): Likewise.
15152 [non-C99-based standards] (atanhf): Likewise.
15153 [non-C99-based standards] (cbrtf): Likewise.
15154 [non-C99-based standards] (expm1f): Likewise.
15155 [non-C99-based standards] (ilogbf): Likewise.
15156 [non-C99-based standards] (log1pf): Likewise.
15157 [non-C99-based standards] (logbf): Likewise.
15158 [non-C99-based standards] (nextafterf): Likewise.
15159 [non-C99-based standards] (remainderf): Likewise.
15160 [non-C99-based standards] (rintf): Likewise.
15161 [non-C99-based standards] (scalbf): Likewise.
15162 [non-C99-based standards] (copysignl): Likewise.
15163 [non-C99-based standards] (exp2l): Likewise.
15164 [non-C99-based standards] (log2l): Likewise.
15165 [non-C99-based standards] (modfl): Allow.
15166 [non-C99-based standards] (erfl): Do not allow.
15167 [non-C99-based standards] (erfcl): Likewise.
15168 [non-C99-based standards] (gammal): Likewise.
15169 [non-C99-based standards] (hypotl): Likewise.
15170 [non-C99-based standards] (j0l): Likewise.
15171 [non-C99-based standards] (j1l): Likewise.
15172 [non-C99-based standards] (jnl): Likewise.
15173 [non-C99-based standards] (lgammal): Likewise.
15174 [non-C99-based standards] (tgammal): Likewise.
15175 [non-C99-based standards] (y0l): Likewise.
15176 [non-C99-based standards] (y1l): Likewise.
15177 [non-C99-based standards] (ynl): Likewise.
15178 [non-C99-based standards] (isnanl): Likewise.
15179 [non-C99-based standards] (acoshl): Likewise.
15180 [non-C99-based standards] (asinhl): Likewise.
15181 [non-C99-based standards] (atanhl): Likewise.
15182 [non-C99-based standards] (cbrtl): Likewise.
15183 [non-C99-based standards] (expm1l): Likewise.
15184 [non-C99-based standards] (ilogbl): Likewise.
15185 [non-C99-based standards] (log1pl): Likewise.
15186 [non-C99-based standards] (logbl): Likewise.
15187 [non-C99-based standards] (nextafterl): Likewise.
15188 [non-C99-based standards] (remainderl): Likewise.
15189 [non-C99-based standards] (rintl): Likewise.
15190 [non-C99-based standards] (scalbl): Likewise.
15191 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15192 [non-C99-based standards] (FP_*): Do not allow.
15193 [C99-based standards] (FP_*): Change to
15194 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
15195 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
15197 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
15198 (SIG_ERR): Likewise.
15199 [X/Open-based standards] (SIG_HOLD): Likewise.
15200 (SIG_IGN): Likewise.
15201 (SIGABRT): Use macro-int-constant. Specify type. Require
15203 (SIGFPE): Likewise.
15204 (SIGILL): Likewise.
15205 (SIGINT): Likewise.
15206 (SIGSEGV): Likewise.
15207 (SIGTER): Likewise.
15208 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
15209 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
15210 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
15211 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
15212 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
15213 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
15214 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
15215 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
15216 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
15217 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
15218 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
15219 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
15220 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
15221 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
15222 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
15223 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
15224 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
15225 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
15226 [X/Open-based standards] (SIGTRAP): Likewise.
15227 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
15228 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
15229 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
15230 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
15231 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
15234 2012-05-08 Ian Wienand <ianw@vmware.com>
15237 * time/tzset.c (__tzset_parse_tz): Update default rules for
15238 daylight time changes in the Energy Policy Act of 2005.
15240 2012-05-09 Andreas Jaeger <aj@suse.de>
15243 * elf/ldconfig.c (parse_conf): Change string to make clear that
15244 ldconfig only issued a warning if ld.so.conf does not exist.
15246 2012-05-08 David S. Miller <davem@davemloft.net>
15248 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
15249 movxtod instead of popping the value on the stack.
15251 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15253 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
15255 * config.h.in: Add HAVE_ARM_PCS_VFP.
15257 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
15260 * include/features.h: Warn if user requests __FORTIFY_SOURCE
15261 checking but the checks are disabled for any reason.
15263 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
15265 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
15266 and ELF64_R_TYPE with ELFW(R_TYPE).
15268 2012-05-08 Joseph Myers <joseph@codesourcery.com>
15270 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
15271 (ulimit): Likewise.
15273 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
15274 (settimeofday): Likewise.
15276 2012-05-08 Mike Frysinger <vapier@gentoo.org>
15278 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
15279 a struct th_u2 inside the union, and move tu_block/tu_code into
15280 a new th_u3 union of tu_block/tu_code inside of that. Move
15281 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
15282 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
15283 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
15284 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
15285 (th_stuff): Change to th_u1.tu_stuff.
15287 (th_msg): Change to th_u1.th_u2.tu_data.
15289 2012-05-07 David S. Miller <davem@davemloft.net>
15291 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15294 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
15295 (SETUP_PIC_REG): Use it.
15296 (SETUP_PIC_REG_LEAF): Use it.
15298 2012-05-07 Joseph Myers <joseph@codesourcery.com>
15302 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
15304 (EXPL_FINITE): Likewise.
15305 (FLDLOG): Likewise.
15306 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
15307 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
15309 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
15311 (EXPL_FINITE): Likewise.
15312 (FLDLOG): Likewise.
15313 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
15314 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
15316 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
15317 test of -max_value argument for long double.
15318 * sysdeps/i386/fpu/libm-test-ulps: Update.
15319 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15321 2012-05-06 David S. Miller <davem@davemloft.net>
15323 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
15324 quad soft-float symbols whose references which are compiler
15326 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
15328 2012-05-06 Joseph Myers <joseph@codesourcery.com>
15332 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
15334 (EXPL_FINITE): Likewise.
15335 (FLDLOG): Likewise.
15338 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
15339 Adjust comments for base varying.
15340 (__expl_finite): Change alias to EXPL_FINITE.
15341 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
15343 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
15344 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
15345 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
15346 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
15347 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
15349 (EXPL_FINITE): Likewise.
15350 (FLDLOG): Likewise.
15353 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
15354 Adjust comments for base varying.
15355 (__expl_finite): Change alias to EXPL_FINITE.
15356 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
15358 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15361 * math/libm-test.inc (check_float_internal): Correct ulp
15362 calculation for subnormal expected results.
15364 2012-05-06 Andreas Jaeger <aj@suse.de>
15366 * Makeconfig (+math-flags): New, set to -frounding-math.
15367 (+cflags): Add +math-flags so that all of glibc gets compiled with
15370 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
15372 2012-05-05 Joseph Myers <joseph@codesourcery.com>
15374 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
15380 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
15381 (__ieee754_expl): Allow for and saturate large arguments.
15382 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
15383 (u_threshold): Likewise.
15384 (__exp): Call __ieee754_exp before checking for overflow and
15386 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
15387 (u_threshold): Likewise.
15388 (__expf): Call __ieee754_expf before checking for overflow and
15390 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
15391 (u_threshold): Likewise.
15392 (__expl): Call __ieee754_expl before checking for overflow and
15394 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
15395 (__ieee754_expl): Allow for and saturate large arguments.
15396 * math/libm-test.inc (exp_test): Add another test. Do not allow
15397 missing overflow exception on overflow.
15398 (expm1_test): Do not allow missing overflow exception on overflow.
15400 * sysdeps/i386/fpu/e_expl.c: Move to ...
15401 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
15402 rather than using inline asm.
15403 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
15404 * sysdeps/x86_64/fpu/e_expl.S: Copy from
15405 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
15407 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
15410 (signal): Likewise.
15414 2012-05-04 Joseph Myers <joseph@codesourcery.com>
15416 * sysdeps/unix/syscalls.list (adjtime): Add entry from
15417 sysdeps/unix/common/syscalls.list.
15418 (fchmod): Likewise.
15419 (fchown): Likewise.
15420 (ftruncate): Likewise.
15421 (getrusage): Likewise.
15422 (gettimeofday): Likewise.
15423 (setpgid): Likewise.
15424 (setregid): Likewise.
15425 (setreuid): Likewise.
15426 (sigaction): Likewise.
15427 (truncate): Likewise.
15428 (vhangup): Likewise.
15429 * sysdeps/unix/common/syscalls.list: Remove file.
15430 * sysdeps/unix/bsd/Implies: Don't include unix/common.
15431 * sysdeps/unix/sysv/linux/Implies: Likewise.
15433 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
15435 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
15436 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
15437 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
15439 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
15441 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
15443 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
15444 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
15446 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
15447 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
15449 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
15450 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
15452 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
15453 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
15455 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
15456 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
15458 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
15459 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
15461 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
15463 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
15465 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
15467 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
15469 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
15470 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
15472 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
15474 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
15476 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
15478 2012-05-04 Joseph Myers <joseph@codesourcery.com>
15480 * sysdeps/unix/common/bits/dirent.h: Remove file.
15481 * sysdeps/unix/common/bits/fcntl.h: Likewise.
15483 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
15484 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
15485 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
15486 * sysdeps/unix/bsd/isatty.c: Likewise.
15487 * sysdeps/unix/bsd/tcdrain.c: Likewise.
15488 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
15489 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
15491 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15494 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
15495 long double comparison inaccuracies.
15496 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
15497 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15499 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
15501 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
15502 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
15504 2012-05-04 Joseph Myers <joseph@codesourcery.com>
15507 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
15508 nonzero digits before rounding a hex value.
15509 * stdlib/tst-strtod.c (tests): Add another test.
15511 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15513 * sysdeps/s390/fpu/libm-test-ulps: Update.
15515 2012-05-03 Andreas Jaeger <aj@suse.de>
15517 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
15518 does not get optimized out.
15519 (malloc_opt_barrier): New.
15521 2012-05-03 Andreas Jaeger <aj@suse.de>
15522 Roland McGrath <roland@hack.frob.com>
15524 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
15525 intermediate file deletion.
15526 (generated): Add .symlist files.
15528 2012-05-03 Joseph Myers <joseph@codesourcery.com>
15531 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
15532 Redirect under this condition.
15533 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
15534 [__USE_GNU] (__dprintf_chk): Not under this condition.
15535 [__USE_GNU] (__vdprintf_chk): Likewise.
15536 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
15537 under this condition.
15538 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
15539 [__USE_XOPEN2K8] (dprintf): Define under this condition.
15540 [__USE_XOPEN2K8] (vdprintf): Likewise.
15541 [__USE_GNU] (__dprintf_chk): Not under this condition.
15542 [__USE_GNU] (__vdprintf_chk): Likewise.
15543 [__USE_GNU] (dprintf): Likewise.
15544 [__USE_GNU] (vdprintf): Likewise.
15546 2012-05-03 Roland McGrath <roland@hack.frob.com>
15548 * elf/Makefile (common-generated): Set this instead of generated for
15549 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
15550 $(all-built-dso)-derived lists.
15552 2012-05-03 Andreas Jaeger <aj@suse.de>
15554 * sysdeps/i386/fpu/libm-test-ulps: Update.
15557 * FAQ.in: Likewise.
15558 * scripts/gen-FAQ.pl: Likewise.
15559 * manual/install.texi (Installation): Point to online location of
15561 * Makefile (files-for-dist): Remove FAQ.
15564 2012-05-02 Allan McRae <allan@archlinux.org>
15566 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
15567 (LDFLAGS-reldepmod5.so): Likewise.
15568 (LDFLAGS-reldep6mod1.so): Likewise.
15569 (LDFLAGS-reldep6mod4.so): Likewise.
15570 (LDFLAGS-reldep8mod3.so): Likewise.
15571 (LDFLAGS-unload4mod1.so): Likewise.
15572 (LDFLAGS-unload4mod2.so): Likewise.
15573 (LDFLAGS-tst-initorder): Likewise.
15574 (LDFLAGS-tst-initordera2.so): Likewise.
15575 (LDFLAGS-tst-initordera3.so): Likewise.
15576 (LDFLAGS-tst-initordera4.so): Likewise.
15577 (LDFLAGS-tst-initorderb2.so): Likewise.
15578 (LDFLAGS-noload): Likewise.
15579 (LDFLAGS-next): Likewise.
15580 (LDFLAGS-order2mod1.so): Likewise.
15581 (LDFLAGS-order2mod2.so): Likewise.
15582 (LDFLAGS-tst-initorder2): Likewise.
15583 (LDFLAGS-tst-initorder2a.so): Likewise.
15584 (LDFLAGS-tst-initorder2b.so): Likewise.
15585 (LDFLAGS-tst-initorder2c.so): Likewise.
15586 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
15588 2012-05-02 David S. Miller <davem@davemloft.net>
15590 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15592 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
15595 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
15597 2012-05-02 Andreas Jaeger <aj@suse.de>
15599 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
15600 since we manipulate rounding mode.
15601 (CPPFLAGS-test-idouble.c): Likewise.
15602 (CPPFLAGS-test-ifloat.c): Likewise.
15603 (CFLAGS-test-ldouble.c): Likewise.
15604 (CFLAGS-test-double.c): Likewise.
15605 (CFLAGS-test-float.c): Likewise.
15606 (CFLAGS-test-misc.c): Likewise.
15607 (CFLAGS-test-test-fenv.c): Likewise.
15609 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15613 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
15614 comparisons to determine direction to adjust input.
15616 2012-05-01 Roland McGrath <roland@hack.frob.com>
15618 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
15619 output to the target.
15621 * scripts/localplt.awk: New file.
15622 * elf/Makefile ($(objpfx)check-localplt): Target removed.
15623 (check-localplt-CFLAGS): Variable removed.
15624 ($(all-built-dso:=.jmprel)): New static pattern rule.
15625 (generated): Add those targets.
15626 (localplt-built-dso): New variable.
15627 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
15629 * elf/check-localplt.c: File removed.
15631 * scripts/check-execstack.awk: New file.
15632 * elf/Makefile ($(objpfx)check-execstack): Target removed.
15633 (check-execstack-CFLAGS): Variable removed.
15634 ($(objpfx)check-execstack.h): Target removed.
15635 ($(objpfx)execstack-default): New target.
15636 (generated): Add that instead of check-execstack.h.
15637 ($(all-built-dso:=.phdr)): New static pattern rule.
15638 (generated): Add those targets.
15639 * elf/check-execstack.c: File removed.
15641 * scripts/check-textrel.awk: New file.
15642 * elf/Makefile ($(objpfx)check-textrel): Target removed.
15643 (check-textrel-CFLAGS): Variable removed.
15644 (all-built-dso): Use := to define.o
15645 ($(all-built-dso:=.dyn)): New static pattern rule.
15646 (generated): Add those targets.
15647 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
15648 * config.make.in (READELF): New substituted variable.
15649 * elf/check-textrel.c: File removed.
15651 2012-05-01 Joseph Myers <joseph@codesourcery.com>
15653 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
15655 * conform/data/ctype.h-data [C99-based standards] (isblank):
15657 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
15658 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
15659 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15660 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
15661 Specify type. Require positive value.
15662 (EILSEQ): Likewise.
15663 (ERANGE): Likewise.
15664 [ISO || POSIX] (EILSEQ): Do not expect.
15665 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
15666 Specify type. Require positive value.
15667 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
15668 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
15669 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
15670 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
15671 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
15672 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
15673 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
15674 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
15675 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
15676 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
15677 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
15678 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
15679 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
15680 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
15681 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
15682 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
15683 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
15684 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
15685 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
15686 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
15687 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
15688 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
15689 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
15690 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
15691 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
15692 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
15693 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
15694 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
15695 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
15696 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
15697 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
15698 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
15699 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
15700 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
15701 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
15702 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
15703 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
15704 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
15705 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
15706 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
15707 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
15708 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
15709 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
15710 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
15711 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
15712 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
15713 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
15714 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
15715 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
15716 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
15717 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
15718 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
15719 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
15720 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
15721 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
15722 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
15723 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
15724 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
15725 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
15726 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
15727 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
15728 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
15729 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
15730 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
15731 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
15732 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
15733 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
15734 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
15735 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
15736 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
15737 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
15738 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
15739 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
15740 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
15741 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
15742 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
15743 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
15745 (FLT_ROUNDS): Expect as macro, not constant.
15746 (FLT_MANT_DIG): Use macro-int-constant.
15747 (DBL_MANT_DIG): Likewise.
15748 (LDBL_MANT_DIG): Likewise.
15749 (FLT_DIG): Likewise.
15750 (DBL_DIG): Likewise.
15751 (LDBL_DIG): Likewise.
15752 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
15753 (DBL_MIN_EXP): Likewise.
15754 (LDBL_MIN_EXP): Likewise.
15755 (FLT_MAX_EXP): Use macro-int-constant.
15756 (DBL_MAX_EXP): Likewise.
15757 (LDBL_MAX_EXP): Likewise.
15758 (FLT_MAX_10_EXP): Likewise.
15759 (DBL_MAX_10_EXP): Likewise.
15760 (LDBL_MAX_10_EXP): Likewise.
15761 (FLT_MAX): Use macro-constant.
15762 (DBL_MAX): Likewise.
15763 (LDBL_MAX): Likewise.
15764 (FLT_EPSILON): Use macro-constant. Give upper bound.
15765 (DBL_EPSILON): Likewise.
15766 (LDBL_EPSILON): Likewise.
15767 (FLT_MIN): Likewise.
15768 (DBL_MIN): Likewise.
15769 (LDBL_MIN): Likewise.
15770 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
15771 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
15772 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
15773 [ISO11] (FLT_HAS_SUBNORM): Likewise.
15774 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
15775 [ISO11] (DBL_DECIMAL_DIG): Likewise.
15776 [ISO11] (FLT_DECIMAL_DIG): Likewise.
15777 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
15778 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
15779 [ISO11] (FLT_TRUE_MIN): Likewise.
15780 [ISO11] (LDBL_TRUE_MIN): Likewise.
15781 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15782 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
15783 (SCHAR_MIN): Use macro-int-constant. Specify type.
15784 (SCHAR_MAX): Likewise.
15785 (UCHAR_MAX): Likewise.
15786 (CHAR_MIN): Likewise.
15787 (CHAR_MAX): Likewise.
15788 (MB_LEN_MAX): Use macro-int-constant.
15789 (SHRT_MIN): Use macro-int-constant. Specify type.
15790 (SHRT_MAX): Likewise.
15791 (USHRT_MAX): Likewise.
15792 (INT_MAX): Likewise.
15793 (INT_MIN): Use macro-int-constant. Specify type. Make upper
15795 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
15797 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
15799 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
15800 bound negative. Suffix upper bound with "L".
15801 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
15803 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
15805 [C99-based standards] (LLONG_MAX): Likewise.
15806 [C99-based standards] (ULLONG_MAX): Likewise.
15807 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
15809 [ISO11] (max_align_t): Require type.
15810 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15812 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
15813 from $CFLAGS, without defining away __attribute__ calls.
15814 (checknamespace): Use $CFLAGS_namespace.
15816 * conform/conformtest.pl (@keywords): Only include C99 keywords
15817 for standards based on C99 or C11.
15819 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
15821 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
15824 * conform/conformtest.pl: Handle "macro-int-constant" and test for
15825 usability of symbols in #if.
15827 * conform/conformtest.pl: If macro or constant types start
15828 "promoted:", expect the symbol to be of the following type
15829 promoted by the integer promotions.
15831 * conform/conformtest.pl: Parse all "constant" and "macro" lines
15832 in one place. Also handle "macro-constant".
15834 * conform/conformtest.pl: Only accept expected macro values with
15835 "==". Parse all "macro" lines in one place.
15836 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
15838 * conform/conformtest.pl: Handle braced types on "constant" lines
15839 instead of handling "typed-constant".
15840 * conform/data/signal.h-data: Use "constant" instead of
15843 * conform/conformtest.pl: Handle "optional-" at start of lines in
15844 one place rather than duplicating several cases. Handle each
15845 format of "macro" line with initial "optional-".
15847 * conform/conformtest.pl: Only accept expected constant or
15848 optional-constant values with "==". Parse all "constant" lines in
15849 one place. Parse all "optional-constant" lines in one place.
15850 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
15851 * conform/data/fmtmsg.h-data: Likewise.
15852 * conform/data/netinet/in.h-data: Likewise.
15853 * conform/data/tar.h-data: Likewise.
15854 * conform/data/limits.h-data: Use "==" form on "constant" and
15855 "optional-constant" lines.
15857 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
15858 Use -std=c99 for XOPEN2K.
15859 (@knownproblems): Remove.
15860 (newtoken): Don't check %isknown.
15862 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
15863 Do not expect macro.
15864 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
15865 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
15866 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
15867 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
15868 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
15869 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
15870 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
15871 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
15872 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
15873 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
15874 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
15875 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
15876 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
15877 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
15878 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
15879 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
15880 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
15881 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
15882 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
15883 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
15884 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
15885 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
15886 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
15887 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
15888 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
15889 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
15890 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
15891 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
15892 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
15893 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
15894 [XPG3] (acosh): Likewise.
15895 [XPG3] (asinh): Likewise.
15896 [XPG3] (atanh): Likewise.
15897 [XPG3] (cbrt): Likewise.
15898 [XPG3] (expm1): Likewise.
15899 [XPG3] (ilogb): Likewise.
15900 [XPG3] (log1p): Likewise.
15901 [XPG3] (logb): Likewise.
15902 [XPG3] (nextafter): Likewise.
15903 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
15904 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
15905 [XPG3] (remainder): Likewise.
15906 [XPG3] (rint): Likewise.
15907 [XPG3 || XPG4 || UNIX98] (round): Likewise.
15908 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
15909 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
15910 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
15911 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
15912 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
15913 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
15914 [UNIX98 || XOPEN2K] (scalb): Expect.
15915 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
15916 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
15917 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
15918 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
15919 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
15920 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
15921 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
15922 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
15923 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
15924 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
15925 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
15926 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
15927 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
15928 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
15929 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
15930 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
15931 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
15932 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
15933 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
15934 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
15935 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
15936 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
15937 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
15938 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
15939 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
15940 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
15941 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
15942 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
15943 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
15944 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
15945 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
15946 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
15947 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
15948 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
15949 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
15950 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
15951 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
15952 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
15953 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
15954 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
15955 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
15956 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
15957 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
15958 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
15959 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
15960 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
15961 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
15962 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
15963 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
15964 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
15965 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
15966 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
15967 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
15968 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
15969 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
15970 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
15971 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
15972 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
15973 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
15974 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
15975 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
15976 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
15977 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
15978 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
15979 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
15980 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
15981 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
15982 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
15983 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
15984 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
15985 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
15986 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
15987 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
15988 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
15989 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
15990 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
15991 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
15992 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
15993 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
15994 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
15995 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
15996 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
15997 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
15998 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
15999 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
16000 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
16001 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
16002 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
16003 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
16004 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
16005 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
16006 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
16007 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
16008 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
16009 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
16010 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
16011 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
16012 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
16013 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
16014 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
16015 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
16016 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
16017 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
16018 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
16019 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
16020 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
16021 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
16022 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
16023 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
16024 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
16025 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
16026 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
16027 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
16028 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
16029 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
16030 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
16031 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
16032 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
16033 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
16034 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
16035 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
16036 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
16037 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
16038 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
16039 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
16040 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
16041 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
16042 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
16043 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
16044 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
16045 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
16046 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
16047 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
16048 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
16049 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
16050 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
16051 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
16053 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
16054 _XOPEN_SOURCE_EXTENDED for XPG4.
16056 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
16058 * Makeconfig (localtime): Remove variable.
16059 (inst_localtime-file): Likewise.
16061 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
16063 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
16065 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16067 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
16069 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
16071 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
16073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
16075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16077 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
16079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
16082 2012-05-01 Joseph Myers <joseph@codesourcery.com>
16086 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
16087 comparisons to determine direction to adjust input.
16088 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
16089 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
16090 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
16092 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
16094 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
16096 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
16097 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
16099 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
16101 * math/libm-test.inc (nexttoward_test): Add more tests.
16103 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
16106 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
16107 in version GLIBC_2.1, not GLIBC_2.0.
16108 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
16111 2012-04-30 Joseph Myers <joseph@codesourcery.com>
16114 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
16116 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
16117 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
16118 * math/libm-test.inc (acos_test): Add more tests.
16119 (asin_test): Likewise.
16120 * sysdeps/i386/fpu/libm-test-ulps: Update.
16121 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16124 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
16126 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
16127 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
16128 * math/libm-test.inc (acos_test_tonearest): New function.
16129 (acos_test_towardzero): Likewise.
16130 (acos_test_downward): Likewise.
16131 (acos_test_upward): Likewise.
16132 (asin_test_tonearest): Likewise.
16133 (asin_test_towardzero): Likewise.
16134 (asin_test_downward): Likewise.
16135 (asin_test_upward): Likewise.
16136 (main): Call the new functions.
16137 * sysdeps/i386/fpu/libm-test-ulps: Update.
16138 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16142 * math/e_exp10.c: Include <float.h>.
16143 (__ieee754_exp10): Handle underflow here rather than multiplying
16144 large negative argument by M_LN10.
16145 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
16147 * math/e_exp10l.c: Include <float.h>.
16148 (__ieee754_exp10l): Handle underflow here rather than multiplying
16149 large negative argument by M_LN10l.
16150 * math/libm-test.inc (exp10_test): Add another test. Do not allow
16151 spurious overflow exception on underflow.
16153 2012-04-29 Marek Polacek <polacek@redhat.com>
16155 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
16156 (__fortify_function): New macro.
16157 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
16158 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
16159 __extern_always_inline.
16160 * libio/bits/stdio2.h: Likewise.
16161 * libio/bits/stdio.h: Likewise.
16162 * string/string.h: Likewise.
16163 * string/bits/string3.h: Likewise.
16164 * include/stdio.h: Likewise.
16165 * stdlib/bits/stdlib.h: Likewise.
16166 * stdlib/stdlib.h: Likewise.
16167 * rt/bits/mqueue2.h: Likewise.
16168 * rt/mqueue.h: Likewise.
16169 * posix/bits/unistd.h: Likewise.
16170 * posix/unistd.h: Likewise.
16171 * io/bits/poll2.h: Likewise.
16172 * io/bits/fcntl2.h: Likewise.
16173 * io/fcntl.h: Likewise.
16174 * io/sys/poll.h: Likewise.
16175 * misc/bits/syslog.h: Likewise.
16176 * misc/bits/syslog-ldbl.h: Likewise.
16177 * misc/sys/syslog.h: Likewise.
16178 * socket/bits/socket2.h: Likewise.
16179 * socket/sys/socket.h: Likewise.
16180 * debug/tst-chk1.c: Likewise.
16181 * wcsmbs/bits/wchar2.h: Likewise.
16182 * wcsmbs/bits/wchar-ldbl.h: Likewise.
16183 * wcsmbs/wchar.h: Likewise.
16185 2012-04-29 Andreas Jaeger <aj@suse.de>
16187 * Makerules (tests): Remove enable-check-abi protection.
16188 (check-abi-warn): Remove.
16189 (check-abi-%): Remove check-abi-warn usage.
16191 * configure.in: Remove check-abi configure option.
16192 * configure: Regenerated.
16193 * config.make.in (enable-check-abi): Remove.
16195 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
16198 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
16199 double functions to double *_finite functions.
16202 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
16203 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
16205 * stdio-common/Makefile (tests): Add tst-sprintf3.
16206 * stdio-common/tst-sprintf3.c: New file.
16208 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
16209 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
16211 2012-04-28 Joseph Myers <joseph@codesourcery.com>
16213 * conform/conformtest.pl: Remove duplicate typed-constant
16216 2012-04-28 David S. Miller <davem@davemloft.net>
16218 * Makerules (%.abilist): Add vpath on sysdep_dirs.
16219 (check-abi-%): Remove AWK script prerequisite and explicit
16221 (check-abi): Rewrite to just diff the symlist with the abilist.
16222 (config-tls, config-abi-config): Delete, no longer used.
16223 (update-abi-%): Remove AWK script and explicit abilist directory.
16224 (update-abi): Rewrite to simply compare and conditionally copy the
16225 symlist and the sysdep abilist file. Remove update-abi-config
16227 * abilist/ld.abilist: Remove.
16228 * abilist/libBrokenLocale.abilist: Remove.
16229 * abilist/libanl.abilist: Remove.
16230 * abilist/libcrypt.abilist: Remove.
16231 * abilist/libdl.abilist: Remove.
16232 * abilist/librt.abilist: Remove.
16233 * abilist/libthread_db.abilist: Remove.
16234 * abilist/libutil.abilist: Remove.
16235 * scripts/extract-abilist.awk: Remove.
16236 * scripts/merge-abilist.awk: Remove.
16237 * sysdeps/generic/libcidn.abilist: New file.
16238 * sysdeps/generic/libnss_compat.abilist: New file.
16239 * sysdeps/generic/libnss_db.abilist: New file.
16240 * sysdeps/generic/libnss_dns.abilist: New file.
16241 * sysdeps/generic/libnss_files.abilist: New file.
16242 * sysdeps/generic/libnss_hesiod.abilist: New file.
16243 * sysdeps/generic/libnss_nis.abilist: New file.
16244 * sysdeps/generic/libnss_nisplus.abilist: New file.
16245 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
16246 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
16247 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
16249 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
16250 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
16251 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
16252 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
16253 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
16254 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
16255 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
16256 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
16257 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
16259 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
16260 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
16261 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
16262 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
16264 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
16265 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
16266 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
16267 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
16268 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
16269 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
16271 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
16272 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
16273 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
16275 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
16276 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
16278 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
16280 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
16282 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
16284 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
16286 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
16288 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
16290 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
16292 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
16294 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
16296 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
16298 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
16300 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
16302 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
16304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
16306 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
16308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
16310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
16312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
16314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
16316 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
16318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
16320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
16322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
16324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
16326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
16328 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
16329 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
16331 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
16333 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
16335 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
16337 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
16339 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
16341 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
16343 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
16345 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
16347 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
16349 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
16351 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
16353 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
16354 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
16356 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
16358 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
16360 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
16362 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
16364 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
16366 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
16368 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
16370 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
16372 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
16374 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
16376 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
16378 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
16379 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
16380 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
16382 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
16383 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
16384 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
16385 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
16386 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
16387 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
16388 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
16389 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
16390 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
16391 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
16392 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
16393 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
16395 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
16397 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
16399 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
16401 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
16403 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
16405 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
16407 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
16409 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
16411 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
16413 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
16415 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
16417 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
16418 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
16420 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
16422 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
16424 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
16426 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
16428 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
16430 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
16432 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
16434 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
16436 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
16438 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
16440 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
16443 2012-04-28 Joseph Myers <joseph@codesourcery.com>
16445 * conform/conformtest.pl: Fix typo in handling typed-constant from
16448 2012-04-27 Joseph Myers <joseph@codesourcery.com>
16450 * README: Cut down references to pre-2.6 Linux kernels and
16451 Linuxthreads. Update lists of configurations in libc and ports
16452 and sort alphabetically. Say "or newer" with Linux kernel version
16455 * config.h.in [IS_IN_build]: Allow compiling without optimization.
16457 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16460 * math/libm-test.inc (logb_test_downward): New test to expose
16461 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
16464 2012-04-27 Joseph Myers <joseph@codesourcery.com>
16467 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
16469 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
16470 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
16472 2012-04-26 Joseph Myers <joseph@codesourcery.com>
16474 * sysdeps/unix/i386/brk.S: Remove file.
16475 * sysdeps/unix/i386/dl-brk.S: Likewise.
16476 * sysdeps/unix/i386/pipe.S: Likewise.
16477 * sysdeps/unix/i386/sigreturn.S: Likewise.
16478 * sysdeps/unix/i386/syscall.S: Likewise.
16479 * sysdeps/unix/i386/vfork.S: Likewise.
16480 * sysdeps/unix/i386/wait.S: Likewise.
16482 * sysdeps/unix/common/tcsendbrk.c: Move to ...
16483 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
16485 * configure.in (arm*-none*): Do not allow without
16486 --enable-hacker-mode.
16487 (netbsd*): Remove case setting base_os.
16488 (386bsd*): Likewise.
16489 (freebsd*): Likewise.
16492 (sunos*): Likewise.
16493 (ultrix*): Likewise.
16494 (newsos*): Likewise.
16495 (dynix*): Likewise.
16501 (minix*): Likewise.
16502 (irix4*): Likewise.
16503 (irix6*): Likewise.
16504 (solaris[2-9]*): Likewise.
16506 * configure: Regenerated.
16508 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16511 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
16512 overflow or cancellation in calculating denominator.
16513 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
16514 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
16515 down expression to avoid unexpected rounding in newer GCCs.
16516 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
16518 2012-04-26 David S. Miller <davem@davemloft.net>
16520 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
16521 long-double compat symbols.
16522 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
16523 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
16524 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
16525 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
16526 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
16527 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
16528 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
16529 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
16530 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
16531 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
16532 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
16533 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
16534 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
16536 2012-04-25 David S. Miller <davem@davemloft.net>
16538 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
16539 HWCAP_* values only after the memory barriers have been defined.
16540 (atomic_full_barrier): Define.
16541 (atomic_read_barrier): Define.
16542 (atomic_write_barrier): Define.
16544 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16546 * shlib-versions: Add libgcc_s version information.
16547 * sysdeps/generic/libgcc_s.h: Remove.
16548 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
16550 * sysdeps/gnu/unwind-resume.c: Likewise.
16551 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
16553 2012-04-25 David S. Miller <davem@davemloft.net>
16555 * sysdeps/unix/sparc/brk.S: Delete.
16556 * sysdeps/unix/sparc/dl-brk.S: Delete.
16557 * sysdeps/unix/sparc/pipe.S: Delete.
16558 * sysdeps/unix/sparc/sysdep.S: Delete.
16559 * sysdeps/unix/sparc/sysdep.h: Delete.
16560 * sysdeps/unix/sparc/vfork.S: Delete.
16561 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
16562 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
16563 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
16564 ret_ERRVAL, r0, r1, MOVE): Define.
16565 (JUMPTARGET): Remove.
16566 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
16567 sysdeps/unix/sparc/sysdep.h
16568 (ENTRY, END): Remove.
16569 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
16571 2012-04-25 Joseph Myers <joseph@codesourcery.com>
16573 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
16574 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
16577 * timezone/README: Update upstream location and email address for
16579 * timezone/zdump.c: Update from tzcode 2012b.
16580 * timezone/zic.c: Likewise.
16582 * configure.in (libc_cv_as_needed): Remove test.
16583 * configure: Regenerated.
16584 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
16585 conditional definition.
16586 [$(have-as-needed) != yes] (no-as-needed): Likewise.
16587 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
16588 * config.make.in (have-as-needed): Remove variable.
16590 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
16591 Paul Pluzhnikov <ppluzhnikov@google.com>
16593 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
16596 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
16598 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
16599 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
16600 * sysdeps/sh/strlen.S: Likewise.
16602 2012-04-24 Joseph Myers <joseph@codesourcery.com>
16604 * sysdeps/unix/fork.S: Remove file.
16605 * sysdeps/unix/i386/fork.S: Likewise.
16606 * sysdeps/unix/sparc/fork.S: Likewise.
16608 * sysdeps/unix/system.c: Remove file.
16609 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
16611 * sysdeps/unix/getegid.S: Remove file.
16612 * sysdeps/unix/geteuid.S: Likewise.
16614 2012-04-24 Roland McGrath <roland@hack.frob.com>
16616 * scripts/check-localplt.awk: New file.
16617 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
16619 * scripts/data/localplt-generic.data: Add a comment.
16621 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
16622 NODE when __dir_mkfile failed.
16623 * sysdeps/mach/hurd/symlinkat.c: Likewise.
16624 Reported by Ludovic Courtès <ludo@gnu.org>.
16626 2012-04-24 Andreas Jaeger <aj@suse.de>
16628 * Makerules (common-clean): Also remove gen-as-const-headers
16631 2012-04-24 Joseph Myers <joseph@codesourcery.com>
16633 * Makerules (native-compile): Do not change working directory for
16634 build. Use $(OUTPUT_OPTION) in command.
16635 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
16637 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16640 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
16641 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
16642 * math/libm-test.inc (floor_test): Add more tests.
16643 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
16645 2012-04-24 Joseph Myers <joseph@codesourcery.com>
16647 * sysdeps/unix/getdents.c: Remove file.
16648 * sysdeps/unix/sysv/getdents.c: Likewise.
16649 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
16651 * sysdeps/unix/syscalls.list (madvise): Add syscall from
16652 sysdeps/unix/mman/syscalls.list.
16654 (mprotect): Likewise.
16656 (munmap): Likewise.
16657 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
16658 * sysdeps/unix/mman/syscalls.list: Remove.
16659 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
16661 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
16662 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
16663 * configure: Regenerated.
16664 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
16665 $(libgcc_s_suffix).
16666 * config.make.in (libgcc_s_suffix): Remove variable.
16668 2012-04-23 Joseph Myers <joseph@codesourcery.com>
16670 * sysdeps/unix/sysv/gethostname.c: Move to ...
16671 * sysdeps/posix/gethostname.c: ... here.
16673 * sysdeps/unix/execve.S: Remove file.
16675 * sysdeps/unix/_exit.S: Remove file.
16677 2012-04-23 Andreas Jaeger <aj@suse.de>
16680 * manual/Makefile: Remove make dist support, there's no
16681 need for a stand-alone documentation tar ball.
16682 (TEXI2DVI): Define always, it's not in Makeconfig.
16685 (edition): Removed.
16686 (glibc-doc-$(edition).tar): Removed
16690 (ETAGS): Remove, it's in Makeconfig.
16691 (move-if-change): Remove, it's in Makeconfig.
16693 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
16696 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
16697 (strtod, strtof, strtold, strtol, strtoul, strtoq)
16698 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
16699 (strtod_l, strtof_l, strtold_l): Remove __wur.
16700 It is not necessarily an error to ignore strtol's return value.
16701 One can reliably look at the stored endptr to decide whether
16702 the number had valid syntax.
16704 2012-04-21 Andreas Jaeger <aj@suse.de>
16707 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
16709 2012-04-21 Joseph Myers <joseph@codesourcery.com>
16711 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
16712 * sysdeps/unix/sysv/Versions: Remove file.
16714 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
16717 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16719 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
16722 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
16723 version from __vm86.
16725 2012-04-20 Joseph Myers <joseph@codesourcery.com>
16727 * sysdeps/unix/common/lxstat.c: Remove file.
16728 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
16730 * sysdeps/unix/sysv/Makefile: Remove file.
16732 * sysdeps/unix/sysv/direct.h: Remove file.
16734 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
16735 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
16736 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
16737 * sysdeps/unix/sysv/bits/signum.h: Likewise.
16738 * sysdeps/unix/sysv/bits/stat.h: Likewise.
16739 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
16740 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
16742 * sysdeps/unix/sysv/setrlimit.c: Remove file.
16744 * sysdeps/unix/xmknod.c: Remove file.
16745 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
16747 * sysdeps/unix/sysv/settimeofday.c: Remove file.
16749 * sysdeps/unix/sysv/i386/time.S: Remove file.
16751 * sysdeps/unix/fxstat.c: Remove file.
16752 * sysdeps/unix/xstat.c: Likewise.
16753 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
16755 * sysdeps/unix/sysv/sigaction.c: Remove file.
16757 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
16758 (sysdep_headers): Remove variable.
16759 [termio.h not in sysdep_headers] (generated): Likewise.
16760 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
16761 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
16762 * sysdeps/unix/sysv/tcdrain.c: Likewise.
16763 * sysdeps/unix/sysv/tcflow.c: Likewise.
16764 * sysdeps/unix/sysv/tcflush.c: Likewise.
16765 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
16766 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
16767 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
16768 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
16769 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
16771 * sysdeps/unix/siglist.c: Remove file.
16773 * sysdeps/unix/getppid.S: Remove file.
16775 * sysdeps/unix/mkdir.c: Remove file.
16776 * sysdeps/unix/rmdir.c: Likewise.
16778 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
16780 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
16782 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
16783 errlist-compat value.
16785 2012-04-18 David S. Miller <davem@davemloft.net>
16787 * sysdeps/generic/memcopy.h (reg_char): Delete.
16788 * debug/strcat_chk.c: Use char, not reg_char.
16789 * debug/strcpy_chk.c: Likewise.
16790 * debug/strncat_chk.c: Likewise.
16791 * debug/strncpy_chk.c: Likewise.
16792 * string/memchr.c: Likewise.
16793 * string/memrchr.c: Likewise.
16794 * string/rawmemchr.c: Likewise.
16795 * string/strcat.c: Likewise.
16796 * string/strchr.c: Likewise.
16797 * string/strchrnul.c: Likewise.
16798 * string/strcmp.c: Likewise.
16799 * string/strcpy.c: Likewise.
16800 * string/strncat.c: Likewise.
16801 * string/strncmp.c: Likewise.
16802 * string/strncpy.c: Likewise.
16804 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
16806 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
16807 __builtin_memcopy is called when src and dest ranges are known to not
16810 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
16812 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
16813 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
16814 fwd_align_merge macro call.
16815 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
16816 bwd_align_merge macro call.
16817 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
16819 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
16821 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
16822 bwd_align_merge macros.
16823 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
16824 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
16825 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
16827 2012-04-18 David S. Miller <davem@davemloft.net>
16829 * sysdeps/sparc/sparc64/memcopy.h: Delete.
16831 2012-04-18 Andreas Jaeger <aj@suse.de>
16834 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
16835 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
16836 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
16838 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
16839 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
16840 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
16842 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
16843 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
16844 Adjust for changed ldbl-128 files.
16846 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
16847 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
16848 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
16850 2012-04-17 David S. Miller <davem@davemloft.net>
16852 * sysdeps/sparc/sparc32/memcopy.h: Delete.
16854 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
16856 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
16857 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
16858 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
16859 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
16860 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
16861 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
16863 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16866 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
16867 * math/libm-test.inc: Add ilogb errno and exception tests.
16868 * math/w_ilogb.c: New file: ilogb wrapper.
16869 * math/w_ilogbf.c: New file: ilogbf wrapper.
16870 * math/w_ilogbl.c: New file: ilogbl wrapper.
16871 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
16872 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
16873 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
16874 exception being thrown with 0.0 as argument.
16875 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
16876 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
16877 exception being thrown with 0.0 as argument.
16878 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
16879 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
16880 exception being thrown with 0.0 as argument.
16881 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
16882 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
16883 exception being thrown with 0.0 as argument.
16884 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
16885 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
16886 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
16887 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
16888 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
16889 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
16890 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
16891 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
16892 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
16894 2012-04-17 Petr Baudis <pasky@ucw.cz>
16896 * include/sys/uio.h: Change __vector to __iovec to avoid clash
16899 2012-04-16 Marek Polacek <polacek@redhat.com>
16901 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
16903 2012-04-16 Marek Polacek <polacek@redhat.com>
16905 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
16906 operands of fdivp instruction.
16908 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
16910 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
16911 * elf/tst-auditmod3b.c: Likewise.
16912 * elf/tst-auditmod4b.c: Likewise.
16913 * elf/tst-auditmod5b.c: Likewise.
16914 * elf/tst-auditmod6b.c: Likewise.
16915 * elf/tst-auditmod6c.c: Likewise.
16916 * elf/tst-auditmod7b.c: Likewise.
16917 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
16918 * sysdeps/x86_64/preconfigure.in: Likewise.
16919 * sysdeps/x86_64/preconfigure: Regenerated.
16921 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
16923 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
16926 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
16928 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
16929 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
16931 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
16934 * locale/iso-639.def: Fix gl language name. Spotted by
16937 2012-04-12 Roland McGrath <roland@hack.frob.com>
16940 * libio/libio.h (__io_write_fn): Update comment.
16942 2012-04-12 Petr Baudis <pasky@ucw.cz>
16945 * stdio.texi (Hook Functions): The user provided writer function
16946 is not allowed to return -1.
16948 2012-04-11 David S. Miller <davem@davemloft.net>
16950 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16952 2012-04-11 Mike Frysinger <vapier@gentoo.org>
16954 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
16955 Add a leading slash to rtkaio.
16957 2012-04-11 Jim Meyering <meyering@redhat.com>
16960 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
16961 It is not necessarily an error to ignore fwrite's return
16962 value. One can reliably use ferror to test for errors after
16965 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
16967 * bits/types.h (__snseconds_t): New type.
16968 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
16970 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
16971 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
16972 (__SNSECONDS_T_TYPE): Likewise.
16973 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
16974 (__SNSECONDS_T_TYPE): Likewise.
16975 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16976 (__SNSECONDS_T_TYPE): Likewise.
16978 2012-04-10 Andreas Jaeger <aj@suse.de>
16981 * manual/time.texi (Processor Time): Return type of times is
16982 elapsed real time since an arbitrary point in the past.
16983 (CPU Time): Move CLK_TCK from here...
16984 (Processor Time): ...to here. Correct description.
16985 * manual/conf.texi (Constants for Sysconf): Correct description of
16988 2012-04-10 David S. Miller <davem@davemloft.net>
16991 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
16992 where the is a gap between DT_REL(A) and DT_JMPREL.
16994 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
16996 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
16997 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
16998 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
17000 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
17002 * elf/dl-support.c (_dl_inhibit_cache): New variable.
17003 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
17004 (dl_main): Handle --inhibit-cache.
17005 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
17007 * elf/dl-load.c (_dl_map_object): Use it.
17008 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
17010 2012-04-09 Joseph Myers <joseph@codesourcery.com>
17013 * sysdeps/i386/fpu/e_powl.S (p78): New object.
17014 (__ieee754_powl): Saturate large exponents rather than testing for
17015 overflow of y*log2(x).
17016 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
17017 * math/libm-test.inc (pow_test): Do not permit spurious overflow
17021 * math/s_ctan.c: Include <float.h>.
17022 (__ctan): Avoid internal overflow or cancellation in calculating
17024 * math/s_ctanf.c: Likewise.
17025 * math/s_ctanl.c: Likewise.
17026 * math/s_ctanh.c: Likewise.
17027 * math/s_ctanhf.c: Likewise.
17028 * math/s_ctanhl.c: Likewise.
17029 * math/libm-test.inc (ctan_test): Add more tests.
17030 (ctanh_test): Likewise.
17031 * sysdeps/i386/fpu/libm-test-ulps: Update.
17032 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17034 2012-04-09 Andreas Jaeger <aj@suse.de>
17037 * manual/filesys.texi (Directory Entries): Mention that d_namlen
17038 is an optional BSD extension.
17041 * manual/stdio.texi (Opening Streams): Document additional fopen
17044 2012-04-09 Roland McGrath <roland@hack.frob.com>
17046 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
17047 %eax without telling the compiler.
17049 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
17052 * manual/install.texi: Use sourceware.org.
17054 2012-04-09 Joseph Myers <joseph@codesourcery.com>
17057 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
17058 (__ieee754_pow): Generate overflow and underflow using huge*huge
17059 and tiny*tiny rather than just returning constant infinity or zero
17060 for large exponents.
17061 * math/libm-test.inc (pow_test): Require overflow exceptions for
17062 applicable cases of large exponents.
17065 * sysdeps/i386/fpu/e_pow.S (p10): New object.
17066 (__ieee754_pow): Use iterative multiplication algorithm only for
17067 integer exponents with absolute value below 1024. Check for odd
17068 integer exponents when using algorithm for real exponents.
17069 * math/libm-test.inc (pow_test): Add more tests.
17070 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17072 2012-04-08 Joseph Myers <joseph@codesourcery.com>
17075 * math/libm-test.inc (exp_test): Do not allow overflow exception
17078 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
17081 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
17082 instead of __kernel_standard_f.
17084 2012-04-08 Mike Frysinger <vapier@gentoo.org>
17086 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
17087 * sysdeps/x86_64/memset_chk.S: Likewise.
17089 2012-04-08 Andreas Jaeger <aj@suse.de>
17092 * manual/startup.texi (Environment Access): Describe return value
17093 for putenv and setenv.
17096 * manual/filesys.texi (Directory Entries): Add description for
17100 * manual/filesys.texi (Directory Entries): Clarify that it's file
17101 system not operating system in the description of DT_UNKNOWN.
17104 * manual/syslog.texi (closelog): Fix reference, it's openlog.
17106 2012-04-08 Stephen Compall <s11@member.fsf.org>
17109 * manual/llio.texi (Opening and Closing Files): Add cross
17110 reference to explain mode argument.
17112 2012-04-07 Mike Frysinger <vapier@gentoo.org>
17114 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
17115 * sysdeps/x86_64/memset_chk.S: Likewise.
17117 2012-04-07 David S. Miller <davem@davemloft.net>
17119 * elf/elf.h (R_SPARC_WDISP10): Define.
17120 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
17122 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
17123 R_SPARC_SIZE64 and R_SPARC_H34.
17125 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
17127 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
17128 conditions and remove no longer applicable assertion.
17130 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
17132 * bits/byteswap.h: Include <features.h>.
17133 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
17134 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
17136 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
17138 * bits/byteswap.h (__bswap_16): Removed.
17139 Include <bits/byteswap-16.h> to get __bswap_16.
17140 * sysdeps/i386/bits/byteswap.h: Likewise.
17141 * sysdeps/s390/bits/byteswap.h: Likewise.
17142 * sysdeps/x86_64/bits/byteswap.h: Likewise.
17143 * bits/byteswap-16.h: New file.
17144 * sysdeps/i386/bits/byteswap-16.h: Likewise.
17145 * sysdeps/s390/bits/byteswap-16.h: Likewise.
17146 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
17147 * string/Makefile (headers): Add bits/byteswap-16.h.
17149 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
17152 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
17154 * nss/Makefile (tests-static, tests): Add tst-nss-static.
17155 * nss/tst-nss-static.c: New.
17157 2012-04-06 Robert Millan <rmh@gnu.org>
17160 * manual/llio.texi (File Position Primitive): lseek
17161 refers to WHENCE when it really means OFFSET.
17163 2012-04-06 Andreas Jaeger <aj@suse.de>
17165 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
17166 strncmp declarations.
17168 * abilist/libc.abilist: Add __poll and __ppoll.
17170 2012-04-05 David S. Miller <davem@davemloft.net>
17172 * scripts/check-local-headers.sh: Accept a host triplet in the
17173 path matched by the exclude regexp.
17175 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
17177 * sysdeps/powerpc/powerpc32/dl-machine.h
17178 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
17179 * sysdeps/s390/s390-32/dl-machine.h
17180 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
17181 * sysdeps/sparc/sparc32/dl-machine.h
17182 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
17183 * sysdeps/sparc/sparc64/dl-machine.h
17184 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
17186 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
17188 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
17189 undefined symbol errors.
17191 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
17194 2012-04-05 Michael Matz <matz@suse.de>
17197 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
17199 2012-04-05 Andreas Jaeger <aj@suse.de>
17202 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
17205 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17207 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
17208 which ROUND is no valid rounding mode.
17210 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17212 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
17214 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
17216 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17218 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
17219 an exception using FPU order intentionally.
17221 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17223 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
17224 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
17225 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
17226 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
17228 2012-04-05 Simon Josefsson <simon@josefsson.org>
17231 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
17232 EINVAL when BUFLEN is too smal.
17234 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
17237 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
17238 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
17240 2012-04-03 Andreas Jaeger <aj@suse.de>
17243 * manual/setjmp.texi (System V contexts): Fix sentence.
17246 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
17247 New macro for this case.
17248 [!__GNUC__] (__bswap_64): New inline function for this case.
17249 * sysdeps/x86_64/bits/byteswap.h: Likewise.
17250 * bits/byteswap.h: Likewise.
17251 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
17252 ull, guard with __GLIBC_HAVE_LONG_LONG.
17254 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
17255 __GLIBC_HAVE_LONG_LONG.
17257 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
17258 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
17260 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17263 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
17264 inptr and inend, rather than using last_ch.
17266 2012-04-02 David S. Miller <davem@davemloft.net>
17268 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
17269 * stdio-common/printf-parse.h (read_int): Change return type to
17270 'int', return -1 on INT_MAX overflow.
17271 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
17272 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
17273 overflows INT_MAX. Check for overflow of in-format-string precision
17274 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
17275 SIZE_MAX not INT_MAX for integer overflow test.
17276 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
17277 skip the construct in the format string but do not record anything.
17278 * stdio-common/bug22.c: Adjust to test both width/prevision
17279 INT_MAX overflow as well as total length INT_MAX overflow. Check
17280 explicitly for proper errno values.
17282 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
17284 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
17286 * string/test-strcmp.c [! WIDE]: Likewise.
17287 * time/tst-mktime2.c: Likewise for INT_MAX.
17288 * string/test-string.h: #include <sys/param.h> for MIN.
17290 * csu/init-first.c (__libc_init_first): Call __ctype_init.
17291 * sysdeps/i386/init-first.c (init): Likewise.
17292 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
17293 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
17294 * sysdeps/sh/init-first.c (init): Likewise.
17296 2012-04-01 Ulrich Drepper <drepper@gmail.com>
17298 * po/ru.po: Update from translation team.
17299 * po/vi.po: Likewise.
17301 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
17303 * resolv/nss_dns/dns-host.c: Merge copyright years.
17305 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17307 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
17308 Optimize memcpy with prefetch if
17309 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
17310 src, dst pointers have unequal 16 byte alignments.
17312 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
17315 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
17316 from a CNAME entry and return the minimum ttl for the query.
17317 (gaih_getanswer_slice): Likewise.
17319 2012-03-30 Jeff Law <law@redhat.com>
17321 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
17323 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
17324 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
17326 * resolv/nss_dns/dns-host.c: Update copyright year.
17328 2012-03-30 Ulrich Drepper <drepper@gmail.com>
17330 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
17331 requests to save a system call. Fix check that all bytes are sent.
17333 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
17334 comments for sendmmsg.
17336 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17339 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
17340 with only 1 character between 0x0041 and 0x01b0.
17341 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
17342 * wcsmbs/tst-mbsnrtowcs.c: New file.
17344 2012-03-29 David S. Miller <davem@davemloft.net>
17346 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
17347 small copies by hand.
17349 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17352 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
17353 _nss_compat_initgroups_dyn): Fall back to malloc/free
17354 for large group memberships.
17356 2012-03-28 David S. Miller <davem@davemloft.net>
17358 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
17359 that branches into memcpy.
17360 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
17361 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
17362 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
17363 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
17364 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
17366 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
17367 implementation too.
17368 * sysdeps/sparc/mempcpy.S: New file.
17370 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
17371 the IFUNC routine in the libc case.
17372 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
17374 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
17375 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
17376 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
17377 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
17378 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
17379 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
17380 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
17381 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
17383 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
17384 loop to 256 bytes instead of 64 bytes and fix test signedness.
17386 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
17387 * sysdeps/sparc/sparc32/Makefile: rather than here...
17388 * sysdeps/sparc/sparc64/Makefile: and here.
17390 2012-03-28 Ulrich Drepper <drepper@gmail.com>
17392 * malloc/mallocbug.c: Avoid warnings about unused variables.
17394 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
17397 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
17398 in the right place. Discard and retry query if response is
17399 larger than input buffer size.
17401 2012-03-28 Joseph Myers <joseph@codesourcery.com>
17406 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
17407 x for large integer exponent.
17408 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
17409 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
17410 sign of result as needed afterwards.
17411 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
17412 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
17413 result for underflowing pow the same as for overflow.
17414 (__kernel_standard_l): Handle powl overflow and underflow here
17415 rather than calling __kernel_standard.
17416 * math/libm-test.inc (pow_test): Add more tests.
17431 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
17432 * sysdeps/ieee754/k_standard.c: Include <float.h>.
17433 (__kernel_standard_l): New function.
17434 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
17436 * math/w_acosl.c (__acosl): Likewise.
17437 * math/w_asinl.c (__asinl): Likewise.
17438 * math/w_atan2l.c (__atan2l): Likewise.
17439 * math/w_atanhl.c (__atanhl): Likewise.
17440 * math/w_coshl.c (__coshl): Likewise.
17441 * math/w_exp10l.c (__exp10l): Likewise.
17442 * math/w_exp2l.c (__exp2l): Likewise.
17443 * math/w_fmodl.c (__fmodl): Likewise.
17444 * math/w_hypotl.c (__hypotl): Likewise.
17445 * math/w_j0l.c (__j0l, __y0l): Likewise.
17446 * math/w_j1l.c (__j1l, __y1l): Likewise.
17447 * math/w_jnl.c (__jnl, __ynl): Likewise.
17448 * math/w_lgammal.c (__lgammal): Likewise.
17449 * math/w_log10l.c (__log10l): Likewise.
17450 * math/w_log2l.c (__log2l): Likewise.
17451 * math/w_logl.c (__logl): Likewise.
17452 * math/w_powl.c (__powl): Likewise.
17453 * math/w_remainderl.c (__remainderl): Likewise.
17454 * math/w_scalbl.c (sysv_scalbl): Likewise.
17455 * math/w_sinhl.c (__sinhl): Likewise.
17456 * math/w_sqrtl.c (__sqrtl): Likewise.
17457 * math/w_tgammal.c (__tgammal): Likewise.
17458 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
17459 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
17460 * math/libm-test.inc (acos_test): Add more tests.
17461 (acosh_test): Likewise.
17462 (asin_test): Likewise.
17463 (atanh_test): Likewise.
17464 (exp_test): Likewise.
17465 (exp10_test): Likewise.
17466 (exp2_test): Likewise.
17467 (expm1_test): Likewise.
17468 (lgamma_test): Likewise.
17469 (log_test): Likewise.
17470 (log10_test): Likewise.
17471 (log1p_test): Likewise.
17472 (log2_test): Likewise.
17473 (pow_test): Do not allow some spurious overflow exceptions.
17474 (sqrt_test): Add more tests.
17475 (tgamma_test): Likewise.
17476 (y0_test): Likewise.
17477 (y1_test): Likewise.
17478 (yn_test): Likewise.
17480 2012-03-27 Anton Blanchard <anton@samba.org>
17482 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
17484 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
17485 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
17486 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
17488 2012-03-27 David S. Miller <davem@davemloft.net>
17490 * conform/Makefile: Run run-conformtest.sh using $(BASH).
17492 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
17493 have-as-vis3 check.
17495 2012-03-27 Andreas Jaeger <aj@suse.de>
17497 * sysdeps/x86_64/elf/configure.in: Moved to ...
17498 * sysdeps/x86_64/configure.in: ... here.
17499 * sysdeps/x86_64/elf/start.S: Moved to ...
17500 * sysdeps/x86_64/start.S: ... here.
17501 * sysdeps/x86_64/elf/configure: Delete.
17503 * sysdeps/x86_64/configure.in: Merge contents from
17504 sysdeps/i386/configure.in (without i686 check).
17506 * sysdeps/i386/elf/Versions: Merge into ...
17507 * sysdeps/i386/Versions: ... this.
17508 * sysdeps/i386/elf/Versions: Delete file.
17509 * sysdeps/i386/elf/start.S: Moved to ...
17510 * sysdeps/i386/start.S: ...here.
17511 * sysdeps/i386/elf/configure.in: Merge into...
17512 * sysdeps/i386/configure.in: ...here.
17513 * sysdeps/i386/elf/configure.in: Delete file.
17514 * sysdeps/i386/elf/configure: Delete file.
17516 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
17517 * debug/backtracesyms.c: ... here.
17518 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
17519 * debug/backtracesymsfd.c: ... here.
17520 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
17521 * sysdeps/generic/ifunc-sel.h: ... here.
17523 * sysdeps/unix/i386/start.c: Delete file.
17524 * sysdeps/unix/sparc/start.c: Delete file.
17525 * sysdeps/unix/start.c: Delete file.
17527 * sysdeps/sh/elf/configure.in: Moved to ...
17528 * sysdeps/sh/configure.in: ... here.
17529 * sysdeps/sh/elf/start.S: Moved to ...
17530 * sysdeps/sh/start.S: ... here.
17531 * sysdeps/sh/elf/configure: Delete file.
17533 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
17534 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
17535 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
17536 * sysdeps/powerpc/powerpc64/entry.h: ... here.
17537 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
17538 * sysdeps/powerpc/powerpc64/start.S: here.
17539 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
17540 * sysdeps/powerpc/powerpc64/Makefile: ... this.
17541 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
17542 * sysdeps/powerpc/powerpc64/configure.in: ... this.
17543 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
17545 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
17546 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
17547 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
17548 * sysdeps/powerpc/powerpc32/start.S: ... here.
17549 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
17550 * sysdeps/powerpc/powerpc32/configure.in: ... this.
17551 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
17553 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
17554 * sysdeps/powerpc/ifunc-sel.h: ... here.
17555 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
17556 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
17558 * sysdeps/sparc/elf/configure.in: Moved to ...
17559 * sysdeps/sparc/configure.in: ... here.
17560 * sysdeps/sparc/elf/configure: Delete file.
17561 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
17562 * sysdeps/sparc/sparc32/start.S: ... here.
17563 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
17564 * sysdeps/sparc/sparc64/start.S: ... here.
17565 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
17566 * sysdeps/sparc/sparc32/Makefile: ... this.
17567 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
17568 * sysdeps/sparc/sparc64/Makefile: ... this.
17570 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
17571 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
17572 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
17573 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
17574 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
17575 * sysdeps/s390/s390-32/setjmp.S: ... here.
17576 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
17577 * sysdeps/s390/s390-32/configure.in: ... here.
17578 * sysdeps/s390/s390-32/elf/configure: Delete file.
17579 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
17580 * sysdeps/s390/s390-32/start.S: ... here.
17582 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
17583 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
17584 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
17585 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
17586 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
17587 * sysdeps/s390/s390-64/setjmp.S: ... here.
17588 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
17589 * sysdeps/s390/s390-64/configure.in: ... here
17590 * sysdeps/s390/s390-64/elf/configure: Delete file.
17591 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
17592 * sysdeps/s390/s390-64/start.S: ... here.
17593 * sysdeps/s390/s390-64/elf/configure: Delete.
17595 * configure.in: Remove support for elf directories in sysdeps.
17597 * configure: Regenerated.
17598 * sysdeps/i386/configure: Regenerated.
17599 * sysdeps/powerpc/powerpc32/configure: Regenerated.
17600 * sysdeps/powerpc/powerpc64/configure: Regenerated.
17601 * sysdeps/s390/s390-32/configure: Regenerated.
17602 * sysdeps/s390/s390-64/configure: Regenerated.
17603 * sysdeps/sh/configure: Regenerated.
17604 * sysdeps/sparc/configure: Regenerated.
17605 * sysdeps/x86_64/configure: Regenerated.
17607 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
17609 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17611 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
17612 denormal result into account.
17614 2012-03-25 Roland McGrath <roland@hack.frob.com>
17616 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
17617 Reported by Allan McRae <allan@archlinux.org>.
17619 2012-03-23 Jeff Law <law@redhat.com>
17621 * nss/getnssent.c (__nss_getent): Fix typo.
17623 2012-03-23 David S. Miller <davem@davemloft.net>
17625 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17627 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
17629 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
17630 to pad to uint64_t for each field.
17631 (dl_tls_index): Replace unsigned long with uint64_t.
17633 2012-03-23 Daniel Jacobowitz <dmj@google.com>
17634 Paul Pluzhnikov <ppluzhnikov@google.com>
17637 * grp/Makefile (otherlibs): Don't set it.
17638 * inet/Makefile (otherlibs): Likewise.
17639 * login/Makefile (otherlibs): Likewise.
17640 * nscd/Makefile (otherlibs): Likewise.
17641 * posix/Makefile (otherlibs): Likewise.
17642 * pwd/Makefile (otherlibs): Likewise.
17643 * rt/Makefile (otherlibs): Likewise.
17644 * sunrpc/Makefile (otherlibs): Likewise.
17645 * nss/Makefile (otherlibs): Likewise.
17646 Add libnss_files to routines and static-only-routines.
17647 ($(objpfx)getent): Remove rule.
17648 * resolv/Makefile: Add libnss_dns and libresolv to routines and
17649 static-only-routines.
17651 2012-03-22 Joseph Myers <joseph@codesourcery.com>
17654 * math/s_cexp.c: Include <float.h>.
17655 (__cexp): Handle exp result overflowing not necessarily
17656 overflowing both real and imaginary parts of result.
17657 * math/s_cexpf.c: Likewise.
17658 * math/s_cexpl.c: Likewise.
17659 * math/libm-test.inc (cexp_test): Add more tests.
17660 * sysdeps/i386/fpu/libm-test-ulps: Update.
17661 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17663 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
17665 * include/link.h (ELFW): New macro.
17666 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
17667 Replace ELF64_R_TYPE with ELFW(R_TYPE).
17669 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
17671 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
17674 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
17676 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
17678 (struct La_x32_retval): Likewise.
17680 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
17682 * sysdeps/x86_64/preconfigure.in: New file.
17683 * sysdeps/x86_64/preconfigure: New generated file.
17685 2012-03-22 Joseph Myers <joseph@codesourcery.com>
17688 * math/e_exp2l.c: Include <float.h>.
17689 (__ieee754_exp2l): Handle overflow and underflow cases
17690 separately. Only pass fractional part of argument to
17692 * math/libm-test.inc (exp2_test): Add more tests.
17694 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
17695 negating x to take absolute value.
17696 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
17698 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
17699 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
17701 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
17702 computing low part if x was negated.
17703 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
17705 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
17707 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
17708 la_x32_gnu_pltexit.
17709 (pltexit): Cast int_retval to ptrdiff_t.
17710 * elf/tst-auditmod3b.c: Likewise.
17711 * elf/tst-auditmod4b.c: Likewise.
17712 * elf/tst-auditmod5b.c: Likewise.
17713 * elf/tst-auditmod6b.c: Likewise.
17714 * elf/tst-auditmod6c.c: Likewise.
17715 * elf/tst-auditmod7b.c: Likewise.
17717 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
17718 and x32_gnu_pltexit.
17720 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
17721 __ELF_NATIVE_CLASS.
17722 (La_x32_regs): New macro.
17723 (La_x32_retval): Likewise.
17724 (la_x32_gnu_pltenter): New function prototype.
17725 (la_x32_gnu_pltexit): Likewise.
17727 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
17729 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
17732 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17734 * configure.in (libc_cv_cc_nofma): Check for option to disable
17735 generation of FMA instructions.
17736 * configure: Regenerate.
17737 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
17738 * sysdeps/ieee754/dbl-64/Makefile: New file.
17739 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
17740 Remove brandred-fma4.
17741 (CFLAGS-brandred-fma4.c): Remove.
17742 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
17743 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
17745 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
17748 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
17750 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
17751 LLONG_MAX != LONG_MAX.
17752 (_itoa_word): Use _ITOA_WORD_TYPE on value.
17753 (_fitoa_word): Likewise.
17754 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
17755 LLONG_MAX != LONG_MAX.
17756 * stdio-common/_itowa.h: Include <_itoa.h>.
17757 (_itowa_word): Use _ITOA_WORD_TYPE on value.
17758 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
17759 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
17760 only if not defined.
17761 (_ITOA_WORD_TYPE): Likewise.
17762 (_itoa_word): Use _ITOA_WORD_TYPE on value.
17763 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
17765 2012-03-21 David S. Miller <davem@davemloft.net>
17767 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17769 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
17771 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
17772 of x86_64 when setting libc_cv_slibdir, libdir and
17774 * sysdeps/unix/sysv/linux/configure: Regenerated.
17776 2012-03-21 Joseph Myers <joseph@codesourcery.com>
17778 * manual/lang.texi (Old Varargs): Remove section.
17779 (How Variadic): Update menu.
17780 (va_start): Do not mention varargs.h.
17782 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
17783 Joseph Myers <joseph@codesourcery.com>
17785 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
17787 * configure: Regenerated.
17789 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
17791 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
17792 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
17795 2012-03-21 Joseph Myers <joseph@codesourcery.com>
17798 * Makefile (files-for-dist): Remove NOTES.
17799 (NOTES): Remove rule.
17800 * README: Don't refer to NOTES.
17801 * manual/creature.texi: Don't include macros.texi.
17802 * manual/intro.texi (creature.texi): Remove comment referring to
17805 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
17806 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
17807 * configure: Regenerated.
17808 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
17809 LIBC_TRY_CC_OPTION.
17810 (libc_cv_as_i686): Likewise.
17811 (libc_cv_cc_avx): Likewise.
17812 (libc_cv_cc_sse2avx): Likewise.
17813 (libc_cv_cc_fma4): Likewise.
17814 (libc_cv_cc_novzeroupper): Likewise.
17815 * sysdeps/i386/configure: Regenerated.
17818 * sysdeps/i386/fpu/s_cexp.S: Remove.
17819 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
17820 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
17821 * math/libm-test.inc (cexp_test): Add more tests.
17822 * sysdeps/i386/fpu/libm-test-ulps: Update.
17823 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17825 2012-03-21 Allan McRae <allan@archlinux.org>
17827 * timezone/Makefile: Do not install iso3166.tab and zone.tab
17829 2012-03-21 Joseph Myers <joseph@codesourcery.com>
17832 * math/w_exp2.c: Do not include <float.h>.
17833 (o_threshold, u_threshold): Remove.
17834 (__exp2): Calculate result before checking finiteness and calling
17836 * math/w_exp2f.c: Likewise.
17837 * math/w_exp2l.c: Likewise.
17838 * math/libm-test.inc (exp2_test): Require overflow exception for
17842 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
17843 range of signed 64-bit integers before using fistpll. Remove
17844 checks for whether integers fit in mantissa bits.
17845 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
17846 the range of signed 32-bit integers before using fistpl. Remove
17847 checks for whether integers fit in mantissa bits.
17848 * sysdeps/i386/fpu/e_powl.S (p64): New object.
17849 (__ieee754_powl): Test for y outside the range of signed 64-bit
17850 integers before using fistpll. Reduce 64-bit values to 63-bit
17852 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
17853 divide-by-zero is raised for zero to large negative powers.
17854 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
17855 (__ieee754_powl): Test for y outside the range of signed 64-bit
17856 integers before using fistpll. Reduce 64-bit values to 63-bit
17858 * math/libm-test.inc (pow_test): Add more tests.
17860 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
17862 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
17863 <stdio-common/_itoa.h>.
17864 * debug/segfault.c: Likewise.
17865 * elf/dl-cache.c: Likewise.
17866 * elf/dl-minimal.c: Likewise.
17867 * elf/dl-misc.c: Likewise.
17868 * elf/dl-sysdep.c: Likewise.
17869 * elf/dl-version.c: Likewise.
17870 * elf/rtld.c: Likewise.
17871 * hurd/hurdsock.c: Likewise.
17872 * hurd/lookup-retry.c: Likewise.
17873 * malloc/malloc.c: Likewise.
17874 * malloc/mtrace.c: Likewise.
17875 * nscd/nscd_getgr_r.c: Likewise.
17876 * nscd/nscd_getpw_r.c: Likewise.
17877 * nscd/nscd_getserv_r.c: Likewise.
17878 * posix/getopt_init.c: Likewise.
17879 * posix/wordexp.c: Likewise.
17880 * stdio-common/_itoa.c: Likewise.
17881 * stdio-common/printf_fphex.c: Likewise.
17882 * stdio-common/vfprintf.c: Likewise.
17883 * string/_strerror.c: Likewise.
17884 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
17885 * sysdeps/i386/i686/hp-timing.h: Likewise.
17886 * sysdeps/mach/_strerror.c: Likewise.
17887 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
17888 * sysdeps/mach/hurd/sethostid.c: Likewise.
17889 * sysdeps/mach/hurd/xmknodat.c: Likewise.
17890 * sysdeps/mach/xpg-strerror.c: Likewise.
17891 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
17892 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
17893 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
17894 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
17895 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
17896 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
17897 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
17898 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
17899 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
17900 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
17901 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
17902 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
17903 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
17904 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
17905 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
17906 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
17907 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
17908 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
17909 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
17910 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
17911 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
17913 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
17915 * stdio-common/_itoa.h: Moved to ...
17916 * sysdeps/generic/_itoa.h: Here.
17918 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
17920 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
17921 instead of "_itoa.h" and "_itowa.h".
17922 * stdio-common/vfprintf.: Likewise.
17924 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
17926 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
17928 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
17929 (__signbit): Likwise.
17930 (llrintf): Likwise.
17933 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
17935 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
17938 2012-03-20 Joseph Myers <joseph@codesourcery.com>
17940 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
17941 OVERFLOW_EXCEPTION_OK.
17942 * math/libm-test.inc ("Philosophy"): Update comment about
17944 (OVERFLOW_EXCEPTION): Define.
17945 (OVERFLOW_EXCEPTION_OK): Likewise.
17946 (INVALID_EXCEPTION_OK): Renumber.
17947 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
17948 (IGNORE_ZERO_INF_SIGN): Likewise.
17949 (test_exceptions): Handle FE_OVERFLOW.
17950 (exp10_test): Expect overflow exceptions.
17951 (exp2_test): Likewise.
17952 (expm1_test): Likewise.
17953 (nextafter_test): Likewise.
17954 (pow_test): Likewise.
17955 (scalbn_test): Likewise.
17956 (scalbln_test): Likewise.
17958 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17960 * sysdeps/x86_64/bits/atomic.h
17961 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
17963 (atomic_exchange_acq): Likewise.
17964 (__arch_exchange_and_add_body): Likewise.
17965 (__arch_add_body): Likewise.
17966 (atomic_add_negative): Likewise.
17967 (atomic_add_zero): Likewise.
17969 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17971 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
17972 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
17974 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17976 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
17977 Check __x86_64__ instead of __WORDSIZE.
17979 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17981 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
17983 2012-03-19 David S. Miller <davem@davemloft.net>
17985 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17987 * sysdeps/sparc/fpu/fenv_private.h: New file.
17988 * sysdeps/sparc/fpu/math_private.h: Use it.
17989 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
17991 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
17992 (libc_feholdexcept_setroundl): Remove.
17993 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
17995 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
17996 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
17998 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
18000 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
18001 int64_t instead of long int.
18002 (INSERT_WORDS64): Likwise.
18004 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
18006 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
18007 _Unwind_GetCFA return to _Unwind_Ptr first.
18009 2012-03-19 Joseph Myers <joseph@codesourcery.com>
18012 * math/s_clog.c: Include <float.h>.
18013 (__clog): Scale large or subnormal inputs.
18014 * math/s_clogf.c: Likewise.
18015 * math/s_clogl.c: Likewise.
18016 * math/s_clog10.c: Include <float.h>.
18017 (M_LOG10_2): Define.
18018 (__clog10): Scale large or subnormal inputs.
18019 * math/s_clog10f.c: Likewise.
18020 * math/s_clog10l.c: Likewise.
18021 * math/libm-test.inc (clog_test): Add more tests.
18022 (clog10_test): Likewise.
18023 * sysdeps/i386/fpu/libm-test-ulps: Update.
18024 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18027 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
18029 * math/libm-test.inc (atan2_test): Add another test.
18031 * Makerules (common-objdir-compile): Remove.
18032 * sysdeps/unix/Makefile (config-generated): Do not add
18033 $(unix-generated) to variable.
18034 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
18035 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
18037 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
18039 [generic bits/local_lim.h] (before-compile): Do not append to
18041 [generic bits/local_lim.h] (common-generated): Likewise.
18042 [generic sys/param.h] (before-compile): Do not append to variable.
18043 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
18044 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
18045 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
18046 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
18048 [generic sys/param.h] (sys/param.h-includes): Remove variable.
18049 [generic sys/param.h] (sys/param.h-includes): Remove rule.
18050 [generic sys/param.h] ($(addprefix
18051 $(common-objpfx),$(sys/param.h-includes))): Likewise.
18052 [generic sys/param.h] (common-generated): Do not append to
18054 [generic sys/param.h] (sysdep_headers): Likewise.
18055 [generic bits/errno.h] (before-compile): Do not append to
18057 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
18059 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
18060 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
18061 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
18062 [generic bits/errno.h] (common-generated): Do not append to
18064 [generic bits/ioctls.h] (before-compile): Do not append to
18066 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
18068 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
18069 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
18070 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
18072 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
18073 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
18074 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
18075 [generic bits/ioctls.h] (common-generated): Do not append to
18077 [generic sys/syscall.h] (syscall.h): Remove variable.
18078 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
18080 [generic sys/syscall.h] (before-compile): Do not append to
18082 [generic sys/syscall.h] (common-generated): Likewise.
18083 * sysdeps/unix/errnos-tmpl.c: Remove file.
18084 * sysdeps/unix/errnos.awk: Likewise.
18085 * sysdeps/unix/ioctls-tmpl.c: Likewise.
18086 * sysdeps/unix/ioctls.awk: Likewise.
18087 * sysdeps/unix/mk-local_lim.c: Likewise.
18088 * sysdeps/unix/snarf-ioctls: Likewise.
18090 2012-03-19 Richard Henderson <rth@twiddle.net>
18092 * sysdeps/i386/fpu/fenv_private.h: New file.
18093 * sysdeps/i386/fpu/math_private.h: Use it.
18094 (math_opt_barrier, math_force_eval): Remove.
18095 (libc_feholdexcept_setround_53bit): Remove.
18096 (libc_feupdateenv_53bit): Remove.
18097 * sysdeps/x86_64/fpu/math_private.h: Likewise.
18098 (math_opt_barrier, math_force_eval): Remove.
18099 (libc_feholdexcept): Remove.
18100 (libc_feholdexcept_setround): Remove.
18101 (libc_fetestexcept, libc_fesetenv): Remove.
18102 (libc_feupdateenv_test): Remove.
18103 (libc_feupdateenv, libc_feholdsetround): Remove.
18104 (libc_feresetround): Remove.
18106 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
18107 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
18109 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
18110 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
18111 (libc_feupdateenv_testl): New.
18112 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
18113 (libc_feupdateenv_testf): New.
18114 (libc_feupdateenv): Use libc_feupdateenv_test.
18115 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
18116 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
18118 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
18119 (libc_feholdsetroundf, libc_feholdsetroundl): New.
18120 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
18121 (libc_feresetround_noex): New.
18122 (libc_feresetround_noexf): New.
18123 (libc_feresetround_noexl): New.
18124 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
18125 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
18126 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
18127 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
18129 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
18130 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
18132 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
18133 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
18134 SET_RESTORE_ROUND_NOEX.
18135 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
18136 SET_RESTORE_ROUND_NOEXF.
18137 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
18138 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
18139 (libc_feholdsetroundf): New.
18140 (libc_feresetround, libc_feresetroundf): New.
18142 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
18143 (libc_feholdexcept_setround_53bit): Convert from macro to function.
18144 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
18146 * sysdeps/generic/math_private.h: Include <fenv.h>.
18147 (default_libc_feholdexcept): New.
18148 (default_libc_feholdexcept_setround): New.
18149 (default_libc_fesetenv, default_libc_feupdateenv): New.
18150 (libc_feholdexcept): Only define if undefined.
18151 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
18152 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
18153 (libc_feholdexcept_setroundl): Likewise.
18154 (libc_feholdexcept_setround_53bit): Likewise.
18155 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
18156 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
18157 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
18158 (libc_feupdateenv_53bit): Likewise.
18159 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
18160 (libc_feholdexcept): Convert from macro to inline function.
18161 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
18162 (libc_fesetenv, libc_feupdateenv): Likewise.
18164 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
18165 not previously defined.
18166 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
18167 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
18168 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
18169 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
18170 * sysdeps/ieee754/flt-32/math_private.h: New file.
18171 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
18172 math_private.h below SET_FLOAT_WORD.
18173 (__isnan, __isinf_ns, __finite): Remove.
18174 (__isnanf, __isinf_nsf, __finitef): Remove.
18176 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
18178 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18180 2012-03-17 David S. Miller <davem@davemloft.net>
18183 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
18186 2012-03-16 David S. Miller <davem@davemloft.net>
18188 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
18192 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
18194 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
18195 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
18196 sysdep_routines when subdir is sysvipc.
18197 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
18198 __getshmlba helper.
18200 * sysdeps/sparc/fpu/libm-test/ulps: Update.
18202 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
18204 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
18207 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
18209 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
18210 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
18211 (__lround): Renamed to ...
18212 (__llround): This. Replace long int with long long int.
18213 Define lround functions as aliases of llround functions.
18214 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
18216 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
18218 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
18219 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
18220 adresses to uintptr_t. Replace "long int" and "unsigned long
18221 int" with "greg_t" on va_arg.
18223 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
18225 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
18226 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
18228 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
18229 Move e_machine check before EI_CLASS check. Handle x32
18230 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
18231 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
18232 SKIP_EM_IA_64 and include
18233 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
18235 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
18236 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
18237 (add_system_dir): New macro.
18239 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
18240 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
18242 2012-03-16 Joseph Myers <joseph@codesourcery.com>
18253 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
18255 * math/w_j0f.c (j0f): Likewise.
18257 * math/w_j0l.c (__j0l): Likewise.
18259 * math/w_j1.c (j1): Likewise.
18261 * math/w_j1f.c (j1f): Likewise.
18263 * math/w_j1l.c (__j1l): Likewise.
18265 * math/w_jn.c (jn): Likewise.
18267 * math/w_jnf.c (jnf): Likewise.
18269 * math/w_jnl.c (__jnl): Likewise.
18271 * math/libm-test.inc (j0_test): Add more tests.
18272 (j1_test): Likewise.
18273 (jn_test): Likewise. Add trailing semicolon to existing test.
18274 (y0_test): Likewise.
18275 (y1_test): Likewise.
18276 * sysdeps/i386/fpu/libm-test-ulps: Update.
18277 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18281 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
18282 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
18283 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
18284 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
18285 (__tanl): Set errno for infinite argument.
18286 * sysdeps/i386/fpu/mptan.c: Remove.
18287 * sysdeps/i386/fpu/s_tan.S: Likewise.
18288 * sysdeps/i386/fpu/s_tanl.S: Likewise.
18289 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
18290 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
18291 * math/libm-test.inc (tan_test): Add more tests and enable more
18292 tests for double and long double.
18293 * sysdeps/i386/fpu/libm-test-ulps: Update.
18294 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18296 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
18298 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
18299 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
18301 2012-03-16 Roland McGrath <roland@hack.frob.com>
18303 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
18304 * configure.in: Use it for both main tree and add-ons.
18305 * configure: Regenerated.
18307 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
18309 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
18311 2012-03-16 Joseph Myers <joseph@codesourcery.com>
18313 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
18317 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
18318 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
18319 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
18320 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
18321 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
18323 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
18324 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
18325 != 0 for prec == 2.
18326 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
18327 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
18328 * sysdeps/i386/fpu/s_cosl.S: Likewise.
18329 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
18330 * sysdeps/i386/fpu/s_sinl.S: Likewise.
18331 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
18332 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
18333 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
18334 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
18335 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
18336 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
18337 * math/libm-test.inc (cos_test): Add more tests and enable more
18338 tests for long double.
18339 (sin_test): Likewise.
18340 (sincos_test): Likewise.
18341 * sysdeps/i386/fpu/libm-test-ulps: Update.
18342 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18344 2012-03-16 David S. Miller <davem@davemloft.net>
18346 * sysdeps/sparc/fpu/math_private.h: New file.
18348 2012-03-15 David S. Miller <davem@davemloft.net>
18350 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
18352 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
18353 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
18355 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
18356 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
18357 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
18358 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
18359 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
18360 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
18362 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
18364 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
18365 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
18367 * sysdeps/sparc/sparc-ifunc.h: New file.
18368 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
18370 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
18371 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
18373 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
18375 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
18376 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
18377 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
18378 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
18380 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
18381 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
18382 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
18383 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
18384 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
18386 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
18388 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
18389 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
18390 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
18391 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
18392 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
18393 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
18394 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
18395 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
18396 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
18397 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
18398 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
18399 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
18400 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
18401 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
18402 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
18403 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
18404 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
18405 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
18406 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
18407 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
18408 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
18409 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
18410 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
18411 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
18413 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
18415 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
18417 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18419 2012-03-15 Andreas Jaeger <aj@suse.de>
18422 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
18423 ieee754/flt-32 implementation for sin, cos and sincos.
18424 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
18425 * sysdeps/i386/fpu/s_cosf.S: Likewise.
18426 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
18427 * sysdeps/i386/fpu/s_sinf.S: Likewise.
18428 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
18429 ieee754/flt-32 implementation for tan.
18431 * math/libm-test.inc (cos_test): Enable some large input tests for
18433 (sin_test): Likewise.
18434 (sincos_test): Likewise.
18435 (tan_test): Add tests for large input.
18437 * sysdeps/i386/fpu/libm-test-ulps: Update.
18439 2012-03-15 Andreas Jaeger <aj@suse.de>
18442 * math/libm-test.inc (cos_test): Add more test cases.
18443 (sin_test): Likewise.
18444 (sincos_test): Likewise.
18446 2012-03-15 Andreas Jaeger <aj@suse.de>
18449 * math/libm-test.inc (cos_test): Add a test case for large input
18451 (sin_test): Likewise.
18452 (sincos_test): Likewise.
18454 2012-03-15 Andreas Jaeger <aj@suse.de>,
18455 Joseph Myers <joseph@codesourcery.com>
18458 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
18459 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
18460 * sysdeps/i386/fpu/branred.c: Likewise.
18461 * sysdeps/i386/fpu/dosincos.c: Likewise.
18462 * sysdeps/i386/fpu/mpa.c: Likewise.
18463 * sysdeps/i386/fpu/s_cos.S: Likewise.
18464 * sysdeps/i386/fpu/s_sin.S: Likewise.
18465 * sysdeps/i386/fpu/s_sincos.S: Likewise.
18466 * sysdeps/i386/fpu/sincos32.c: Likewise.
18468 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
18470 (libc_feupdateenv_53bit): Define.
18471 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
18473 (libc_feupdateenv_53bit): Define.
18475 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
18476 53 bit (without extend i386 double precision).
18478 * math/libm-test.inc (sincos_test): Add tests for large input.
18482 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
18484 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
18486 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18488 2012-03-15 David S. Miller <davem@davemloft.net>
18490 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
18491 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
18492 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
18493 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
18494 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
18495 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
18496 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
18497 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
18498 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
18499 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
18500 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
18501 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
18502 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
18503 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
18504 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
18505 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
18507 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
18508 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
18510 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
18511 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
18513 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
18514 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
18516 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
18517 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
18518 fmin/fmax sysdep routines.
18519 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
18521 2012-03-14 David S. Miller <davem@davemloft.net>
18523 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
18524 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
18525 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
18526 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
18527 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
18528 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
18529 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
18530 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
18531 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
18532 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
18533 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
18534 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
18535 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
18536 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
18537 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
18538 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
18539 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
18540 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
18541 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
18542 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
18543 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
18544 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
18545 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
18546 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
18547 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
18548 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
18549 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
18550 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
18551 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
18553 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
18555 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
18556 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
18558 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
18559 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
18561 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
18562 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
18564 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
18565 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
18567 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
18568 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
18570 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
18572 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
18574 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
18576 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
18578 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
18580 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
18582 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
18583 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
18585 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
18586 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
18588 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
18589 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
18591 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
18592 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
18595 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
18598 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18600 * sysdeps/sparc/configure.in: New file.
18601 * sysdeps/sparc/configure: Generate.
18602 * configure.in (libc_cv_sparc_as_vis3): Substitute.
18603 * configure: Regenerate.
18604 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
18605 * config.make.in (have-as-vis3): New.
18606 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
18607 available use -Av9d instead of -Av9a.
18608 * sysdeps/sparc/sparc64/Makefile: Likewise.
18609 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
18610 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
18612 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
18614 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
18616 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
18618 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
18619 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
18620 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
18621 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
18622 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
18624 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
18625 fzeros/fnegs to load 0x80000000 into a float register instead of
18627 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
18629 2012-03-14 Joseph Myers <joseph@codesourcery.com>
18631 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18633 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
18634 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
18635 ($(inst_includedir)/bits/syscall.h): Remove rule.
18636 ($(objpfx)bits/syscall.d): Include instead of
18637 $(objpfx)syscall-list.d.
18638 (generated): Change syscall-list.h and syscall-list.d to
18639 bits/syscall.h and bits/syscall.d.
18641 2012-03-14 Roland McGrath <roland@hack.frob.com>
18644 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
18646 2012-03-14 Joseph Myers <joseph@codesourcery.com>
18649 * math/s_csqrt.c: Include <float.h>.
18650 (__csqrt): Scale large or subnormal inputs.
18651 * math/s_csqrtf.c: Likewise.
18652 * math/s_csqrtl.c: Likewise.
18653 * math/libm-test.inc (csqrt_test): Add more tests.
18654 * sysdeps/i386/fpu/libm-test-ulps: Update.
18655 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18658 * math/libm-test.inc (hypot_test): Add more tests.
18660 2012-03-13 David S. Miller <davem@davemloft.net>
18663 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
18664 double-precision for the calculation instead of scaling.
18666 2012-03-13 Joseph Myers <joseph@codesourcery.com>
18668 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
18669 manipulate bits before adding and subtracting TWO52[sx].
18670 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
18671 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
18673 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
18675 2012-03-13 David S. Miller <davem@davemloft.net>
18677 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
18678 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
18679 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
18680 rtld-global-offsets.h
18681 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
18683 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
18686 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
18688 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
18689 'err' in the ifdef scope in which it is actually used.
18691 * nss/nss_db/db-init.c: Include string.h
18693 2012-03-12 David S. Miller <davem@davemloft.net>
18695 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
18696 masking out of the most significant byte of random value used.
18697 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
18698 Fix coding style in previous change.
18700 * sysdeps/unix/sysv/linux/kernel-features.h
18701 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
18702 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
18704 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
18707 2012-03-11 David S. Miller <davem@davemloft.net>
18709 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
18710 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
18711 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
18712 for 'resultvar' otherwise things get truncated on 64-bit.
18714 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
18715 Fix masking out of the most significant byte of random value used.
18717 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18719 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
18721 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18723 2012-03-09 David S. Miller <davem@davemloft.net>
18725 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
18726 variables with appropriate CPP guards.
18727 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
18728 frame pointer, not the stack pointer. Correct layout comments. Fix test
18729 on resulting framesize and the management of the outregs buffer for pltexit.
18730 Preserve floating point return values across _dl_call_pltexit call.
18731 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
18732 framesize and the management of the outregs buffer for pltexit.
18733 Preserve floating point return values across _dl_call_pltexit
18735 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
18736 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
18737 (print_exit): Fix format string for return register value.
18739 2012-03-10 Joseph Myers <joseph@codesourcery.com>
18741 * sunrpc/Makefile (others): Add rpcgen.
18742 ($(objpfx)rpcgen): Remove special build rule and dependency on
18744 * sunrpc/rpcgen.c: New file.
18746 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
18749 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
18750 * stdio-common/bug-vfprintf-nargs.c: Likewise.
18751 * sysdeps/i386/crti.S: Likewise.
18752 * sysdeps/i386/crtn.S: Likewise.
18753 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
18754 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
18755 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
18756 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
18757 * sysdeps/sh/crti.S: Likewise.
18758 * sysdeps/sh/crtn.S: Likewise.
18759 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
18762 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
18764 * locale/programs/locfile-kw.gperf: Likewise.
18765 * locale/programs/charmap-kw.h: Regenerated.
18766 * locale/programs/locfile-kw.h: Likewise.
18769 * intl/plural.y: Replace FSF snail mail address with URL.
18770 * intl/plural.c: Regenerated.
18772 2012-03-09 Richard Henderson <rth@twiddle.net>
18774 * include/math_private.h: Remove file.
18775 * math/math_private.h: Move file ...
18776 * sysdeps/generic/math_private.h: ... here.
18778 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
18779 * sysdeps/powerpc/fpu/math_private.h: Likewise.
18780 * sysdeps/x86_64/fpu/math_private.h: Likewise.
18782 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
18783 and <math_private.h>.
18784 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
18785 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
18786 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
18787 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
18788 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
18789 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
18790 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
18791 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18792 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
18793 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
18794 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18795 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
18796 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
18797 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
18798 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
18799 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
18800 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
18801 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
18802 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
18803 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
18804 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18805 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
18806 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
18807 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18808 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
18809 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
18810 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
18811 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
18812 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18813 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
18814 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
18815 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
18816 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
18817 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
18818 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
18819 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
18820 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
18821 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
18822 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
18823 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
18824 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
18825 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
18826 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
18827 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
18828 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
18829 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
18830 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
18831 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
18832 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
18833 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
18834 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
18835 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
18836 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
18837 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
18838 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
18839 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
18840 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
18841 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
18842 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
18843 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
18844 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
18845 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
18846 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18847 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
18848 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
18849 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
18850 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
18851 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
18852 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
18853 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
18854 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
18855 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
18856 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
18857 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
18858 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
18859 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
18860 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
18861 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
18862 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
18863 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
18864 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
18865 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
18866 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
18867 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
18868 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
18869 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
18870 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
18871 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
18872 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
18873 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
18874 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
18875 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
18876 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
18877 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
18878 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
18879 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
18880 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
18881 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
18882 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
18883 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
18884 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
18885 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
18886 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
18887 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
18888 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
18889 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
18890 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
18891 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
18892 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
18893 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
18894 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
18895 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
18896 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
18897 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
18898 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
18899 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
18900 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
18901 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
18902 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
18903 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
18904 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
18905 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
18906 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
18907 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
18908 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
18909 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
18910 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
18911 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
18912 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
18913 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
18914 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
18915 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
18916 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
18917 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
18918 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
18919 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
18920 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
18921 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
18922 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
18923 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
18924 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
18925 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
18926 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
18927 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
18928 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
18929 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
18930 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
18931 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
18932 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
18933 * sysdeps/ieee754/k_standard.c: Likewise.
18934 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
18935 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
18936 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
18937 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
18938 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
18939 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
18940 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
18941 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
18942 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
18943 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
18944 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
18945 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
18946 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
18947 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
18948 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
18949 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
18950 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
18951 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
18952 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
18953 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
18954 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
18955 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
18956 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
18957 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
18958 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
18959 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
18960 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
18961 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
18962 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
18963 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
18964 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
18965 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
18966 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
18967 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
18968 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
18969 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
18970 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
18971 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
18972 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
18973 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
18974 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
18975 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
18976 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
18977 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
18978 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
18979 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
18980 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
18981 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
18982 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
18983 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
18984 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
18985 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
18986 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
18987 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
18988 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
18989 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
18990 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
18991 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
18992 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
18993 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
18994 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
18995 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
18996 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
18997 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
18998 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
18999 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
19000 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
19001 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
19002 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
19003 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
19004 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
19005 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
19006 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
19007 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
19008 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
19009 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
19010 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
19011 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
19012 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
19013 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
19014 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
19015 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
19016 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
19017 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
19018 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
19019 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
19020 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
19021 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
19022 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
19023 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
19024 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
19025 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
19026 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
19027 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
19028 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
19029 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
19030 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
19031 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
19032 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
19033 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
19034 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
19035 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
19036 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
19037 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
19038 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
19039 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
19040 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
19041 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
19042 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
19043 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
19044 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
19045 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
19046 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
19047 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
19048 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
19049 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
19050 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
19051 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
19052 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
19053 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
19054 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
19055 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
19056 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
19057 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
19058 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
19059 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
19060 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
19061 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
19062 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
19063 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
19064 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
19065 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
19066 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
19067 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
19068 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
19069 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
19070 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
19071 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
19072 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
19073 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
19074 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
19075 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
19076 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
19077 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
19078 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
19079 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
19080 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
19081 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
19082 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
19083 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
19084 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
19085 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
19086 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
19087 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
19088 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
19089 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
19090 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
19091 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
19092 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
19093 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
19094 * sysdeps/ieee754/s_lib_version.c: Likewise.
19095 * sysdeps/ieee754/s_matherr.c: Likewise.
19096 * sysdeps/ieee754/s_signgam.c: Likewise.
19097 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
19098 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
19099 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
19100 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
19101 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
19102 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
19103 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
19104 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
19105 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
19106 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
19107 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
19108 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
19109 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
19110 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
19111 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
19112 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
19113 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
19114 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
19115 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
19116 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
19117 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
19119 2012-03-09 Joseph Myers <joseph@codesourcery.com>
19121 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
19122 * sunrpc/rpc_main.c: Likewise.
19123 * sunrpc/rpc_svcout.c: Likewise.
19125 2012-03-09 David S. Miller <davem@davemloft.net>
19127 * include/math_private.h: New file.
19129 2012-03-09 Joseph Myers <joseph@codesourcery.com>
19131 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
19132 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
19133 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
19134 from <bits/socket_type.h>.
19135 (enum __socket_type): Don't define here.
19136 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
19137 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19138 bits/socket_type.h.
19141 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
19142 checking __USE_GNU.
19144 * Makerules ($(inst_includedir)/%.h): New rule.
19145 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
19146 (install-others): Remove variable setting.
19147 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
19149 2012-03-08 Richard Henderson <rth@twiddle.net>
19151 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
19152 from macro to inline function; merge with the
19153 !__LIBC_INTERNAL_MATH_INLINES version.
19154 (__ieee754_sqrtf): Likewise.
19156 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
19157 to inline function.
19158 (__rintf, __floor, __floorf): Likewise.
19160 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
19161 macro to inline function.
19162 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
19164 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
19165 not <math/math_private.h>.
19167 2012-03-08 David S. Miller <davem@davemloft.net>
19169 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
19171 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
19173 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
19175 * resolv/gai_misc.c (handle_requests): Fix struct timespec
19177 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
19178 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
19180 2012-03-08 Ulrich Drepper <drepper@gmail.com>
19182 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
19183 be defined individually, they must be defined as a block. Define
19184 S for printing a string instead of hidint the different by using a
19185 macro for adding the 'l'.
19186 * stdio-common/tst-fphex-wide.c: Adjust.
19188 2012-03-07 Marek Polacek <polacek@redhat.com>
19190 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
19192 2012-03-08 Marek Polacek <polacek@redhat.com>
19195 * stdio-common/Makefile (tests): Add tst-fphex-wide.
19196 * stdio-common/tst-fphex.c: Define a few macros to make the
19197 test reusable. Use them.
19198 * stdio-common/tst-fphex-wide.c: New file.
19200 2012-03-08 Joseph Myers <joseph@codesourcery.com>
19203 * manual/macros.texi (gnusystems): New macro.
19204 (nongnusystems): Likewise.
19205 (gnulinuxhurdsystems): Likewise.
19206 (gnuhurdsystems): Likewise..
19207 (gnulinuxsystems): Likewise.
19208 * manual/charset.texi: Use new macros or @theglibc{} to refer to
19209 variants of the GNU system, not "GNU system".
19210 * manual/conf.texi: Likewise.
19211 * manual/errno.texi: Likewise. Update example of errno macro
19213 * manual/filesys.texi: Likewise.
19214 (getumask): Document as specific to GNU/Hurd.
19215 * manual/install.texi: Likewise. Reword some references to
19217 * manual/intro.texi: Likewise.
19218 * manual/io.texi: Likewise.
19219 (File Name Portability): Detail which constraints are inapplicable
19220 to all GNU systems and which are only inapplicable to GNU/Hurd.
19221 * manual/job.texi: Likewise.
19222 * manual/llio.texi: Likewise.
19223 (O_NOCTTY): Document as present on GNU/Linux.
19224 * manual/maint.texi: Likewise.
19225 * manual/memory.texi: Likewise.
19226 * manual/pattern.texi: Likewise.
19227 * manual/pipe.texi: Likewise.
19228 * manual/process.texi: Likewise.
19229 * manual/resource.texi: Likewise.
19230 (RUSAGE_CHILDREN): Remove statement about specifying a particular
19232 * manual/setjmp.texi: Likewise.
19233 * manual/signal.texi: Likewise.
19234 * manual/startup.texi: Likewise.
19235 * manual/stdio.texi: Likewise.
19236 * manual/terminal.texi: Likewise.
19237 (ONLCR): Document as POSIX.
19238 (OXTABS): Document availability on GNU/Linux as XTABS.
19239 (ONOEOT): Document availability separately from other bits.
19240 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
19241 * manual/time.texi: Likewise.
19242 * manual/users.texi: Likewise.
19243 * INSTALL: Regenerated.
19244 * sysdeps/gnu/errlist.c: Regenerated.
19246 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
19247 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
19248 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
19250 * configure: Regenerated.
19252 2012-03-07 Joseph Myers <joseph@codesourcery.com>
19254 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
19255 default includes instead of AC_HEADER_CHECK.
19256 * sysdeps/i386/configure: Regenerated.
19259 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
19260 * math/s_cacoshf.c (__cacoshf): Likewise.
19261 * math/s_cacoshl.c (__cacoshl): Likewise.
19262 * math/s_casinh.c (__casinh): Set signs of result from argument.
19263 * math/s_casinhf.c (__casinhf): Likewise.
19264 * math/s_casinhl.c (__casinhl): Likewise.
19265 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
19266 (casinh_test): Add more tests.
19267 * sysdeps/i386/fpu/libm-test-ulps: Update.
19268 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19270 2012-03-07 Ulrich Drepper <drepper@gmail.com>
19272 * po/zh_TW.po: Update from translation team.
19274 * login/Makefile (distribute): Remove variable.
19275 * catgets/Makefile: Likewise.
19276 * mach/Makefile: Likewise.
19277 * malloc/Makefile: Likewise.
19278 * misc/Makefile: Likewise.
19279 * iconv/Makefile: Likewise.
19280 * nscd/Makefile: Likewise.
19281 * hurd/Makefile: Likewise.
19282 * manual/Makefile: Likewise.
19283 * locale/Makefile: Likewise.
19284 * intl/Makefile: Likewise.
19285 * conform/Makefile: Likewise.
19286 * nss/Makefile: Likewise.
19287 * time/Makefile: Likewise.
19288 * soft-fp/Makefile: Likewise.
19289 * dirent/Makefile: Likewise.
19290 * gmon/Makefile: Likewise.
19291 * po/Makefile: Likewise.
19292 * rt/Makefile: Likewise.
19293 * socket/Makefile: Likewise.
19294 * math/Makefile: Likewise.
19295 * signal/Makefile: Likewise.
19296 * debug/Makefile: Likewise.
19297 * elf/Makefile: Likewise.
19298 * timezone/Makefile: Likewise.
19299 * stdlib/Makefile: Likewise.
19300 * iconvdata/Makefile: Likewise.
19301 * sunrpc/Makefile: Likewise.
19302 * io/Makefile: Likewise.
19303 * argp/Makefile: Likewise.
19304 * inet/Makefile: Likewise.
19305 * hesiod/Makefile: Likewise.
19306 * grp/Makefile: Likewise.
19307 * csu/Makefile: Likewise.
19308 * wctype/Makefile: Likewise.
19309 * crypt/Makefile: Likewise.
19310 * libio/Makefile: Likewise.
19311 * string/Makefile: Likewise.
19312 * nis/Makefile: Likewise.
19313 * resolv/Makefile: Likewise.
19314 * stdio-common/Makefile: Likewise.
19315 * wcsmbs/Makefile: Likewise.
19316 * dlfcn/Makefile: Likewise.
19317 * posix/Makefile: Likewise.
19320 * timezone/Makefile: Don't install timezone files, just the programs
19323 2012-03-06 Ulrich Drepper <drepper@gmail.com>
19325 * nss/databases.def: Add missing gshadow entry.
19327 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
19329 2012-03-06 Marek Polacek <polacek@redhat.com>
19332 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
19333 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
19334 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
19335 * stdio-common/tst-long-dbl-fphex.c: New file.
19337 2012-03-06 David S. Miller <davem@davemloft.net>
19339 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
19340 (set_obp_int): New function.
19341 (get_obp_int): New function.
19342 (__get_clockfreq_via_dev_openprom): Likewise.
19343 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
19344 Avoid unused variable warnings on 'val' and use builtin_expect.
19345 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
19347 (INLINE_CLONE_SYSCALL): Likewise.
19349 2012-03-05 David S. Miller <davem@davemloft.net>
19351 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19353 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
19355 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19357 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
19358 only for |x| >= 40.
19359 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
19361 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
19363 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
19364 Replace gettimeofday with __vdso_gettimeofday.
19366 * sysdeps/unix/sysv/linux/x86_64/init-first.c
19367 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
19368 __vdso_clock_gettime and __vdso_getcpu.
19370 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
19371 time with __vdso_time.
19373 2012-03-05 Joseph Myers <joseph@codesourcery.com>
19375 * manual/lang.texi (size_t): Note types to which size_t may be
19376 equivalent with the GNU C Library, but do not describe when
19377 differences between them are significant.
19379 2012-03-05 Andreas Jaeger <aj@suse.de>
19381 * sysdeps/i386/fpu/libm-test-ulps: Update.
19383 2012-03-05 Joseph Myers <joseph@codesourcery.com>
19386 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
19387 (__ieee754_pow): Save and restore rounding mode and use
19388 round-to-nearest for main computations.
19389 * math/libm-test.inc (pow_test_tonearest): New function.
19390 (pow_test_towardzero): Likewise.
19391 (pow_test_downward): Likewise.
19392 (pow_test_upward): Likewise.
19393 (main): Call the new functions.
19394 * sysdeps/i386/fpu/libm-test-ulps: Update.
19395 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19398 * math/libm-test.inc (cosh_test_tonearest): New function.
19399 (cosh_test_towardzero): Likewise.
19400 (cosh_test_downward): Likewise.
19401 (cosh_test_upward): Likewise.
19402 (sinh_test_tonearest): Likewise.
19403 (sinh_test_towardzero): Likewise.
19404 (sinh_test_downward): Likewise.
19405 (sinh_test_upward): Likewise.
19406 (main): Call the new functions.
19407 * sysdeps/i386/fpu/libm-test-ulps: Update.
19408 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19410 2012-03-05 Tom de Vries <tom@codesourcery.com>
19412 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
19413 default stack guard is set in last bytes.
19414 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
19416 2012-03-05 Kees Cook <keescook@chromium.org>
19418 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
19421 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
19422 possibly allocate from heap instead of stack.
19423 * stdio-common/bug-vfprintf-nargs.c: New file.
19424 * stdio-common/Makefile (tests): Add nargs overflow test.
19426 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
19428 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19430 2012-03-03 Marek Polacek <polacek@redhat.com>
19432 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
19433 * math/math_private.h: Likewise.
19434 * stdlib/tst-strtod.c: Likewise.
19435 * sysdeps/i386/i486/bits/atomic.h: Likewise.
19436 * sysdeps/x86_64/bits/atomic.h: Likewise.
19438 2012-03-02 David S. Miller <davem@davemloft.net>
19440 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
19441 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
19442 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
19443 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
19444 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
19445 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
19446 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
19447 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
19449 2012-03-02 Roland McGrath <roland@hack.frob.com>
19452 * manual/examples/README: New file, says the example source files
19453 can be used under GPL>=2.
19454 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
19455 line containing just "*/".
19456 * manual/examples/add.c: Add copyright header (GPL>=2).
19457 * manual/examples/argp-ex1.c: Likewise.
19458 * manual/examples/argp-ex2.c: Likewise.
19459 * manual/examples/argp-ex3.c: Likewise.
19460 * manual/examples/argp-ex4.c: Likewise.
19461 * manual/examples/atexit.c: Likewise.
19462 * manual/examples/db.c: Likewise.
19463 * manual/examples/dir.c: Likewise.
19464 * manual/examples/dir2.c: Likewise.
19465 * manual/examples/execinfo.c: Likewise.
19466 * manual/examples/filecli.c: Likewise.
19467 * manual/examples/filesrv.c: Likewise.
19468 * manual/examples/fmtmsgexpl.c: Likewise.
19469 * manual/examples/genpass.c: Likewise.
19470 * manual/examples/inetcli.c: Likewise.
19471 * manual/examples/inetsrv.c: Likewise.
19472 * manual/examples/isockad.c: Likewise.
19473 * manual/examples/longopt.c: Likewise.
19474 * manual/examples/memopen.c: Likewise.
19475 * manual/examples/memstrm.c: Likewise.
19476 * manual/examples/mkfsock.c: Likewise.
19477 * manual/examples/mkisock.c: Likewise.
19478 * manual/examples/mygetpass.c: Likewise.
19479 * manual/examples/pipe.c: Likewise.
19480 * manual/examples/popen.c: Likewise.
19481 * manual/examples/rprintf.c: Likewise.
19482 * manual/examples/search.c: Likewise.
19483 * manual/examples/select.c: Likewise.
19484 * manual/examples/setjmp.c: Likewise.
19485 * manual/examples/sigh1.c: Likewise.
19486 * manual/examples/sigusr.c: Likewise.
19487 * manual/examples/stpcpy.c: Likewise.
19488 * manual/examples/strdupa.c: Likewise.
19489 * manual/examples/strftim.c: Likewise.
19490 * manual/examples/strncat.c: Likewise.
19491 * manual/examples/subopt.c: Likewise.
19492 * manual/examples/swapcontext.c: Likewise.
19493 * manual/examples/termios.c: Likewise.
19494 * manual/examples/testopt.c: Likewise.
19495 * manual/examples/testpass.c: Likewise.
19496 * manual/examples/timeval_subtract.c: Likewise.
19499 * manual/time.texi (Elapsed Time): Move timeval_subtract example
19501 * manual/timeval_subtract.c.texi: ... here, new file.
19503 2012-03-02 David S. Miller <davem@davemloft.net>
19505 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
19507 2012-03-02 Joseph Myers <joseph@codesourcery.com>
19510 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
19511 (__sin): Save and restore rounding mode and use round-to-nearest
19512 for all computations.
19513 (__cos): Save and restore rounding mode and use round-to-nearest
19514 for all computations.
19515 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
19517 (tan): Save and restore rounding mode and use round-to-nearest for
19519 * math/libm-test.inc (cos_test_tonearest): New function.
19520 (cos_test_towardzero): Likewise.
19521 (cos_test_downward): Likewise.
19522 (cos_test_upward): Likewise.
19523 (sin_test_tonearest): Likewise.
19524 (sin_test_towardzero): Likewise.
19525 (sin_test_downward): Likewise.
19526 (sin_test_upward): Likewise.
19527 (tan_test_tonearest): Likewise.
19528 (tan_test_towardzero): Likewise.
19529 (tan_test_downward): Likewise.
19530 (tan_test_upward): Likewise.
19531 (main): Call the new functions.
19532 * sysdeps/i386/fpu/libm-test-ulps: Update.
19533 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19536 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
19537 small n, then large n, before computing and testing k+n.
19538 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
19539 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
19541 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
19543 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
19544 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
19545 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
19546 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
19547 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
19548 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
19549 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
19550 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
19551 * math/libm-test.inc (scalbn_test): Add more tests.
19552 (scalbln_test): Likewise.
19554 * manual/filesys.texi (mode_t): Describe constraints on size and
19555 signedness, not exact equivalence to a particular type.
19557 (ino64_t): Likewise.
19559 (nlink_t): Likewise.
19560 (blkcnt_t): Likewise.
19561 (blkcnt64_t): Likewise.
19562 * manual/llio.texi (off_t): Likewise.
19565 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
19566 (__ieee754_exp): Save and restore rounding mode and use
19567 round-to-nearest for all computations.
19568 * math/libm-test.inc (exp_test_tonearest): New function.
19569 (exp_test_towardzero): Likewise.
19570 (exp_test_downward): Likewise.
19571 (exp_test_upward): Likewise.
19572 (main): Call the new functions.
19573 * sysdeps/i386/fpu/libm-test-ulps: Update.
19574 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19576 2012-03-01 Chris Demetriou <cgd@google.com>
19578 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
19579 have predictable order.
19581 2012-03-01 David S. Miller <davem@davemloft.net>
19583 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
19585 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
19586 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
19587 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
19588 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
19590 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
19591 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
19592 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
19593 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
19594 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
19595 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
19596 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
19597 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
19598 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
19600 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19602 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
19603 * sysdeps/sparc/fpu/libm-test-ulps: to here.
19604 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
19606 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
19607 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
19608 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
19609 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
19610 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
19611 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
19612 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
19613 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
19614 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
19615 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
19616 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
19617 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
19618 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
19619 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
19620 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
19621 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
19622 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
19623 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
19624 * sysdeps/sparc/elf/configure: Regenerated.
19626 2012-03-01 Joseph Myers <joseph@codesourcery.com>
19628 * configure.in (AS, LD): Require binutils 2.20 or later.
19629 * configure: Regenerated.
19630 * manual/install.texi (Tools for Compilation): Give binutils 2.20
19631 as required minimum version.
19632 * INSTALL: Regenerated.
19636 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
19637 before squaring exponent.
19638 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
19639 bottom long double and 27 bits of top long double before squaring
19641 * math/libm-test.inc (erfc_test): Add more tests.
19642 * sysdeps/i386/fpu/libm-test-ulps: Update.
19643 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19644 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19646 2012-03-01 Kai Tietz <ktietz@redhat.com>
19648 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
19649 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
19650 containing bit-fields.
19651 * soft-fp/extended.h (_FP_UNION_E): Likewise.
19652 * soft-fp/single.h (_FP_UNION_S): Likewise.
19653 * soft-fp/double.h (_FP_UNION_D): Likewise.
19655 2012-02-29 Joseph Myers <joseph@codesourcery.com>
19658 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
19659 not include ../strcmp.S.
19660 [USE_AS_STRNCASECMP_L]: Likewise.
19661 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
19662 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
19663 * sysdeps/i386/i686/multiarch/strncase_l-c.c
19664 (__strncasecmp_l_ia32): Define as alias to
19665 __strncasecmp_l_nonascii.
19668 * math/libm-test.inc (expm1_test): Add test for bug 5794.
19669 * sysdeps/i386/fpu/libm-test-ulps: Update.
19670 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19672 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
19673 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19675 2012-02-29 Jeff Law <law@redhat.com>
19677 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
19678 out of bounds read.
19680 2012-02-29 Marek Polacek <polacek@redhat.com>
19683 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
19684 * elf/Makefile: Add rules to run tst-unused-dep.out.
19686 2012-02-28 David S. Miller <davem@davemloft.net>
19688 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
19689 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
19690 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
19691 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
19692 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
19693 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
19695 2012-02-29 Joseph Myers <joseph@codesourcery.com>
19697 * math/libm-test.inc (llround_test): Move one test from
19698 lround_test. Use TEST_f_L in moved test.
19699 (lround_test): Move misplaced test to llround_test. Add testcase
19702 2012-02-28 Ulrich Drepper <drepper@gmail.com>
19704 * sysdeps/x86_64/fpu/e_expf.S: New file.
19705 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
19707 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
19710 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
19711 of remain_len that may cause incomplete multi-byte character and
19713 * posix/bug-regex33.c: New file.
19714 * posix/Makefile (tests): Add bug-regex33.
19716 2012-02-28 Joseph Myers <joseph@codesourcery.com>
19718 * manual/macros.texi: New file.
19719 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
19720 * manual/libc.texinfo: Include macros.texi.
19721 * manual/creatute.texi: Likewise.
19722 * manual/install.texi: Likewise.
19723 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
19724 @glibcadj{} in references to the GNU C Library.
19725 * manual/charset.texi: Likewise.
19726 * manual/conf.texi: Likewise.
19727 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
19728 when not using those macros.
19729 * manual/creature.texi: Likewise.
19730 * manual/crypt.texi: Likewise.
19731 * manual/errno.texi: Likewise.
19732 * manual/filesys.texi: Likewise.
19733 * manual/header.texi: Likewise.
19734 * manual/install.texi: Likewise.
19735 * manual/intro.texi: Likewise.
19736 * manual/io.texi: Likewise.
19737 * manual/job.texi: Likewise.
19738 * manual/lang.texi: Likewise.
19739 * manual/libc.texiinfo: Likewise.
19740 * manual/llio.texi: Likewise.
19741 * manual/locale.texi: Likewise.
19742 * manual/maint.texi: Likewise.
19743 * manual/math.texi: Likewise.
19744 * manual/memory.texi: Likewise.
19745 * manual/message.texi: Likewise.
19746 * manual/nss.texi: Likewise.
19747 * manual/pattern.texi: Likewise.
19748 * manual/process.texi: Likewise.
19749 * manual/resource.texi: Likewise.
19750 * manual/search.texi: Likewise.
19751 * manual/setjmp.texi: Likewise.
19752 * manual/signal.texi: Likewise.
19753 * manual/socket.texi: Likewise.
19754 * manual/startup.texi: Likewise.
19755 * manual/stdio.texi: Likewise.
19756 * manual/string.texi: Likewise.
19757 * manual/sysinfo.texi: Likewise.
19758 * manual/syslog.texi: Likewise.
19759 * manual/terminal.texi: Likewise.
19760 * manual/time.texi: Likewise.
19761 * manual/users.texi: Likewise.
19762 * INSTALL: Regenerated.
19763 * NOTES: Regenerated.
19764 * sysdeps/gnu/errlist.c: Regenerated.
19766 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
19768 * include/dirent.h: Include <dirstream.h> before
19771 2012-02-28 David S. Miller <davem@davemloft.net>
19773 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
19774 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
19775 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
19776 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
19778 2012-02-27 David S. Miller <davem@davemloft.net>
19780 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
19781 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
19782 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
19783 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
19785 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
19786 frame pointer instead of stack pointer relative arg slot.
19787 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
19788 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
19789 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
19791 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
19794 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
19796 2012-02-27 David S. Miller <davem@davemloft.net>
19798 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
19799 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
19800 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
19801 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
19802 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
19803 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
19804 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
19805 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
19807 2012-02-27 Joseph Myers <joseph@codesourcery.com>
19809 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
19810 later. Allow versions 5-9.
19811 * configure: Regenerated.
19812 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
19813 required minimum version and 4.6 as recommended version. Do not
19814 mention bugs in GCC 2.7 and 2.8.
19815 * INSTALL: Regenerated.
19817 2012-02-27 David S. Miller <davem@davemloft.net>
19819 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
19820 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
19821 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
19822 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
19823 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
19824 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
19825 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
19826 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
19828 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
19829 manipulate bits before adding and subtracting TWO112[sx].
19830 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
19832 2012-02-27 Roland McGrath <roland@hack.frob.com>
19835 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
19836 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
19837 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
19838 being in POSIX, because they are in 1003.1-2008.
19840 * rt/tst-aio.c: Include <fcntl.h>.
19841 * rt/tst-aio7.c: Likewise.
19842 * rt/tst-aio64.c: Likewise.
19844 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
19846 2012-02-27 Joseph Myers <joseph@codesourcery.com>
19848 * manual/install.texi (--with-headers): Describe headers as
19849 interface headers, not private headers.
19850 (Specific advice for GNU/Linux systems): Describe use of headers
19851 from "make headers_install", not private headers from older
19853 * INSTALL: Regenerated.
19854 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
19856 * sysdeps/unix/sysv/linux/configure: Regenerated.
19858 * manual/llio.texi (fclean): Remove documentation.
19860 * manual/Makefile (libc-texi-generated): New variable. Include
19862 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
19863 $(libc-texi-generated), not duplicated list of files.
19864 (version.texi, stamp-version): New rules.
19865 (realclean): Remove $(libc-texi-generated), not individual files
19866 from that list. Do not remove dir-add.texinfo.
19867 * manual/libc.texinfo: Comment out uses of edition numbers and
19868 references to printed manual. Remove last-updated dates.
19869 (EDITION): Comment out.
19871 (VERSION, UPDATED): Remove.
19872 (version.texi): Include.
19874 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
19876 * sysdeps/posix/spawni.c: Include <signal.h>.
19877 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
19878 * sysdeps/pthread/aio_fsync.c: Likewise.
19880 2012-02-26 Ulrich Drepper <drepper@gmail.com>
19882 * conform/Makefile (tests): Run only when not cross-compiling and
19883 when fast-check is not defined.
19885 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
19886 * conform/data/limits.h-data: Fixes for POSIX2008.
19887 * conform/run-conformtest.sh: Run all tests.
19888 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
19890 * include/bits/dlfcn.h: Likewise.
19891 * include/langinfo.h: Likewise.
19892 * include/monetary.h: Likewise.
19893 * include/sys/poll.h: Likewise.
19895 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
19897 * posix/spawn.h: Define __need_sigset_t.
19898 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
19899 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
19900 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
19901 to get sigevent_t only.
19902 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
19903 only for __USE_GNU.
19904 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
19905 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
19906 process_vm_writev only for __USE_GNU.
19907 * termios/termios.h: Declare tcgetsid also for POSIX2008.
19909 * conform/Makefile: For now ignore errors from run-conformtest.
19910 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
19911 POSIX to avoid namespace pollution. Don't prepend headers.
19912 * conform/data/aio.h-data: Fixes for POSIX testing.
19913 * conform/data/fcntl.h-data: Likewise.
19914 * conform/data/glob.h-data: Likewise.
19915 * conform/data/grp.h-data: Likewise.
19916 * conform/data/pthread.h-data: Likewise.
19917 * conform/data/pwd.h-data: Likewise.
19918 * conform/data/signal.h-data: Likewise.
19919 * conform/data/spawn.h-data: Likewise.
19920 * conform/data/stdio.h-data: Likewise.
19921 * conform/data/stdlib.h-data: Likewise.
19922 * conform/data/stropts.h-data: Likewise.
19923 * conform/data/sys/mman.h-data: Likewise.
19924 * conform/data/sys/stat.h-data: Likewise.
19925 * conform/data/sys/types.h-data: Likewise.
19926 * conform/data/sys/wait.h-data: Likewise.
19927 * conform/data/time.h-data: Likewise.
19928 * conform/data/unistd.h-data: Likewise.
19929 * conform/data/utime.h-data: Likewise.
19931 * io/sys/stat.h: fchmod was always in POSIX.
19932 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
19933 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
19934 * rt/aio.h: Define __need_timespec before including <time.h>.
19935 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
19936 struct. Add forward declaration of pthread_attr_t and use it in
19938 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
19939 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
19940 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
19941 always remove CLK_TCK definition.
19943 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
19945 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
19947 2012-02-25 Ulrich Drepper <drepper@gmail.com>
19949 * conform/run-conformtest.sh: New file.
19950 * conform/Makefile: Run run-conformtest for tests.
19951 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
19954 * conform/data/uchar.h-data: New file.
19955 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
19956 * conform/data/arpa/inet.h-data: Likewise.
19957 * conform/data/assert.h-data: Likewise.
19958 * conform/data/complex.h-data: Likewise.
19959 * conform/data/cpio.h-data: Likewise.
19960 * conform/data/ctype.h-data: Likewise.
19961 * conform/data/dirent.h-data: Likewise.
19962 * conform/data/dlfcn.h-data: Likewise.
19963 * conform/data/errno.h-data: Likewise.
19964 * conform/data/fcntl.h-data: Likewise.
19965 * conform/data/float.h-data: Likewise.
19966 * conform/data/fmtmsg.h-data: Likewise.
19967 * conform/data/fnmatch.h-data: Likewise.
19968 * conform/data/ftw.h-data: Likewise.
19969 * conform/data/glob.h-data: Likewise.
19970 * conform/data/grp.h-data: Likewise.
19971 * conform/data/iconv.h-data: Likewise.
19972 * conform/data/inttypes.h-data: Likewise.
19973 * conform/data/langinfo.h-data: Likewise.
19974 * conform/data/libgen.h-data: Likewise.
19975 * conform/data/limits.h-data: Likewise.
19976 * conform/data/locale.h-data: Likewise.
19977 * conform/data/math.h-data: Likewise.
19978 * conform/data/monetary.h-data: Likewise.
19979 * conform/data/mqueue.h-data: Likewise.
19980 * conform/data/ndbm.h-data: Likewise.
19981 * conform/data/net/if.h-data: Likewise.
19982 * conform/data/netdb.h-data: Likewise.
19983 * conform/data/netinet/in.h-data: Likewise.
19984 * conform/data/nl_types.h-data: Likewise.
19985 * conform/data/poll.h-data: Likewise.
19986 * conform/data/pthread.h-data: Likewise.
19987 * conform/data/pwd.h-data: Likewise.
19988 * conform/data/regex.h-data: Likewise.
19989 * conform/data/sched.h-data: Likewise.
19990 * conform/data/search.h-data: Likewise.
19991 * conform/data/semaphore.h-data: Likewise.
19992 * conform/data/setjmp.h-data: Likewise.
19993 * conform/data/signal.h-data: Likewise.
19994 * conform/data/spawn.h-data: Likewise.
19995 * conform/data/stdarg.h-data: Likewise.
19996 * conform/data/stdio.h-data: Likewise.
19997 * conform/data/stdlib.h-data: Likewise.
19998 * conform/data/string.h-data: Likewise.
19999 * conform/data/strings.h-data: Likewise.
20000 * conform/data/stropts.h-data: Likewise.
20001 * conform/data/sys/ipc.h-data: Likewise.
20002 * conform/data/sys/mman.h-data: Likewise.
20003 * conform/data/sys/msg.h-data: Likewise.
20004 * conform/data/sys/resource.h-data: Likewise.
20005 * conform/data/sys/select.h-data: Likewise.
20006 * conform/data/sys/sem.h-data: Likewise.
20007 * conform/data/sys/shm.h-data: Likewise.
20008 * conform/data/sys/socket.h-data: Likewise.
20009 * conform/data/sys/stat.h-data: Likewise.
20010 * conform/data/sys/statvfs.h-data: Likewise.
20011 * conform/data/sys/time.h-data: Likewise.
20012 * conform/data/sys/timeb.h-data: Likewise.
20013 * conform/data/sys/times.h-data: Likewise.
20014 * conform/data/sys/types.h-data: Likewise.
20015 * conform/data/sys/uio.h-data: Likewise.
20016 * conform/data/sys/un.h-data: Likewise.
20017 * conform/data/sys/utsname.h-data: Likewise.
20018 * conform/data/sys/wait.h-data: Likewise.
20019 * conform/data/syslog.h-data: Likewise.
20020 * conform/data/tar.h-data: Likewise.
20021 * conform/data/termios.h-data: Likewise.
20022 * conform/data/utime.h-data: Likewise.
20023 * conform/data/utmpx.h-data: Likewise.
20024 * conform/data/varargs.h-data: Likewise.
20025 * conform/data/wchar.h-data: Likewise.
20026 * conform/data/wctype.h-data: Likewise.
20027 * conform/data/wordexp.h-data: Likewise.
20029 * include/stropts.h: New file.
20030 * include/uchar.h: New file.
20031 * include/aio.h: Changes to allow conformtest.pl to use the headers.
20032 * include/assert.h: Likewise.
20033 * include/ctype.h: Likewise.
20034 * include/dirent.h: Likewise.
20035 * include/dlfcn.h: Likewise.
20036 * include/fcntl.h: Likewise.
20037 * include/fnmatch.h: Likewise.
20038 * include/glob.h: Likewise.
20039 * include/grp.h: Likewise.
20040 * include/libio.h: Likewise.
20041 * include/locale.h: Likewise.
20042 * include/math.h: Likewise.
20043 * include/net/if.h: Likewise.
20044 * include/netdb.h: Likewise.
20045 * include/netinet/in.h: Likewise.
20046 * include/pthread.h: Likewise.
20047 * include/pwd.h: Likewise.
20048 * include/regex.h: Likewise.
20049 * include/sched.h: Likewise.
20050 * include/search.h: Likewise.
20051 * include/setjmp.h: Likewise.
20052 * include/signal.h: Likewise.
20053 * include/stdio.h: Likewise.
20054 * include/stdlib.h: Likewise.
20055 * include/string.h: Likewise.
20056 * include/sys/cdefs.h: Likewise.
20057 * include/sys/mman.h: Likewise.
20058 * include/sys/msg.h: Likewise.
20059 * include/sys/resource.h: Likewise.
20060 * include/sys/select.h: Likewise.
20061 * include/sys/socket.h: Likewise.
20062 * include/sys/stat.h: Likewise.
20063 * include/sys/statvfs.h: Likewise.
20064 * include/sys/time.h: Likewise.
20065 * include/sys/times.h: Likewise.
20066 * include/sys/uio.h: Likewise.
20067 * include/sys/utsname.h: Likewise.
20068 * include/sys/wait.h: Likewise.
20069 * include/termios.h: Likewise.
20070 * include/time.h: Likewise.
20071 * include/ulimit.h: Likewise.
20072 * include/unistd.h: Likewise.
20073 * include/utime.h: Likewise.
20074 * include/wchar.h: Likewise.
20075 * include/wctype.h: Likewise.
20076 * include/wordexp.h: Likewise.
20078 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
20080 * time/time.h: TIME_UTC must be a macro.
20081 Make timespec_get available for ISO C11 only as well.
20083 2012-02-24 Ulrich Drepper <drepper@gmail.com>
20085 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
20086 Reported by Peng Haitao <penght@cn.fujitsu.com>.
20088 2012-02-24 Joseph Myers <joseph@codesourcery.com>
20090 * configure.in: Use -o not -a in test for unsupported multi-arch.
20092 2012-02-24 Joseph Myers <joseph@codesourcery.com>
20094 * manual/texinfo.tex: Update to version 2012-01-19.16.
20096 2012-02-24 Joseph Myers <joseph@codesourcery.com>
20098 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
20100 2012-02-24 Roland McGrath <roland@hack.frob.com>
20103 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
20104 * manual/fdl-1.3.texi: New file.
20105 * manual/fdl-1.1.texi: File removed.
20108 * manual/libc.texinfo (FDL_VERSION): New @set.
20109 Use it for mention of FDL in cover text.
20110 (Documentation License): Use it in @include file name.
20112 2012-02-22 Joseph Myers <joseph@codesourcery.com>
20113 Roland McGrath <roland@hack.frob.com>
20116 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
20117 not LONG_LONG_MAX and LONG_LONG_MIN.
20118 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
20119 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
20121 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
20123 2012-02-22 Joseph Myers <joseph@codesourcery.com>
20127 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
20128 manipulate bits before adding and subtracting TWO23[sx].
20129 * math/libm-test.inc (nearbyint_test): Add more tests.
20131 2012-02-22 Joseph Myers <joseph@codesourcery.com>
20134 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
20135 bits before adding and subtracting TWO23[sx].
20136 * math/libm-test.inc (rint_test): Add more tests.
20137 (rint_test_tonearest): Likewise.
20138 (rint_test_towardzero): Likewise.
20139 (rint_test_downward): Likewise.
20140 (rint_test_upward: Likewise.
20142 2012-02-22 Joseph Myers <joseph@codesourcery.com>
20145 * include/stdc-predef.h: New file. Extracted from features.h.
20146 * include/features.h: Include stdc-predef.h.
20147 * Makefile (headers): Add stdc-predef.h.
20148 * CONFORMANCE (Compiler limitations): Update.
20150 2012-02-22 Joseph Myers <joseph@codesourcery.com>
20152 * manual/libc.texinfo (VERSION, UPDATED): Revert.
20154 2012-02-21 David S. Miller <davem@davemloft.net>
20156 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
20157 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
20159 2012-02-20 David S. Miller <davem@davemloft.net>
20161 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
20162 using a normal save/restore sequence, rather than allocating a
20163 dummy stack frame just to store a frame pointer and restore.
20164 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
20166 2012-02-21 Joseph Myers <joseph@codesourcery.com>
20168 * manual/install.texi: Fix stray word in line-wrapped comment.
20170 2012-02-20 David S. Miller <davem@davemloft.net>
20172 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
20173 both binutils and gcc support GOTDATA.
20175 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
20176 "rd %pc" in the PIC register setup sequences.
20178 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
20179 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
20180 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
20181 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
20182 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
20183 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
20184 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
20185 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
20186 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
20187 (SYSCALL_ERROR_HANDLER): Likewise.
20188 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
20189 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
20190 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
20191 (SYSCALL_ERROR_HANDLER): Likewise.
20193 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
20194 (HAVE_GCC_GOTDATA): New.
20195 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
20196 relocation support in both binutils and gcc.
20197 * sysdeps/sparc/elf/configure: Regenerate.
20199 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
20200 * sysdeps/sparc/sparc32/elf/configure: Delete.
20201 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
20202 * sysdeps/sparc/sparc64/elf/configure: Delete.
20203 * sysdeps/sparc/elf/configure.in: New file.
20204 * sysdeps/sparc/elf/configure: Generate.
20206 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
20207 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
20208 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
20209 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
20210 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
20212 2012-02-21 Joseph Myers <joseph@codesourcery.com>
20214 * manual/install.texi: Do not mention specific glibc version
20216 * manual/libc.texinfo (VERSION, UPDATED): Update.
20217 (@copying): Use @copyright{} and range of years.
20219 2012-02-21 Joseph Myers <joseph@codesourcery.com>
20222 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
20223 [crti.S not in sysdirs] (generated): Do not append.
20224 [crti.S not in sysdirs] (omit-deps): Likewise.
20225 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
20226 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
20227 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
20228 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
20229 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
20231 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
20232 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
20233 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
20234 * csu/defs.awk: Remove file.
20235 * sysdeps/generic/initfini.c: Likewise.
20236 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
20238 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
20241 2012-02-20 Joseph Myers <joseph@codesourcery.com>
20243 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
20244 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
20245 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
20246 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
20247 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
20248 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
20250 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
20251 (__EPOLL_PACKED): Define to empty if not defined by
20253 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
20254 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20257 2012-02-20 Joseph Myers <joseph@codesourcery.com>
20259 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
20260 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
20261 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
20262 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
20264 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
20265 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20268 2012-02-20 Joseph Myers <joseph@codesourcery.com>
20270 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
20272 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20273 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
20274 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
20275 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20277 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
20279 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
20280 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
20282 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
20284 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
20285 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
20287 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
20289 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
20292 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
20294 * math/w_acos.c: Use non-signaling floating-point comparisons.
20295 * math/w_acosf.c: Likewise.
20296 * math/w_acosh.c: Likewise.
20297 * math/w_acoshf.c: Likewise.
20298 * math/w_acoshl.c: Likewise.
20299 * math/w_acosl.c: Likewise.
20300 * math/w_asin.c: Likewise.
20301 * math/w_asinf.c: Likewise.
20302 * math/w_asinl.c: Likewise.
20303 * math/w_atanh.c: Likewise.
20304 * math/w_atanhf.c: Likewise.
20305 * math/w_atanhl.c: Likewise.
20306 * math/w_exp2.c: Likewise.
20307 * math/w_exp2f.c: Likewise.
20308 * math/w_exp2l.c: Likewise.
20309 * math/w_j0.c: Likewise.
20310 * math/w_j0f.c: Likewise.
20311 * math/w_j0l.c: Likewise.
20312 * math/w_j1.c: Likewise.
20313 * math/w_j1f.c: Likewise.
20314 * math/w_j1l.c: Likewise.
20315 * math/w_jn.c: Likewise.
20316 * math/w_jnf.c: Likewise.
20317 * math/w_log.c: Likewise.
20318 * math/w_log10.c: Likewise.
20319 * math/w_log10f.c: Likewise.
20320 * math/w_log10l.c: Likewise.
20321 * math/w_log2.c: Likewise.
20322 * math/w_log2f.c: Likewise.
20323 * math/w_log2l.c: Likewise.
20324 * math/w_logf.c: Likewise.
20325 * math/w_logl.c: Likewise.
20326 * math/w_sqrt.c: Likewise.
20327 * math/w_sqrtf.c: Likewise.
20328 * math/w_sqrtl.c: Likewise.
20329 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
20330 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
20331 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
20332 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
20333 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
20335 2012-02-19 Joseph Myers <joseph@codesourcery.com>
20338 * manual/string.texi (strnlen): Use correct parameter name in
20339 equivalent expression.
20341 2012-02-19 Joseph Myers <joseph@codesourcery.com>
20344 * manual/users.texi (seteuid): Consistently use neweuid for
20347 2012-02-19 Joseph Myers <joseph@codesourcery.com>
20350 * manual/nss.texi (Services in the NSS configuration): Correct
20351 list of services in example configuration file.
20353 2012-02-19 Nick Bowler <nbowler@draconx.ca>
20356 * manual/arith.texi: Remove statements about negative zero
20357 behaving identically to zero.
20359 2012-02-18 Joseph Myers <joseph@codesourcery.com>
20362 * manual/install.texi: Do not document upgrading from libc5.
20364 2012-02-18 Joseph Myers <joseph@codesourcery.com>
20367 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
20369 2012-02-18 David S. Miller <davem@davemloft.net>
20371 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
20372 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
20373 %o7 across the call.
20374 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
20376 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
20377 SETUP_PIC_REG_LEAF.
20378 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
20379 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
20380 * sysdeps/sparc/crtn.S: Likewise.
20382 2012-02-17 Ulrich Drepper <drepper@gmail.com>
20384 * aout/Makefile: Remove.
20386 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
20389 * manual/examples/argp-ex1.c (main): Format definition in GNU
20391 * manual/examples/argp-ex2.c (main): Likewise.
20392 * manual/examples/argp-ex3.c (main): Likewise.
20393 * manual/examples/argp-ex4.c (main): Likewise.
20394 * manual/examples/longopt.c (main): Use new-style prototype
20396 * manual/examples/strncat.c (main): Specify return type and use
20397 (void) for arguments.
20398 * manual/examples/subopt.c (main): Use char **argv argument.
20400 2012-02-17 Joseph Myers <joseph@codesourcery.com>
20403 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
20406 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
20409 * manual/string.texi (strchr): Change when strchrnul is
20412 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
20415 * manual/locale.texi (setlocale): Document LOCPATH.
20417 2012-02-17 Joseph Myers <joseph@codesourcery.com>
20420 * manual/process.texi (execle): Move @dots{} before last argument.
20422 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
20425 * manual/charset.texi (Generic Charset Conversion): Fix typo
20426 (LC_TYPE -> LC_CTYPE).
20428 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
20431 * manual/arith.texi (scalbn): Use @var{} on parameter names.
20432 (scalbnf): Likewise.
20433 (scalbnl): Likewise.
20434 (scalbln): Likewise.
20435 (scalblnf): Likewise.
20436 (scalblnl): Likewise.
20437 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
20438 (vwarnx): Likewise.
20441 * manual/filesys.texi (telldir): Use braces around return type.
20442 * manual/llio.texi (mmap): Add space after comma.
20443 (mmap64): Likewise.
20444 * manual/math.texi (jn): Use @var{} on parameter names.
20450 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
20452 * manual/resource.texi (ulimit): Use @dots{} instead of literal
20454 (sched_get_priority_min): Remove semicolon on @deftypefun line.
20455 (sched_get_priority_max): Likewise.
20456 * manual/signal.texi (sigvec): Add space after comma.
20457 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
20459 (if_indextoname): Likewise.
20460 (if_freenameindex): Likewise.
20461 (sendto): Use ',' instead of '.' in prototype.
20462 * manual/startup.texi (syscall): Use @dots{} instead of literal
20464 * manual/stdio.texi (__fpending): Separate initial words of
20465 paragraph from @deftypefun line.
20466 * manual/syslog.texi (syslog): Use @dots{} instead of literal
20468 (vsyslog): Use @var{} on parameter names.
20469 * manual/terminal.texi (stty): Use @var{} on parameter names.
20470 * manual/users.texi (getutmp): Use @var{} on parameter names.
20471 (getutmpx): Likewise.
20473 2012-02-17 Joseph Myers <joseph@codesourcery.com>
20476 * manual/stdio.texi (fopen): Fix typos in description of
20479 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
20482 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
20483 get clock_id definition.
20485 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
20488 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
20489 (madvise): Cast every argument to void on its own.
20491 2012-02-17 Joseph Myers <joseph@codesourcery.com>
20494 * manual/startup.texi (Exit Status): Fix typo.
20496 2012-02-17 Joseph Myers <joseph@codesourcery.com>
20499 * manual/examples/argp-ex1.c: Include <stdlib.h>.
20500 * manual/examples/argp-ex2.c: Likewise.
20501 * manual/examples/argp-ex3.c: Likewise.
20503 2012-02-16 Richard Henderson <rth@redhat.com>
20505 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
20506 * sysdeps/s390/s390-32/initfini.c: Remove.
20507 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
20508 * sysdeps/s390/s390-64/initfini.c: Remove.
20510 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20512 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
20513 compiler output for sysdeps/generic/initfini.c.
20514 * sysdeps/sh/elf/initfini.c: Remove file.
20516 2012-02-16 David S. Miller <davem@davemloft.net>
20519 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
20521 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
20522 * sysdeps/sparc/crti.S: New file.
20523 * sysdeps/sparc/crtn.S: New file.
20524 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
20525 * sysdeps/sparc/sparc64/Makefile: Likewise.
20527 2012-02-15 Mike Frysinger <vapier@gentoo.org>
20530 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
20532 2012-02-15 Roland McGrath <roland@hack.frob.com>
20535 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
20537 * mach/devstream.c (cookie_io_functions_t): Macro removed.
20538 (write, read, close): Likewise.
20539 Patch by Aurelien Jarno <aurelien@aurel32.net>.
20541 2012-02-15 Joseph Myers <joseph@codesourcery.com>
20543 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
20544 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
20545 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
20546 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
20548 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
20549 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20552 2012-02-14 Marek Polacek <polacek@redhat.com>
20554 * sysdeps/x86_64/crti.S: New file.
20555 * sysdeps/x86_64/crtn.S: New file.
20556 * sysdeps/x86_64/elf/initfini.c: Remove file.
20558 2012-02-13 Joseph Myers <joseph@codesourcery.com>
20560 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
20561 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
20562 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
20563 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
20565 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
20566 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20569 2012-02-13 Joseph Myers <joseph@codesourcery.com>
20571 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
20572 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
20573 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
20574 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
20576 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
20577 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20580 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
20582 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
20583 __feraiseexcept instead of feraiseexcept.
20585 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
20586 nanosleep invocations.
20587 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
20588 strings, and add error checking for a nanosleep invocations.
20590 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
20592 Replace FSF snail mail address with URLs, as per GNU coding standards.
20593 Most of the snail mail addresses were wrong anyway, and omitting
20594 them makes the source code easier to maintain. Almost all of the
20595 changes are to license notices and to locale LC_IDENTIFICATION
20596 addresses, except for this one:
20597 * manual/libc.texinfo: In "Published by", give the FSF's URL,
20598 not its snail mail address.
20600 2012-02-09 Richard Henderson <rth@twiddle.net>
20602 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
20603 of kernel-features.h.
20605 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
20607 2012-02-08 Marek Polacek <polacek@redhat.com>
20609 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
20610 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
20611 * sysdeps/gnu/_G_config.h: Likewise.
20612 * sysdeps/generic/_G_config.h: Likewise.
20614 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
20616 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
20618 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20620 * sysdeps/powerpc/powerpc32/crti.S: New file.
20621 * sysdeps/powerpc/powerpc32/crtn.S: New file.
20622 * sysdeps/powerpc/powerpc64/crti.S: New file.
20623 * sysdeps/powerpc/powerpc64/crtn.S: New file.
20625 * Makeconfig (have-initfini): Don't set.
20626 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
20627 * configure.in (nopic_initfini): Don't substitute.
20628 * config.h.in (HAVE_INITFINI): Don't #undef.
20629 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
20630 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
20632 2012-02-08 Joseph Myers <joseph@codesourcery.com>
20634 Support crti.S and crtn.S provided directly by architectures.
20635 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
20636 [crti.S in sysdirs] (omit-deps): Likewise.
20637 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
20638 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
20639 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
20640 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
20641 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
20642 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
20643 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
20644 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
20645 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
20646 compiler output for sysdeps/generic/initfini.c.
20647 * sysdeps/i386/elf/Makefile: Remove file.
20648 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
20650 2012-02-07 Marek Polacek <polacek@redhat.com>
20652 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
20653 * sysdeps/gnu/_G_config.h: Likewise.
20654 * sysdeps/mach/hurd/_G_config.h: Likewise.
20656 2012-02-07 Marek Polacek <polacek@redhat.com>
20658 * math/Makefile (tests): Add tst-CMPLX2.
20659 * math/tst-CMPLX2.c: New file.
20661 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
20663 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
20665 * math/libm-test.inc (jn_test): Add missing L suffix.
20667 2012-02-06 Marek Polacek <polacek@redhat.com>
20669 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
20670 * sysdeps/i386/fpu/e_powf.S: Likewise.
20671 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
20672 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
20673 * sysdeps/i386/fpu/e_acosh.S: Likewise.
20674 * sysdeps/i386/fpu/e_pow.S: Likewise.
20675 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
20676 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
20677 * sysdeps/i386/fpu/s_expm1.S: Likewise.
20678 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
20679 * sysdeps/i386/fpu/e_log2.S: Likewise.
20680 * sysdeps/i386/fpu/e_log2l.S: Likewise.
20681 * sysdeps/i386/fpu/e_scalb.S: Likewise.
20682 * sysdeps/i386/fpu/e_powl.S: Likewise.
20683 * sysdeps/i386/fpu/s_log1p.S: Likewise.
20684 * sysdeps/i386/fpu/e_log10f.S: Likewise.
20685 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
20686 * sysdeps/i386/fpu/e_logl.S: Likewise.
20687 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
20688 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
20689 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
20690 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
20691 * sysdeps/i386/fpu/e_log2f.S: Likewise.
20692 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
20693 * sysdeps/i386/fpu/e_log.S: Likewise.
20694 * sysdeps/i386/fpu/s_cexp.S: Likewise.
20695 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
20696 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
20697 * sysdeps/i386/fpu/e_logf.S: Likewise.
20698 * sysdeps/i386/fpu/e_log10l.S: Likewise.
20699 * sysdeps/i386/fpu/e_atanh.S: Likewise.
20700 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
20701 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
20702 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
20703 * sysdeps/i386/fpu/e_log10.S: Likewise.
20704 * sysdeps/i386/fpu/s_frexp.S: Likewise.
20705 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
20706 * sysdeps/i386/fpu/s_asinh.S: Likewise.
20707 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
20708 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
20709 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
20710 * sysdeps/i386/asm-syntax.h: Likewise.
20711 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
20712 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
20713 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
20714 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
20715 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
20716 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
20717 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
20718 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
20719 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
20720 * sysdeps/powerpc/sysdep.h: Likewise.
20721 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
20722 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
20724 2012-02-06 Joseph Myers <joseph@codesourcery.com>
20727 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
20729 2012-02-06 Joseph Myers <joseph@codesourcery.com>
20731 * sysdeps/i386/sysdep.h: Include <features.h>.
20732 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
20735 2012-02-05 Joseph Myers <joseph@codesourcery.com>
20737 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
20739 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
20742 2012-02-03 Joseph Myers <joseph@codesourcery.com>
20744 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
20745 (SETUP_PIC_REG): Use GET_PC_THUNK.
20746 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
20749 2012-02-03 Joseph Myers <joseph@codesourcery.com>
20751 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
20752 for non-PIC compilation.
20753 (SETUP_PIC_REG): Add .p2align directive.
20754 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
20755 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
20756 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
20757 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
20758 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
20759 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
20760 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
20761 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
20762 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
20763 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
20764 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
20765 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
20766 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
20767 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
20768 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
20769 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
20770 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
20771 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
20772 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
20773 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
20774 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
20775 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
20776 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
20777 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
20778 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
20779 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
20780 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
20781 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
20782 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
20783 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
20784 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
20785 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
20786 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
20787 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
20788 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
20789 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
20790 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
20791 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
20792 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
20793 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
20794 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
20796 2012-02-03 Joseph Myers <joseph@codesourcery.com>
20798 * math/tst-CMPLX.c: Include <stdio.h>.
20800 2012-01-31 Joseph Myers <joseph@codesourcery.com>
20802 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
20804 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
20805 * sysdeps/sparc/bits/mathdef.h: Likewise.
20807 2012-01-31 Marek Polacek <polacek@redhat.com>
20809 * libio/libio.h: Don't define _PARAMS.
20810 * locale/programs/config.h: Don't define PARAMS.
20811 * stdlib/strtol_l.c: Likewise.
20812 (__strtol_l): Remove PARAMS from the prototype.
20814 2012-01-31 Ulrich Drepper <drepper@gmail.com>
20816 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
20817 names. Just use the correct names. Remove unnecessary wrapper
20819 * malloc/arena.c: Likewise.
20820 * malloc/hooks.c: Likewise.
20822 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
20823 ARENA_TEST says not to. Simplify test for creation of a new arena.
20824 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
20826 2012-01-30 Ulrich Drepper <drepper@gmail.com>
20828 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
20830 (update_get_addr): New function.
20831 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
20832 GET_ADDR_MODULE parameter.
20834 2012-01-30 Joseph Myers <joseph@codesourcery.com>
20836 * crypt/cert.c: Remove __STDC__ conditionals.
20837 * crypt/crypt-entry.c: Likewise.
20838 * crypt/crypt_util.c: Likewise.
20839 * libio/filedoalloc.c: Likewise.
20840 * libio/fileops.c: Likewise.
20841 * libio/genops.c: Likewise.
20842 * libio/iofclose.c: Likewise.
20843 * libio/iofdopen.c: Likewise.
20844 * libio/iofopen.c: Likewise.
20845 * libio/iofopen64.c: Likewise.
20846 * libio/iogetdelim.c: Likewise.
20847 * libio/iopopen.c: Likewise.
20848 * libio/obprintf.c: Likewise.
20849 * libio/oldfileops.c: Likewise.
20850 * libio/oldiofclose.c: Likewise.
20851 * libio/oldiofdopen.c: Likewise.
20852 * libio/oldiofopen.c: Likewise.
20853 * libio/oldiopopen.c: Likewise.
20854 * libio/wfiledoalloc.c: Likewise.
20855 * libio/wgenops.c: Likewise.
20856 * locale/programs/xmalloc.c: Likewise.
20857 * misc/syslog.c: Likewise.
20858 * stdio-common/xbug.c: Likewise.
20859 * string/memchr.c: Likewise.
20860 * string/memcmp.c: Likewise.
20861 * string/memrchr.c: Likewise.
20862 * string/rawmemchr.c: Likewise.
20863 * sysdeps/posix/getcwd.c: Likewise.
20864 * time/strftime_l.c: Likewise.
20866 2012-01-30 Joseph Myers <joseph@codesourcery.com>
20868 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
20869 * config.make.in (config-cflags-sse2avx): Define.
20870 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
20873 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
20875 * scripts/config.guess: Update from upstream config git repository.
20876 * scripts/config.sub: Likewise.
20878 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
20880 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
20882 (R_TILEPRO_*, R_TILEGX_*): New macros.
20884 * scripts/firstversions.awk: Fix bug in version range handling.
20886 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
20888 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
20890 * include/sys/epoll.h: New file.
20891 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
20894 2012-01-28 Ulrich Drepper <drepper@gmail.com>
20896 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
20897 Avoid unnecessary __WORDSIZE == 64 test.
20898 (fmaxf): Use VEX format if possible.
20903 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
20904 * math/math_private.h: Remove libc_fegetround* and
20906 * sysdeps/i386/configure.in: Check for -msse2avx.
20907 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
20908 also if SSE2AVX is defined.
20909 Remove libc_fegetround* and libc_fesetround*.
20910 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
20911 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
20912 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
20914 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
20915 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
20916 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
20917 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
20918 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
20920 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
20922 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20924 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
20926 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
20928 2012-01-27 Ulrich Drepper <drepper@gmail.com>
20931 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
20933 * Makeconfig (libm): Define.
20934 * elf/Makefile: Add rules to build and run tst-relsort1.
20935 * elf/tst-relsort1.c: New file.
20936 * elf/tst-relsort1mod1.c: New file.
20937 * elf/tst-relsort1mod2.c: New file.
20939 2012-01-27 Joseph Myers <joseph@codesourcery.com>
20941 * math/s_ldexp.c: Remove __STDC__ conditionals.
20942 * math/s_ldexpf.c: Likewise.
20943 * math/s_ldexpl.c: Likewise.
20944 * math/s_nextafter.c: Likewise.
20945 * math/s_nexttowardf.c: Likewise.
20946 * math/s_significand.c: Likewise.
20947 * math/s_significandf.c: Likewise.
20948 * math/s_significandl.c: Likewise.
20949 * math/w_jnl.c: Likewise.
20950 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
20951 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
20952 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
20953 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
20954 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
20955 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
20956 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
20957 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
20958 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
20959 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
20960 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
20961 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
20962 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
20963 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
20964 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
20965 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
20966 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
20967 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
20968 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
20969 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
20970 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
20971 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
20972 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
20973 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
20974 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
20975 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
20976 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
20977 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
20978 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
20979 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
20980 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
20981 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
20982 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
20983 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
20984 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
20985 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
20986 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
20987 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
20988 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
20989 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
20990 * sysdeps/ieee754/k_standard.c: Likewise.
20991 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
20992 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
20993 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
20994 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
20995 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
20996 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
20997 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
20998 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
20999 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
21000 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
21001 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
21002 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
21003 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
21004 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
21005 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
21006 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
21007 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
21008 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
21009 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
21010 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
21011 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
21012 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
21013 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
21014 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
21015 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
21016 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
21017 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
21018 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
21019 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
21020 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
21021 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
21022 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
21023 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
21024 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
21025 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
21026 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
21027 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
21028 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
21029 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
21030 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
21031 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
21032 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
21033 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
21034 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
21035 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
21036 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
21037 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
21038 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
21039 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
21040 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
21041 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
21042 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
21043 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
21044 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
21045 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
21046 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
21047 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
21048 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
21049 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
21050 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
21051 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
21052 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
21053 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
21054 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
21055 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
21056 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
21057 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
21058 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
21059 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
21060 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
21061 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
21062 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
21063 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
21064 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
21065 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
21066 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
21067 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
21068 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
21069 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
21070 * sysdeps/ieee754/s_matherr.c: Likewise.
21071 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
21072 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
21073 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
21074 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
21076 2012-01-26 Joseph Myers <joseph@codesourcery.com>
21078 * crypt/md5.h: Remove __STDC__ conditionals.
21079 * libio/libioP.h: Likewise.
21080 * locale/programs/config.h: Likewise.
21081 * sysdeps/generic/sysdep.h: Likewise.
21082 * sysdeps/i386/asm-syntax.h: Likewise.
21083 * sysdeps/s390/asm-syntax.h: Likewise.
21084 * sysdeps/unix/sysdep.h: Likewise.
21085 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
21086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
21088 2012-01-26 Joseph Myers <joseph@codesourcery.com>
21090 * libio/libio.h: Remove __STDC__ conditionals.
21091 * malloc/obstack.h: Likewise.
21092 * math/complex.h: Likewise.
21093 * math/math.h: Likewise.
21094 * sysdeps/generic/_G_config.h: Likewise.
21095 * sysdeps/gnu/_G_config.h: Likewise.
21096 * sysdeps/mach/hurd/_G_config.h: Likewise.
21097 * sysdeps/powerpc/bits/mathdef.h: Likewise.
21098 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
21099 * sysdeps/sparc/bits/mathdef.h: Likewise.
21101 2012-01-26 Ulrich Drepper <drepper@gmail.com>
21104 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
21105 Clean up HAS_* macros.
21106 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
21107 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
21109 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
21111 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
21112 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
21113 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
21114 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
21115 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
21117 2012-01-25 Joseph Myers <joseph@codesourcery.com>
21119 * elf/tst-unique3.cc (gets): Remove declaration.
21120 * elf/tst-unique3lib.cc (gets): Likewise.
21121 * elf/tst-unique3lib2.cc (gets): Likewise.
21122 * elf/tst-unique4.cc (gets): Likewise.
21124 2012-01-24 Ulrich Drepper <drepper@gmail.com>
21126 * include/stdio.h: Add C++ protection. Add gets declarations and
21128 * debug/tst-chk1.c: Don't declare gets here.
21129 * stdio-common/tst-gets.c: Likewise.
21131 2012-01-24 Joseph Myers <joseph@codesourcery.com>
21133 * posix/glob: Remove directory.
21135 2012-01-24 Joseph Myers <joseph@codesourcery.com>
21137 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
21139 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
21141 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
21142 of the non-standard EPFNOSUPPORT.
21144 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
21146 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
21147 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
21148 ANYWHERE set to 1 only on KERN_NO_SPACE error.
21150 2012-01-21 Ulrich Drepper <drepper@gmail.com>
21152 * wcsmbs/uchar.h: Test __STDC_VERSION__.
21154 2012-01-20 Ulrich Drepper <drepper@gmail.com>
21156 * nscd/aicache.c (addhstaiX): Do not cache negative results of
21158 * nscd/grpcache.c (cache_addgr): Likewise.
21159 * nscd/hstcache.c (cache_addhst): Likewise.
21160 * nscd/initgrcache.c (addinitgroupsX): Likewise.
21161 * nscd/pwdcache.c (cache_addpw): Likewise.
21162 * nscd/servicescache.c (cache_addserv): Likewise.
21164 2012-01-16 Ulrich Drepper <drepper@gmail.com>
21166 * malloc/malloc.c: Various cleanups.
21167 * malloc/hooks.c: Likewise.
21169 * stdlib/Makefile (tests): Add bug-fmtmsg1.
21170 * stdlib/bug-fmtmsg1.c: New file.
21172 * stdlib/fmtmsg.c (init): Add missing unlock.
21173 Patch by Peng Haitao <penght@cn.fujitsu.com>.
21175 2012-01-12 Marek Polacek <polacek@redhat.com>
21177 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
21180 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
21182 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
21183 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
21184 macro to ensure uniqueness of label name.
21185 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
21186 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
21188 2012-01-11 Ulrich Drepper <drepper@gmail.com>
21190 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
21192 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
21193 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
21194 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
21195 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
21197 2012-01-10 Ulrich Drepper <drepper@gmail.com>
21199 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
21201 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
21202 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
21203 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
21205 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
21207 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
21208 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
21209 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
21210 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
21212 * math/bits/math-finite.h: Add ldexp support.
21214 2012-01-10 Marek Polacek <polacek@redhat.com>
21216 * locale/programs/localedef.h (show_archive_content): Add noreturn
21219 2012-01-09 Ulrich Drepper <drepper@gmail.com>
21221 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
21223 2012-01-08 Ulrich Drepper <drepper@gmail.com>
21225 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
21227 * io/Makefile (headers): Add bits/poll2.h.
21229 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
21231 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
21232 typo #include statement.
21234 2012-01-08 Ulrich Drepper <drepper@gmail.com>
21236 * include/sys/cdefs.h: Define __attribute_alloc_size.
21237 * catgets/gencat.c: Add alloc_size attribute and apply consistently
21238 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
21239 * elf/pldd.c: Likewise.
21240 * iconv/iconv_charmap.c: Likewise.
21241 * iconv/iconvconfig.c: Likewise.
21242 * iconv/strtab.c: Likewise.
21243 * locale/programs/locale.c: Likewise.
21244 * locale/programs/localedef.h: Likewise.
21245 * locale/programs/simple-hash.c: Likewise.
21246 * nscd/nscd.h: Likewise.
21247 * nss/makedb.c: Likewise.
21248 * sysdeps/generic/ldconfig.h: Likewise.
21249 * locale/programs/localedef.c: Remove xmalloc prototype.
21250 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
21252 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
21254 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
21257 2012-01-08 Ulrich Drepper <drepper@gmail.com>
21259 * math/Makefile (tests): Add tst-CMPLX.
21260 * math/tst-CMPLX.c: New file.
21262 * math/complex.h (CMPLXL): Fix typo.
21264 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
21265 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
21267 * debug/tst-chk1.c: Add poll and ppoll tests.
21268 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
21269 * include/sys/poll.h: Add hidden proto for ppoll.
21270 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
21271 * sysdeps/mach/hurd/ppoll.c: Likewise.
21272 * io/ppoll.c: Likewise.
21273 * debug/poll_chk.c: New file.
21274 * debug/ppoll_chk.c: New file.
21275 * include/bits/poll2.h: New file.
21276 * io/bits/poll2.h: New file.
21279 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
21281 * configure.in: static is always set to yes. Remove.
21282 * config.make.in: Don't set build-static.
21283 * Makeconfig: Remove use of build-static.
21284 * dlfcn/Makefile: Likewise.
21285 * elf/Makefile: Likewise.
21286 * math/Makefile: Likewise.
21287 * misc/Makefile: Likewise.
21288 * nptl/Makefile: Likewise.
21289 * sysdeps/mach/hurd/Makefile: Likewise.
21291 * configure.in: PWD_P is not used anymore.
21292 * config.make.in: Remove PWD_P entry.
21294 * configure.in: Remove last remnants of RANLIB.
21295 No need to check for signed size_t anymore.
21296 Don't set libc_commonpagesize and libc_relro_required here for Alpha
21298 Remove __builtin_expect test because we require at least gcc 3.4.
21299 * aclocal.m4: Likewise.
21301 * wcsmbs/mbrtoc16.c: Implement using towc function.
21302 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
21303 * wcsmbs/wcsmbsload.c: Likewise.
21304 * iconv/gconv_simple.c: Likewise.
21305 * iconv/gconv_int.h: Likewise.
21306 * iconv/gconv_builtin.h: Likewise.
21307 * iconv/iconv_prog.c: Remove CHAR16 handling.
21309 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
21311 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
21313 * configure.in: Remove --with-elf and --enable-bounded options.
21314 Dont set base_machine for ia64. More non-ELF conditions removed.
21315 Remove testing and setting of leading underscore information.
21316 * config.make.in (build-bounded): Set to no.
21317 * config.h.in: Remove NO_UNDERSCORES entry.
21318 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
21320 * csu/start.c: Remove !NO_UNDERSCORE code.
21321 * locale/localeinfo.h: Likewise.
21322 * sysdeps/generic/machine-gmon.h: Likewise.
21323 * sysdeps/generic/sysdep.h: Likewise.
21324 * sysdeps/i386/sysdep.h: Likewise.
21325 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
21326 * sysdeps/mach/sysdep.h: Likewise.
21327 * sysdeps/s390/s390-32/sysdep.h: Likewise.
21328 * sysdeps/s390/s390-64/sysdep.h: Likewise.
21329 * sysdeps/sh/sysdep.h: Likewise.
21330 * sysdeps/sparc/sparc32/alloca.S: Likewise.
21331 * sysdeps/unix/i386/sysdep.S: Likewise.
21332 * sysdeps/unix/sparc/start.c: Likewise.
21333 * sysdeps/unix/sparc/sysdep.S: Likewise.
21334 * sysdeps/unix/sparc/sysdep.h: Likewise.
21335 * sysdeps/unix/start.c: Likewise.
21336 * sysdeps/unix/x86_64/sysdep.S: Likewise.
21337 * sysdeps/x86_64/sysdep.h: Likewise.
21339 2012-01-07 Ulrich Drepper <drepper@gmail.com>
21342 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
21344 * argp/argp-fmtstream.h: Use const instead __const.
21345 * argp/argp.h: Likewise.
21346 * assert/assert.h: Likewise.
21347 * bits/fenv.h: Likewise.
21348 * bits/sched.h: Likewise.
21349 * bits/sigset.h: Likewise.
21350 * bits/sigthread.h: Likewise.
21351 * catgets/nl_types.h: Likewise.
21352 * conform/data/pthread.h-data: Likewise.
21353 * crypt/crypt-private.h: Likewise.
21354 * crypt/crypt.h: Likewise.
21355 * crypt/crypt_util.c: Likewise.
21356 * ctype/ctype.h: Likewise.
21357 * debug/execinfo.h: Likewise.
21358 * debug/mbsnrtowcs_chk.c: Likewise.
21359 * debug/mbsrtowcs_chk.c: Likewise.
21360 * debug/wcsnrtombs_chk.c: Likewise.
21361 * debug/wcsrtombs_chk.c: Likewise.
21362 * debug/wcstombs_chk.c: Likewise.
21363 * dirent/dirent.h: Likewise.
21364 * dlfcn/dlfcn.h: Likewise.
21365 * elf/neededtest4.c: Likewise.
21366 * grp/grp.h: Likewise.
21367 * gshadow/gshadow.h: Likewise.
21368 * iconv/gconv.h: Likewise.
21369 * iconv/gconv_int.h: Likewise.
21370 * iconv/gconv_simple.c: Likewise.
21371 * iconv/iconv.h: Likewise.
21372 * iconv/loop.c: Likewise.
21373 * iconv/skeleton.c: Likewise.
21374 * include/aio.h: Likewise.
21375 * include/aliases.h: Likewise.
21376 * include/argz.h: Likewise.
21377 * include/arpa/inet.h: Likewise.
21378 * include/assert.h: Likewise.
21379 * include/dirent.h: Likewise.
21380 * include/dlfcn.h: Likewise.
21381 * include/execinfo.h: Likewise.
21382 * include/fcntl.h: Likewise.
21383 * include/fenv.h: Likewise.
21384 * include/glob.h: Likewise.
21385 * include/grp.h: Likewise.
21386 * include/libintl.h: Likewise.
21387 * include/mntent.h: Likewise.
21388 * include/netdb.h: Likewise.
21389 * include/pwd.h: Likewise.
21390 * include/rpc/netdb.h: Likewise.
21391 * include/sched.h: Likewise.
21392 * include/search.h: Likewise.
21393 * include/shadow.h: Likewise.
21394 * include/signal.h: Likewise.
21395 * include/stdio.h: Likewise.
21396 * include/stdlib.h: Likewise.
21397 * include/string.h: Likewise.
21398 * include/sys/socket.h: Likewise.
21399 * include/sys/stat.h: Likewise.
21400 * include/sys/statfs.h: Likewise.
21401 * include/sys/statvfs.h: Likewise.
21402 * include/sys/syslog.h: Likewise.
21403 * include/sys/time.h: Likewise.
21404 * include/sys/uio.h: Likewise.
21405 * include/time.h: Likewise.
21406 * include/unistd.h: Likewise.
21407 * include/utmp.h: Likewise.
21408 * include/wchar.h: Likewise.
21409 * include/wctype.h: Likewise.
21410 * inet/aliases.h: Likewise.
21411 * inet/arpa/inet.h: Likewise.
21412 * inet/netinet/ether.h: Likewise.
21413 * inet/netinet/in.h: Likewise.
21414 * intl/libintl.h: Likewise.
21415 * io/bits/fcntl2.h: Likewise.
21416 * io/fcntl.h: Likewise.
21417 * io/ftw.h: Likewise.
21418 * io/sys/poll.h: Likewise.
21419 * io/sys/stat.h: Likewise.
21420 * io/sys/statfs.h: Likewise.
21421 * io/sys/statvfs.h: Likewise.
21422 * io/utime.h: Likewise.
21423 * libio/bits/stdio.h: Likewise.
21424 * libio/bits/stdio2.h: Likewise.
21425 * libio/libio.h: Likewise.
21426 * libio/libioP.h: Likewise.
21427 * libio/stdio.h: Likewise.
21428 * locale/lc-ctype.c: Likewise.
21429 * locale/locale.h: Likewise.
21430 * login/utmp.h: Likewise.
21431 * malloc/arena.c: Likewise.
21432 * malloc/malloc.c: Likewise.
21433 * malloc/malloc.h: Likewise.
21434 * malloc/mcheck.c: Likewise.
21435 * malloc/mtrace.c: Likewise.
21436 * math/bits/mathcalls.h: Likewise.
21437 * math/fenv.h: Likewise.
21438 * math/math_private.h: Likewise.
21439 * misc/bits/error.h: Likewise.
21440 * misc/bits/syslog.h: Likewise.
21441 * misc/err.h: Likewise.
21442 * misc/error.h: Likewise.
21443 * misc/fstab.h: Likewise.
21444 * misc/mntent.h: Likewise.
21445 * misc/regexp.h: Likewise.
21446 * misc/search.h: Likewise.
21447 * misc/sgtty.h: Likewise.
21448 * misc/sys/mman.h: Likewise.
21449 * misc/sys/syslog.h: Likewise.
21450 * misc/sys/uio.h: Likewise.
21451 * misc/sys/xattr.h: Likewise.
21452 * misc/ttyent.h: Likewise.
21453 * nis/rpcsvc/ypclnt.h: Likewise.
21454 * nss/nss.h: Likewise.
21455 * posix/bits/unistd.h: Likewise.
21456 * posix/fnmatch.h: Likewise.
21457 * posix/glob.h: Likewise.
21458 * posix/sched.h: Likewise.
21459 * posix/spawn.h: Likewise.
21460 * posix/sys/wait.h: Likewise.
21461 * posix/unistd.h: Likewise.
21462 * posix/wordexp.h: Likewise.
21463 * pwd/pwd.h: Likewise.
21464 * resolv/netdb.h: Likewise.
21465 * resource/sys/resource.h: Likewise.
21466 * rt/aio.h: Likewise.
21467 * rt/bits/mqueue2.h: Likewise.
21468 * rt/mqueue.h: Likewise.
21469 * shadow/shadow.h: Likewise.
21470 * signal/signal.h: Likewise.
21471 * socket/send.c: Likewise.
21472 * socket/sendto.c: Likewise.
21473 * socket/sys/socket.h: Likewise.
21474 * stdio-common/printf.h: Likewise.
21475 * stdlib/bits/stdlib.h: Likewise.
21476 * stdlib/fmtmsg.h: Likewise.
21477 * stdlib/monetary.h: Likewise.
21478 * stdlib/stdlib.h: Likewise.
21479 * stdlib/ucontext.h: Likewise.
21480 * streams/stropts.h: Likewise.
21481 * string/argz.h: Likewise.
21482 * string/bits/string2.h: Likewise.
21483 * string/string.h: Likewise.
21484 * string/strings.h: Likewise.
21485 * sunrpc/rpc/auth.h: Likewise.
21486 * sunrpc/rpc/auth_des.h: Likewise.
21487 * sunrpc/rpc/clnt.h: Likewise.
21488 * sunrpc/rpc/netdb.h: Likewise.
21489 * sunrpc/rpc/pmap_clnt.h: Likewise.
21490 * sunrpc/rpc/xdr.h: Likewise.
21491 * sysdeps/generic/inttypes.h: Likewise.
21492 * sysdeps/generic/net/if.h: Likewise.
21493 * sysdeps/generic/sys/swap.h: Likewise.
21494 * sysdeps/gnu/net/if.h: Likewise.
21495 * sysdeps/gnu/utmpx.h: Likewise.
21496 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
21497 * sysdeps/i386/i486/bits/string.h: Likewise.
21498 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
21499 * sysdeps/s390/bits/string.h: Likewise.
21500 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
21501 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
21502 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
21503 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
21504 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
21505 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
21506 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
21507 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
21508 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
21509 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
21510 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
21511 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
21512 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
21513 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
21514 * sysdeps/unix/sysv/linux/readv.c: Likewise.
21515 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
21516 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
21517 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
21518 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
21519 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
21520 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
21521 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
21522 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
21523 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
21524 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
21525 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
21526 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
21527 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
21528 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
21529 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
21530 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
21531 * sysvipc/sys/ipc.h: Likewise.
21532 * sysvipc/sys/msg.h: Likewise.
21533 * sysvipc/sys/sem.h: Likewise.
21534 * sysvipc/sys/shm.h: Likewise.
21535 * termios/termios.h: Likewise.
21536 * time/sys/time.h: Likewise.
21537 * time/time.h: Likewise.
21538 * wcsmbs/bits/wchar2.h: Likewise.
21539 * wcsmbs/uchar.h: Likewise.
21540 * wcsmbs/wchar.h: Likewise.
21541 * wctype/wctype.h: Likewise.
21544 * Makeconfig: Remove all but ELF support including AIX support.
21545 * Makerules: Likewise.
21546 * config.h.in: Likewise.
21547 * config.make.in: Likewise.
21548 * configure: Likewise.
21549 * configure.in: Likewise.
21550 * csu/Makefile: Likewise.
21551 * csu/version.c: Likewise.
21552 * debug/Makefile: Likewise.
21553 * dlfcn/Makefile: Likewise.
21554 * elf/Makefile: Likewise.
21555 * extra-lib.mk: Likewise.
21556 * iconv/Makefile: Likewise.
21557 * include/libc-symbols.h: Likewise.
21558 * include/shlib-compat.h: Likewise.
21559 * resolv/Makefile: Likewise.
21560 * resolv/res_libc.c: Likewise.
21561 * rt/Makefile: Likewise.
21562 * sysdeps/i386/asm-syntax.h: Likewise.
21563 * sysdeps/i386/sysdep.h: Likewise.
21564 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
21565 * sysdeps/mach/sysdep.h: Likewise.
21566 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
21567 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
21568 * sysdeps/s390/asm-syntax.h: Likewise.
21569 * sysdeps/s390/s390-32/sysdep.h: Likewise.
21570 * sysdeps/s390/s390-64/sysdep.h: Likewise.
21571 * sysdeps/sh/sysdep.h: Likewise.
21572 * sysdeps/unix/sparc/sysdep.h: Likewise.
21573 * sysdeps/wordsize-32/divdi3.c: Likewise.
21574 * sysdeps/x86_64/sysdep.h: Likewise.
21576 * argp/Versions: Remove _argp_unlock_xxx.
21579 * abilist/ld.abilist: Update. Adjust for removal of tls option.
21580 * abilist/libBrokenLocale.abilist: Likewise.
21581 * abilist/libanl.abilist: Likewise.
21582 * abilist/libc.abilist: Likewise.
21583 * abilist/libcrypt.abilist: Likewise.
21584 * abilist/libdl.abilist: Likewise.
21585 * abilist/libm.abilist: Likewise.
21586 * abilist/libnsl.abilist: Likewise.
21587 * abilist/libpthread.abilist: Likewise.
21588 * abilist/libresolv.abilist: Likewise.
21589 * abilist/librt.abilist: Likewise.
21590 * abilist/libthread_db.abilist: Likewise.
21591 * abilist/libutil.abilist: Likewise.
21592 * abilist/libnss_db.abilist: New file.
21594 * scripts/abilist.awk: Add support for indirect functions.
21596 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
21598 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
21600 * shlib-versions: Remove entries for ports architectures.
21602 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
21604 * elf/stackguard-macros.h: Remove support for IA-64.
21605 * elf/tst-auditmod1.c: Likewise.
21606 * sysdeps/generic/ldsodefs.h: Likewise.
21608 * sysdeps/unix/sysv/linux/configure.in: Ports should define
21609 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
21613 * configure.in: Remove --enable-omitfp support.
21615 * config.make.in: Likewise.
21616 * Makeconfig: Likewise.
21617 * manual/install.texi: Likewise.
21619 In case anyone cares, the IA-64 architecture could move to ports.
21620 * sysdeps/ia64/*: Removed.
21621 * sysdeps/unix/sysv/linux/ia64/*: Removed.
21622 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
21625 * configure.in: Remove entries for unsupported architectures.
21628 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
21629 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
21631 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
21632 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
21633 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
21634 fall back to using wcrtomb.
21635 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
21636 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
21638 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
21639 * wcsmbs/tst-c16c32-1.c: New file.
21641 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
21644 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
21646 * elf/tst-unique3.cc: Add explicit declaration of gets.
21647 * elf/tst-unique3lib.cc: Likewise.
21648 * elf/tst-unique3lib2.cc: Likewise.
21649 * elf/tst-unique4.cc: Likewise.
21651 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
21653 2012-01-06 Joseph Myers <joseph@codesourcery.com>
21656 * assert/assert.h (static_assert): Don't define for C++.
21657 * libio/stdio.h (gets): Do declare for C++ <= C++11.
21658 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
21660 2012-01-03 Ulrich Drepper <drepper@gmail.com>
21662 * iconv/loop.c (single loop): Fix assertion in storing of
21665 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
21667 2012-01-01 Ulrich Drepper <drepper@gmail.com>
21669 * posix/getconf.c: Update copyright year.
21670 * nss/getent.c: Likewise.
21671 * nss/makedb.c: Likewise.
21672 * iconv/iconvconfig.c: Likewise.
21673 * iconv/iconv_prog.c: Likewise.
21674 * elf/ldconfig.c: Likewise.
21675 * elf/pldd.c: Likewise.
21676 * elf/sotruss.ksh: Likewise.
21677 * catgets/gencat.c: Likewise.
21678 * csu/version.c: Likewise.
21679 * elf/ldd.bash.in: Likewise.
21680 * elf/sprof.c (print_version): Likewise.
21681 * locale/programs/locale.c: Likewise.
21682 * locale/programs/localedef.c: Likewise.
21683 * login/programs/pt_chown.c: Likewise.
21684 * nscd/nscd.c (print_version): Likewise.
21685 * debug/xtrace.sh: Likewise.
21686 * malloc/memusage.sh: Likewise.
21687 * malloc/mtrace.pl: Likewise.
21688 * debug/catchsegv.sh: Likewise.
21690 2011-12-30 Jakub Jelinek <jakub@redhat.com>
21692 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
21695 2011-12-24 Ulrich Drepper <drepper@gmail.com>
21698 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
21699 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
21701 * iconv/gconv_int.h: Likewise.
21702 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
21703 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
21704 from libc for GLIBC_2.16.
21705 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
21706 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
21707 * wcsmbs/uchar.h: Really define mbstate_t.
21708 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
21709 * wcsmbs/c16rtomb.c: New file.
21710 * wcsmbs/mbrtoc16.c: New file.
21711 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
21712 for C/POSIX locale.
21713 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
21714 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
21716 * wcsmbs/wchar.h: Add missing __restrict.
21718 2011-12-23 Ulrich Drepper <drepper@gmail.com>
21721 * time/Makefile (routines): Add timespec_get.
21722 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
21723 * time/time.h: Define TIME_UTC and declare timespec_get. Define
21724 timespec for ISO C11.
21725 * time/timespec_get.c: New file.
21726 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
21727 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
21730 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
21731 * stdlib/stdlib.h: Declare aligned_alloc.
21732 * Versions.def: Add GLIBC_2.16 for libc.
21733 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
21736 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
21739 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
21743 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
21746 * assert/assert.h (static_assert): Define.
21748 * version.h: Update for 2.16 development version.
21751 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
21754 * version.h (RELEASE): Bump for 2.15 release.
21755 * include/features.h (__GLIBC_MINOR__): Bump to 15.
21757 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
21758 Patch by Marek Polacek <mpolacek@redhat.com>.
21760 * bits/byteswap.h: Protect long long constants with __extension__.
21761 * sysdeps/i386/bits/byteswap.h: Likewise.
21762 * sysdeps/ia64/bits/byteswap.h: Likewise.
21763 * sysdeps/s390/bits/byteswap.h: Likewise.
21764 * sysdeps/x86_64/bits/byteswap.h: Likewise.
21766 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21769 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
21770 destination buffer.
21771 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
21773 2011-12-23 Marek Polacek <polacek@redhat.com>
21775 * elf/dl-addr.c (determine_info): Add inline keyword.
21776 * elf/tst-auditmod4b.c (check_avx): Likewise.
21777 * elf/tst-auditmod6b.c (check_avx): Likewise.
21778 * elf/tst-auditmod6c.c (check_avx): Likewise.
21779 * elf/tst-auditmod7b.c (check_avx): Likewise.
21781 2011-12-23 Ulrich Drepper <drepper@gmail.com>
21783 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
21786 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21789 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
21790 processing for last bytes.
21792 2011-08-06 Bruno Haible <bruno@clisp.org>
21795 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
21796 U+0385, not to U+1FEE.
21799 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
21800 entry for U+00A5 U+0301.
21802 2011-12-22 Ulrich Drepper <drepper@gmail.com>
21805 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
21806 buffer for the output is too small.
21808 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
21812 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
21813 SSE flags if possible.
21815 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21818 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
21819 processing for last bytes.
21821 2011-12-22 Joseph Myers <joseph@codesourcery.com>
21823 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
21824 (syscall-list-default-options, syscall-list-default-condition)
21825 (syscall-list-includes): Define.
21826 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
21827 list of ABIs and options and #if conditions for each ABI. Do not
21828 handle common syscalls between ABIs specially.
21829 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
21831 (syscall-list-variants, syscall-list-32bit-options)
21832 (syscall-list-32bit-condition, syscall-list-64bit-options)
21833 (syscall-list-64bit-condition): Define.
21834 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
21835 (syscall-list-variants, syscall-list-32bit-options)
21836 (syscall-list-32bit-condition, syscall-list-64bit-options)
21837 (syscall-list-64bit-condition): Define.
21838 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
21840 (syscall-list-variants, syscall-list-32bit-options)
21841 (syscall-list-32bit-condition, syscall-list-64bit-options)
21842 (syscall-list-64bit-condition): Define.
21843 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
21845 (syscall-list-variants, syscall-list-32bit-options)
21846 (syscall-list-32bit-condition, syscall-list-64bit-options)
21847 (syscall-list-64bit-condition): Define.
21849 2011-12-22 Ulrich Drepper <drepper@gmail.com>
21851 * locale/iso-639.def: Add brx entry.
21854 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
21855 Proposed by Mariusz_Cukr <marcukr@op.pl>.
21857 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
21858 __feraiseexcept_renamed.
21860 2011-12-21 Ulrich Drepper <drepper@gmail.com>
21863 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
21864 EPOLLET with unsigned values.
21865 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
21866 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
21868 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
21869 to large cancellation.
21870 * math/s_cacoshf.c: Likewise.
21871 * math/s_cacoshl.c: Likewise.
21873 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
21877 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
21878 * math/s_cacoshf.c: Likewise.
21879 * math/s_cacoshl.c: Likewise.
21881 2011-12-21 Ulrich Drepper <drepper@gmail.com>
21884 * iconv/gconv.h: Define __GCONV_SWAP.
21885 * iconvdata/unicode.c: The swap bit must be stored in __flags.
21886 * iconvdata/utf-16.c: Likewise.
21887 * iconvdata/utf-32.c: Likewise.
21889 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
21892 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
21893 numerator after shifting it by one limb.
21895 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
21897 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
21898 under [__USE_EXTERN_INLINES].
21900 2011-12-17 Ulrich Drepper <drepper@gmail.com>
21903 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
21905 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21907 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
21908 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
21910 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
21911 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
21912 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
21913 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
21914 for strncasecmp/strncasecmp_l compilation.
21915 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
21916 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
21918 2011-12-08 Marek Polacek <mpolacek@redhat.com>
21921 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
21924 2011-12-17 Ulrich Drepper <drepper@gmail.com>
21927 * time/tzfile.c (__tzfile_read): Check values from file header.
21929 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
21931 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
21932 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
21933 * powerpc/powerpc32/dl-start.S: Likewise.
21934 * powerpc/powerpc32/elf/start.S: Likewise.
21935 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
21936 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
21937 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
21938 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
21939 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
21940 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
21941 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
21942 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
21943 * powerpc/powerpc32/fpu/s_round.S: Likewise.
21944 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
21945 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
21946 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
21947 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
21948 * powerpc/powerpc32/memset.S: Likewise.
21949 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
21950 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
21951 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
21952 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
21953 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
21954 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
21955 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
21956 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
21957 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
21958 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
21959 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
21960 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
21961 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
21963 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21965 * math/libm-test.inc: Added more nearbyint tests.
21966 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
21967 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
21968 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
21969 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
21971 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
21973 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
21976 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21978 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
21979 Add wcscpy-ssse3 wcscpy-c.
21980 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
21981 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
21982 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
21983 * sysdeps/x86_64/wcschr.S: New file.
21984 * sysdeps/x86_64/wcsrchr.S: New file.
21985 * string/test-strcmp.c: Remove checking of wcscmp function for
21987 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
21988 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
21989 wcsrchr-sse2 wcsrchr-c.
21990 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
21991 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
21992 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
21993 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
21994 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
21995 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
21996 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
21997 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
21998 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
21999 * wcsmbc/wcschr.c (WCSCHR): New macro.
22001 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22003 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
22004 * wcsmbs/test-wcsrchr.c: New file.
22005 * string/test-strrchr.c: Add wcsrchr support.
22007 * wcsmbs/test-wcscpy.c: New file.
22008 * string/test-strcpy.c: Add wcscpy support.
22011 2011-12-10 Ulrich Drepper <drepper@gmail.com>
22013 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
22016 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
22019 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
22021 2011-12-04 Ulrich Drepper <drepper@gmail.com>
22023 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
22024 Minor optimizations.
22026 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
22027 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
22028 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
22030 2011-12-03 Ulrich Drepper <drepper@gmail.com>
22032 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
22033 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
22034 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
22035 for gcc to avoid warnings.
22036 * inet/Makefile (tests): Add tst-checks.
22037 * inet/tst-checks.c: New file.
22039 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
22042 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
22045 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
22046 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
22048 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
22050 2011-12-02 Ulrich Drepper <drepper@gmail.com>
22052 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
22055 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
22057 2011-11-29 Joseph Myers <joseph@codesourcery.com>
22059 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
22060 conditional on GCC version.
22061 (__arch_compare_and_exchange_val_8_acq)
22062 (__arch_compare_and_exchange_val_16_acq)
22063 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
22064 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
22065 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
22067 2011-12-02 Joseph Myers <joseph@codesourcery.com>
22069 * sysdeps/sh/backtrace.c: New file.
22071 2011-12-02 Andreas Schwab <schwab@redhat.com>
22073 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
22076 2011-12-01 Andreas Schwab <schwab@redhat.com>
22078 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
22079 falling back to utime.
22081 2011-11-30 Andreas Schwab <schwab@redhat.com>
22083 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
22084 expectations for float.
22086 2011-11-29 Andreas Schwab <schwab@redhat.com>
22088 * locale/weight.h (findidx): Add parameter len.
22089 * locale/weightwc.h (findidx): Likewise.
22090 * posix/fnmatch_loop.c (FCT): Adjust caller.
22091 * posix/regcomp.c (build_equiv_class): Likewise.
22092 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
22093 * posix/regexec.c (check_node_accept_bytes): Likewise.
22094 * string/strcoll_l.c (STRCOLL): Likewise.
22095 * string/strxfrm_l.c (STRXFRM): Likewise.
22097 2011-11-17 Ulrich Drepper <drepper@gmail.com>
22099 * Makefile.in: Remove CVSOPT handling.
22100 * configure.in: Remove use of AC_REVISION.
22101 * iconvdata/Makefile (distribute): No need to filter out CVS.
22102 * scripts/list-sources.sh: Remove CVS, subversion and monotone
22105 2011-11-16 Andreas Schwab <schwab@redhat.com>
22107 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
22108 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
22109 [USE_AS_STRNCASECMP_L]: Likewise.
22110 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
22111 NO_TLS_DIRECT_SEG_REFS.
22112 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
22113 Fix argument offsets for non-PIC.
22114 [USE_AS_STRNCASECMP_L]: Likewise.
22115 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
22116 NO_TLS_DIRECT_SEG_REFS.
22118 2011-11-15 Ulrich Drepper <drepper@gmail.com>
22120 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
22122 * locale/loadlocale.c (_nl_load_locale): Likewise.
22124 2011-11-15 Andreas Schwab <schwab@redhat.com>
22126 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
22127 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
22128 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
22129 (SYSCALL_GETTIME): Set errno on error.
22131 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
22132 count references to noai6ai_cached.
22134 2011-11-15 Ulrich Drepper <drepper@gmail.com>
22136 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
22138 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
22139 FD_CLOEXEC for /proc/self/maps.
22141 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
22142 FD_CLOEXEC for /proc/meminfo.
22144 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
22147 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
22148 FD_CLOEXEC for given file.
22150 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
22152 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
22153 FD_CLOEXEC for /etc/hosts.
22154 (_gethtent): Likewise.
22156 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
22158 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
22159 cancellation and set FD_CLOEXEC for /etc/netgroup.
22161 * nss/nss_files/files-key.c (search): Don't allow cancellation when
22162 reading /etc/publickey.
22164 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
22165 allow cancellation when reading /etc/group.
22167 * nss/nss_files/files-alias.c (internal_setent): Don't allow
22169 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
22171 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
22172 when using data file.
22174 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
22176 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
22177 (write_nis_obj): Use "c" and "e" in fopen.
22179 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
22181 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
22183 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
22185 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
22187 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
22190 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
22192 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
22194 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
22196 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
22197 file parsing and set FD_CLOEXEC.
22199 2011-11-14 Ulrich Drepper <drepper@gmail.com>
22201 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
22203 2011-11-14 Andreas Schwab <schwab@redhat.com>
22205 * malloc/arena.c (arena_get2): Don't call reused_arena when
22206 _int_new_arena failed.
22208 2011-11-14 Ulrich Drepper <drepper@gmail.com>
22210 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
22211 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
22212 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
22213 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
22214 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
22215 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
22216 to compile strcasecmp and strncasecmp.
22217 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
22218 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
22220 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
22222 2011-11-13 Ulrich Drepper <drepper@gmail.com>
22224 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
22225 locale-defines.sym to gen-as-const-headers.
22226 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
22227 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
22228 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
22229 to compile strcasecmp and strncasecmp.
22230 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
22231 strcasecmp_l and strncasecmp_l.
22232 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
22233 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
22234 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
22235 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
22236 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
22237 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
22238 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
22239 * sysdeps/i386/i686/multiarch/strncase.S: New file.
22240 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
22241 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
22242 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
22244 2011-11-12 Ulrich Drepper <drepper@gmail.com>
22246 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
22247 result of SYSDEP_GETTIME_CPU to retval.
22248 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
22249 parameter list to macro. Remove trailing semicolon. Adjust users.
22251 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
22254 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
22256 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
22258 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
22259 from unused variable.
22261 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
22263 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
22266 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
22269 * sunrpc/rpc_prot.c (rejected): Fix case value.
22271 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
22272 unsigned long long int to avoid warnings in shift.
22274 * posix/regex_internal.c (re_string_reconstruct): Actually use result
22276 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
22279 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
22280 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
22281 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
22283 * nis/nis_table.c (nis_list): Use variable of correct type for
22284 result of __follow_path call.
22286 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22288 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
22289 of math functions ceil, trunc, floor, round, and sqrt, when
22290 avaliable on the platform.
22291 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
22293 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
22294 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
22295 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
22297 2011-10-30 Marek Polacek <mpolacek@redhat.com>
22299 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
22300 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
22302 2011-11-11 Roland McGrath <roland@hack.frob.com>
22304 * include/unistd.h: Fix __readlink return type.
22305 Reported by Chris Metcalf <cmetcalf@tilera.com>.
22307 2011-11-11 Ulrich Drepper <drepper@gmail.com>
22309 * stdlib/ucontext.h: Undo last change for makecontext.
22311 2011-11-11 Andreas Schwab <schwab@redhat.com>
22313 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
22315 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
22316 * setjmp/setjmp.h: Mark functions as non-leaf.
22317 * setjmp/bits/setjmp2.h: Likewise.
22318 * stdlib/ucontext.h: Likewise.
22320 2011-11-10 Andreas Schwab <schwab@redhat.com>
22322 * malloc/arena.c (_int_new_arena): Don't increment narenas.
22323 (reused_arena): Don't check arena limit.
22324 (arena_get2): Atomically check arena limit.
22326 2011-11-08 Ulrich Drepper <drepper@gmail.com>
22328 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
22329 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
22331 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
22334 2011-11-07 Andreas Schwab <schwab@redhat.com>
22336 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
22337 handler when locking.
22339 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
22340 Fix size of allocated buffer.
22342 2011-11-04 Andreas Schwab <schwab@redhat.com>
22345 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
22346 declarations for long double functions.
22347 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
22349 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
22351 2011-11-03 Andreas Schwab <schwab@redhat.com>
22353 * nscd/nscd.c (main): Don't start AVC thread until credentials are
22356 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
22359 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
22361 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
22363 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
22365 * include/alloca.h (stackinfo_alloca_round): Define.
22366 (extend_alloca): Use it.
22367 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
22368 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
22371 * scripts/check-local-headers.sh: Ignore libaudit.h.
22373 * nscd/Makefile (extra-objs): Make recursively expanded.
22375 2011-11-01 Ulrich Drepper <drepper@gmail.com>
22377 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
22378 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
22380 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
22381 * posix/tst-rfc3484-2.c: Likewise.
22382 * posix/tst-rfc3484-3.c: Likewise.
22384 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
22386 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
22388 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
22389 process_vm_writev from libc using GLIBC_2.15 version.
22391 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
22393 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
22395 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
22398 2011-10-31 Ulrich Drepper <drepper@gmail.com>
22401 * nss/getent.c (initgroups_keys): Show error message in case no group
22404 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
22405 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
22406 __bump_nl_timestamp.
22407 * nscd/connections (nscd_init): When host database is served open
22408 netlink socket and request notification about configuration changes.
22409 (main_loop_poll): Track netlink file descriptor and bump timestamp
22410 in case data becomes available.
22411 (main_loop_epoll): Likewise.
22412 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
22413 (database_pers_head): Add extra_data fileds.
22414 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
22415 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
22416 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
22418 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
22419 in6ai data, call __free_in6ai.
22420 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
22421 Add -DHAVE_NETLINK.
22422 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
22423 interface information. Reuse previous data if netlink timestamp
22425 (__bump_nl_timestamp): New function.
22426 (__free_in6ai): New function.
22428 2011-10-30 Ulrich Drepper <drepper@gmail.com>
22430 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
22431 close_not_cancel_no_status here.
22432 (__check_pf): Reorganize code a bit to not call close twice if OOM.
22434 2011-10-29 Ulrich Drepper <drepper@gmail.com>
22437 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
22440 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
22441 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
22442 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
22444 2011-07-03 Andreas Jaeger <aj@suse.de>
22447 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
22448 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
22449 * math/libm-test.inc (sin_test): Add test case.
22451 2011-10-29 Ulrich Drepper <drepper@gmail.com>
22454 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
22455 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
22457 * elf/chroot_canon.c (chroot_canon): Cleanups.
22459 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
22462 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
22463 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
22465 * string/test-strchr.c: Make usable for strchrnul testing.
22466 * string/test-strchrnul.c: New file.
22467 * string/Makefile (strop-tests): Add strchrnul.
22469 * po/it.po: Update from translation team.
22470 * po/es.po: Likewise.
22472 2011-10-28 Ulrich Drepper <drepper@gmail.com>
22474 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
22475 the three constants needed as parameters. Drop the others.
22476 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
22477 __m128i_strloadu_tolower.
22478 Create and initialize variable zero and use it in all the places
22479 where _mm_setzero_si128 was used.
22481 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
22482 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
22483 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
22484 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
22486 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
22487 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
22488 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
22489 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
22490 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
22491 __mpranred, __mptan.
22492 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
22493 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
22494 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
22495 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
22496 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
22497 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
22498 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
22499 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
22500 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
22502 2011-10-28 Andreas Schwab <schwab@redhat.com>
22504 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
22505 redefine if SHARED.
22506 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
22508 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
22509 wide char related routines to wcsmbs subdir.
22511 2011-10-27 Andreas Schwab <schwab@redhat.com>
22514 * misc/sys/cdefs.h (__THROWNL): Define.
22515 * posix/unistd.h: Use __THREADNL instead of __THREAD
22516 for memory synchronization functions.
22518 2011-10-26 Roland McGrath <roland@hack.frob.com>
22521 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
22523 * manual/stdio.texi (Obstack Streams): Node removed.
22525 2011-10-26 Andreas Schwab <schwab@redhat.com>
22527 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
22528 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
22529 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
22531 * math/math_private.h (math_force_eval): Allow non-addressable
22533 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
22535 2011-10-25 Ulrich Drepper <drepper@gmail.com>
22537 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
22538 file is not needed.
22540 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
22541 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
22542 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
22543 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
22544 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
22545 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
22546 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
22547 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
22549 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
22550 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
22551 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
22552 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
22553 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
22554 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
22555 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
22556 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
22557 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
22558 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
22559 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
22560 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
22561 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
22562 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
22563 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
22564 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
22565 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
22566 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
22567 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
22569 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
22570 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
22572 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
22573 place. Use VEX encoding when compiling for AVX.
22575 2011-10-25 Andreas Schwab <schwab@redhat.com>
22577 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
22578 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
22580 * string/test-strchr.c (do_test): Don't generate NUL bytes.
22582 2011-10-25 Ulrich Drepper <drepper@gmail.com>
22584 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
22585 useless if() expression.
22586 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
22587 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
22588 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
22589 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
22590 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
22591 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
22592 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
22593 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
22594 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
22595 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
22596 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
22597 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
22598 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
22599 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
22600 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
22601 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
22602 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
22603 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
22604 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
22606 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
22608 2011-10-25 Andreas Schwab <schwab@redhat.com>
22610 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
22612 * elf/dl-fini.c (_dl_sort_fini): Likewise.
22614 2011-10-25 Ulrich Drepper <drepper@gmail.com>
22616 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
22617 .text section. Avoid duplicate constants.
22618 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
22619 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22620 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
22621 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22622 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22623 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22624 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22625 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22626 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
22627 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
22628 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
22629 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
22630 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
22631 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
22632 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
22633 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
22634 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
22635 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
22636 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22637 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22638 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
22639 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
22640 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
22641 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
22642 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
22643 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
22644 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
22645 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
22646 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
22647 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
22648 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
22649 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
22650 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
22651 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
22652 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
22653 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
22654 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
22655 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
22656 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
22657 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
22658 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
22659 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
22660 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
22661 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
22662 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
22664 2011-10-24 Ulrich Drepper <drepper@gmail.com>
22666 * sysdeps/x86_64/dla.h: Move to ...
22667 * sysdeps/x86_64/fpu/dla.h: ...here.
22668 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
22669 situations. Use __builtin_fma only for gcc 4.6 and up.
22671 * config.make.in: Add have-mfma4 entry.
22672 * configure.in: Substitute libc_cv_cc_fma4.
22673 * math/Makefile (dbl-only-routines): Add sincostab.
22674 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
22675 Use __sincostab not sincos.
22676 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
22678 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22679 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22680 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22681 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
22683 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
22684 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
22685 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
22686 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
22688 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
22689 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
22691 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
22692 define aliases when function name is a macro.
22693 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
22694 sysdeps/ieee754/dbl-64/sincos.tbl.
22695 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
22696 fma4-enabled routines.
22697 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
22698 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
22699 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
22700 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
22701 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
22702 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
22703 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
22704 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
22705 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
22706 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
22707 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
22708 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
22709 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
22710 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
22711 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
22712 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
22713 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
22714 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
22715 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
22716 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
22717 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
22718 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
22719 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
22720 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
22721 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
22722 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
22723 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
22724 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
22725 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
22726 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
22728 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
22730 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22731 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22732 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22733 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22734 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22735 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22736 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22737 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22739 2011-10-24 Andreas Schwab <schwab@redhat.com>
22741 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
22743 2011-10-23 Ulrich Drepper <drepper@gmail.com>
22745 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
22747 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
22749 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
22751 * string/strnlen.c: Don't define STRNLEN, reverse logic.
22752 Remove unused variable magic_bits.
22753 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
22755 * string/strnlen.c: Define and use STRNLEN macro.
22756 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
22757 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
22758 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
22759 * wcsmbs/wcslen.c: Define and use WCSLEN.
22760 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
22761 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
22762 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
22763 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
22764 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
22765 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
22766 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
22768 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22770 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22771 strnlen-sse2-no-bsf.
22772 Rename strlen-no-bsf to strlen-sse2-no-bsf.
22773 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
22774 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
22775 Add strnlen support.
22776 (USE_AS_STRNLEN): New macro.
22777 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
22778 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
22779 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
22780 * sysdeps/x86_64/wcslen.S: New file.
22782 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
22784 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
22785 XMM-moves are used for copying on small sizes.
22787 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22789 * wcsmbs/Makefile (strop-tests): Add wcschr.
22790 * wcsmbs/test-wcschr.c: New file.
22791 * string/test-strchr.c: Update.
22792 Add wcschr support.
22795 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22797 * wcsmbs/Makefile (strop-tests): Add wcslen.
22798 * wcsmbs/test-wcslen.c: New file.
22799 * string/test-strlen.c: Update.
22800 Add wcslen support.
22803 2011-10-23 Ulrich Drepper <drepper@gmail.com>
22805 * po/it.po: Update from translation team.
22807 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22809 * sysdeps/x86_64/wcscmp.S: Update.
22810 Fix wrong comparison semantics.
22811 wcscmp shall use signed comparison not unsigned.
22812 Don't use substraction to avoid overflow bug.
22813 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
22814 * wcsmbc/wcscmp.c: Likewise.
22815 * string/test-strcmp.c: Likewise.
22816 Add new tests to check cases with negative values.
22818 2011-10-23 Ulrich Drepper <drepper@gmail.com>
22820 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
22821 * sysdeps/x86_64/dla.h: ...here. New file.
22822 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
22823 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22824 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22825 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22826 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22827 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22828 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22829 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22830 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22832 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
22834 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
22835 __ynl_finite aliases.
22837 2011-10-22 Ulrich Drepper <drepper@gmail.com>
22839 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22841 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
22843 [DLA_FMA] (EMULV): Use DLA_FMA.
22844 [DLA_FMA] (MUL12): Use EMULV.
22845 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
22846 that are not needed.
22847 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22848 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22849 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22850 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22851 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22852 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22853 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22855 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
22857 * math/s_nan.c: Undef __nan.
22858 * math/s_nanf.c: Undef __nanf.
22859 * math/s_nanl.c: Undef __nanl.
22860 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
22863 2011-10-22 Ulrich Drepper <drepper@gmail.com>
22865 * math/s_catan.c: Add branch predictions.
22866 * math/s_catanf.c: Likewise.
22867 * math/s_catanh.c: Likewise.
22868 * math/s_catanhf.c: Likewise.
22869 * math/s_catanhl.c: Likewise.
22870 * math/s_catanl.c: Likewise.
22871 * math/s_cexp.c: Likewise.
22872 * math/s_cexpf.c: Likewise.
22873 * math/s_cexpl.c: Likewise.
22874 * math/s_clog.c: Likewise.
22875 * math/s_clog10.c: Likewise.
22876 * math/s_clog10f.c: Likewise.
22877 * math/s_clog10l.c: Likewise.
22878 * math/s_clogf.c: Likewise.
22879 * math/s_clogl.c: Likewise.
22880 * math/s_csqrt.c: Likewise.
22881 * math/s_csqrtf.c: Likewise.
22882 * math/s_csqrtl.c: Likewise.
22883 * math/s_ctanf.c: Likewise.
22884 * math/s_ctanh.c: Likewise.
22885 * math/s_ctanhf.c: Likewise.
22886 * math/s_ctanhl.c: Likewise.
22887 * math/s_ctanl.c: Likewise.
22889 * math/math_private.h: Define __nan, __nanf, __nanl.
22890 * math/s_cacosh.c: Include <math_private.h>.
22891 * math/s_cacoshl.c: Likewise.
22892 * math/s_casinh.c: Likewise.
22893 * math/s_casinhf.c: Likewise.
22894 * math/s_casinhl.c: Likewise.
22895 * math/s_ccos.c: Rely entire on ccosh.
22896 * math/s_ccosf.c: Rely entire on ccoshf.
22897 * math/s_ccosl.c: Rely entirely on ccoshl.
22898 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
22899 Remove tests for FE_INVALID.
22900 * math/s_ccoshf.c: Likewise.
22901 * math/s_ccoshl.c: Likewise.
22902 * math/s_csin.c: Likewise.
22903 * math/s_csinf.c: Likewise.
22904 * math/s_csinh.c Likewise.
22905 * math/s_csinhf.c: Likewise.
22906 * math/s_csinhl.c: Likewise.
22907 * math/s_csinl.c: Likewise.
22908 * math/s_ctan.c: Likewise.
22909 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
22910 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
22911 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
22913 2011-10-21 Ulrich Drepper <drepper@gmail.com>
22915 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
22916 compilation problems.
22918 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
22921 2011-10-20 Ulrich Drepper <drepper@gmail.com>
22923 * sysdeps/i386/configure.in: Test for -mfma4 option.
22924 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
22925 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
22926 COMMON_CPUID_INDEX_80000001.
22927 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
22928 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
22929 use it if FMA3 is not supported.
22930 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
22932 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
22933 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
22935 2011-10-20 Andreas Schwab <schwab@redhat.com>
22938 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
22939 it would create a cycle with a link time dependency.
22941 2011-10-19 Ulrich Drepper <drepper@gmail.com>
22943 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
22945 * string/Makefile (strop-tests): Add rawmemchr.
22946 * string/test-rawmemchr.c: New file.
22948 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
22949 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
22950 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
22951 when compiling str{,n}casecmp and when AVX is available. Hook up
22952 new optimized code in initializers.
22954 2011-10-19 Andreas Schwab <schwab@redhat.com>
22956 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
22957 __feraiseexcept instead of feraiseexcept.
22959 2011-10-18 Ulrich Drepper <drepper@gmail.com>
22961 * math/math_private.h: Define defaults for libc_fetestexcept and
22963 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
22964 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
22965 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
22966 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
22967 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
22968 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
22969 libc_fetestexcept and libc_feupdateenv.
22971 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
22972 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
22973 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
22974 * sysdeps/x86_64/fpu/math_private.h: Define special version of
22975 libc_feholdexcept_setround.
22977 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
22978 Add s_nearbyint-c and s_nearbyintf-c.
22979 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
22980 nearbyintf inlines.
22981 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
22982 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
22983 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
22984 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
22986 * math/math_private.h: Define defaults for libc_fegetround,
22987 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
22988 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
22989 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
22990 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
22991 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
22992 standard functions.
22993 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
22994 Remove comments and hacks for old compiler versions.
22995 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
22996 libc_fegetround, libc_fesetround, libc_feholdexcept, and
22997 libc_feholdexceptl.
22999 2011-10-18 Andreas Schwab <schwab@redhat.com>
23001 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
23002 (__feraiseexcept_renamed): Add __NTH.
23003 (feraiseexcept): Add __NTH. Rename local variables to fix
23004 namespace violations.
23006 2011-10-17 Ulrich Drepper <drepper@gmail.com>
23008 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
23010 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
23012 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
23013 recently added interfaces.
23014 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
23016 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
23017 about macro parameter expansion.
23019 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
23020 __NO_MATH_INLINES is defined. Cleanups.
23022 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
23023 and __floorf is target has SSE4.1.
23024 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
23025 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
23026 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
23027 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
23029 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
23031 (floorf): Likewise.
23033 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
23035 2011-10-17 Andreas Schwab <schwab@redhat.com>
23037 * misc/sys/cdefs.h: Fix last change.
23039 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
23042 2011-10-16 Ulrich Drepper <drepper@gmail.com>
23044 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
23046 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
23047 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
23048 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
23049 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
23050 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
23051 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
23052 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
23053 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
23054 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
23055 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
23056 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
23057 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
23058 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
23059 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
23060 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
23061 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
23062 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
23063 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
23064 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
23065 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
23066 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
23067 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
23069 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
23070 ceil, ceilf, floor, floorf.
23072 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
23073 Perform IRELATIVE relocations last.
23075 * elf/do-rel.h: Add another parameter nrelative, replacing the
23076 local variable with the same name. Change name of the function
23077 to end in Rel or Rela (uppercase).
23078 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
23079 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
23080 elf_dynamic_do_##reloc function.
23082 2011-10-15 Ulrich Drepper <drepper@gmail.com>
23084 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
23085 is sufficient, at least on modern CPUs.
23087 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
23089 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
23090 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
23092 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
23094 * math/bits/math-finite.h: Add entries for exp.
23095 * math/e_expl.c: Add __*_finite alias.
23096 * sysdeps/i386/fpu/e_exp.S: Likewise.
23097 * sysdeps/i386/fpu/e_expf.S: Likewise.
23098 * sysdeps/i386/fpu/e_expl.c: Likewise.
23099 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
23100 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
23101 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
23102 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
23103 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
23104 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
23105 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
23107 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
23108 is sufficient, at least on modern CPUs.
23110 * ctype/ctype-info.c (__ctype_init): Define.
23111 * include/ctype.h (__ctype_init): Declare.
23112 (__ctype_b_loc): The variable is always initialized.
23113 (__ctype_toupper_loc): Likewise.
23114 (__ctype_tolower_loc): Likewise.
23115 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
23116 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
23118 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
23120 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
23122 * configure.in: Also look in $cxxmachine/include for C++ system
23125 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23127 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
23128 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
23129 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
23130 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
23131 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
23132 (USE_AS_WMEMCMP): New macro.
23134 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
23135 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
23136 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
23137 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
23138 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23139 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
23140 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
23141 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
23142 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
23143 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
23144 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
23145 (USE_AS_WMEMCMP): New macro.
23146 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
23147 * sysdeps/string/test-memcmp.c: Update.
23148 Fix simple_wmemcmp.
23150 * wcsmbs/wmemcmp.c: Update.
23151 (WMEMCMP): New macro.
23154 2011-10-12 Andreas Jaeger <aj@suse.de>
23157 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
23159 2011-10-15 Ulrich Drepper <drepper@gmail.com>
23161 * libio/iofwide.c (do_length): Avoid warning.
23163 * ctype/ctype.h (__isctype_f): Add missing __THROW.
23165 2011-10-14 Ulrich Drepper <drepper@gmail.com>
23167 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
23169 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
23170 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
23171 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
23172 * sysdeps/i386/i686/fpu/e_log.S: New file.
23173 * sysdeps/i386/i686/fpu/e_logf.S: New file.
23174 * sysdeps/i386/i686/fpu/e_logl.S: New file.
23176 * ctype/ctype.h: Add support for inlined isXXX functions when
23177 compiling C++ code.
23179 2011-10-14 Andreas Schwab <schwab@redhat.com>
23181 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23183 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
23185 2011-10-13 Roland McGrath <roland@hack.frob.com>
23188 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
23190 2011-10-13 Andreas Schwab <schwab@redhat.com>
23192 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
23193 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
23196 * sysdeps/x86_64/memrchr.S: Check for zero size.
23198 * string/stratcliff.c: Add memrchr tests.
23200 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23202 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23203 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
23204 rawmemchr-sse2 rawmemchr-sse2-bsf.
23205 * sysdeps/i386/i686/multiarch/memchr.S: New file.
23206 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
23207 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
23208 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
23209 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
23210 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
23211 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
23212 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
23213 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
23214 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
23215 * string/memrchr.c (MEMRCHR): New macro.
23217 2011-10-12 Ulrich Drepper <drepper@gmail.com>
23219 Add integration with gcc's -ffinite-math-only and optimize wrapper
23221 * Versions.def: Define GLIBC_2.15 version for libm.
23222 * math/Makefile (headers): Add bits/math-finite.h.
23223 * math/bits/math-finite.h: New file.
23224 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
23225 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
23226 * math/e_acoshl.c: Add __*_finite alias.
23227 * math/e_acosl.c: Likewise.
23228 * math/e_asinl.c: Likewise.
23229 * math/e_atan2l.c: Likewise.
23230 * math/e_atanhl.c: Likewise.
23231 * math/e_coshl.c: Likewise.
23232 * math/e_exp10.c: Likewise.
23233 * math/e_exp10f.c: Likewise.
23234 * math/e_exp10l.c: Likewise.
23235 * math/e_exp2l.c: Likewise.
23236 * math/e_fmodl.c: Likewise.
23237 * math/e_gammal_r.c: Likewise.
23238 * math/e_hypotl.c: Likewise.
23239 * math/e_j0l.c: Likewise.
23240 * math/e_j1l.c: Likewise.
23241 * math/e_jnl.c: Likewise.
23242 * math/e_lgammal_r.c: Likewise.
23243 * math/e_log10l.c: Likewise.
23244 * math/e_log2l.c: Likewise.
23245 * math/e_logl.c: Likewise.
23246 * math/e_powl.c: Likewise.
23247 * math/e_sinhl.c: Likewise.
23248 * math/e_sqrtl.c: Likewise.
23249 * math/e_scalb.c: Completely rewritten and optimized.
23250 * math/e_scalbf.c: Likewise.
23251 * math/e_scalbl.c: Likewise.
23252 * math/w_acos.c: Likewise.
23253 * math/w_acosf.c: Likewise.
23254 * math/w_acosl.c: Likewise.
23255 * math/w_acosh.c: Likewise.
23256 * math/w_acoshf.c: Likewise.
23257 * math/w_acoshl.c: Likewise.
23258 * math/w_asin.c: Likewise.
23259 * math/w_asinf.c: Likewise.
23260 * math/w_asinl.c: Likewise.
23261 * math/w_atan2.c: Likewise.
23262 * math/w_atan2f.c: Likewise.
23263 * math/w_atan2l.c: Likewise.
23264 * math/w_atanh.c: Likewise.
23265 * math/w_atanhf.c: Likewise.
23266 * math/w_atanhl.c: Likewise.
23267 * math/w_exp10.c: Likewise.
23268 * math/w_exp10f.c: Likewise.
23269 * math/w_exp10l.c: Likewise.
23270 * math/w_fmod.c: Likewise.
23271 * math/w_fmodf.c: Likewise.
23272 * math/w_fmodl.c: Likewise.
23273 * math/w_j0.c: Likewise.
23274 * math/w_j0f.c: Likewise.
23275 * math/w_j0l.c: Likewise.
23276 * math/w_j1.c: Likewise.
23277 * math/w_j1f.c: Likewise.
23278 * math/w_j1l.c: Likewise.
23279 * math/w_jn.c: Likewise.
23280 * math/w_jnf.c: Likewise.
23281 * math/w_log.c: Likewise.
23282 * math/w_logf.c: Likewise.
23283 * math/w_logl.c: Likewise.
23284 * math/w_log10.c: Likewise.
23285 * math/w_log10f.c: Likewise.
23286 * math/w_log10l.c: Likewise.
23287 * math/w_log2.c: Likewise.
23288 * math/w_log2f.c: Likewise.
23289 * math/w_log2l.c: Likewise.
23290 * math/w_pow.c: Likewise.
23291 * math/w_powf.c: Likewise.
23292 * math/w_powl.c: Likewise.
23293 * math/w_remainder.c: Likewise.
23294 * math/w_remainderf.c: Likewise.
23295 * math/w_remainderl.c: Likewise.
23296 * math/w_scalb.c: Likewise.
23297 * math/w_scalbf.c: Likewise.
23298 * math/w_scalbl.c: Likewise.
23299 * math/w_sqrt.c: Likewise.
23300 * math/w_sqrtf.c: Likewise.
23301 * math/w_sqrtl.c: Likewise.
23302 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
23303 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
23305 * math/math_private.h: Declare __kernel_standard_f.
23306 * math/w_cosh.c: Remove cruft and optimize a bit.
23307 * math/w_coshf.c: Likewise.
23308 * math/w_coshl.c: Likewise.
23309 * math/w_exp2.c: Likewise.
23310 * math/w_exp2f.c: Likewise.
23311 * math/w_exp2l.c: Likewise.
23312 * math/w_hypot.c: Likewise.
23313 * math/w_hypotf.c: Likewise.
23314 * math/w_hypotl.c: Likewise.
23315 * math/w_lgamma.c: Likewise.
23316 * math/w_lgamma_r.c: Likewise.
23317 * math/w_lgammaf.c: Likewise.
23318 * math/w_lgammaf_r.c: Likewise.
23319 * math/w_lgammal.c: Likewise.
23320 * math/w_lgammal_r.c: Likewise.
23321 * math/w_sinh.c: Likewise.
23322 * math/w_sinhf.c: Likewise.
23323 * math/w_sinhl.c: Likewise.
23324 * math/w_tgamma.c: Likewise.
23325 * math/w_tgammaf.c: Likewise.
23326 * math/w_tgammal.c: Likewise.
23327 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
23328 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
23329 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
23330 Minor optimizations. Pretty printing. Remove cruft.
23331 * sysdeps/i386/fpu/e_acosf.S: Likewise.
23332 * sysdeps/i386/fpu/e_acosh.S: Likewise.
23333 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
23334 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
23335 * sysdeps/i386/fpu/e_acosl.c: Likewise.
23336 * sysdeps/i386/fpu/e_asin.S: Likewise.
23337 * sysdeps/i386/fpu/e_asinf.S: Likewise.
23338 * sysdeps/i386/fpu/e_atan2.S: Likewise.
23339 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
23340 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
23341 * sysdeps/i386/fpu/e_atanh.S: Likewise.
23342 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
23343 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
23344 * sysdeps/i386/fpu/e_exp10.S: Likewise.
23345 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
23346 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
23347 * sysdeps/i386/fpu/e_exp2.S: Likewise.
23348 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
23349 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
23350 * sysdeps/i386/fpu/e_fmod.S: Likewise.
23351 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
23352 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
23353 * sysdeps/i386/fpu/e_hypot.S: Likewise.
23354 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
23355 * sysdeps/i386/fpu/e_log.S: Likewise.
23356 * sysdeps/i386/fpu/e_log10.S: Likewise.
23357 * sysdeps/i386/fpu/e_log10f.S: Likewise.
23358 * sysdeps/i386/fpu/e_log10l.S: Likewise.
23359 * sysdeps/i386/fpu/e_log2.S: Likewise.
23360 * sysdeps/i386/fpu/e_log2f.S: Likewise.
23361 * sysdeps/i386/fpu/e_log2l.S: Likewise.
23362 * sysdeps/i386/fpu/e_logf.S: Likewise.
23363 * sysdeps/i386/fpu/e_logl.S: Likewise.
23364 * sysdeps/i386/fpu/e_pow.S: Likewise.
23365 * sysdeps/i386/fpu/e_powf.S: Likewise.
23366 * sysdeps/i386/fpu/e_powl.S: Likewise.
23367 * sysdeps/i386/fpu/e_remainder.S: Likewise.
23368 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
23369 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
23370 * sysdeps/i386/fpu/e_scalb.S: Likewise.
23371 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
23372 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
23373 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
23374 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
23375 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
23376 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
23377 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
23378 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23379 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
23380 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
23381 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
23382 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
23383 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
23384 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
23385 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
23386 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
23387 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
23388 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23389 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
23390 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
23391 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23392 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
23393 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
23394 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
23395 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23396 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
23397 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
23398 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
23399 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
23400 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
23401 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
23402 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
23403 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
23404 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
23405 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
23406 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
23407 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
23408 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
23409 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
23410 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
23411 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
23412 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
23413 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
23414 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
23415 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
23416 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
23417 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
23418 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
23419 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
23420 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
23421 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
23422 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
23423 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
23424 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
23425 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
23426 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
23427 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
23428 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
23429 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
23430 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
23431 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
23432 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
23433 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
23434 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
23435 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
23436 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
23437 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
23438 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
23439 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
23440 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
23441 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
23442 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
23443 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
23444 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
23445 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
23446 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
23447 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
23448 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
23449 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
23450 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
23451 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
23452 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
23453 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
23454 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
23455 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
23456 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
23457 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
23458 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
23459 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
23460 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
23461 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
23462 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
23463 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
23464 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
23465 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
23466 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
23467 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
23468 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
23469 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
23470 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
23471 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
23472 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
23473 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
23474 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
23475 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
23476 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
23477 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
23478 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
23479 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
23480 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
23481 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
23482 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
23483 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
23484 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
23485 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
23486 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
23487 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
23488 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
23489 (__isnanf): Likewise.
23490 (__isinf_ns): Likewise.
23491 (__isinf_nsf): Likewise.
23492 (__finite): Likewise.
23493 (__finitef): Likewise.
23494 (__ieee754_sqrt): Define as macro.
23495 (__ieee754_sqrtf): Define as macro.
23496 (__ieee754_sqrtl): Define as macro.
23497 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
23499 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
23500 __FINITE_MATH_ONLY__ consistent.
23501 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
23503 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
23505 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
23508 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
23510 2011-10-09 Ulrich Drepper <drepper@gmail.com>
23512 * po/ja.po: Update from translation team.
23514 2011-10-08 Roland McGrath <roland@hack.frob.com>
23516 * locale/programs/locarchive.c (prepare_address_space): New function.
23517 (create_archive, enlarge_archive, open_archive): Use it.
23519 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
23520 inside [SHARED], where it is used.
23522 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
23524 * nss/getent.c (netgroup_keys): Remove unused variable.
23525 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
23527 2011-10-08 Ulrich Drepper <drepper@gmail.com>
23529 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
23530 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
23531 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
23532 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
23533 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
23534 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
23535 * math/Makefile (libm-calls): Add s_isinf_ns.
23536 * math/divtc3.c: Use __isinf_nsl instead of isinf.
23537 * math/multc3.c: Likewise.
23538 * math/s_casin.c: Likewise.
23539 * math/s_casinf.c: Likewise.
23540 * math/s_casinl.c: Likewise.
23541 * math/s_ccos.c: Likewise.
23542 * math/s_ccosf.c: Likewise.
23543 * math/s_ccosl.c: Likewise.
23544 * math/s_ctan.c: Likewise.
23545 * math/s_ctanf.c: Likewise.
23546 * math/s_ctanh.c: Likewise.
23547 * math/s_ctanhf.c: Likewise.
23548 * math/s_ctanhl.c: Likewise.
23549 * math/s_ctanl.c: Likewise.
23550 * math/w_fmod.c: Likewise.
23551 * math/w_fmodf.c: Likewise.
23552 * math/w_fmodl.c: Likewise.
23553 * math/w_remainder.c: Likewise.
23554 * math/w_remainderf.c: Likewise.
23555 * math/w_remainderl.c: Likewise.
23556 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
23557 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
23558 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
23559 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
23560 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
23561 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
23562 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
23563 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
23565 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
23567 * stdio-common/printf_fphex.c: Likewise.
23568 * stdio-common/printf_size.c: Likewise.
23570 * math/e_exp10.c: Include math_private.h using <...> not "...".
23571 * math/e_exp10f.c: Likewise.
23572 * math/e_exp10l.c: Likewise.
23573 * math/e_exp2l.c: Likewise.
23574 * math/e_j0l.c: Likewise.
23575 * math/e_j1l.c: Likewise.
23576 * math/e_jnl.c: Likewise.
23577 * math/e_lgammal_r.c: Likewise.
23578 * math/e_rem_pio2l.c: Likewise.
23579 * math/e_scalb.c: Likewise.
23580 * math/e_scalbf.c: Likewise.
23581 * math/e_scalbl.c: Likewise.
23582 * math/k_cosl.c: Likewise.
23583 * math/k_sinl.c: Likewise.
23584 * math/k_tanl.c: Likewise.
23585 * math/s_cacoshf.c: Likewise.
23586 * math/s_catan.c: Likewise.
23587 * math/s_catanf.c: Likewise.
23588 * math/s_catanh.c: Likewise.
23589 * math/s_catanhf.c: Likewise.
23590 * math/s_catanhl.c: Likewise.
23591 * math/s_catanl.c: Likewise.
23592 * math/s_ccosh.c: Likewise.
23593 * math/s_ccoshf.c: Likewise.
23594 * math/s_ccoshl.c: Likewise.
23595 * math/s_cexp.c: Likewise.
23596 * math/s_cexpf.c: Likewise.
23597 * math/s_cexpl.c: Likewise.
23598 * math/s_clog.c: Likewise.
23599 * math/s_clog10.c: Likewise.
23600 * math/s_clog10f.c: Likewise.
23601 * math/s_clog10l.c: Likewise.
23602 * math/s_clogf.c: Likewise.
23603 * math/s_clogl.c: Likewise.
23604 * math/s_csin.c: Likewise.
23605 * math/s_csinf.c: Likewise.
23606 * math/s_csinh.c: Likewise.
23607 * math/s_csinhf.c: Likewise.
23608 * math/s_csinhl.c: Likewise.
23609 * math/s_csinl.c: Likewise.
23610 * math/s_csqrt.c: Likewise.
23611 * math/s_csqrtf.c: Likewise.
23612 * math/s_csqrtl.c: Likewise.
23613 * math/s_ctan.c: Likewise.
23614 * math/s_ctanf.c: Likewise.
23615 * math/s_ctanh.c: Likewise.
23616 * math/s_ctanhf.c: Likewise.
23617 * math/s_ctanhl.c: Likewise.
23618 * math/s_ctanl.c: Likewise.
23619 * math/s_ldexp.c: Likewise.
23620 * math/s_ldexpf.c: Likewise.
23621 * math/s_ldexpl.c: Likewise.
23622 * math/s_significand.c: Likewise.
23623 * math/s_significandf.c: Likewise.
23624 * math/s_significandl.c: Likewise.
23625 * math/w_acos.c: Likewise.
23626 * math/w_acosf.c: Likewise.
23627 * math/w_acosh.c: Likewise.
23628 * math/w_acoshf.c: Likewise.
23629 * math/w_acoshl.c: Likewise.
23630 * math/w_acosl.c: Likewise.
23631 * math/w_asin.c: Likewise.
23632 * math/w_asinf.c: Likewise.
23633 * math/w_asinl.c: Likewise.
23634 * math/w_atan2.c: Likewise.
23635 * math/w_atan2f.c: Likewise.
23636 * math/w_atan2l.c: Likewise.
23637 * math/w_atanh.c: Likewise.
23638 * math/w_atanhf.c: Likewise.
23639 * math/w_atanhl.c: Likewise.
23640 * math/w_cosh.c: Likewise.
23641 * math/w_coshf.c: Likewise.
23642 * math/w_coshl.c: Likewise.
23643 * math/w_dremf.c: Likewise.
23644 * math/w_exp10.c: Likewise.
23645 * math/w_exp10f.c: Likewise.
23646 * math/w_exp10l.c: Likewise.
23647 * math/w_exp2.c: Likewise.
23648 * math/w_exp2f.c: Likewise.
23649 * math/w_fmod.c: Likewise.
23650 * math/w_fmodf.c: Likewise.
23651 * math/w_fmodl.c: Likewise.
23652 * math/w_hypot.c: Likewise.
23653 * math/w_hypotf.c: Likewise.
23654 * math/w_hypotl.c: Likewise.
23655 * math/w_j0.c: Likewise.
23656 * math/w_j0f.c: Likewise.
23657 * math/w_j0l.c: Likewise.
23658 * math/w_j1.c: Likewise.
23659 * math/w_j1f.c: Likewise.
23660 * math/w_j1l.c: Likewise.
23661 * math/w_jn.c: Likewise.
23662 * math/w_jnf.c: Likewise.
23663 * math/w_jnl.c: Likewise.
23664 * math/w_lgamma.c: Likewise.
23665 * math/w_lgamma_r.c: Likewise.
23666 * math/w_lgammaf.c: Likewise.
23667 * math/w_lgammaf_r.c: Likewise.
23668 * math/w_lgammal.c: Likewise.
23669 * math/w_lgammal_r.c: Likewise.
23670 * math/w_log.c: Likewise.
23671 * math/w_log10.c: Likewise.
23672 * math/w_log10f.c: Likewise.
23673 * math/w_log10l.c: Likewise.
23674 * math/w_log2.c: Likewise.
23675 * math/w_log2f.c: Likewise.
23676 * math/w_log2l.c: Likewise.
23677 * math/w_logf.c: Likewise.
23678 * math/w_logl.c: Likewise.
23679 * math/w_pow.c: Likewise.
23680 * math/w_powf.c: Likewise.
23681 * math/w_powl.c: Likewise.
23682 * math/w_remainder.c: Likewise.
23683 * math/w_remainderf.c: Likewise.
23684 * math/w_remainderl.c: Likewise.
23685 * math/w_scalb.c: Likewise.
23686 * math/w_scalbf.c: Likewise.
23687 * math/w_scalbl.c: Likewise.
23688 * math/w_sinh.c: Likewise.
23689 * math/w_sinhf.c: Likewise.
23690 * math/w_sinhl.c: Likewise.
23691 * math/w_sqrt.c: Likewise.
23692 * math/w_sqrtf.c: Likewise.
23693 * math/w_sqrtl.c: Likewise.
23694 * math/w_tgamma.c: Likewise.
23695 * math/w_tgammaf.c: Likewise.
23696 * math/w_tgammal.c: Likewise.
23698 * po/ja.po: Update from translation team.
23700 2011-09-29 Andreas Jaeger <aj@suse.de>
23703 * sunrpc/netname.c (netname2host): Fix logic.
23707 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
23709 * math/w_remainder.c (__remainder): Likewise.
23710 * math/w_remainderf.c (__remainderf): Likewise.
23711 * math/libm-test.inc (remainder_test): Add test cases.
23713 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23715 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
23718 2011-10-07 Ulrich Drepper <drepper@gmail.com>
23720 * string/test-memcmp.c: Avoid unncessary #defines.
23721 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
23723 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23725 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
23726 Use new sse2 version for core i3 - i7 as it's faster
23727 than sse42 version.
23728 (bit_Prefer_PMINUB_for_stringop): New.
23729 * sysdeps/x86_64/rawmemchr.S: Update.
23730 Replace with faster SSE2 version.
23731 * sysdeps/x86_64/memrchr.S: New file.
23732 * sysdeps/x86_64/memchr.S: Update.
23733 Replace with faster SSE2 version.
23735 2011-09-12 Marek Polacek <mpolacek@redhat.com>
23737 * elf/dl-load.c (lose): Add cast to avoid warning.
23739 2011-10-07 Ulrich Drepper <drepper@gmail.com>
23741 * po/ca.po: Update from translation team.
23743 * inet/getnetgrent_r.c: Hook up nscd.
23744 * nscd/Makefile (routines): Add nscd_netgroup.
23745 (nscd-modules): Add netgroupcache.
23746 (CFLAGS-netgroupcache.c): Define.
23747 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
23748 (cache_search): Add const to second parameter.
23749 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
23751 (dbs): Add netgrdb entry.
23752 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
23753 (verify_persistent_db): Handle netgrdb.
23754 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
23755 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
23757 (netgroup_response_header): Define.
23758 (innetgroup_response_header): Define.
23759 (datahead): Add netgroup_response_header and innetgroup_response_header
23761 * nscd/nscd.conf: Add entries for netgroup cache.
23762 * nscd/nscd.h (dbtype): Add netgrdb.
23763 (_PATH_NSCD_NETGROUP_DB): Define.
23764 (netgroup_iov_disabled): Declare.
23765 (xmalloc, xcalloc, xrealloc): Move declarations here.
23766 (cache_search): Adjust prototype.
23767 Add netgroup-related prototypes.
23768 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
23769 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
23770 (__nscd_innetgr): Declare.
23771 * nscd/selinux.c (perms): Use access_vector_t as element type and
23772 add netgroup-related initializers.
23773 * nscd/netgroupcache.c: New file.
23774 * nscd/nscd_netgroup.c: New file.
23775 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
23776 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
23777 For four parameters use innetgr.
23778 * nss/nss_files/files-init.c: Add definition and callback for netgr.
23779 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
23780 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
23781 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
23783 * nscd/connections.c (register_traced_file): Don't register file
23784 for disabled databases.
23786 2011-10-06 Ulrich Drepper <drepper@gmail.com>
23788 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
23790 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
23791 from tree and freeing node.
23793 2011-09-25 Jiri Olsa <jolsa@redhat.com>
23795 * nss/nsswitch.c (__nss_database_lookup): Handle
23796 nss_parse_service_list out of memory case.
23798 2011-09-15 Jiri Olsa <jolsa@redhat.com>
23800 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
23801 out of memory case.
23803 2011-10-04 Andreas Schwab <schwab@redhat.com>
23805 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
23806 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
23808 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
23809 elf_machine_rela, elf_machine_lazy_rel.
23810 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
23811 (ELF_DYNAMIC_DO_REL): Likewise.
23812 (ELF_DYNAMIC_DO_RELA): Likewise.
23813 (ELF_DYNAMIC_RELOCATE): Likewise.
23814 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
23815 to ELF_DYNAMIC_DO_REL.
23816 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
23817 (dl_main): In trace mode always set __RTLD_NOIFUNC.
23818 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
23820 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
23821 skip_ifunc, don't call ifunc function if non-zero.
23822 (elf_machine_rela): Likewise.
23823 (elf_machine_lazy_rel): Likewise.
23824 (elf_machine_lazy_rela): Likewise.
23825 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
23826 (elf_machine_lazy_rel): Likewise.
23827 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
23829 (elf_machine_lazy_rel): Likewise.
23830 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
23832 (elf_machine_lazy_rel): Likewise.
23833 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
23834 (elf_machine_lazy_rel): Likewise.
23835 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
23836 (elf_machine_lazy_rel): Likewise.
23837 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
23838 (elf_machine_lazy_rel): Likewise.
23839 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
23840 (elf_machine_lazy_rel): Likewise.
23841 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
23842 (elf_machine_lazy_rel): Likewise.
23843 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
23844 (elf_machine_lazy_rel): Likewise.
23846 2011-09-28 Ulrich Drepper <drepper@gmail.com>
23848 * nss/nss_files/files-init.c (_nss_files_init): Use static
23849 initialization for all the *_traced_file variables.
23851 2011-09-28 Andreas Schwab <schwab@redhat.com>
23853 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23855 2011-09-27 Roland McGrath <roland@hack.frob.com>
23858 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
23860 2011-09-27 Andreas Schwab <schwab@redhat.com>
23862 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
23863 Reread the line before reparsing it.
23865 2011-09-26 Andreas Schwab <schwab@redhat.com>
23867 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
23869 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
23870 Maxim Kuvyrkov <maxim@codesourcery.com>
23871 Joseph Myers <joseph@codesourcery.com>
23873 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
23874 if needed for __stack_chk_guard.
23876 2011-09-19 Roland McGrath <roland@hack.frob.com>
23878 * sysdeps/posix/spawni.c (script_execute): Always define it.
23879 It will be optimized away if unused.
23880 (maybe_script_execute): New function.
23881 (__spawni): Call it.
23883 * Makerules: Don't include tls.make.
23884 (config-tls): Always set to thread.
23885 * tls.make.c: File removed.
23887 2011-09-19 Mike Frysinger <vapier@gentoo.org>
23889 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
23890 * config.make.in (CPPFLAGS-config): New substituted variable.
23892 2011-09-15 Ulrich Drepper <drepper@gmail.com>
23894 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
23897 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
23898 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
23900 2011-09-15 Roland McGrath <roland@hack.frob.com>
23902 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
23903 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
23904 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
23905 (CALL_FAIL): Likewise.
23906 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
23907 (CALL_FAIL): Macro removed.
23908 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
23910 2011-09-15 Ulrich Drepper <drepper@gmail.com>
23912 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
23913 for __FINITE_MATH_ONLY__ == 1.
23915 2011-09-15 Andreas Schwab <schwab@redhat.com>
23917 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
23918 __ieee754_sqrt instead of sqrt.
23919 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
23920 __ieee754_sqrtf instead of sqrtf.
23921 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
23922 __floorf instead of floorf.
23923 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
23924 __floorf, __truncf instead of floorf, truncf.
23926 2011-09-14 Ulrich Drepper <drepper@gmail.com>
23928 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
23930 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
23931 __extern_always_inline.
23932 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
23935 2011-09-14 Andreas Schwab <schwab@redhat.com>
23937 * elf/rtld.c (dl_main): Also relocate in dependency order when
23938 doing symbol dependency testing.
23940 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
23942 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
23943 Always define `refsym'.
23945 2011-09-13 Andreas Schwab <schwab@redhat.com>
23947 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
23948 (__FD_ELT): Renamed from __FDELT.
23949 * misc/bits/select2.h (__FD_ELT): Likewise.
23950 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
23951 __FD_MASK instead of __FDELT, __FDMASK.
23952 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
23954 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
23957 * elf/Makefile (gen-ldd): Fix pattern.
23959 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
23960 (init_tls): Likewise.
23962 2011-09-12 Ulrich Drepper <drepper@gmail.com>
23964 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
23966 2011-09-12 Andreas Schwab <schwab@redhat.com>
23968 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
23969 `struct cmsghdr *' instead of `void *'.
23970 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
23973 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
23975 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
23977 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
23978 ldd_rewrite_script.
23980 2011-09-11 Ulrich Drepper <drepper@gmail.com>
23982 * configure.in: Remove --with-tls option.
23983 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
23984 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
23985 out in case it is missing.
23986 * sysdeps/ia64/elf/configure.in: Likewise.
23987 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
23988 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
23989 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
23990 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
23991 * sysdeps/sh/elf/configure.in: Likewise.
23992 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
23993 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
23994 * sysdeps/x86_64/elf/configure.in: Likewise.
23995 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
23996 * sysdeps/mach/hurd/tls.h: Likewise.
23999 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
24002 * configure.in: Fix use of AC_INIT.
24004 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
24006 2011-09-10 Ulrich Drepper <drepper@gmail.com>
24008 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
24010 * malloc/hooks.c: Likewise.
24013 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
24014 variables statically.
24015 (narenas): Initialize.
24016 (list_lock): Initialize.
24017 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
24018 initializtion of main_arena and list_lock. Small cleanups.
24019 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
24020 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
24021 Add initializers to main_arena and mp_.
24022 (malloc_state): Remove pagesize member. Change all users to use
24025 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
24026 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
24027 is always initialized.
24029 * malloc/malloc.c: Removed unused configurations and dead code.
24030 * malloc/arena.c: Likewise.
24031 * malloc/hooks.c: Likewise.
24032 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
24034 * include/tls.h: Removed. USE___THREAD must always be defined.
24035 * bits/libc-tsd.h: Don't handle !USE___THREAD.
24036 * elf/dl-libc.c: Likewise.
24037 * elf/dl-tsd.c: Likewise.
24038 * include/errno.h: Likewise.
24039 * include/netdb.h: Likewise.
24040 * include/resolv.h: Likewise.
24041 * inet/herrno-loc.c: Likewise.
24042 * inet/herrno.c: Likewise.
24043 * malloc/arena.c: Likewise.
24044 * malloc/hooks.c: Likewise.
24045 * malloc/malloc.c: Likewise.
24046 * resolv/res-state.c: Likewise.
24047 * resolv/res_libc.c: Likewise.
24048 * sysdeps/i386/dl-machine.h: Likewise.
24049 * sysdeps/ia64/dl-machine.h: Likewise.
24050 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
24051 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
24052 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
24053 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
24054 * sysdeps/sh/dl-machine.h: Likewise.
24055 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
24056 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
24057 * sysdeps/unix/i386/sysdep.S: Likewise.
24058 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
24059 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
24060 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
24061 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
24062 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
24063 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
24064 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
24065 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
24066 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
24067 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
24068 * sysdeps/unix/x86_64/sysdep.S: Likewise.
24069 * sysdeps/x86_64/dl-machine.h: Likewise.
24070 * tls.make.c: Likewise.
24072 * configure.in: Remove --with-__thread option. Make tests for
24073 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
24074 tls_model attribute fail if no support is available. Remove
24076 * Makeconfig: Adjust for dropped configure option. All features are
24078 * Makerules: Likewise.
24079 * Versions.def: Likewise.
24080 * argp/argp-fmtstream.c: Likewise.
24081 * argp/argp-fmtstream.h: Likewise.
24082 * argp/argp-help.c: Likewise.
24083 * assert/assert.c: Likewise.
24084 * config.h.in: Likewise.
24085 * config.make.in: Likewise.
24086 * configure: Likewise.
24087 * configure.in: Likewise.
24088 * csu/Versions: Likewise.
24089 * csu/init.c: Likewise.
24090 * elf/tst-audit2.c: Likewise.
24091 * elf/tst-tls10.c: Likewise.
24092 * elf/tst-tls10.h: Likewise.
24093 * elf/tst-tls11.c: Likewise.
24094 * elf/tst-tls12.c: Likewise.
24095 * elf/tst-tls14.c: Likewise.
24096 * elf/tst-tlsmod11.c: Likewise.
24097 * elf/tst-tlsmod12.c: Likewise.
24098 * elf/tst-tlsmod13.c: Likewise.
24099 * elf/tst-tlsmod13a.c: Likewise.
24100 * elf/tst-tlsmod14a.c: Likewise.
24101 * elf/tst-tlsmod15b.c: Likewise.
24102 * elf/tst-tlsmod16a.c: Likewise.
24103 * elf/tst-tlsmod16b.c: Likewise.
24104 * elf/tst-tlsmod7.c: Likewise.
24105 * elf/tst-tlsmod8.c: Likewise.
24106 * elf/tst-tlsmod9.c: Likewise.
24107 * gmon/gmon.c: Likewise.
24108 * grp/fgetgrent_r.c: Likewise.
24109 * grp/putgrent.c: Likewise.
24110 * hurd/fopenport.c: Likewise.
24111 * include/libc-symbols.h: Likewise.
24112 * include/tls.h: Likewise.
24113 * intl/gettextP.h: Likewise.
24114 * intl/loadinfo.h: Likewise.
24115 * locale/global-locale.c: Likewise.
24116 * locale/localeinfo.h: Likewise.
24117 * mach/devstream.c: Likewise.
24118 * malloc/arena.c: Likewise.
24119 * malloc/set-freeres.c: Likewise.
24120 * misc/err.c: Likewise.
24121 * misc/getttyent.c: Likewise.
24122 * misc/mntent_r.c: Likewise.
24123 * posix/getopt.c: Likewise.
24124 * posix/wordexp.c: Likewise.
24125 * pwd/fgetpwent_r.c: Likewise.
24126 * resolv/Versions: Likewise.
24127 * resolv/res_hconf.c: Likewise.
24128 * shadow/fgetspent_r.c: Likewise.
24129 * shadow/putspent.c: Likewise.
24130 * stdio-common/printf_fphex.c: Likewise.
24131 * stdio-common/tmpfile.c: Likewise.
24132 * stdlib/abort.c: Likewise.
24133 * stdlib/fmtmsg.c: Likewise.
24134 * sunrpc/auth_unix.c: Likewise.
24135 * sunrpc/clnt_perr.c: Likewise.
24136 * sunrpc/clnt_tcp.c: Likewise.
24137 * sunrpc/clnt_udp.c: Likewise.
24138 * sunrpc/clnt_unix.c: Likewise.
24139 * sunrpc/openchild.c: Likewise.
24140 * sunrpc/svc_simple.c: Likewise.
24141 * sunrpc/svc_tcp.c: Likewise.
24142 * sunrpc/svc_udp.c: Likewise.
24143 * sunrpc/svc_unix.c: Likewise.
24144 * sunrpc/xdr.c: Likewise.
24145 * sunrpc/xdr_array.c: Likewise.
24146 * sunrpc/xdr_rec.c: Likewise.
24147 * sunrpc/xdr_ref.c: Likewise.
24148 * sunrpc/xdr_stdio.c: Likewise.
24150 2011-09-09 Ulrich Drepper <drepper@gmail.com>
24152 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
24154 2011-07-03 Andreas Jaeger <aj@suse.de>
24156 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
24157 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
24158 regenerate with gen-libm-tests.pl.
24160 2010-05-12 Petr Baudis <pasky@suse.cz>
24163 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
24164 around j0() zero points by switching to j1().
24165 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
24166 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
24167 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
24168 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
24170 2011-09-09 Ulrich Drepper <drepper@gmail.com>
24172 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
24174 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
24176 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
24177 Patch in part by Pavel Roskin <proski@gnu.org>.
24180 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
24182 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
24183 Free memory block if necessary.
24186 * libio/genops.c (INTDEF): For string streams the _lock pointer can
24187 be NULL. Don't lock in this case.
24189 2011-09-09 Roland McGrath <roland@hack.frob.com>
24191 * elf/elf.h (ELFOSABI_GNU): New macro.
24192 (ELFOSABI_LINUX): Define to that.
24194 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
24196 * string/strncat.c (strncat): Undef the symbol in case it has been
24197 defined in bits/string.h.
24199 2011-09-09 Ulrich Drepper <drepper@gmail.com>
24201 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
24203 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
24206 2011-08-17 Andreas Jaeger <aj@suse.de>
24208 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
24210 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
24211 Ian Lance Taylor <iant@google.com>
24213 * math/libm-test.inc (lround_test): New testcase.
24214 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
24216 2011-09-08 Ulrich Drepper <drepper@gmail.com>
24218 * Makefile: Remove support for automatic cvs check-ins.
24219 * Makerules: Likewise.
24220 * config.make.in: Likewise.
24221 * configure.in: Likewise.
24222 * intl/Makefile: Likewise.
24223 * locale/Makefile: Likewise.
24224 * po/Makefile: Likewise.
24225 * posix/Makefile: Likewise.
24226 * sysdeps/gnu/Makefile: Likewise.
24227 * sysdeps/mach/hurd/Makefile: Likewise.
24228 * sysdeps/sparc/sparc32/Makefile: Likewise.
24231 * posix/Makefile (bug-regex32-ENV): Define.
24232 Patch by John Stanley <jpsinthemix@verizon.net>.
24234 * misc/Makefile (headers): Add bits/select2.h.
24235 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
24236 * misc/bits/select2.h: New file.
24237 * include/bits/select2.h: New file.
24238 * debug/Makefile (routines): Add fdelt_chk.
24239 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
24240 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
24242 * debug/fdelt_chk.c: New file.
24244 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
24245 * wcsmbs/test-wmemcmp.c: Likewise.
24246 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
24247 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
24249 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24251 * string/Makefile (strop-tests): Add memcmp.
24252 * string/test-wmemcmp.c: New file.
24253 * string/test-memcmp.c: Add wmemcmp support.
24255 2011-09-08 Roland McGrath <roland@hack.frob.com>
24258 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
24261 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
24262 garbage value in a __mach_port_mod_refs call in the cases of the
24263 task-self and thread-self ports.
24265 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
24267 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
24269 2011-09-08 Andreas Schwab <schwab@redhat.com>
24271 * elf/dl-load.c (lose): Check for non-null L.
24273 2011-09-07 Ulrich Drepper <drepper@gmail.com>
24275 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
24277 * elf/dl-libc.c (dlerror_run): Pass back error code from
24281 * elf/dl-load.c (lose): Free l_origin if it is valid.
24283 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
24285 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
24286 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
24287 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
24288 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
24289 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
24290 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
24292 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24294 * sysdeps/powerpc/fpu/e_hypot.c: New file.
24295 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
24296 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
24297 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
24298 * sysdeps/powerpc/fpu/k_cosf.c: New file.
24299 * sysdeps/powerpc/fpu/k_sinf.c: New file.
24300 * sysdeps/powerpc/fpu/s_cosf.c: New file.
24301 * sysdeps/powerpc/fpu/s_sinf.c: New file.
24302 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
24303 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
24305 2011-08-15 Alan Modra <amodra@gmail.com>
24308 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
24309 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
24310 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
24311 ppc_mcount to static-only-routines.
24312 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
24314 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
24315 __mcount_internal with usual JUMPTARGET. Remove useless nop.
24317 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
24319 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
24320 for finite and infinity parameters.
24322 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
24324 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
24325 and add nop instructions for throughput optimization.
24326 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
24328 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
24330 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
24331 aligned copy for power7 with vector-scalar instructions.
24332 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
24334 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
24336 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
24339 2011-09-07 Andreas Schwab <schwab@redhat.com>
24342 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
24345 2011-09-07 Ulrich Drepper <drepper@gmail.com>
24347 * sysdeps/unix/sysv/linux/x86_64/init-first.c
24348 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
24349 syscall wrapper around clock_gettime in __vdso_clock_gettime.
24350 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
24353 2011-09-06 Ulrich Drepper <drepper@gmail.com>
24355 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
24356 Forgot to demangle the pointer.
24358 * sysdeps/i386/sysdep.h: Define atom_text_section.
24359 * sysdeps/x86_64/sysdep.h: Likewise.
24360 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
24361 section with atom_text_section.
24362 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
24363 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
24364 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
24365 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
24366 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
24368 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
24369 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
24370 already be defined. Change to take two parameters and don't assign
24371 result to variable. Adjust all users.
24372 Define INTERNAL_GETTIME if not already defined.
24373 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
24375 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
24376 HAVE_CLOCK_GETTIME_VSYSCALL.
24377 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
24379 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
24380 gettimeofday vsyscall, just use time.
24382 2011-09-06 Andreas Schwab <schwab@redhat.com>
24384 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
24387 2011-09-06 Ulrich Drepper <drepper@gmail.com>
24389 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
24391 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
24393 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
24394 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
24395 syscall if possible.
24397 2011-09-05 Ulrich Drepper <drepper@gmail.com>
24399 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
24400 e_ident. Don't pass to find_mapsXX.
24401 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
24403 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24405 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24406 strchr-sse2-no-bsf strrchr-sse2-no-bsf
24407 * sysdeps/x86_64/multiarch/strchr.S: Update.
24408 Check bit_slow_BSF bit.
24409 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
24410 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
24411 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
24413 2011-09-05 Ulrich Drepper <drepper@gmail.com>
24416 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
24418 (tryshell): Define.
24419 (__spawni): Change last parameter to be flag. Test
24420 SPAWN_XFLAGS_USE_PATH flag to use path or not.
24421 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
24422 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
24423 * posix/spawni.c: Likewise.
24424 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
24425 * posix/spawnp.c: Likewise. Change normal version to use
24426 SPAWN_XFLAGS_USE_PATH.
24427 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
24428 SPAWN_XFLAGS_TRY_SHELL.
24431 * posix/glob.h: Remove gcc 1.x support.
24434 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
24436 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24438 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24439 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
24441 * sysdeps/i386/i686/multiarch/strchr.S: New file.
24442 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
24443 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
24444 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
24445 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
24446 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
24448 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24450 * sysdeps/x86_64/wcscmp.S: New file.
24452 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
24453 wcscmp-c wcscmp-sse2
24454 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
24455 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
24456 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
24457 * wcsmbs/wcscmp.c: Allow renaming.
24459 2011-09-05 David S. Miller <davem@davemloft.net>
24461 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
24462 stack slot, rather than the struct return pointer slot.
24463 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
24464 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
24465 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
24466 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
24468 2011-09-05 Ulrich Drepper <drepper@gmail.com>
24470 * po/ja.po: Update from translation team.
24473 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
24474 kernel in 64-bit binaries.
24476 2011-09-01 David S. Miller <davem@davemloft.net>
24478 * elf/elf.h (HWCAP_SPARC_*): Move to..
24479 * sysdeps/sparc/sysdep.h: this new file and add new values.
24480 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
24481 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
24482 _DL_HWCAP_COUNT to 24.
24483 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
24485 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
24486 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
24487 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
24488 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
24489 instead of magic constants.
24490 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
24492 2011-08-31 David S. Miller <davem@davemloft.net>
24494 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
24495 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
24496 Reimplement to do errno handling inline.
24497 (SYSCALL_ERROR_HANDLER): New macro.
24498 (__SYSCALL_STRING): Do not do errno handling in asm.
24499 (__CLONE_SYSCALL_STRING): Delete.
24500 (__INTERNAL_SYSCALL_STRING): Delete.
24501 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
24502 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
24503 (PSEUDO): Reimplement to do errno handling inline.
24504 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
24505 (SYSCALL_ERROR_HANDLER): New macro.
24506 (__SYSCALL_STRING): Do not do errno handling in asm.
24507 (__CLONE_SYSCALL_STRING): Delete.
24508 (__INTERNAL_SYSCALL_STRING): Delete.
24509 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
24510 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
24512 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
24513 (inline_syscall*): Add 'err' argument.
24514 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
24515 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
24516 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
24517 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
24519 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
24520 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
24522 2011-08-30 Andreas Schwab <schwab@redhat.com>
24524 * elf/rtld.c (dl_main): Relocate objects in dependency order.
24526 2011-08-29 Jiri Olsa <jolsa@redhat.com>
24528 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
24531 2011-08-24 David S. Miller <davem@davemloft.net>
24533 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
24535 2011-08-24 Andreas Schwab <schwab@redhat.com>
24537 * elf/Makefile: Add rules to build and run unload8 test.
24538 * elf/unload8.c: New file.
24539 * elf/unload8mod1.c: New file.
24540 * elf/unload8mod1x.c: New file.
24541 * elf/unload8mod2.c: New file.
24542 * elf/unload8mod3.c: New file.
24544 * elf/dl-close.c (_dl_close_worker): Reset private search list if
24547 2011-08-23 David S. Miller <davem@davemloft.net>
24549 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
24550 subtract stack bias.
24551 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
24552 %sp not %fp in calculations.
24553 (_JMPBUF_UNWINDS_ADJ): Likewise.
24555 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
24556 (aio_suspend): Call it to force an exception region around the
24557 AIO_MISC_WAIT() invocation.
24559 2011-08-23 Andreas Schwab <schwab@redhat.com>
24561 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
24564 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
24566 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
24568 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
24569 and <dl-machine.h>.
24570 (Elf64_FuncDesc): Remove.
24572 2011-08-22 David S. Miller <davem@davemloft.net>
24574 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
24575 sigaltstack check, add missing cfi directives.
24576 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
24577 missing cfi directives, and sigaltstack handling.
24579 2011-08-16 Andreas Schwab <schwab@redhat.com>
24582 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
24583 object is seen twice.
24584 * elf/dl-fini.c (_dl_sort_fini): Likewise.
24586 * elf/Makefile (distribute): Add tst-initorder2.c.
24587 (tests): Add tst-initorder2.
24588 (modules-names): Add tst-initorder2a tst-initorder2b
24589 tst-initorder2c tst-initorder2d. Add rules to build them.
24590 ($(objpfx)tst-initorder2.out): New rule.
24591 * elf/tst-initorder2.c: New file.
24592 * elf/tst-initorder2.exp: New file.
24594 2011-08-22 Andreas Schwab <schwab@redhat.com>
24596 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
24598 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
24599 dependencies back to end of function.
24601 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
24602 $(elfobjdir)/ld.so.
24604 2011-08-21 Ulrich Drepper <drepper@gmail.com>
24606 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
24607 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
24608 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
24609 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
24610 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
24611 of __vdso_gettimeofday.
24612 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
24613 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
24615 (_libc_vdso_platform_setup): Remove initialization of
24616 __vdso_gettimeofday and __vdso_time.
24618 2011-08-20 Ulrich Drepper <drepper@gmail.com>
24620 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
24621 and fgetc_unlocked.
24622 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
24625 * elf/dl-open.c (add_to_global): Report additions to the global scope
24626 for LD_DEBUG=scopes.
24627 (dl_open_worker): Also print scope of newly loaded dependencies.
24628 (_dl_show_scope): Indicate if there is no scope.
24631 * stdio-common/Makefile (tests): Add bug24.
24632 * stdio-common/bug24.c: New file.
24634 2011-08-19 Andreas Jaeger <aj@suse.de>
24637 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
24638 non-existant file when using close-on-exec mode.
24640 2011-08-20 Ulrich Drepper <drepper@gmail.com>
24642 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
24643 the very first instruction.
24645 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
24646 the CFI state in the end.
24647 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
24648 inclusion of dl-trampoline.h.
24649 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
24651 2011-08-19 Andreas Schwab <schwab@redhat.com>
24653 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
24654 expectations for long double.
24656 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
24657 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
24659 2011-08-14 David S. Miller <davem@davemloft.net>
24661 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
24662 artificual limit depends upon the system page size.
24664 2011-08-17 Ulrich Drepper <drepper@gmail.com>
24666 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
24667 * resolv/Makefile: Define CFLAGS-libresolv.
24669 2011-08-17 Andreas Schwab <schwab@redhat.com>
24671 * nss/makedb.c (compute_tables): Make variables used in nested
24674 2011-08-17 Ulrich Drepper <drepper@gmail.com>
24676 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
24677 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
24678 if buffer was too small.
24680 * elf/pldd.c (main): Attach to all threads in the process.
24681 Rewrite /proc handling to use *at functions.
24683 2011-08-16 Ulrich Drepper <drepper@gmail.com>
24685 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
24686 specifies first scope to show.
24687 (dl_open_worker): Update callers. Move printing scope of new
24688 object to before the relocation.
24689 * elf/rtld.c (dl_main): Update _dl_show_scope call.
24690 * sysdeps/generic/ldsodefs.h: Update declaration.
24692 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
24693 string for the scope number.
24695 2011-08-14 Ulrich Drepper <drepper@gmail.com>
24697 * nscd/servicescache.c (cache_addserv): Make sure written is always
24700 2011-08-14 Roland McGrath <roland@hack.frob.com>
24702 * sysdeps/i386/i486/bits/atomic.h
24703 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
24704 statement expression, so as to suppress "set but not used" warning.
24705 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
24707 * string/strncat.c (STRNCAT): Use prototype definition.
24709 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
24710 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
24712 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
24713 (localedef-modules): Add localedef.
24714 (locale-modules): Add locale.
24716 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
24717 * elf/rtld.c (dl_main): Invert order of assignment in last change,
24718 to avoid a warning.
24720 2011-08-14 David S. Miller <davem@davemloft.net>
24722 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
24723 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
24725 2011-08-13 Ulrich Drepper <drepper@gmail.com>
24727 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
24728 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
24729 * elf/rtld.c (dl_main): Set l_name of vDSO.
24730 Call _dl_show_scope when DL_DEBUG_SCOPES.
24731 (process_dl_debug): Recognize scopes flag and also set it for all.
24732 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
24733 Declare _dl_show_scope.
24735 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
24736 (do_dlopen): Pass caller_dlopen to dl_open.
24737 (__libc_dlopen_mode): Initialize caller_dlopen.
24739 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
24740 of libc. Make tolower call locale-independent. Optimize a bit by
24741 using isdigit instead of isalnum.
24742 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
24744 2011-08-12 Ulrich Drepper <drepper@gmail.com>
24746 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
24747 was a dependency or dynamically loaded.
24749 2011-08-11 Ulrich Drepper <drepper@gmail.com>
24751 * intl/l10nflist.c: Allow architecture-specific pop function.
24752 * sysdeps/x86_64/l10nflist.c: New file.
24754 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
24757 2011-08-10 Andreas Schwab <schwab@redhat.com>
24759 * include/dirent.h: Add libc_hidden_proto for scandirat and
24760 scandirat64. Don't declare __scandirat64.
24761 * dirent/scandirat.c: Add libc_hidden_def.
24762 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
24763 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
24765 2011-08-10 David S. Miller <davem@davemloft.net>
24767 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
24769 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
24770 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
24771 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
24773 2011-08-09 Ulrich Drepper <drepper@gmail.com>
24775 * Versions.def [libc]: Add GLIBC_2.15.
24776 * dirent/Makefile (routines): Add scandirat and scandirat64.
24777 * dirent/Versions [libc]: Export scandirat and scandirat64 for
24779 * dirent/dirent.h: Declare scandirat and scandirat64.
24780 * dirent/scandirat.c: New file.
24781 * dirent/scandirat64.c: New file.
24782 * sysdeps/wordsize-64/scandirat.c: New file.
24783 * sysdeps/wordsize-64/scandirat64.c: New file.
24784 * dirent/opendir.c: Define opendirat.
24785 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
24787 * dirent/scandir64.c: Adjust for scandir.c change.
24788 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
24789 __scandirat64, and __scandir_cancel_handler.
24790 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
24791 additional parameter and use openat instead of open (outside of ld.so).
24792 Add new __opendir as wrapper around __opendirat.
24793 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
24794 here without requiring old scandirat implementation.
24796 2011-08-08 Ulrich Drepper <drepper@gmail.com>
24798 * dirent/scandir.c (cancel_handler): Renamed to
24799 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
24800 defined. Adjust users.
24801 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
24802 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
24804 2011-08-04 Ulrich Drepper <drepper@gmail.com>
24806 * string/test-string.h (IMPL): Use __STRING to expand name and then
24809 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
24812 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24814 * string/Makefile: Update.
24815 (strop-tests): Append strncat.
24816 * string/test-wcscmp.c: New file.
24817 New comprehensive test for wcscmp.
24818 * string/test-strcmp.c: Update.
24819 (WIDE): New define.
24821 2011-07-22 Andreas Schwab <schwab@redhat.com>
24823 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
24826 2011-07-26 Andreas Schwab <schwab@redhat.com>
24828 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
24829 encoding to ACE if AI_IDN.
24831 2011-08-01 Jakub Jelinek <jakub@redhat.com>
24833 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
24834 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
24836 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24838 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
24839 Fix overflow bug in strncat.
24840 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
24842 * string/test-strncat.c: Update.
24843 Add new tests for checking overflow bugs.
24845 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24847 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24848 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
24849 * sysdeps/i386/i686/multiarch/strcat.S: New file.
24850 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
24851 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
24852 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
24853 * sysdeps/i386/i686/multiarch/strncat.S: New file.
24854 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
24855 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
24857 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
24858 (USE_AS_STRCAT): Define.
24859 Add strcat and strncat support.
24860 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
24862 2011-07-25 Andreas Schwab <schwab@redhat.com>
24864 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
24865 __n bigger than INT_MAX+1.
24866 (__strncmp_g): Likewise.
24868 2011-07-23 Ulrich Drepper <drepper@gmail.com>
24870 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
24871 * libio/stido.h: Likewise.
24873 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
24875 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
24878 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
24879 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
24880 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
24881 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
24882 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
24885 * scripts/test-installation.pl: Don't expect libnss_test1 to be
24888 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
24890 (_dl_x86_64_save_sse): Likewise.
24892 2011-07-22 Ulrich Drepper <drepper@gmail.com>
24894 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
24896 (_dl_x86_64_save_sse): Likewise.
24898 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
24900 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
24902 2011-07-21 Andreas Schwab <schwab@redhat.com>
24904 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
24906 (_dl_x86_64_save_sse): Use correct AVX check.
24908 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24910 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
24911 bug in strncpy/strncat.
24912 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
24914 2011-07-21 Ulrich Drepper <drepper@gmail.com>
24916 * string/tester.c (test_strcat): Add tests for different alignments
24917 of source and destination.
24918 (test_strncat): Likewise.
24920 2011-07-20 Ulrich Drepper <drepper@gmail.com>
24923 * posix/glob.c (glob): Check passed in values before using them in
24924 expressions to avoid some overflows.
24925 (glob_in_dir): Likewise.
24928 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
24929 check for AVX enablement so that we don't crash with old kernels and
24931 * elf/tst-audit4.c: Add same checks here.
24932 * elf/tst-audit6.c: Likewise.
24934 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
24936 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
24938 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
24940 2011-07-20 Ulrich Drepper <drepper@gmail.com>
24942 * po/cs.po: Update from translation team.
24943 * po/bg.po: Likewise.
24945 2011-07-12 Marek Polacek <mpolacek@redhat.com>
24947 * misc/sys/cdefs.h: Add support for const attribute.
24948 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
24949 to gnu_dev_{major,minor,makedev} functions.
24951 2011-07-20 Marek Polacek <mpolacek@redhat.com>
24953 * intl/dcigettext.c (get_output_charset): Add missing bracket.
24955 2011-07-20 Andreas Schwab <schwab@redhat.com>
24957 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
24960 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24962 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
24963 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
24964 register in order to avoid conflicts with the soft frame pointer
24965 being held in r11 when necessary.
24966 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
24967 (INTERNAL_VSYSCALL_NCS): Likewise.
24969 2011-07-14 Marek Polacek <mpolacek@redhat.com>
24971 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
24972 * elf/dl-fini.c (_dl_fini): Adjust caller.
24973 * elf/dl-close.c (_dl_close_worker): Likewise.
24974 * sysdeps/generic/ldsodefs.h: Adjust declaration.
24976 2011-07-15 Marek Polacek <mpolacek@redhat.com>
24978 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
24979 "aux_cache->nlibs < 0".
24981 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
24982 in the reload-count case.
24984 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24986 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24987 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
24988 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
24989 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
24990 * sysdeps/x86_64/multiarch/strcat.S: New file.
24991 * sysdeps/x86_64/multiarch/strncat.S: New file.
24992 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
24993 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
24994 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
24995 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
24996 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
24997 (USE_AS_STRCAT): Define.
24998 Add strcat and strncat support.
24999 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
25000 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
25001 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
25002 * string/strncat.c: Update.
25003 (USE_AS_STRNCAT): Define.
25004 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25005 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
25007 * sysdeps/x86_64/multiarch/init-arch.h
25008 (bit_Prefer_PMINUB_for_stringop): New.
25009 (index_Prefer_PMINUB_for_stringop): Likewise.
25010 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
25011 bit_Prefer_PMINUB_for_stringop.
25013 2011-07-19 Ulrich Drepper <drepper@gmail.com>
25015 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
25017 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
25018 of casting of buffer.
25019 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
25020 buffer32 and buffer64.
25021 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
25022 writes instead of casting of buffer.
25023 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
25025 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
25028 2011-07-19 Andreas Schwab <schwab@redhat.com>
25030 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
25032 2011-07-19 Ulrich Drepper <drepper@gmail.com>
25034 * nscd/nscd.c (termination_handler): Don't do anything for a database
25035 if it has not yet been initialized.
25037 2011-07-18 Ulrich Drepper <drepper@gmail.com>
25039 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
25041 2011-07-15 Marek Polacek <mpolacek@redhat.com>
25043 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
25045 2011-07-18 Ulrich Drepper <drepper@gmail.com>
25047 * po/nl.po: Update from translation team.
25048 * po/sv.po: Likewise.
25050 2011-07-16 Roland McGrath <roland@hack.frob.com>
25052 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
25053 now disallowed by GCC.
25055 * configure.in (use-default-link): Default to yes if a test -shared
25056 link meets our qualifications.
25057 * configure: Regenerated.
25059 * config.make.in (output-format): New variable.
25060 * configure.in: Check for ld --print-output-format support.
25061 * configure: Regenerated.
25062 * Makerules ($(common-objpfx)format.lds)
25063 [$(output-format) != unknown]: Just use $(output-format),
25064 instead of the linker-script munging.
25066 2011-07-14 Roland McGrath <roland@hack.frob.com>
25068 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
25069 of $(common-objpfx)shlib.lds.
25070 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
25072 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
25073 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
25075 * configure.in (-z relro check): Adjust test code to add a large
25076 writable data section after it.
25077 * configure: Regenerated.
25079 2011-07-11 Roland McGrath <roland@hack.frob.com>
25081 * configure.in (-z relro check): Fix test code to make the variable
25083 * configure: Regenerated.
25085 2011-07-11 Ulrich Drepper <drepper@gmail.com>
25087 * nscd/nscd.h (struct traced_file): Define.
25088 (struct database_dyn): Remove inotify_descr, reset_res, and filename
25089 elements. Add traced_files.
25090 (inotify_fd): Declare.
25091 (register_traced_file): Declare.
25092 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
25093 (inotify_fd): Export.
25094 (resolv_conf_descr): Remove.
25095 (nscd_init): Move inotify descriptor creation to main.
25096 Don't register files for notification here.
25097 (register_traced_file): New function.
25098 (invalidate_cache): Don't use reset_res to determine whether to call
25099 res_init, go through the list of registered files.
25100 (main_loop_poll): The inotify descriptors are now stored in the
25101 structures for the traced files.
25102 (main_loop_epoll): Likewise
25103 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
25104 to __nss_disable_nscd.
25105 * nscd/cache.c (prune_cache): There is no single inotify descriptor
25106 for a database anymore. Check the records for all the registered
25108 * nss/Makefile (libnss_files-routines): Add files-init.
25109 (libnss_db-routines): Add db-init.
25110 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
25111 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
25112 * nss/nss_db/db-init.c: New file.
25113 * nss/nss_files/files-init.c: New file.
25114 * nss/nsswitch.c (nss_load_library): New function. Broken out of
25115 __nss_lookup_function.
25116 (__nss_lookup_function): Call nss_load_library.
25117 (nss_load_all_libraries): New function.
25118 (__nss_disable_nscd): Take parameter with callback function for files
25119 to register. Set is_nscd. Load all the DSOs for the NSS modules
25120 used for the cached services.
25121 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
25122 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
25123 options for features to all the files in nscd.
25125 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
25127 2011-07-10 Roland McGrath <roland@hack.frob.com>
25129 * csu/elf-init.c (__libc_csu_init): Comment typo.
25131 2011-07-09 Ulrich Drepper <drepper@gmail.com>
25133 * po/pl.po: Update from translation team.
25134 * po/ja.po: Likewise.
25135 * po/ru.po: Likewise.
25136 * po/ko.po: Likewise.
25137 * po/fr.po: Likewise.
25139 2011-07-09 Roland McGrath <roland@hack.frob.com>
25141 * configure.in (.ctors/.dtors header and trailer check):
25142 Use an empirical test on a built program.
25143 * configure: Regenerated.
25145 * configure.in (-z relro check): Use an empirical test on a built DSO.
25146 Detect, but do not require, on ia64.
25147 * configure: Regenerated.
25149 * configure.in (READELF): Find it with AC_CHECK_TOOL.
25150 Update tests that use readelf to use $READELF instead.
25151 * configure: Regenerated.
25153 2011-07-08 Ulrich Drepper <drepper@gmail.com>
25155 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
25156 if the result is not used.
25158 2011-07-05 Andreas Jaeger <aj@suse.de>
25161 * stdlib/tst-strtod.c: Add testcase.
25163 2011-07-07 Ulrich Drepper <drepper@gmail.com>
25165 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
25166 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
25167 The latter has a higher limit. Take additional parameter to pass to
25169 (__pathconf): Pass file to __statfs_link_max.
25170 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
25172 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
25176 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
25177 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
25179 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
25180 (__statfs_filesize_max): Likewise.
25181 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
25183 2011-07-05 Andreas Jaeger <aj@suse.de>
25185 * resolv/res_comp.c (dn_skipname): Remove unused variable.
25187 2011-07-06 Marek Polacek <mpolacek@redhat.com>
25189 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
25191 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
25194 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
25196 * Makefile (strop-tests): Add strncat.
25197 * string/test-strncat.c: New file.
25199 2011-06-30 Marek Polacek <mpolacek@redhat.com>
25201 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
25203 2011-06-21 Andreas Jaeger <aj@suse.de>
25205 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
25206 Copy rule from iconvdata/Makefile.
25208 2011-07-06 Ulrich Drepper <drepper@gmail.com>
25211 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
25212 but no long options are defined, just return 'W'.
25214 2011-06-22 Marek Polacek <mpolacek@redhat.com>
25217 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
25219 2011-07-06 Ulrich Drepper <drepper@gmail.com>
25221 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
25223 (innetgr): Likewise.
25225 2011-07-05 Roland McGrath <roland@hack.frob.com>
25227 * config.make.in (install_root): Default to $(DESTDIR).
25229 2011-07-05 Ulrich Drepper <drepper@gmail.com>
25231 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
25233 2011-07-02 Roland McGrath <roland@hack.frob.com>
25235 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
25237 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
25238 containing directory rather than embedding absolute directory names.
25240 * scripts/check-local-headers.sh: Rewritten using awk.
25241 Match by word, not by line. Print error messages for matches.
25242 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
25244 * Makerules [shlib-lds-flags empty]:
25245 ($(common-objpfx)libc_pic.opts): New target.
25246 ($(common-objpfx)libc_pic.os.clean): New target.
25247 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
25249 * config.make.in (OBJCOPY): New variable.
25250 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
25251 * configure: Regenerated.
25253 * config.make.in (use-default-link): New variable.
25254 * configure.in (use_default_link): Grok --with-default-link to set it.
25255 * configure: Regenerated.
25256 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
25257 (shlib-lds, shlib-lds-flags): Define to empty.
25259 * Makerules (shlib-lds): New variable.
25260 (shlib-lds-flags): New variable.
25261 (build-shlib, build-moduile, build-module-asneeded): Use it.
25262 ($(common-objpfx)libc.so): Use $(shlib-lds).
25263 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
25264 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
25266 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
25267 DT_FLAGS/DT_FLAGS_1 with zero flags.
25269 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
25270 linker script munging.
25272 2011-07-02 Ulrich Drepper <drepper@gmail.com>
25274 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
25276 * crypt/sha512.c (sha512_process_block): Perform total addition using
25277 128-bit if possible.
25278 (__sha512_finish_ctx): Likewise.
25279 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
25281 * crypt/sha256.c (SWAP64): Define.
25282 (sha256_process_block): Perform total addition using 64-bit if
25284 (__sha256_finish_ctx): Likewise.
25286 2011-07-01 Ulrich Drepper <drepper@gmail.com>
25288 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
25289 * nscd/initgrcache.c (addinitgroupsX): Likewise.
25290 * nscd/hstcache.c (cache_addhst): Likewise.
25291 * nscd/grpcache.c (cache_addgr): Likewise.
25292 * nscd/aicache.c (addhstaiX): Likewise
25293 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
25295 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
25297 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
25298 * nscd/initgrcache.c (addinitgroupsX): Likewise.
25299 * nscd/hstcache.c (cache_addhst): Likewise.
25300 * nscd/grpcache.c (cache_addgr): Likewise.
25301 * nscd/aicache.c (addhstaiX): Likewise
25303 2011-07-01 Andreas Schwab <schwab@redhat.com>
25305 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
25306 domain only when needed.
25308 2011-06-30 Andreas Schwab <schwab@redhat.com>
25310 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
25311 is always restored.
25313 2011-06-29 Ulrich Drepper <drepper@gmail.com>
25315 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
25316 are re-adding the entry.
25317 * nscd/servicescache.c (cache_addserv): Likewise.
25319 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
25321 * sysdeps/generic/dl-irel.h: fix protection against multiple
25323 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
25325 2011-06-28 Ulrich Drepper <drepper@gmail.com>
25328 * malloc/memusage.sh: Fix quoting in message.
25329 * debug/xtrace.sh: Likewise.
25331 * configure.in: Remove support for --experimental-malloc option, make
25333 * config.make.in: Likewise.
25334 * malloc/Makefile: Likewise.
25336 2011-06-27 Andreas Schwab <schwab@redhat.com>
25338 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
25339 two-byte characters.
25341 2011-06-27 Roland McGrath <roland@hack.frob.com>
25343 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
25344 AC_CACHE_CHECK invocation.
25345 * configure: Regenerated.
25347 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
25349 2011-06-27 Ulrich Drepper <drepper@gmail.com>
25352 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
25353 bit from old_res_options.
25355 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
25357 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
25358 value type for setfct.
25360 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
25362 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
25363 __gettimeofday instead of gettimeofday.
25365 2011-06-26 Ulrich Drepper <drepper@gmail.com>
25367 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
25369 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
25371 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
25373 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
25376 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
25378 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25379 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
25380 strcpy-sse2-unaligned strncpy-sse2-unaligned
25381 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
25382 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
25383 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
25384 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
25385 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
25386 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
25387 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
25388 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
25389 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
25390 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
25391 (STRCPY): Support SSE2 and SSSE3 versions.
25393 2011-06-24 Ulrich Drepper <drepper@gmail.com>
25396 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
25397 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
25398 kernels which artificially limit size of requests.
25400 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
25402 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25403 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
25404 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
25405 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
25406 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
25407 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
25408 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
25409 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
25410 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
25411 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
25412 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
25413 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
25414 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
25415 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
25416 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
25417 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25418 Enable unaligned load optimization for Intel Core i3, i5 and i7
25420 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
25422 (index_Fast_Unaligned_Load): Define.
25423 (HAS_FAST_UNALIGNED_LOAD): Define.
25425 2011-06-23 Marek Polacek <mpolacek@redhat.com>
25427 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
25429 2011-06-22 Ulrich Drepper <drepper@gmail.com>
25432 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
25433 until it is clear that the information is realy needed.
25434 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
25436 2011-06-22 Andreas Schwab <schwab@redhat.com>
25438 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
25440 2011-06-22 Ulrich Drepper <drepper@gmail.com>
25442 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
25443 /sys/devices/system/cpu/online if it is usable.
25445 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
25446 reading the information from the /proc filesystem to once a second.
25448 2011-06-21 Andreas Jaeger <aj@suse.de>
25450 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
25451 NULL after inclusion of kernel headers.
25453 2011-06-21 Ulrich Drepper <drepper@gmail.com>
25455 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
25456 calls to internal_setent.
25459 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
25460 addresses using gethostbyname4_r ignore IPv4 addresses.
25462 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
25463 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
25465 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
25467 2011-06-20 David S. Miller <davem@davemloft.net>
25469 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
25471 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
25473 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
25474 (elf_irel): Use it.
25475 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
25476 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
25477 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
25478 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
25479 * sysdeps/x86_64/dl-irel.h: Likewise.
25481 * elf/dl-runtime.c: Use elf_ifunc_invoke.
25482 * elf/dl-sym.c: Likewise.
25484 2011-06-15 Ulrich Drepper <drepper@gmail.com>
25486 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
25487 need to dereference resplen2.
25489 2011-06-14 Andreas Schwab <schwab@redhat.com>
25491 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
25493 2011-06-15 Ulrich Drepper <drepper@gmail.com>
25495 * Makeconfig: Define vardbdir and inst_vardbdir.
25496 * nss/Makefile: Add rules to install db-Makefile.
25498 * nss/nss_db/db-XXX.c: Cleanup.
25500 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
25501 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
25503 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
25504 * nss/makedb.c: Implement -g option to specify that value strings
25505 are generated and should not be added to table iterated over for
25507 * nss/nss_db/db-initgroups.c: New file.
25509 * nss/getent.c: Add support for initgroups lookups through getgrouplist
25512 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
25513 (internal_getgrouplist): Adjust to name change.
25514 Update use_initgroups_entry if this is not the first call.
25515 * nss/databases.def: Add initgroups entry.
25517 * nss/makedb.c (compute_tables): Check result of multiple hash table
25518 sizes to minimize maximum chain length.
25520 2011-06-14 Ulrich Drepper <drepper@gmail.com>
25522 * Versions.def: Add entry for libnss_db.
25523 * shlib-versions: Likewise.
25524 * nss/Makefile: Add rules to build libnss_db.
25525 * nss/Versions: Add libnss_db information. Organize libnss_files
25527 * nss/db-Makefile: Add gshadow support. Change rules for the new
25528 makedb progra. Some minor improvements to generate smaller files.
25529 * nss/nss_db/nss_db.h: Move NSS database header data structures to
25531 * nss/makedb.c: ...here.
25532 Improve database format to be smaller and require less memory at
25534 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
25536 * nss/nss_db/db-netgrp.c: Likewise.
25537 * nss/nss_db/db-open.c: Likewise.
25538 * nss/nss_files/flies-XXX.x: Adjust comments.
25539 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
25540 * nss/nss_files/files-grp.c: Likewise.
25541 * nss/nss_files/files-hosts.c: Likewise.
25542 * nss/nss_files/files-network.c: Likewise.
25543 * nss/nss_files/files-proto.c: Likewise.
25544 * nss/nss_files/files-pwd.c: Likewise.
25545 * nss/nss_files/files-rpc.c: Likewise.
25546 * nss/nss_files/files-service.c: Likewise.
25547 * nss/nss_files/files-sgrp.c: Likewise.
25548 * nss/nss_files/files-spwd.c: Likewise.
25549 * nss/nss_db/db-alias.c: Removed.
25550 * nss/nss_db/dummy-db.h: Removed.
25552 2011-06-02 Ulrich Drepper <drepper@gmail.com>
25554 * nss/makedb.c: Rewritten to not use database library.
25555 * nss/Makefile: Update to build new makedb program.
25557 2011-06-14 Andreas Jaeger <aj@suse.de>
25559 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
25560 memset declaration.
25562 2011-06-10 Andreas Schwab <schwab@redhat.com>
25564 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
25567 2011-06-10 Roland McGrath <roland@hack.frob.com>
25569 * Makerules (shlib.lds): Fail if the linker script comes out empty.
25570 * elf/Makefile ($(objpfx)ld.so): Likewise.
25572 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
25573 Don't list ld.so twice in dependencies.
25575 * posix/bug-regex31.c: Include <stdlib.h>.
25577 * nscd/hstcache.c (cache_addhst): Remove unused variable.
25579 * nis/nss_compat/compat-spwd.c
25580 (getspent_next_nss_netgr): Remove unused variable.
25581 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
25583 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
25584 nonmembers" output to use the right array.
25586 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
25588 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
25590 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
25591 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
25592 * catgets/gencat.c (read_input_file): Likewise.
25593 * locale/programs/locarchive.c (enlarge_archive): Likewise.
25595 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
25596 variable definition inside #if's controlling its use.
25598 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
25600 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
25602 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
25604 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
25607 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
25609 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
25610 * configure: Regenerated.
25612 * Makerules: Revert last change.
25613 * elf/Makefile: Likewise.
25615 2011-06-09 Roland McGrath <roland@hack.frob.com>
25617 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
25618 * elf/Makefile ($(objpfx)librtld.os): Likewise.
25619 (reloc-link): Likewise.
25621 2011-06-09 Ulrich Drepper <drepper@gmail.com>
25623 * elf/Makefile: Add rules to build pldd.
25624 * elf/pldd.c: New file.
25625 * elf/pldd-xx.c: New file.
25627 2011-06-07 Ulrich Drepper <drepper@gmail.com>
25629 * version.h: Update for 2.15 development version.
25631 2011-06-07 David S. Miller <davem@davemloft.net>
25633 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
25635 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
25636 elf_machine_lazy_rel): Likewise.
25637 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
25638 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
25639 elf_machine_lazy_rel): Likewise.
25640 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
25641 dl_hwcap via passed in argument.
25642 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
25645 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25647 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
25649 2011-06-06 Roland McGrath <roland@hack.frob.com>
25652 * manual/fdl-1.1.texi: New file, verbatim from:
25653 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
25654 * manual/lgpl-2.1.texi: New file, verbatim from:
25655 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
25656 * manual/Makefile (licenses): New variable, list those new file names.
25658 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
25660 * manual/fdl.texi: File removed.
25661 * manual/lesser.texi: File removed.
25662 * manual/libc.texinfo (Copying, Documentation License):
25663 Use new @include file names, put @appendix directive before @include.
25665 2011-06-04 Jakub Jelinek <jakub@redhat.com>
25668 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
25669 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
25670 (mq_open): Add __NTH.
25672 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
25674 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25675 Assume Intel Core i3/i5/i7 processor if AVX is available.
25677 2011-05-31 Ulrich Drepper <drepper@gmail.com>
25679 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
25682 2011-05-31 Andreas Schwab <schwab@redhat.com>
25684 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
25685 memory. Use alloca_account. Fix memory leak when retrying.
25687 2011-05-31 Ulrich Drepper <drepper@gmail.com>
25689 * version.h (RELEASE): Bump for 2.14 release.
25690 * include/features.h (__GLIBC_MINOR__): Bump to 14.
25692 * config.make.in (RANLIB): Remove entry.
25694 2011-05-30 Ulrich Drepper <drepper@gmail.com>
25696 * po/Makefile (po-sed-cmd): Add ksh to extensions.
25697 (libc.pot): Work around missing support for .ksh extension in xgettext.
25700 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
25701 if both request failed.
25702 (send_dg): In case of server errors clear resplen or *resplen2.
25705 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
25706 when there are multiple maps.
25707 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
25708 (_dl_fini): Remove test here.
25710 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
25712 2011-05-29 Ulrich Drepper <drepper@gmail.com>
25715 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
25716 bit from old_res_options.
25717 (gaih_inet): Likewise.
25720 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
25723 * resolv/res_init.c (res_setoptions): Make the code more compact.
25726 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
25730 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
25732 * malloc/malloc.h: Mark malloc hook variables as deprecated.
25735 * malloc/malloc.h: Declare malloc hook variables as volatile.
25737 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
25741 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
25742 raise in the comment.
25743 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
25744 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
25745 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
25747 2011-05-28 Ulrich Drepper <drepper@gmail.com>
25750 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
25751 grow the buffers more if it already has to be sufficient.
25752 (build_wcs_upper_buffer): Likewise.
25753 * posix/regexec.c (check_matching): Likewise.
25754 (clean_state_log_if_needed): Likewise.
25755 (extend_buffers): Don't enlarge buffers beyond size of the input
25757 Patches mostly by Emil Wojak <emil@wojak.eu>.
25758 * posix/bug-regex32.c: New file.
25759 * posix/Makefile (tests): Add bug-regex32.
25761 * locale/findlocale.c (_nl_find_locale): Return right away if
25762 _nl_explode_name failed.
25763 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
25765 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
25767 * debug/xtrace.sh: Unify messages.
25768 * malloc/memusage.sh: Likewise.
25771 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
25772 time symbol from vDSO. Substitute with vsyscall if not available.
25773 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
25776 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
25777 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
25778 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
25779 Add sendmmsg and internal_sendmmsg.
25780 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
25781 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
25782 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
25784 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
25785 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
25786 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
25788 2011-05-27 Ulrich Drepper <drepper@gmail.com>
25791 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
25792 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
25794 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
25798 * iconvdata/Makefile (tests): Add bug-iconv9.
25799 * iconvdata/bug-iconv9.c: New file.
25801 2011-05-27 Andreas Schwab <schwab@redhat.com>
25804 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
25806 2011-05-25 Jakub Jelinek <jakub@redhat.com>
25808 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
25809 (struct user_regs_struct): Change intcs field back to cs.
25811 2011-05-25 Ulrich Drepper <drepper@gmail.com>
25813 * po/ja.po: Update from translation team.
25815 2011-05-23 Ulrich Drepper <drepper@gmail.com>
25818 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
25819 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
25821 2011-05-20 Andreas Schwab <schwab@redhat.com>
25823 * stdlib/longlong.h: Update from GCC.
25825 2011-05-23 Andreas Schwab <schwab@redhat.com>
25827 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
25829 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
25830 Add parameter name.
25831 (__sysconf): Pass it down.
25833 2011-05-22 Ulrich Drepper <drepper@gmail.com>
25836 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
25838 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
25839 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
25840 add in in __libc_use_alloca calls. Adjust callers.
25841 (glob): Use malloc in some situations.
25843 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
25844 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
25847 2011-05-21 Ulrich Drepper <drepper@gmail.com>
25849 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
25850 and CLOCK_BOOTTIME_ALARM.
25853 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
25856 * string/_strerror.c (__strerror_r): Print negative errors as signed
25860 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
25861 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
25862 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
25864 * configure.in: Fix typo in redirection and correct removal of test
25865 files in two cases.
25868 * locale/setlocale.c (new_composite_name): Fix test to check for
25869 identical name of all categories.
25872 * libio/filedoalloc.c (local_isatty): New function.
25873 (_IO_file_doallocate): Use local_isatty.
25874 * stdio-common/perror.c (perror): In case a new stream is used
25875 forward the stream error.
25876 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
25879 2011-05-20 Ulrich Drepper <drepper@gmail.com>
25882 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
25884 * include/alloca.h (extend_alloca_account): Define.
25887 * posix/regex.h: Fix comments with documentation of user-accessible
25888 fields after compilation and describe correct free'ing of pattern
25889 after re_compile_pattern.
25890 Patch by Reuben Thomas <rrt@sc3d.org>.
25892 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
25894 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
25895 and -mno-altivec to prevent the compiler from using Altivec and/or
25896 VSX instructions when the corresponding registers are not available.
25898 2011-05-19 Andreas Schwab <schwab@redhat.com>
25900 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
25902 2011-05-19 Ulrich Drepper <drepper@gmail.com>
25904 * libio/freopen.c (freopen): Use __dup2, not dup2.
25905 * libio/freopen64.c (freopen64): Likewise.
25907 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
25910 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
25911 * math/Makefile (tests): Add test-powl.
25912 (CFLAGS-test-powl.c): Define.
25913 * math/test-powl.c: New file.
25915 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
25917 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
25919 2011-05-17 Ulrich Drepper <drepper@gmail.com>
25922 * iconvdata/gb18030.c: Update to GB18020-2005.
25924 2011-05-16 Ulrich Drepper <drepper@gmail.com>
25926 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
25927 RE_SYNTAX_POSIX_AWK): Update to match recent development.
25928 Patch by Aharon Robbins <arnold@skeeve.com>.
25931 * stdlib/putenv.c (putenv): Don't always create copy of the variable
25935 * misc/pselect.c (__pselect): Handle timeout value errors hidden
25936 through underflows.
25939 * misc/error.c (error_at_line): Ensure file_name and old_file_name
25940 point to strings before performing equality test for error_one_per_line
25944 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
25947 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
25948 (struct user_fpregs_struct): Avoid __uint*_t types.
25951 * malloc/mtrace.c (tr_where): Add additional parameter to point to
25952 symbol info. Use it instead of calling _dl_addr locally.
25953 (lock_and_info): New function.
25954 (tr_freehook): Call lock_and_info and pass symbol info as additional
25955 parameter to tr_where.
25956 (tr_mallochook): Likewise.
25957 (tr_reallochook): Likewise.
25958 (tr_memalignhook): Likewise.
25960 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
25961 used and couldn't be at all thread-safe.
25963 2011-05-15 Ulrich Drepper <drepper@gmail.com>
25965 * libio/freopen.c (freopen): Don't close old file descriptor
25966 before the new one is opened. Instead dup the new file descriptor
25967 to the old one after the new stream is created.
25968 * libio/freopen64.c (freopen64): Likewise.
25969 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
25970 * libio/fileops.c (_IO_new_file_close_it): Handle new
25971 _IO_FLAGS2_NOCLOSE flag.
25972 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
25973 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
25974 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
25975 _IO_FLAGS2_NOCLOSE flag.
25976 * include/unistd.h: Add hidden_proto for dup3.
25977 Define __have_dup3.
25978 * io/dup3.c: Define hidden symbol.
25979 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
25982 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
25983 when an incomplete long option is used.
25984 * posix/tst-getopt_long1.c: New file.
25985 * posix/Makefile (tests): Add tst-getopt_long1.
25988 * scripts/config.guess: Update from autoconf-2.68.
25989 * scripts/config.sub: Likewise.
25992 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
25994 (has_cpuclock): ...this. New function.
25995 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
25996 macro here based on has_cpuclock code.
25999 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
26000 First byte (not low byte) is now always NUL.
26001 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
26003 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
26004 Use non-cancelable interfaces.
26007 * locale/iso-639.def: Add entry for Sorani.
26010 * include/stdlib.h: Move include protection to the right place.
26011 Define abort_msg_s. Declare __abort_msg with it.
26012 * stdlib/abort.c (__abort_msg): Adjust type.
26013 * assert/assert.c (__assert_fail_base): New function. Majority
26014 of code from __assert_fail. Allocate memory for __abort_msg with
26016 (__assert_fail): Now call __assert_fail_base.
26017 * assert/assert-perr.c: Remove bulk of implementation. Use
26018 __assert_fail_base.
26019 * include/assert.hL Declare __assert_fail_base.
26020 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
26022 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
26024 2011-05-14 Ulrich Drepper <drepper@gmail.com>
26028 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
26029 until all modules are registered in the DTV.
26030 * elf/Makefile: Add rules to build and run tst-tls19.
26031 * elf/tst-tls19.c: New file.
26032 * elf/tst-tls19mod1.c: New file.
26033 * elf/tst-tls19mod2.c: New file.
26034 * elf/tst-tls19mod3.c: New file.
26035 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
26038 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
26042 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
26043 two-byte sequence errors.
26044 * iconvdata/Makefile (tests): Add bug-iconv8.
26045 * iconvdata/bug-iconv8.c: New file.
26048 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
26051 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
26054 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
26055 (dummy_getcfa): New function.
26056 (init): Get _Unwind_GetCFA address, use dummy if not found.
26057 (backtrace_helper): In recursion check, also check whether CFA changes.
26058 (__backtrace): Completely initialize arg.
26060 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
26061 storing incomplete byte sequence in state object. Avoid testing for
26062 guaranteed too small input if we know there is enough data available.
26064 2011-05-11 Andreas Schwab <schwab@redhat.com>
26066 * Makeconfig (+link-pie): Indent.
26067 * Rules (binaries-pie): Define if $(have-fpie) and
26069 (binaries-shared): Also filter out $(binaries-pie).
26070 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
26071 * nscd/Makefile (others-pie): Add nscd.
26072 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
26073 ($(objpfx)nscd): Remove command override.
26074 * login/Makefile (others-pie): Add pt_chown.
26075 ($(objpfx)pt_chown): Remove command override.
26076 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
26077 remove command overrides.
26079 2011-05-13 Ulrich Drepper <drepper@gmail.com>
26081 * libio/tst_putwc.c: Fix error messages.
26084 * libio/fileops.c (_IO_new_file_close_it): Always flush when
26085 currently writing and seek to current position when not.
26086 * libio/Makefile (tests): Add bug-fclose1.
26087 * libio/bug-fclose1.c: New file.
26089 2011-05-12 Ulrich Drepper <drepper@gmail.com>
26092 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
26093 don't set DF_1_NODELETE here.
26094 (do_lookup_x): When entering new entry test for copy relocation
26095 and if necessary set DF_1_NODELETE flag.
26096 * elf/tst-unique4.cc: New file.
26097 * elf/tst-unique4.h: New file.
26098 * elf/tst-unique4lib.cc: New file.
26099 * elf/Makefile: Add rules to build and run tst-unique4.
26100 Patch by Piotr Bury <pbury@goahead.com>.
26102 2011-05-11 Ulrich Drepper <drepper@gmail.com>
26105 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
26108 * misc/mntent_r.c (addmntent): Flush the stream after the output
26111 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
26112 (is_trusted_path_normalize): Skip initial colon. Append slash
26113 to empty buffer. Duplicate is_trusted_path code but allow
26114 constructed patch to be prefix.
26115 (is_dst): Allow $ORIGIN followed by /.
26116 (_dl_dst_substitute): Correct clearing of check_for_trusted.
26117 Correct testing of result of is_trusted_path_normalize
26118 (decompose_rpath): Fix warning.
26120 2011-05-10 Ulrich Drepper <drepper@gmail.com>
26123 * grp/initgroups.c (internal_getgrouplist): When we found the service
26124 list through the initgroups entry in nsswitch.conf do not always
26125 continue on a successful lookup. Don't always use the
26126 __nss_group_database value if it is set.
26127 * nss/nsswitch.conf (initgroups): Change action for successful db
26128 lookup to continue for compatibility.
26130 2011-05-09 Ulrich Drepper <drepper@gmail.com>
26133 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
26135 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
26137 * iconvdata/tst-tables.sh: Likewise.
26138 * iconvdata/cp770.c: New file.
26139 * iconvdata/cp771.c: New file.
26140 * iconvdata/cp772.c: New file.
26141 * iconvdata/cp773.c: New file.
26142 * iconvdata/cp774.c: New file.
26143 * iconvdata/testdata/CP770: New file.
26144 * iconvdata/testdata/CP770..UTF8: New file.
26145 * iconvdata/testdata/CP771: New file.
26146 * iconvdata/testdata/CP771..UTF8: New file.
26147 * iconvdata/testdata/CP772: New file.
26148 * iconvdata/testdata/CP772..UTF8: New file.
26149 * iconvdata/testdata/CP773: New file.
26150 * iconvdata/testdata/CP773..UTF8: New file.
26151 * iconvdata/testdata/CP774: New file.
26152 * iconvdata/testdata/CP774..UTF8: New file.
26154 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
26156 * iconvdata/gen-8bit-gap.sh: Likewise.
26157 * iconvdata/gen-8bit.sh: Likewise.
26159 * locale/iso-639.def: Add ary entry.
26162 * locale/C-translit.h.in: Add U20A1 transliteration.
26165 * locale/iso-639.def: Add wae entry.
26166 Patch by Kevin Bortis <bortis@translate-wae.ch>.
26169 * locale/programs/localedef.c (construct_output_path): Use ssize_t
26173 * locale/C-translit.h.in: Add entry for U20B9.
26174 Patch by pravin.d.s@gmail.com.
26176 2011-05-08 Ulrich Drepper <drepper@gmail.com>
26179 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
26180 ENAMETOOLONG use generic getcwd.
26181 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
26182 in rtld. Use *stat64.
26183 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
26184 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
26185 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
26186 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
26187 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
26188 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
26189 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
26190 __fstatat64 macros.
26191 * include/dirent.h: Add libc_hidden_proto for rewinddir.
26192 * dirent/rewinddir.c: Add libc_hidden_def.
26193 * sysdeps/mach/hurd/rewinddir.c: Likewise.
26194 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
26196 * include/dirent.h (__alloc_dir): Add flags parameter.
26197 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
26198 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
26200 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
26201 from fdopendir if O_CLOEXEC is already set.
26203 2011-03-15 Alan Modra <amodra@gmail.com>
26205 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
26206 l_tls_firstbyte_offset non-zero. Save padding offset in
26207 l_tls_firstbyte_offset for later use.
26208 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
26209 freeing static tls block.
26211 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
26213 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
26214 where #ifdef was intended. The intent is to prevent ARG_MAX from
26215 being defined by the kernel headers.
26217 2011-05-07 Ulrich Drepper <drepper@gmail.com>
26220 * resolv/resolv.h: Define RES_NOTLDQUERY.
26221 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
26222 no-tld-query and set RES_NOTLDQUERY.
26223 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
26224 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
26225 modern BIND to search name as TLD unless forbidden.
26227 2011-05-07 Petr Baudis <pasky@suse.cz>
26228 Ulrich Drepper <drepper@gmail.com>
26231 * elf/dl-load.c (fillin_rpath): Move trusted path check...
26232 (is_trusted_path): ...to here.
26233 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
26234 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
26235 using is_trusted_path_normalize() in setuid scripts.
26237 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
26239 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
26240 __BEGIN/__END_DECLS.
26242 2011-05-06 Ulrich Drepper <drepper@gmail.com>
26244 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
26245 NSS_STATUS_NOTFOUND if no record was found.
26247 2011-05-05 Andreas Schwab <schwab@redhat.com>
26249 * sunrpc/Makefile (headers): Add rpc/netdb.h.
26250 (headers-not-in-tirpc): Remove rpc/netdb.h
26251 * resolv/netdb.h: Revert last change.
26253 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
26255 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
26256 circular dependency between libgcc.a and libc.a.
26258 2011-05-05 Andreas Schwab <schwab@redhat.com>
26260 * resolv/netdb.h: Don't include <rpc/netdb.h>.
26261 * nis/Makefile: Don't install rpcsvc/*.
26262 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
26263 instead of <rpc/types.h>.
26264 (MAXHOSTNAMELEN): Define.
26266 2011-05-03 Andreas Schwab <schwab@redhat.com>
26268 * elf/ldconfig.c (add_dir): Don't crash on empty path.
26270 2011-04-28 Maciej Babinski <mbabinski@google.com>
26273 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
26274 gethostbyname4_r when IPv6 results are possible.
26276 2011-05-02 Ulrich Drepper <drepper@gmail.com>
26279 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
26280 _PC_PIPE_BUF handling.
26282 2011-04-30 Bruno Haible <bruno@clisp.org>
26285 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
26286 * resolv/netdb.h (getnameinfo): Change type of flags parameter
26288 * inet/getnameinfo.c (getnameinfo): Likewise.
26290 2011-04-29 Ulrich Drepper <drepper@gmail.com>
26292 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
26293 to groups setting in database lookup.
26294 * nss/nsswitch.conf: Add initgroups entry.
26296 2011-04-22 Ulrich Drepper <drepper@gmail.com>
26299 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
26301 Patch by Eric Blake <eblake@redhat.com>.
26303 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
26305 * sunrpc/Makefile (need-export-routines): Add svc_run.
26306 (routines): Remove svc_run.
26307 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
26308 * sunrpc/clnt_perr.c (clnt_perrno): Export.
26309 * sunrpc/svc_run.c (svc_run): Likewise.
26310 * sunrpc/svc_udp.c (svcudp_create): Likewise.
26312 2011-04-21 Ulrich Drepper <drepper@gmail.com>
26314 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
26315 problem in reallocation in last patch.
26317 2011-04-20 Ulrich Drepper <drepper@gmail.com>
26319 * sunrpc/Makefile: Move inclusion of Rules.
26321 2011-04-19 Ulrich Drepper <drepper@gmail.com>
26323 * nss/nss_files/files-initgroups.c: New file.
26324 * nss/Makefile (libnss_files-routines): Add files-initgroups.
26325 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
26326 _nss_files_initgroups_dyn.
26328 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
26330 * elf/elf.h (R_ARM_IRELATIVE): Define.
26332 2011-04-19 Ulrich Drepper <drepper@gmail.com>
26334 * po/ru.po: Update from translation team.
26336 2011-04-17 Ulrich Drepper <drepper@gmail.com>
26338 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
26341 2011-02-06 Mike Frysinger <vapier@gentoo.org>
26344 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
26345 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
26346 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
26347 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
26348 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
26350 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
26352 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
26354 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
26355 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
26356 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
26358 2011-04-17 Ulrich Drepper <drepper@gmail.com>
26361 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
26363 * stdlib/bug-getcontext.c: New file.
26364 * stdlib/Makefile: Add rules to build and run bug-getcontext.
26366 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26368 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
26369 instructions into .machine "z9-109".
26370 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
26371 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
26373 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26375 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
26376 between environment variables and auxiliary vector.
26378 2011-04-16 Ulrich Drepper <drepper@gmail.com>
26380 * Makefile: Add rules to build linkobj/libc.so.
26381 * include/libc-symbols.h: Define libc_hidden_nolink.
26382 * include/rpc/auth.h: Mark functions which are to be hidden.
26383 * include/rpc/auth_des.h: Likewise.
26384 * include/rpc/auth_unix.h: Likewise.
26385 * include/rpc/clnt.h: Likewise.
26386 * include/rpc/des_crypt.h: Likewise.
26387 * include/rpc/key_prot.h: Likewise.
26388 * include/rpc/pmap_clnt.h: Likewise.
26389 * include/rpc/pmap_prot.h: Likewise.
26390 * include/rpc/pmap_rmt.h: Likewise.
26391 * include/rpc/rpc_msg.h: Likewise.
26392 * include/rpc/svc.h: Likewise.
26393 * include/rpc/svc_auth.h: Likewise.
26394 * include/rpc/xdr.h: Likewise.
26395 * nis/Makefile: Link all DSOs against linkobj/libc.so.
26396 * nss/Makefile: Likewise.
26397 * sunrpc/Makefile: Don't install headers. Build library with normal
26398 entry points. Don't build rpcinfo. Link RPC tests appropriately.
26399 * sunrpc/auth_des.c: Hide exported symbols by default, export some
26400 for the compat linking library. Remove use of INTDEF/INTUSE.
26401 * sunrpc/auth_none.c: Likewise.
26402 * sunrpc/auth_unix.c: Likewise.
26403 * sunrpc/authdes_prot.c: Likewise.
26404 * sunrpc/authuxprot.c: Likewise.
26405 * sunrpc/clnt_gen.c: Likewise.
26406 * sunrpc/clnt_perr.c: Likewise.
26407 * sunrpc/clnt_raw.c: Likewise.
26408 * sunrpc/clnt_simp.c: Likewise.
26409 * sunrpc/clnt_tcp.c: Likewise.
26410 * sunrpc/clnt_udp.c: Likewise.
26411 * sunrpc/clnt_unix.c: Likewise.
26412 * sunrpc/des_crypt.c: Likewise.
26413 * sunrpc/des_soft.c: Likewise.
26414 * sunrpc/get_myaddr.c: Likewise.
26415 * sunrpc/key_call.c: Likewise.
26416 * sunrpc/key_prot.c: Likewise.
26417 * sunrpc/netname.c: Likewise.
26418 * sunrpc/pm_getmaps.c: Likewise.
26419 * sunrpc/pm_getport.c: Likewise.
26420 * sunrpc/pmap_clnt.c: Likewise.
26421 * sunrpc/pmap_prot.c: Likewise.
26422 * sunrpc/pmap_prot2.c: Likewise.
26423 * sunrpc/pmap_rmt.c: Likewise.
26424 * sunrpc/publickey.c: Likewise.
26425 * sunrpc/rpc_cmsg.c: Likewise.
26426 * sunrpc/rpc_common.c: Likewise.
26427 * sunrpc/rpc_dtable.c: Likewise.
26428 * sunrpc/rpc_prot.c: Likewise.
26429 * sunrpc/rpc_thread.c: Likewise.
26430 * sunrpc/rtime.c: Likewise.
26431 * sunrpc/svc.c: Likewise.
26432 * sunrpc/svc_auth.c: Likewise.
26433 * sunrpc/svc_authux.c: Likewise.
26434 * sunrpc/svc_raw.c: Likewise.
26435 * sunrpc/svc_run.c: Likewise.
26436 * sunrpc/svc_simple.c: Likewise.
26437 * sunrpc/svc_tcp.c: Likewise.
26438 * sunrpc/svc_udp.c: Likewise.
26439 * sunrpc/svc_unix.c: Likewise.
26440 * sunrpc/svcauth_des.c: Likewise.
26441 * sunrpc/xcrypt.c: Likewise.
26442 * sunrpc/xdr.c: Likewise.
26443 * sunrpc/xdr_array.c: Likewise.
26444 * sunrpc/xdr_float.c: Likewise.
26445 * sunrpc/xdr_intXX_t.c: Likewise.
26446 * sunrpc/xdr_mem.c: Likewise.
26447 * sunrpc/xdr_rec.c: Likewise.
26448 * sunrpc/xdr_ref.c: Likewise.
26449 * sunrpc/xdr_sizeof.c: Likewise.
26450 * sunrpc/xdr_stdio.c: Likewise.
26452 2011-04-10 Ulrich Drepper <drepper@gmail.com>
26455 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
26456 * sysdeps/ia64/dl-tls.h: Likewise.
26457 * sysdeps/powerpc/dl-tls.h: Likewise.
26458 * sysdeps/s390/dl-tls.h: Likewise.
26459 * sysdeps/sh/dl-tls.h: Likewise.
26460 * sysdeps/sparc/dl-tls.h: Likewise.
26461 * sysdeps/x86_64/dl-tls.h: Likewise.
26462 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
26464 2011-03-14 Andreas Schwab <schwab@redhat.com>
26466 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
26467 rpath element also skip the following colon.
26468 (expand_dynamic_string_token): Add is_path parameter and pass
26469 down to DL_DST_REQUIRED and _dl_dst_substitute.
26470 (decompose_rpath): Call expand_dynamic_string_token with
26471 non-zero is_path. Ignore empty rpaths.
26472 (_dl_map_object_from_fd): Call expand_dynamic_string_token
26475 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
26477 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
26480 2011-04-09 Ulrich Drepper <drepper@gmail.com>
26483 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
26484 Patch by Filipe David Manana <fdmanana@apache.org>.
26486 2011-04-07 Andreas Schwab <schwab@redhat.com>
26488 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
26489 Maintain aligned stack.
26490 (CHECK_RSP): Remove unused macro.
26492 2011-04-03 Ulrich Drepper <drepper@gmail.com>
26494 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
26495 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
26497 2011-04-02 Ulrich Drepper <drepper@gmail.com>
26499 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
26501 * include/features.h: Mention __USE_XOPEN2K8 in comment.
26503 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
26506 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
26507 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
26508 * sysdeps/x86_64/memmove.c: New file.
26509 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
26510 (memcpy): Renamed to ...
26511 (__new_memcpy): This.
26512 (memcpy): Provide GLIBC_2_14 memcpy.
26513 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
26514 (memcpy): Provide GLIBC_2_2_5 memcpy.
26516 2011-04-01 Ulrich Drepper <drepper@gmail.com>
26519 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
26521 2011-03-30 Andreas Schwab <schwab@redhat.com>
26523 * misc/syncfs.c: New file.
26524 * misc/Makefile (routines): Add syncfs.
26525 * posix/unistd.h: Declare syncfs.
26526 * sysdeps/unix/syscalls.list: Add syncfs.
26528 2011-04-01 Andreas Schwab <schwab@redhat.com>
26530 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
26532 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
26533 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
26534 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
26535 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
26536 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26537 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
26538 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
26540 2011-04-01 Ulrich Drepper <drepper@gmail.com>
26542 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
26543 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
26544 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
26545 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
26546 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
26547 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26548 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
26550 * io/Makefile: Compile fallocate.c, fallocate64.c, and
26551 sync_file_range.c with -fexceptions.
26552 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
26553 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
26554 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
26555 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
26556 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
26557 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
26558 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
26559 sync_file_range as cancellation point
26560 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
26561 now a wrapper around __call_sync_file_range with cancellation handling.
26562 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
26563 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
26564 function name to __call_sync_file_range.
26565 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
26566 Add call_sync_file_range.
26568 2011-04-01 Andreas Schwab <schwab@redhat.com>
26570 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26573 2011-04-01 Ulrich Drepper <drepper@gmail.com>
26575 * iconv/iconv.h: Fix typo in comment.
26576 * io/fcntl.h: Likewise.
26577 * libio/stdio.h: Likewise.
26578 * posix/spawn.h: Likewise.
26579 * posix/unistd.h: Likewise.
26580 * stdlib/stdlib.h: Likewise.
26581 * time/time.h: Likewise.
26582 * wcsmbs/wchar.h: Likewise.
26584 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
26585 open_by_handle): Add.
26586 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
26587 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
26588 Augment a few comments.
26589 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
26590 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
26591 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
26592 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26593 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
26594 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
26597 * io/fcntl.h (AT_EMPTY_PATH): Define.
26599 2011-03-30 Ulrich Drepper <drepper@gmail.com>
26601 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
26602 * sysdeps/unix/sysv/linux/bits/time.h: New file.
26603 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
26605 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
26606 * Versions.def: Add GLIBC_2.14.
26607 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
26610 2011-03-22 Ulrich Drepper <drepper@gmail.com>
26612 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
26614 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
26616 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
26619 * string/test-strncmp.c (do_page_test): New function.
26620 (check2): Likewise.
26621 (test_main): Call check2.
26622 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
26624 2011-03-20 Ulrich Drepper <drepper@gmail.com>
26627 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
26628 Handle cache information in CPU leaf 4.
26629 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
26631 2011-03-18 Ulrich Drepper <drepper@gmail.com>
26634 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
26635 character representation.
26636 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
26638 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
26640 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
26641 END(__isnan) to END(__isnanf) to match function entry point/label
26642 EALIGN(__isnanf,...).
26644 2011-03-10 Jakub Jelinek <jakub@redhat.com>
26646 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
26648 2011-03-10 Ulrich Drepper <drepper@gmail.com>
26651 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
26652 copy from the symbol referenced in the relocation to initialize the
26654 Patch by Piotr Bury <pbury@goahead.com>.
26655 * elf/Makefile: Add rules to build and tst-unique3.
26656 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
26657 * elf/tst-unique3.cc: New file.
26658 * elf/tst-unique3.h: New file.
26659 * elf/tst-unique3lib.cc: New file.
26660 * elf/tst-unique3lib2.cc: New file.
26662 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
26664 2011-03-10 Mike Frysinger <vapier@gentoo.org>
26666 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
26667 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
26670 2011-03-06 Ulrich Drepper <drepper@gmail.com>
26672 * elf/dl-load.c (_dl_map_object): If we are looking for the first
26673 to-be-loaded object along a path to loader is ld.so.
26675 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
26676 Ulrich Drepper <drepper@gmail.com>
26678 * sysdeps/x86_64/memset.S: After aligning destination, code
26679 branches to different locations depending on the value of
26680 misalignment, when multiarch is enabled. Fix this.
26682 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
26684 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
26685 Set _x86_64_preferred_memory_instruction for AMD processsors.
26686 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26687 Set bit_Prefer_SSE_for_memop for AMD processors.
26689 2011-03-04 Ulrich Drepper <drepper@gmail.com>
26691 * libio/fmemopen.c (fmemopen): Optimize a bit.
26693 2011-03-03 Andreas Schwab <schwab@redhat.com>
26695 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
26697 2011-03-03 Roland McGrath <roland@redhat.com>
26699 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
26701 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
26703 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
26704 __bzero_ultra1 instead of __memset_ultra1.
26706 2011-02-23 Andreas Schwab <schwab@redhat.com>
26707 Ulrich Drepper <drepper@gmail.com>
26710 * include/link.h (struct link_map): Add l_orig_initfini.
26711 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
26712 returning unsuccessfully.
26713 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
26714 close of a file loaded at startup, restore the original l_initfini
26716 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
26717 list, store the pointer.
26718 * elf/Makefile ($(objpfx)noload-mem): New rule.
26719 (noload-ENV): Define.
26720 (tests): Add $(objpfx)noload-mem.
26721 * elf/noload.c: Include <memcheck.h>.
26722 (main): Call mtrace. Close all opened handles.
26724 2011-02-17 Andreas Schwab <schwab@redhat.com>
26727 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
26728 dependencies are missing.
26730 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
26732 Fix __if_freereq crash: Unlike the generic version which uses free,
26734 * sysdeps/mach/hurd/ifreq.h: New file.
26736 2011-01-27 Petr Baudis <pasky@suse.cz>
26737 Ulrich Drepper <drepper@gmail.com>
26740 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
26741 to extend_alloca().
26742 * stdio-common/bug23.c: New file.
26743 * stdio-common/Makefile (tests): Add bug23.
26745 2010-09-28 Andreas Schwab <schwab@redhat.com>
26746 Ulrich Drepper <drepper@gmail.com>
26749 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
26750 before performing relro protection. At old place add assertion
26751 to make sure nothing changed.
26753 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
26754 Glauber de Oliveira Costa <glommer@gmail.com>
26756 * elf/elf.h: Add new ARM TLS relocs.
26758 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
26760 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
26761 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
26763 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
26765 * sysdeps/wordsize-64/tst-writev.c: New file.
26767 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
26769 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
26770 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
26771 insns in _dl_start to prevent a TOC reference before relocs are
26774 2011-02-15 Ulrich Drepper <drepper@gmail.com>
26777 * Makeconfig: Remove RANLIB definition.
26778 * Makerules: Don't use RANLIB.
26779 * aclocal.m4: Remove ranlib test.
26780 * configure.in: No need to check for ranlib.
26781 * elf/rtld-Rules: Don't use RANLIB.
26783 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
26785 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
26787 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
26788 inclusion protection macro.
26790 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
26791 SIGRTMIN and SIGRTMAX and print information in that case only when
26792 SIGRTMIN is defined.
26794 2011-02-11 Jakub Jelinek <jakub@redhat.com>
26796 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
26797 arginfo fn returning -1.
26799 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
26800 and thousands string is zero terminated.
26802 2011-02-03 Andreas Schwab <schwab@redhat.com>
26804 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
26805 sysdeps/unix/sysv/linux/bits/socket.h.
26807 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
26809 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
26810 (__CPU_COUNT): Remove old macros.
26811 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
26812 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
26813 (__CPU_ALLOC, __CPU_FREE): Add macros.
26814 (__sched_cpualloc, __sched_cpufree): Add declarations.
26816 2011-02-05 Ulrich Drepper <drepper@gmail.com>
26818 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
26819 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
26820 * nscd/aicache.c (addhstaiX): Return timeout of added value.
26821 (readdhstai): Return value of addhstaiX call.
26822 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
26823 (addgrbyX): Return value returned by cache_addgr.
26824 (readdgrbyname): Return value returned by addgrbyX.
26825 (readdgrbygid): Likewise.
26826 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
26827 (addpwbyX): Return value returned by cache_addpw.
26828 (readdpwbyname): Return value returned by addhstbyX.
26829 (readdpwbyuid): Likewise.
26830 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
26831 (addservbyX): Return value returned by cache_addserv.
26832 (readdservbyname): Return value returned by addservbyX:
26833 (readdservbyport): Likewise.
26834 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
26835 (addhstbyX): Return value returned by cache_addhst.
26836 (readdhstbyname): Return value returned by addhstbyX.
26837 (readdhstbyaddr): Likewise.
26838 (readdhstbynamev6): Likewise.
26839 (readdhstbyaddrv6): Likewise.
26840 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
26841 (readdinitgroups): Return value returned by addinitgroupsX.
26842 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
26843 (prune_cache): Keep track of timeout value of re-added entries.
26844 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
26845 * nscd/nscd.h: Adjust prototypes of readd* functions.
26847 2011-02-04 Roland McGrath <roland@redhat.com>
26849 * nis/nis_server.c (nis_servstate): Use the right name for 0.
26850 (nis_stats): Likewise.
26851 * nis/nis_modify.c (nis_modify): Likewise.
26852 * nis/nis_remove.c (nis_remove): Likewise.
26853 * nis/nis_add.c (nis_add): Likewise.
26855 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
26857 * posix/fnmatch_loop.c: Add some consts.
26859 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
26861 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
26864 * config.make.in (config-cflags-novzeroupper): Define.
26865 * configure.in: Substitute libc_cv_cc_novzeroupper.
26866 * elf/Makefile (AVX-CFLAGS): Define.
26867 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
26868 (CFLAGS-tst-auditmod4a.c): Likewise.
26869 (CFLAGS-tst-auditmod4b.c): Likewise.
26870 (CFLAGS-tst-auditmod6b.c): Likewise.
26871 (CFLAGS-tst-auditmod6c.c): Likewise.
26872 (CFLAGS-tst-auditmod7b.c): Likewise.
26873 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
26875 2011-02-02 Ulrich Drepper <drepper@gmail.com>
26877 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
26878 function to the callback.
26879 Patch partly by Jiri Olsa <jolsa@redhat.com>.
26881 2011-02-02 Andreas Schwab <schwab@redhat.com>
26883 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
26886 2011-01-19 Ulrich Drepper <drepper@gmail.com>
26889 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
26891 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
26893 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
26896 * elf/Makefile: Add rules to build and run new test.
26897 * elf/tst-initorder.c: New file.
26898 * elf/tst-initorder.exp: New file.
26899 * elf/tst-initordera1.c: New file.
26900 * elf/tst-initordera2.c: New file.
26901 * elf/tst-initordera3.c: New file.
26902 * elf/tst-initordera4.c: New file.
26903 * elf/tst-initorderb1.c: New file.
26904 * elf/tst-initorderb2.c: New file.
26905 * elf/tst-order-a1.c: New file.
26906 * elf/tst-order-a2.c: New file.
26907 * elf/tst-order-a3.c: New file.
26908 * elf/tst-order-a4.c: New file.
26909 * elf/tst-order-b1.c: New file.
26910 * elf/tst-order-b2.c: New file.
26911 * elf/tst-order-main.c: New file.
26912 New test case by George Gensure <werkt0@gmail.com>.
26914 2010-10-01 Andreas Schwab <schwab@redhat.com>
26916 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
26917 decoding ACE if AI_CANONIDN.
26919 2011-01-18 Ulrich Drepper <drepper@gmail.com>
26921 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
26923 2011-01-17 Ulrich Drepper <drepper@gmail.com>
26925 * version.h (RELEASE): Bump for 2.13 release.
26926 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
26928 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
26930 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
26932 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
26933 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
26934 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
26935 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
26936 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
26937 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
26939 * posix/getconf.c: Update copyright year.
26940 * catgets/gencat.c: Likewise.
26941 * csu/version.c: Likewise.
26942 * debug/catchsegv.sh: Likewise.
26943 * debug/xtrace.sh: Likewise.
26944 * elf/ldconfig.c: Likewise.
26945 * elf/ldd.bash.in: Likewise.
26946 * elf/sprof.c (print_version): Likewise.
26947 * iconv/iconv_prog.c: Likewise.
26948 * iconv/iconvconfig.c: Likewise.
26949 * locale/programs/locale.c: Likewise.
26950 * locale/programs/localedef.c: Likewise.
26951 * malloc/memusage.sh: Likewise.
26952 * malloc/mtrace.pl: Likewise.
26953 * nscd/nscd.c (print_version): Likewise.
26954 * nss/getent.c: Likewise.
26956 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
26957 PF_CAIF, and PF_ALG.
26958 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
26960 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
26962 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
26963 (modules-names): Use them.
26964 (ifunc-test-modules, ifunc-pie-tests): Define.
26965 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
26966 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
26967 (test-extras): Likewise.
26968 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
26969 $(compile-command.c).
26970 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
26971 (all-built-dso): Define.
26972 (check-textrel.out, check-execstack.out): Depend on it.
26974 * configure.in: Don't override --enable-multi-arch.
26976 2011-01-15 Ulrich Drepper <drepper@gmail.com>
26979 * nscd/hstcache.c (tryagain): Define.
26980 (cache_addhst): Return tryagain not notfound for temporary errors.
26981 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
26984 2011-01-14 Ulrich Drepper <drepper@gmail.com>
26987 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
26988 to make the syscall.
26989 * sysdeps/unix/sysv/linux/setgroups.c: New file.
26992 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
26993 and fall back to matching as normal character if the string ends before
26994 the matching ']' is found. This is what POSIX requires.
26995 * posix/testfnm.c: Adjust test result.
26996 * posix/globtest.sh: Adjust test result. Add new test.
26997 * posix/tst-fnmatch.input: Likewise.
26998 * posix/tst-fnmatch2.c: Add new test.
27000 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
27002 * elf/Makefile (check-execstack): Revert last change. Depend on
27004 (check-execstack.h): New target.
27005 (generated): Add check-execstack.h.
27006 * elf/check-execstack.c: Include "check-execstack.h".
27007 (main): Revert last change.
27008 (handle_file): Return zero if GNU_STACK is absent and
27009 DEFAULT_STACK_PERMS doesn't include PF_X.
27011 2011-01-13 Ulrich Drepper <drepper@gmail.com>
27013 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
27014 in child fails because the descriptor is already closed.
27015 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
27016 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
27017 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
27020 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
27024 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
27025 temporary buffer used to handle multi lookups locally.
27026 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
27028 2011-01-12 Ulrich Drepper <drepper@gmail.com>
27030 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
27033 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
27035 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
27036 alignment for SSE2.
27038 2011-01-12 Ulrich Drepper <drepper@gmail.com>
27041 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
27042 characters. When rounding increased number of integer digits recompute
27044 * stdio-common/tst-grouping.c: New file.
27045 * stdio-common/Makefile: Add rules to build and run tst-grouping.
27047 2011-01-09 Ulrich Drepper <drepper@gmail.com>
27049 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
27050 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
27052 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
27054 * bits/select.h: Likewise.
27056 2011-01-08 Ulrich Drepper <drepper@gmail.com>
27058 * po/ja.po: Update from translation team.
27060 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
27063 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
27064 implementation just like for lxstat, fxstatat, et al.
27066 2010-12-27 Jim Meyering <meyering@redhat.com>
27069 * posix/regexec.c (build_trtable): Return failure indication upon
27070 calloc failure. Otherwise, re_search_internal could infloop on OOM.
27072 2010-12-25 Ulrich Drepper <drepper@gmail.com>
27075 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
27076 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
27077 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
27078 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
27081 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
27084 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
27085 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
27087 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
27089 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
27090 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
27091 script has SORT_BY_INIT_PRIORITY.
27092 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
27093 NO_CTORS_DTORS_SECTIONS is defined.
27094 * elf/soinit.c: Likewise.
27095 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
27096 NO_CTORS_DTORS_SECTIONS is defined.
27097 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
27098 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
27099 * sysdeps/sh/init-first.c: Likewise.
27100 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
27102 2010-12-24 Ulrich Drepper <drepper@gmail.com>
27104 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
27105 always use the slow path.
27107 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
27109 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
27110 similar rule which adds the sysdep directories to the header search in
27111 order to pick up the correct platform stackinfo.h.
27112 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
27113 perform test if it is, otherwise return successfully without testing.
27114 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
27115 DEFAULT_STACK_PERMS define in stackinfo.h.
27116 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
27117 defined in stackinfo.h.
27118 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
27119 DEFAULT_STACK_PERMS defined in stackinfo.h.
27120 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
27121 * sysdeps/ia64/stackinfo.h: Likewise.
27122 * sysdeps/s390/stackinfo.h: Likewise.
27123 * sysdeps/sh/stackinfo.h: Likewise.
27124 * sysdeps/sparc/stackinfo.h: Likewise.
27125 * sysdeps/x86_64/stackinfo.h: Likewise.
27126 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
27127 PF_X for powerpc64. Retain PF_X for powerpc32.
27129 2010-12-19 Ulrich Drepper <drepper@gmail.com>
27131 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
27133 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
27134 GETDENTS_64BIT_ALIGNED.
27136 2010-12-14 Ulrich Drepper <dreper@gmail.com>
27138 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
27140 2010-12-10 Andreas Schwab <schwab@redhat.com>
27142 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
27145 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
27146 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
27148 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
27149 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
27151 2010-12-09 Ulrich Drepper <drepper@gmail.com>
27154 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
27157 2010-12-09 Jakub Jelinek <jakub@redhat.com>
27159 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
27161 2010-12-03 Ulrich Drepper <drepper@gmail.com>
27163 * po/it.po: Update from translation team.
27165 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
27167 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
27170 2010-11-30 Ulrich Drepper <drepper@gmail.com>
27172 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
27174 2010-11-24 Andreas Schwab <schwab@redhat.com>
27176 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
27178 (gaih_getanswer_slice): Likewise.
27180 2010-10-20 Jakub Jelinek <jakub@redhat.com>
27182 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
27184 2010-05-31 Petr Baudis <pasky@suse.cz>
27187 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
27188 silently even in the chroot mode.
27190 2010-11-22 Ulrich Drepper <drepper@gmail.com>
27192 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
27193 last patch a bit. Pretty printing
27195 2010-05-31 Petr Baudis <pasky@suse.cz>
27198 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
27199 initialization of skip_initgroups_dyn.
27201 2010-11-19 Ulrich Drepper <drepper@gmail.com>
27203 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
27204 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
27206 2010-11-16 Ulrich Drepper <drepper@gmail.com>
27208 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
27210 2010-11-11 Andreas Schwab <schwab@redhat.com>
27212 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
27213 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
27214 (tst-fnmatch-ENV): Set MALLOC_TRACE.
27215 ($(objpfx)tst-fnmatch-mem): New rule.
27216 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
27217 * posix/tst-fnmatch.c (main): Call mtrace.
27219 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
27221 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27222 Support Intel processor model 6 and model 0x2c.
27224 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
27226 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
27229 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
27232 * string/test-strncasecmp.c (check_result): New function.
27233 (do_one_test): Use it.
27234 (check1): New function.
27235 (test_main): Use it.
27236 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
27237 Support strcasecmp and strncasecmp.
27239 2010-11-08 Ulrich Drepper <drepper@gmail.com>
27242 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
27243 * sysdeps/x86_64/bits/byteswap.h: Likewise.
27245 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
27247 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
27249 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27251 * sysdeps/x86_64/multiarch/bzero.S: New file.
27252 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
27253 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
27254 * sysdeps/x86_64/multiarch/memset.S: New file.
27255 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
27256 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27257 Set bit_Prefer_SSE_for_memop for Intel processors.
27258 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
27260 (index_Prefer_SSE_for_memop): Define.
27261 (HAS_PREFER_SSE_FOR_MEMOP): Define.
27263 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
27265 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
27266 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
27268 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
27271 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
27272 (__x86_64_raw_data_cache_size_half): Likewise.
27273 (__x86_64_raw_shared_cache_size): Likewise.
27274 (__x86_64_raw_shared_cache_size_half): Likewise.
27276 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
27277 (__x86_64_raw_data_cache_size_half): Likewise.
27278 (__x86_64_raw_shared_cache_size): Likewise.
27279 (__x86_64_raw_shared_cache_size_half): Likewise.
27280 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
27281 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
27282 and __x86_64_raw_shared_cache_size_half. Round
27283 __x86_64_data_cache_size_half, __x86_64_data_cache_size
27284 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
27285 to multiple of 256 bytes.
27287 2010-11-03 Ulrich Drepper <drepper@gmail.com>
27290 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
27291 of inacessible symlinks. Verify result of symlink before returning it.
27292 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
27293 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
27295 2010-10-28 Erich Ritz <erichritz@gmail.com>
27297 * math/math.h (isinf): Fix typo in comment.
27299 2010-11-01 Ulrich Drepper <drepper@gmail.com>
27301 * po/da.po: Update from translation team.
27303 2010-10-26 Ulrich Drepper <drepper@gmail.com>
27305 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
27306 is added to the list.
27308 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27309 Ulrich Drepper <drepper@gmail.com>
27311 * elf/dl-object.c (_dl_new_object): Don't append the new object to
27312 the global list here. Move code to...
27313 (_dl_add_to_namespace_list): ...here. New function.
27314 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
27315 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
27316 * elf/dl-load.c (lose): Don't remove the element from the list.
27317 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
27318 (_dl_map_object): Likewise.
27320 2010-10-25 Ulrich Drepper <drepper@gmail.com>
27323 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
27324 into all bytes of SSE register.
27325 Patch by Richard Li <richardpku@gmail.com>.
27327 2010-10-24 Ulrich Drepper <drepper@gmail.com>
27330 * malloc/malloc.c (_int_free): Fill correct number of bytes when
27333 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
27335 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
27336 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
27337 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
27338 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
27339 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
27341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
27343 2010-10-22 Andreas Schwab <schwab@redhat.com>
27345 * include/dlfcn.h (__RTLD_SECURE): Define.
27346 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
27347 mode & __RTLD_SECURE instead.
27348 (open_path): Rename preloaded parameter to secure.
27349 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
27350 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
27351 * elf/dl-deps.c (openaux): Likewise.
27352 * elf/rtld.c (struct map_args): Remove is_preloaded.
27353 (map_doit): Don't use it.
27354 (dl_main): Likewise.
27355 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
27356 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
27358 2010-09-09 Andreas Schwab <schwab@redhat.com>
27360 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
27361 (sysd-rules-targets): Remove duplicates.
27362 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
27363 rtld-%.$o dependency.
27365 2010-10-18 Andreas Schwab <schwab@redhat.com>
27367 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
27368 _dl_map_object do it.
27370 2010-10-19 Ulrich Drepper <drepper@gmail.com>
27372 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
27373 fast fma builtins, define the macros in the C99 standard.
27374 (FP_FAST_FMAF): Likewise.
27375 (FP_FAST_FMAL): Likewise.
27376 * sysdeps/x86_64/bits/mathdef.h: Likewise.
27378 * bits/mathdef.h: Update copyright year.
27379 * sysdeps/powerpc/bits/mathdef.h: Likewise.
27381 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
27383 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
27384 builtins, define the macros in the C99 standard.
27385 (FP_FAST_FMAF): Likewise.
27386 (FP_FAST_FMAL): Likewise.
27387 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
27389 (FP_FAST_FMAF): Likewise.
27391 2010-10-15 Jakub Jelinek <jakub@redhat.com>
27394 * math/libm-test.inc (fma_test): Some new testcases.
27395 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
27396 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
27397 y and infinite z. Do multiplication by C already in long double.
27398 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
27399 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
27400 y and infinite z. Do bitwise or of inexact bit into u.d.
27401 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
27402 * sysdeps/i386/fpu/s_fmaf.S: Removed.
27403 * sysdeps/i386/fpu/s_fma.S: Removed.
27404 * sysdeps/i386/fpu/s_fmal.S: Removed.
27406 2010-10-16 Jakub Jelinek <jakub@redhat.com>
27409 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
27410 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
27411 computation is not scheduled after fetestexcept. Fix value
27412 of minimum denormal long double.
27414 2010-10-14 Jakub Jelinek <jakub@redhat.com>
27417 * math/libm-test.inc (fma_test): Add some more tests.
27418 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
27421 2010-10-15 Andreas Schwab <schwab@redhat.com>
27423 * scripts/data/localplt-s390-linux-gnu.data: New file.
27424 * scripts/data/localplt-s390x-linux-gnu.data: New file.
27426 2010-10-13 Jakub Jelinek <jakub@redhat.com>
27429 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
27430 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
27432 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
27434 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
27435 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
27436 if one of x and y is very large and the other is subnormal.
27437 * sysdeps/s390/fpu/s_fmaf.c: New file.
27438 * sysdeps/s390/fpu/s_fma.c: New file.
27439 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
27440 * sysdeps/powerpc/fpu/s_fma.S: New file.
27441 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
27442 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
27443 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
27445 2010-10-12 Jakub Jelinek <jakub@redhat.com>
27448 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
27450 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
27451 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
27452 * sysdeps/i386/i686/multiarch/s_fma.c: Include
27453 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
27454 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
27455 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
27456 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
27458 2010-10-12 Ulrich Drepper <drepper@redhat.com>
27461 * posix/regcomp.c (parse_branch): One more memory leak plugged.
27462 * posix/bug-regex31.input: Add test case.
27464 2010-10-11 Ulrich Drepper <drepper@gmail.com>
27466 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
27467 * posix/bug-regex31.input: New file.
27470 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
27471 (parse_sub_exp): Fix last change, use postorder.
27473 * posix/bug-regex31.c: New file.
27474 * posix/Makefile: Add rules to build and run bug-regex31.
27476 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
27479 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
27482 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
27483 to have entries in sys_siglist.
27486 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
27489 2010-10-07 Jakub Jelinek <jakub@redhat.com>
27492 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
27493 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
27494 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
27495 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
27496 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
27497 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
27498 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
27499 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
27500 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
27501 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
27502 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
27503 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
27504 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
27505 * math/ftestexcept.c (fetestexcept): Likewise.
27506 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
27507 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
27508 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
27509 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
27510 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
27511 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
27512 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
27514 2010-10-11 Ulrich Drepper <drepper@gmail.com>
27517 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
27520 2010-10-06 Ulrich Drepper <drepper@gmail.com>
27522 * string/bug-strstr1.c: New file.
27523 * string/Makefile: Add rules to build and run bug-strstr1.
27525 2010-10-05 Eric Blake <eblake@redhat.com>
27528 * string/str-two-way.h (two_way_long_needle): Always clear memory
27529 when skipping input due to the shift table.
27531 2010-10-03 Ulrich Drepper <drepper@gmail.com>
27534 * malloc/mcheck.c: Handle large requests.
27537 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
27538 for strncmp and strncasecmp.
27539 * string/stratcliff.c: Add tests for strcmp and strncmp.
27540 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
27542 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
27544 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
27547 2010-09-30 Andreas Jaeger <aj@suse.de>
27549 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
27550 (CGROUP_SUPER_MAGIC): Define.
27551 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
27552 Handle btrfs and cgroup file systems.
27553 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
27556 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
27558 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
27559 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
27561 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27564 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
27565 trying to locate the ELF header.
27567 2010-09-27 Andreas Schwab <schwab@redhat.com>
27570 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
27571 Mask out sign-bit copies when constructing f_fsid.
27573 2010-09-24 Petr Baudis <pasky@suse.cz>
27575 * debug/stack_chk_fail_local.c: Add missing licence exception.
27576 * debug/warning-nop.c: Likewise.
27578 2010-09-15 Joseph Myers <joseph@codesourcery.com>
27580 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
27581 implementing getdents64 using getdents syscall, set d_type if
27582 __ASSUME_GETDENTS32_D_TYPE.
27584 2010-09-16 Andreas Schwab <schwab@redhat.com>
27586 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
27587 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
27589 2010-09-21 Ulrich Drepper <drepper@redhat.com>
27592 * posix/unistd.h: Undo change of feature selection for ftruncate from
27595 2010-09-20 Ulrich Drepper <drepper@redhat.com>
27597 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
27600 2010-09-20 Andreas Schwab <schwab@redhat.com>
27602 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
27604 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
27606 2010-09-14 Andreas Schwab <schwab@redhat.com>
27608 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
27609 variables after CHECK_SP call.
27610 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
27612 2010-09-13 Andreas Schwab <schwab@redhat.com>
27613 Ulrich Drepper <drepper@redhat.com>
27615 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
27616 re-relocationg ld.so.
27617 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
27618 _dl_init_paths call.
27619 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
27622 2010-09-14 Ulrich Drepper <drepper@redhat.com>
27624 * resolv/res_init.c (__res_vinit): Count the default server we added.
27626 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
27627 Ulrich Drepper <drepper@redhat.com>
27630 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
27631 (____longjmp_chk): Use %ebx for saving value across system call.
27634 2010-09-06 Andreas Schwab <schwab@redhat.com>
27636 * manual/Makefile: Don't mix pattern rules with normal rules.
27638 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
27640 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
27642 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
27643 * libio/iofopncook.c (_IO_cookie_init): Likewise.
27644 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
27645 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
27646 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
27649 2010-09-04 Ulrich Drepper <drepper@redhat.com>
27652 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
27653 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
27655 2010-09-02 Ulrich Drepper <drepper@redhat.com>
27657 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
27658 * sysdeps/x86_64/addmul_1.S: Likewise.
27659 * sysdeps/x86_64/lshift.S: Likewise.
27660 * sysdeps/x86_64/mul_1.S: Likewise.
27661 * sysdeps/x86_64/rshift.S: Likewise.
27662 * sysdeps/x86_64/sub_n.S: Likewise.
27663 * sysdeps/x86_64/submul_1.S: Likewise.
27665 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
27667 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
27668 Define __sched_param instead of SCHED_* and sched_param when
27669 <bits/sched.h> is included with __need_schedparam defined.
27670 * bits/sched.h [__need_schedparam]
27671 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
27672 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
27673 (__defined_schedparam): Define to 1.
27674 (__sched_param): New structure, identical to sched_param.
27675 (__need_schedparam): Undefine.
27677 2010-08-31 Mike Frysinger <vapier@gentoo.org>
27679 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
27680 (epoll_create1): Declare.
27682 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
27684 2010-08-31 Andreas Schwab <schwab@redhat.com>
27687 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
27688 shifting retval into place.
27690 2010-09-01 Ulrich Drepper <drepper@redhat.com>
27692 * nis/rpcsvc/nis.h: Update copyright notice.
27693 * nis/rpcsvc/nis.x: Likewise.
27694 * nis/rpcsvc/nis_callback.h: Likewise.
27695 * nis/rpcsvc/nis_callback.x: Likewise.
27696 * nis/rpcsvc/nis_object.x: Likewise.
27697 * nis/rpcsvc/nis_tags.h: Likewise.
27698 * nis/rpcsvc/yp.h: Likewise.
27699 * nis/rpcsvc/yp.x: Likewise.
27700 * nis/rpcsvc/ypupd.h: Likewise.
27701 * nis/yp_xdr.c: Likewise.
27702 * nis/ypupdate_xdr.c: Likewise.
27704 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
27705 mainly the body of pmap_getport. Add parameters to specify timeouts.
27706 (pmap_getport): Use __libc_rpc_getport.
27707 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
27708 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
27709 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
27711 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
27713 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
27716 2010-08-27 Roland McGrath <roland@redhat.com>
27718 * sysdeps/i386/i686/multiarch/Makefile
27719 (CFLAGS-varshift.c): New variable.
27721 2010-08-27 Ulrich Drepper <drepper@redhat.com>
27723 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
27724 * sysdeps/i386/i686/multiarch/varshift.c: New file.
27726 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
27728 * sysdeps/x86_64/strlen.S: Minimal code improvement.
27730 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
27732 * sysdeps/x86_64/strlen.S: Unroll the loop.
27733 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27734 strlen-sse2 strlen-sse2-bsf.
27735 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
27736 __strlen_no_bsf if bit_Slow_BSF is set.
27737 (__strlen_sse42): Removed.
27738 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
27739 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
27741 2010-08-25 Roland McGrath <roland@redhat.com>
27743 * sysdeps/x86_64/multiarch/varshift.S: File removed.
27744 * sysdeps/x86_64/multiarch/varshift.c: New file.
27745 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
27746 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
27747 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
27748 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
27750 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
27752 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27753 strlen-sse2 strlen-sse2-bsf.
27754 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
27755 __strlen_sse2_bsf if bit_Slow_BSF is unset.
27756 (__strlen_sse2): Removed.
27757 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
27758 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
27759 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
27760 bit_Slow_BSF for Atom.
27761 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
27762 (index_Slow_BSF): Define.
27763 (HAS_SLOW_BSF): Define.
27765 2010-08-25 Ulrich Drepper <drepper@redhat.com>
27768 * resolv/res_init.c (__res_vinit): When no server address at all
27769 is given default to loopback.
27771 2010-08-24 Roland McGrath <roland@redhat.com>
27773 * configure.in: Remove config-name.h generation.
27774 * configure: Regenerated.
27775 * config-name.in: File removed.
27776 * scripts/config-uname.sh: New file.
27777 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
27778 ($(objdir)config-name.h): New target.
27780 * sunrpc/rpc_parse.h: Avoid nested comment.
27782 2010-08-24 Richard Henderson <rth@redhat.com>
27783 Ulrich Drepper <drepper@redhat.com>
27784 H.J. Lu <hongjiu.lu@intel.com>
27786 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
27787 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
27788 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
27789 Replace _mm_srli_si128 with __m128i_shift_right. Replace
27790 _mm_alignr_epi8 with _mm_loadu_si128.
27791 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
27792 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
27793 (__m128i_shift_right): Removed.
27794 * sysdeps/i386/i686/multiarch/varshift.h: New file.
27795 * sysdeps/i386/i686/multiarch/varshift.S: New file.
27796 * sysdeps/x86_64/multiarch/varshift.h: New file.
27797 * sysdeps/x86_64/multiarch/varshift.S: New file.
27799 2010-08-21 Mike Frysinger <vapier@gentoo.org>
27801 * configure.in: Move assembler checks to before sysdep dir checking.
27803 2010-08-20 Petr Baudis <pasky@suse.cz>
27805 * LICENSES: Sync the sunrpc license.
27807 2010-08-19 Ulrich Drepper <drepper@redhat.com>
27809 * sunrpc/auth_des.c: Update copyright notice once again.
27810 * sunrpc/auth_none.c: Likewise.
27811 * sunrpc/auth_unix.c: Likewise.
27812 * sunrpc/authdes_prot.c: Likewise.
27813 * sunrpc/authuxprot.c: Likewise.
27814 * sunrpc/bindrsvprt.c: Likewise.
27815 * sunrpc/clnt_gen.c: Likewise.
27816 * sunrpc/clnt_perr.c: Likewise.
27817 * sunrpc/clnt_raw.c: Likewise.
27818 * sunrpc/clnt_simp.c: Likewise.
27819 * sunrpc/clnt_tcp.c: Likewise.
27820 * sunrpc/clnt_udp.c: Likewise.
27821 * sunrpc/clnt_unix.c: Likewise.
27822 * sunrpc/des_crypt.c: Likewise.
27823 * sunrpc/des_soft.c: Likewise.
27824 * sunrpc/get_myaddr.c: Likewise.
27825 * sunrpc/getrpcport.c: Likewise.
27826 * sunrpc/key_call.c: Likewise.
27827 * sunrpc/key_prot.c: Likewise.
27828 * sunrpc/openchild.c: Likewise.
27829 * sunrpc/pm_getmaps.c: Likewise.
27830 * sunrpc/pm_getport.c: Likewise.
27831 * sunrpc/pmap_clnt.c: Likewise.
27832 * sunrpc/pmap_prot.c: Likewise.
27833 * sunrpc/pmap_prot2.c: Likewise.
27834 * sunrpc/pmap_rmt.c: Likewise.
27835 * sunrpc/rpc/auth.h: Likewise.
27836 * sunrpc/rpc/auth_unix.h: Likewise.
27837 * sunrpc/rpc/clnt.h: Likewise.
27838 * sunrpc/rpc/des_crypt.h: Likewise.
27839 * sunrpc/rpc/key_prot.h: Likewise.
27840 * sunrpc/rpc/netdb.h: Likewise.
27841 * sunrpc/rpc/pmap_clnt.h: Likewise.
27842 * sunrpc/rpc/pmap_prot.h: Likewise.
27843 * sunrpc/rpc/pmap_rmt.h: Likewise.
27844 * sunrpc/rpc/rpc.h: Likewise.
27845 * sunrpc/rpc/rpc_des.h: Likewise.
27846 * sunrpc/rpc/rpc_msg.h: Likewise.
27847 * sunrpc/rpc/svc.h: Likewise.
27848 * sunrpc/rpc/svc_auth.h: Likewise.
27849 * sunrpc/rpc/types.h: Likewise.
27850 * sunrpc/rpc/xdr.h: Likewise.
27851 * sunrpc/rpc_clntout.c: Likewise.
27852 * sunrpc/rpc_cmsg.c: Likewise.
27853 * sunrpc/rpc_common.c: Likewise.
27854 * sunrpc/rpc_cout.c: Likewise.
27855 * sunrpc/rpc_dtable.c: Likewise.
27856 * sunrpc/rpc_hout.c: Likewise.
27857 * sunrpc/rpc_main.c: Likewise.
27858 * sunrpc/rpc_parse.c: Likewise.
27859 * sunrpc/rpc_parse.h: Likewise.
27860 * sunrpc/rpc_prot.c: Likewise.
27861 * sunrpc/rpc_sample.c: Likewise.
27862 * sunrpc/rpc_scan.c: Likewise.
27863 * sunrpc/rpc_scan.h: Likewise.
27864 * sunrpc/rpc_svcout.c: Likewise.
27865 * sunrpc/rpc_tblout.c: Likewise.
27866 * sunrpc/rpc_util.c: Likewise.
27867 * sunrpc/rpc_util.h: Likewise.
27868 * sunrpc/rpcinfo.c: Likewise.
27869 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
27870 * sunrpc/rpcsvc/key_prot.x: Likewise.
27871 * sunrpc/rpcsvc/klm_prot.x: Likewise.
27872 * sunrpc/rpcsvc/mount.x: Likewise.
27873 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
27874 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
27875 * sunrpc/rpcsvc/rex.x: Likewise.
27876 * sunrpc/rpcsvc/rstat.x: Likewise.
27877 * sunrpc/rpcsvc/rusers.x: Likewise.
27878 * sunrpc/rpcsvc/sm_inter.x: Likewise.
27879 * sunrpc/rpcsvc/spray.x: Likewise.
27880 * sunrpc/rpcsvc/yppasswd.x: Likewise.
27881 * sunrpc/rtime.c: Likewise.
27882 * sunrpc/svc.c: Likewise.
27883 * sunrpc/svc_auth.c: Likewise.
27884 * sunrpc/svc_authux.c: Likewise.
27885 * sunrpc/svc_raw.c: Likewise.
27886 * sunrpc/svc_run.c: Likewise.
27887 * sunrpc/svc_simple.c: Likewise.
27888 * sunrpc/svc_tcp.c: Likewise.
27889 * sunrpc/svc_udp.c: Likewise.
27890 * sunrpc/svc_unix.c: Likewise.
27891 * sunrpc/svcauth_des.c: Likewise.
27892 * sunrpc/xcrypt.c: Likewise.
27893 * sunrpc/xdr.c: Likewise.
27894 * sunrpc/xdr_array.c: Likewise.
27895 * sunrpc/xdr_float.c: Likewise.
27896 * sunrpc/xdr_mem.c: Likewise.
27897 * sunrpc/xdr_rec.c: Likewise.
27898 * sunrpc/xdr_ref.c: Likewise.
27899 * sunrpc/xdr_sizeof.c: Likewise.
27900 * sunrpc/xdr_stdio.c: Likewise.
27902 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
27905 2010-08-19 Andreas Schwab <schwab@redhat.com>
27907 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
27909 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
27911 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
27912 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
27913 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
27914 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
27915 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
27916 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
27917 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
27918 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
27919 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
27920 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
27921 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
27922 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
27923 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
27924 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
27926 2010-07-26 Anton Blanchard <anton@samba.org>
27928 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
27929 * malloc/arena.c (heap_trim): Likewise.
27931 2010-08-16 Ulrich Drepper <drepper@redhat.com>
27933 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
27935 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
27936 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
27938 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
27940 * sysdeps/i386/elf/Makefile: New file.
27942 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
27944 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
27945 from fanotify_init.
27946 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
27947 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
27949 2010-08-15 Ulrich Drepper <drepper@redhat.com>
27951 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
27953 * sysdeps/multiarch/strcmp.S: Likewise.
27955 2010-08-14 Ulrich Drepper <drepper@redhat.com>
27957 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
27958 strncase_l-nonascii.
27959 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
27960 Add strncase_l-ssse3.
27961 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
27962 * sysdeps/x86_64/strcmp.S: Likewise.
27963 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
27964 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
27965 * sysdeps/x86_64/strncase.S: New file.
27966 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
27967 * sysdeps/x86_64/strncase_l.S: New file.
27968 * string/Makefile (strop-tests): Add strncasecmp.
27969 * string/test-strncasecmp.c: New file.
27971 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
27974 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
27975 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
27977 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
27979 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
27981 2010-08-12 Ulrich Drepper <drepper@redhat.com>
27983 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
27984 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
27985 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
27987 2010-05-01 Alan Modra <amodra@gmail.com>
27989 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
27990 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
27991 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
27992 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
27993 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
27994 tidying. Don't tail-call __sigjmp_save for static lib.
27995 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
27997 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
27998 (CALL_MCOUNT): Add eh info, and nop after bl.
27999 (TAIL_CALL_SYSCALL_ERROR): New macro.
28000 (PSEUDO_RET): Use it.
28001 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
28002 Correct save location of integer regs and cr.
28003 (_dl_profile_resolve): Correct cr save location. Delete nops
28004 after bl when SHARED. Reduce cfi size a little by better
28005 placement of cfi directives.
28006 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
28007 make a stack frame. Instead use parm save area as a temp.
28008 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
28009 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
28010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
28011 Don't make a stack frame for parent, use parm save area.
28012 Increase child stack frame to 112 bytes. Don't save unused reg,
28013 and adjust reg usage. Set up cfi on error recovery and
28014 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
28015 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
28016 (__makecontext): Add dummy nop after jump to exit.
28017 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
28018 Use correct parm save area and cr save, reduce stack frame.
28019 Correct cfi for possible PSEUDO_RET frame setup.
28020 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
28021 Branch to local label emitted by PSEUDO_RET rather than
28024 2010-08-12 Andreas Schwab <schwab@redhat.com>
28027 * locale/programs/locale.c (print_assignment): New function.
28028 (show_locale_vars): Use it.
28030 2010-08-11 Ulrich Drepper <drepper@redhat.com>
28032 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
28034 (struct statfs64): Likewise.
28035 (_STATFS_F_FLAGS): Define.
28036 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
28037 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
28038 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
28039 (ST_VALID): Define locally.
28040 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
28041 __statvfs_getflags, use the provided value.
28042 * sysdeps/unix/sysv/linux/kernel-features.h: Define
28043 __ASSUME_STATFS_F_FLAGS.
28045 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
28047 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
28048 Add sys/fanotify.h.
28049 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
28050 fanotify_mask for GLIBC_2.13.
28051 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
28052 fanotify_init and fanotify_mark.
28053 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
28054 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
28056 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
28058 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
28059 prlimit64 for GLIBC_2.13.
28060 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
28062 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
28064 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
28065 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
28066 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
28067 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
28068 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
28070 * sysdeps/unix/sysv/linux/prlimit.c: New file.
28073 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
28074 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
28076 * nss/Makefile: Add rules to build and run tst-nss-test1.
28077 * shlib-versions: Add entry for libnss_test1.
28078 * nss/nss_test1.c: New file.
28079 * nss/tst-nss-test1.c: New file.
28081 * nss/nsswitch.c (__nss_database_custom): Define new variable.
28082 (__nss_configure_lookup): Set appropriate entry in
28083 __nss_configure_lookup to true.
28084 * nss/nsswitch.h: Define enum with indeces of databases in
28085 databases and __nss_database_custom arrays. Declare
28086 __nss_database_custom.
28087 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
28088 to avoid using nscd when custom rules are installed.
28089 * nss/getXXbyYY_r.c: Likewise.
28090 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
28092 * nss/nss_files/files-parse.c: Whitespace fixes.
28094 2010-08-09 Ulrich Drepper <drepper@redhat.com>
28097 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
28098 * posix/fnmatch_loop.c: Likewise.
28100 2010-07-17 Andi Kleen <ak@linux.intel.com>
28102 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
28103 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
28104 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
28105 * Versions.def [GLIBC_2.13]: Add.
28107 2010-08-06 Ulrich Drepper <drepper@redhat.com>
28109 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
28110 Also fail if tpwd after pwuid call is NULL.
28112 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
28114 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
28115 when converting to ms.
28117 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
28119 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
28120 EOPNOTSUPP errors with ENOTTY.
28121 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
28122 EOPNOTSUPP errors with ENOTTY.
28124 2010-07-31 Ulrich Drepper <drepper@redhat.com>
28126 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
28127 Add strcasecmp_l-ssse3.
28128 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
28130 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
28131 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
28132 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
28134 2010-07-30 Ulrich Drepper <drepper@redhat.com>
28136 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
28138 * string/Makefile (strop-tests): Add strcasecmp.
28139 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
28140 strcasecmp_l-nonascii.
28141 (gen-as-const-headers): Add locale-defines.sym.
28142 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
28143 * sysdeps/x86_64/strcasecmp.S: New file.
28144 * sysdeps/x86_64/strcasecmp_l.S: New file.
28145 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
28146 * sysdeps/x86_64/locale-defines.sym: New file.
28147 * string/test-strcasecmp.c: New file.
28149 * string/test-strcasestr.c: Test both ends of the range of characters.
28150 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
28152 2010-07-29 Roland McGrath <roland@redhat.com>
28155 * manual/locale.texi (Yes-or-No Questions): Fix example code.
28157 2010-07-27 Ulrich Drepper <drepper@redhat.com>
28159 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
28162 2010-07-27 Andreas Schwab <schwab@redhat.com>
28164 * manual/memory.texi (Malloc Tunable Parameters): Document
28167 2010-07-26 Roland McGrath <roland@redhat.com>
28170 * configure.in (-fgnu89-inline check): Set and substitute
28171 gnu89_inline, not libc_cv_gnu89_inline.
28172 * configure: Regenerated.
28173 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
28175 2010-07-26 Ulrich Drepper <drepper@redhat.com>
28177 * string/test-strnlen.c: New file.
28178 * string/Makefile (strop-tests): Add strnlen.
28179 * string/tester.c (test_strnlen): Add a few more test cases.
28180 * string/tst-strlen.c: Better error reporting.
28182 * sysdeps/x86_64/strnlen.S: New file.
28184 2010-07-24 Ulrich Drepper <drepper@redhat.com>
28186 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
28187 lower-latency instructions.
28189 2010-07-23 Ulrich Drepper <drepper@redhat.com>
28191 * string/test-strcasestr.c: New file.
28192 * string/test-strstr.c: New file.
28193 * string/Makefile (strop-tests): Add strstr and strcasestr.
28194 * string/str-two-way.h: Don't undefine MAX.
28195 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
28197 2010-07-21 Andreas Schwab <schwab@redhat.com>
28199 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28200 strcasestr-nonascii.
28201 (CFLAGS-strcasestr-nonascii.c): Define.
28202 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
28203 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
28204 Remove unused attribute.
28206 2010-07-20 Roland McGrath <roland@redhat.com>
28208 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
28209 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
28210 ld.so.cache was broken. With it, there is no way to disable dsocaps
28211 like LD_HWCAP_MASK can disable hwcaps.
28213 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
28215 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
28217 2010-07-16 Ulrich Drepper <drepper@redhat.com>
28219 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
28220 call in strcasestr.
28221 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
28222 __strcasestr_sse42_nonascii.
28223 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
28224 strcasestr-nonascii.c.
28225 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
28227 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
28229 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
28230 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
28231 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
28232 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
28234 2010-07-09 Ulrich Drepper <drepper@redhat.com>
28236 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
28239 2010-07-06 Andreas Schwab <schwab@redhat.com>
28242 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
28245 2010-07-06 Ulrich Drepper <drepper@redhat.com>
28247 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
28248 _PC_PIPE_BUF using F_GETPIPE_SZ.
28250 2010-07-05 Roland McGrath <roland@redhat.com>
28252 * manual/arith.texi (Rounding Functions): Fix rint description
28253 implicit in round description.
28255 2010-07-02 Ulrich Drepper <drepper@redhat.com>
28257 * elf/Makefile: Fix linking for a few tests to make recent linker
28260 2010-06-30 Andreas Schwab <schwab@redhat.com>
28262 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
28263 $(common-objpfx)libc_nonshared.a.
28265 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
28267 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
28268 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
28269 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
28270 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
28271 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
28272 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
28273 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
28274 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
28275 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
28276 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
28277 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
28278 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
28279 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
28280 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
28281 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
28282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
28283 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
28284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
28285 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
28286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
28287 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
28288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
28289 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
28290 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
28291 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
28292 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
28293 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
28294 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
28295 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
28296 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
28297 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
28298 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
28299 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
28300 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
28301 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
28302 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
28303 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
28304 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
28305 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
28306 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
28307 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
28308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
28309 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
28310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
28311 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
28312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
28313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
28314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
28316 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
28318 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
28319 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
28320 * string/memmove.c (memmove): Renamed to ...
28321 (MEMMOVE): ...this. Default to memmove.
28322 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
28323 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
28325 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28326 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
28327 mempcpy-ssse3-back memmove-ssse3-back.
28328 * sysdeps/x86_64/multiarch/bcopy.S: New file .
28329 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
28330 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
28331 * sysdeps/x86_64/multiarch/memcpy.S: New file.
28332 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
28333 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
28334 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
28335 * sysdeps/x86_64/multiarch/memmove.c: New file.
28336 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
28337 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
28338 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
28339 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
28340 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
28341 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
28343 (index_Fast_Copy_Backward): Define.
28344 (HAS_ARCH_FEATURE): Define.
28345 (HAS_FAST_REP_STRING): Define.
28346 (HAS_FAST_COPY_BACKWARD): Define.
28348 2010-06-21 Andreas Schwab <schwab@redhat.com>
28350 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
28351 Restore proper fallback handling.
28353 2010-06-19 Ulrich Drepper <drepper@redhat.com>
28356 * posix/group_member.c (__group_member): Correct checking loop.
28358 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
28359 OOM in getpwuid_r correctly. Return error number when the caller
28360 should return, otherwise -1.
28361 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
28362 call returning > 0 value.
28363 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
28365 2010-06-07 Andreas Schwab <schwab@redhat.com>
28367 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
28368 libc_nonshared.a from targets in modules-names.
28370 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
28372 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
28375 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
28377 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
28378 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
28379 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
28380 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
28382 2010-06-02 Andreas Schwab <schwab@redhat.com>
28384 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
28386 2010-06-14 Ulrich Drepper <drepper@redhat.com>
28388 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
28390 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
28391 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
28392 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
28393 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
28394 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
28395 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
28397 2010-06-14 Roland McGrath <roland@redhat.com>
28399 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
28401 2010-06-07 Jakub Jelinek <jakub@redhat.com>
28403 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
28404 __REDIRECT followed by __THROW.
28405 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
28406 * posix/getopt.h (getopt): Likewise.
28408 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
28410 * hurd/lookup-at.c (__file_name_lookup_at): Accept
28411 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
28412 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
28414 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
28415 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
28417 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
28419 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
28421 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
28424 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28425 Properly check family and model.
28427 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
28429 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
28431 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
28433 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
28435 2010-05-21 Ulrich Drepper <drepper@redhat.com>
28437 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
28440 2010-05-19 Andreas Schwab <schwab@redhat.com>
28442 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
28445 2010-05-21 Andreas Schwab <schwab@redhat.com>
28447 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
28448 and internal_recvmmsg.
28449 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
28450 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
28451 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
28452 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
28454 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
28455 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
28456 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
28458 2010-05-20 Andreas Schwab <schwab@redhat.com>
28460 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
28462 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
28464 POWER7 optimizations.
28465 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
28466 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
28468 2010-05-19 Ulrich Drepper <drepper@redhat.com>
28470 * version.h: Update for 2.13 development version.
28472 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
28474 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
28475 exceptions. Return 0.
28477 2010-05-07 Roland McGrath <roland@redhat.com>
28479 * elf/ldconfig.c (main): Add a const.
28481 2010-05-06 Ulrich Drepper <drepper@redhat.com>
28483 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
28484 (args_options): Add no-idn option.
28485 (ahosts_keys_int): Add idn_flags to ai_flags.
28486 (parse_option): Handle 'i' option to clear idn_flags.
28488 * malloc/malloc.c (_int_free): Possible race in the most recently
28489 added check. Only act on the data if no current modification
28492 See ChangeLog.17 for earlier changes.