1 2013-05-04 Joseph Myers <joseph@codesourcery.com>
3 * math/libm-test.inc (plus_zero): Make const. Add initializer.
4 (minus_zero): Likewise.
5 (plus_infty): Likewise.
6 (minus_infty): Likewise.
7 (qnan_value): Likewise.
10 (min_subnorm_value): Likewise.
11 (initialize): Do not initialize those variables dynamically.
13 2013-05-03 Roland McGrath <roland@hack.frob.com>
15 * io/open.c (__open_2): Moved to ...
16 * io/open_2.c: ... this new file.
17 * io/open64.c (__open64_2): Moved to ...
18 * io/open64_2.c: ... this new file.
19 * io/openat.c (__openat_2): Moved to ...
20 * io/openat_2.c: ... this new file.
21 * io/openat64.c (__openat64_2): Moved to ...
22 * io/openat64_2.c: ... this new file.
23 * io/Makefile (routines): Add them.
24 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
25 * sysdeps/unix/sysv/linux/open_2.c: File removed.
26 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
27 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
28 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
29 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
30 (__openat64): Add hidden_ver.
31 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
32 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
34 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
35 Separately conditionalize setting of GLRO(dl_sysinfo) so
36 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
37 as well, but the actual setting is only under [NEED_DL_SYSINFO].
39 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
42 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
44 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
45 * sysdeps/unix/sysv/linux/powerpc/init-first.c
46 (_libc_vdso_platform_setup): Add __vdso_time initialization.
47 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
48 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
50 2013-05-03 Joseph Myers <joseph@codesourcery.com>
52 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
55 * math/libm-test.inc (hypot_test): Do not use
58 2013-05-03 Andreas Jaeger <aj@suse.de>
60 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
62 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
63 (PF_MAX): Adjust for VSOCK change.
65 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
67 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69 2013-05-02 Carlos O'Donell <carlos@redhat.com>
72 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
73 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
74 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
76 2013-05-02 David S. Miller <davem@davemloft.net>
78 * sysdeps/sparc/fpu/libm-test-ulps: Update.
80 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
82 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
84 2013-05-01 Roland McGrath <roland@hack.frob.com>
86 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
88 2013-05-01 Richard Smith <richard@metafoo.co.uk>
91 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
92 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
93 Use __attribute__ ((__gnu_inline__)).
94 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
95 Don't use __attribute__ ((__gnu_inline__)).
97 2013-05-01 Joseph Myers <joseph@codesourcery.com>
100 * math/s_catan.c (__catan): Handle small real or imaginary part of
101 input specially to avoid spurious underflow.
102 * math/s_catanf.c (__catanf): Likewise.
103 * math/s_catanh.c (__catanh): Likewise.
104 * math/s_catanhf.c (__catanhf): Likewise.
105 * math/s_catanhl.c (__catanhl): Likewise.
106 * math/s_catanl.c (__catanl): Likewise.
107 * math/libm-test.inc (catan_test): Add more tests.
108 (catanh_test): Likewise.
109 * sysdeps/i386/fpu/libm-test-ulps: Update.
110 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
112 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
114 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
116 2013-04-30 Joseph Myers <joseph@codesourcery.com>
119 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
120 accurately for denominator in atan2.
121 * math/s_catanf.c (__catanf): Likewise.
122 * math/s_catanh.c (__catanh): Likewise.
123 * math/s_catanhf.c (__catanhf): Likewise.
124 * math/s_catanhl.c (__catanhl): Likewise.
125 * math/s_catanl.c (__catanl): Likewise.
126 * math/libm-test.inc (catan_test): Add more tests.
127 (catanh_test): Likewise.
128 * sysdeps/i386/fpu/libm-test-ulps: Update.
129 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
131 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
133 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
135 * benchtests/Makefile (bench): Remove slow benchmarks.
136 * benchtests/atan-inputs: Add slow benchmark inputs.
137 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
138 (BENCH_FUNC): Accept variant offset.
140 * benchtests/bench-skeleton.c (main): Run benchmark for each
142 * benchtests/cos-inputs: Add slow benchmark inputs.
143 * benchtests/exp-inputs: Likewise.
144 * benchtests/pow-inputs: Likewise.
145 * benchtests/sin-inputs: Likewise.
146 * benchtests/slowatan-inputs: Remove.
147 * benchtests/slowatan.c: Remove.
148 * benchtests/slowcos-inputs: Remove.
149 * benchtests/slowcos.c: Remove.
150 * benchtests/slowexp-inputs: Remove.
151 * benchtests/slowexp.c: Remove.
152 * benchtests/slowpow-inputs: Remove.
153 * benchtests/slowpow.c: Remove.
154 * benchtests/slowsin-inputs: Remove.
155 * benchtests/slowsin.c: Remove.
156 * benchtests/slowtan-inputs: Remove.
157 * benchtests/slowtan.c: Remove.
158 * benchtests/tan-inputs: Add slow benchmark inputs.
159 * scripts/bench.pl: Parse comments and directives.
161 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
163 ($(objpfx)bench-%.c): Remove *-ITER.
164 * benchtests/bench-modf.c: Remove definition of ITER.
165 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
166 (main): Loop for DURATION seconds instead of fixed number of
168 * scripts/bench.pl: Don't expect iterations in parameters.
170 2013-04-29 Roland McGrath <roland@hack.frob.com>
172 * io/fchdir.c (__fchdir): Renamed from fchdir.
173 (fchdir): Define as weak alias.
175 2013-04-29 Joseph Myers <joseph@codesourcery.com>
177 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
178 (ERRNO_EDOM): Likewise.
179 (ERRNO_ERANGE): Likewise.
180 (noErrnoTests): New variable.
181 (init_max_error): Set errno to 0.
182 (test_single_errno): New function.
183 (test_errno): Likewise.
184 (check_float_internal): Call test_errno. Set errno to 0.
185 (check_complex): Refer to errno tests in comment.
186 (check_int): Call test_errno. Set errno to 0.
187 (check_long): Likewise.
188 (check_bool): Likewise.
189 (check_longlong): Likewise.
190 (cos_test): Use ERRNO_* flags for errno tests instead of
192 (expm1_test): Likewise.
193 (fmod_test): Likewise.
194 (ilogb_test): Likewise.
195 (lgamma_test): Likewise.
196 (pow_test): Likewise.
197 (remainder_test): Likewise.
198 (sin_test): Likewise.
199 (tan_test): Likewise.
201 (initialize): Set errno to 0.
202 (main): Print number of errno tests.
203 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
205 2013-04-29 Andreas Jaeger <aj@suse.de>
208 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
212 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
213 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
217 * stdlib/random.c (__initstate): Return NULL if
221 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
222 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
225 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
227 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
229 2013-04-29 Joseph Myers <joseph@codesourcery.com>
231 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
233 (casin_test): Likewise.
234 (casinh_test): Likewise.
236 2013-04-27 Joseph Myers <joseph@codesourcery.com>
239 * math/s_catan.c (__catan): Handle arguments with large real or
240 imaginary part separately without squaring.
241 * math/s_catanf.c (__catanf): Likewise.
242 * math/s_catanh.c (__catanh): Likewise.
243 * math/s_catanhf.c (__catanhf): Likewise.
244 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
246 (__catanhl): Handle arguments with large real or imaginary part
247 separately without squaring.
248 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
250 (__catanl): Handle arguments with large real or imaginary part
251 separately without squaring.
252 * math/libm-test.inc (catan_test): Add more tests.
253 (catanh_test): Likewise.
254 * sysdeps/i386/fpu/libm-test-ulps: Update.
255 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
257 2013-04-27 Andreas Jaeger <aj@suse.de>
260 * stdlib/stdlib.h: Update guards for qecvt.
261 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
264 2013-04-27 Allan McRae <allan@archlinux.org>
266 * sysdeps/i386/fpu/libm-test-ulps: Update.
268 2013-04-26 Joseph Myers <joseph@codesourcery.com>
271 * math/s_catan.c: Include <float.h>.
272 (__catan): Ensure underflow exception occurs for underflowed
274 * math/s_catanf.c: Include <float.h>.
275 (__catanf): Ensure underflow exception occurs for underflowed
277 * math/s_catanh.c: Include <float.h>.
278 (__catanh): Ensure underflow exception occurs for underflowed
280 * math/s_catanhf.c: Include <float.h>.
281 (__catanhf): Ensure underflow exception occurs for underflowed
283 * math/s_catanhl.c: Include <float.h>.
284 (__catanhl): Ensure underflow exception occurs for underflowed
286 * math/s_catanl.c: Include <float.h>.
287 (__catanl): Ensure underflow exception occurs for underflowed
289 * math/libm-test.inc (catan_test): Add more tests.
290 (catanh_test): Likewise.
293 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
295 * math/s_ccoshf.c (__ccoshf): Likewise.
296 * math/s_ccoshl.c (__ccoshl): Likewise.
297 * math/s_csin.c (__csin): Likewise.
298 * math/s_csinf.c (__csinf): Likewise.
299 * math/s_csinh.c (__csinh): Likewise.
300 * math/s_csinhf.c (__csinhf): Likewise.
301 * math/s_csinhl.c (__csinhl): Likewise.
302 * math/s_csinl.c (__csinl): Likewise.
303 * math/libm-test.inc (ccos_test): Add more tests.
304 (ccosh_test): Likewise.
305 (csin_test): Likewise.
306 (csinh_test): Likewise.
308 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
310 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
311 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
312 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
313 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
314 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
315 powerpc/power5+/fpu folders.
316 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
319 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
321 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
323 2013-04-25 Joseph Myers <joseph@codesourcery.com>
325 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
326 additions to variable.
327 [$(config-machine) = x86_64] (modules-names): Likewise.
328 ($(objpfx)tst-audit3): Remove dependency.
329 ($(objpfx)tst-audit3.out): Likewise.
330 ($(objpfx)tst-audit4): Likewise.
331 ($(objpfx)tst-audit4.out): Likewise.
332 ($(objpfx)tst-audit5): Likewise.
333 ($(objpfx)tst-audit5.out): Likewise.
334 ($(objpfx)tst-audit6): Likewise.
335 ($(objpfx)tst-audit6.out): Likewise.
336 ($(objpfx)tst-audit7): Likewise.
337 ($(objpfx)tst-audit7.out): Likewise.
338 (tst-audit3-ENV): Remove variable.
339 (tst-audit4-ENV): Likewise.
340 (tst-audit5-ENV): Likewise.
341 (tst-audit6-ENV): Likewise.
342 (tst-audit7-ENV): Likewise.
343 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
344 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
345 addition to variable.
346 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
347 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
348 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
349 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
350 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
351 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
352 tst-audit3, tst-audit4 and tst-audit5.
353 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
354 tst-audit6 and tst-audit7.
355 [$(subdir) = elf] (modules-names): Add audit modules for those
357 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
358 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
359 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
360 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
361 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
362 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
363 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
364 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
365 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
366 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
367 [$(subdir) = elf] (tst-audit3-ENV): New variable.
368 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
369 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
370 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
371 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
372 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
374 [$(subdir) = elf && $(config-cflags-avx) = yes]
375 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
376 [$(subdir) = elf && $(config-cflags-avx) = yes]
377 (CFLAGS-tst-auditmod4a.c): Likewise.
378 [$(subdir) = elf && $(config-cflags-avx) = yes]
379 (CFLAGS-tst-auditmod4b.c): Likewise.
380 [$(subdir) = elf && $(config-cflags-avx) = yes]
381 (CFLAGS-tst-auditmod6b.c): Likewise.
382 [$(subdir) = elf && $(config-cflags-avx) = yes]
383 (CFLAGS-tst-auditmod6c.c): Likewise.
384 [$(subdir) = elf && $(config-cflags-avx) = yes]
385 (CFLAGS-tst-auditmod7b.c): Likewise.
386 * elf/tst-audit3.c: Move to ...
387 * sysdeps/x86_64/tst-audit3.c: ... here.
388 * elf/tst-audit4.c: Move to ...
389 * sysdeps/x86_64/tst-audit4.c: ... here.
390 * elf/tst-audit5.c: Move to ...
391 * sysdeps/x86_64/tst-audit5.c: ... here.
392 * elf/tst-audit6.c: Move to ...
393 * sysdeps/x86_64/tst-audit6.c: ... here.
394 * elf/tst-audit7.c: Move to ...
395 * sysdeps/x86_64/tst-audit7.c: ... here.
396 * elf/tst-auditmod3a.c: Move to ...
397 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
398 * elf/tst-auditmod3b.c: Move to ...
399 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
400 * elf/tst-auditmod4a.c: Move to ...
401 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
402 * elf/tst-auditmod4b.c: Move to ...
403 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
404 * elf/tst-auditmod5a.c: Move to ...
405 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
406 * elf/tst-auditmod5b.c: Move to ...
407 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
408 * elf/tst-auditmod6a.c: Move to ...
409 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
410 * elf/tst-auditmod6b.c: Move to ...
411 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
412 * elf/tst-auditmod6c.c: Move to ...
413 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
414 * elf/tst-auditmod7a.c: Move to ...
415 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
416 * elf/tst-auditmod7b.c: Move to ...
417 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
419 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
422 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
423 define unconditionally.
424 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
425 define unconditionally.
426 (INT8_C, INT16_C, etc.): Likewise.
428 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
430 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
431 __ehdr_start with hidden visibility.
433 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
435 2013-04-24 Carlos O'Donell <carlos@redhat.com>
437 * math/libm-test.inc (cos_test): Use accurate hex constants.
438 (sincost_test): Likewise.
440 2013-04-24 Joseph Myers <joseph@codesourcery.com>
442 * math/libm-test.inc (catan_test): Add more tests.
443 (catanh_test): Likewise.
445 * math/s_catanf.c (__catanf): Use suffixed floating-point
447 * math/s_catanhf.c (__catanhf): Likewise.
448 * math/s_catanhl.c (__catanhl): Likewise.
449 * math/s_catanl.c (__catanl): Likewise.
452 * math/s_catan.c (__catan): Calculate imaginary part of result
453 with log1p not log unless computing log of number close to 0.
454 * math/s_catanf.c (__catanf): Likewise.
455 * math/s_catanl.c (__catanl): Likewise.
456 * math/s_catanh.c (__catanh): Calculate real part of result with
457 log1p not log unless computing log of number close to 0.
458 * math/s_catanhf.c (__catanhf): Likewise.
459 * math/s_catanhl.c (__catanhl): Likewise.
460 * math/libm-test.inc (catan_test): Add more tests.
461 (catanh_test): Likewise.
462 * sysdeps/i386/fpu/libm-test-ulps: Update.
463 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
465 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
467 * benchtests/Makefile: Mention files in which fast and slow
468 paths of math functions are implemented.
470 2013-04-23 Roland McGrath <roland@hack.frob.com>
472 * sysdeps/posix/timespec_get.c: New file.
474 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
476 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
478 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
480 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
481 powerpc/power5/fpu folders.
482 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
483 * benchtests/Makefile: Add modf testcase.
484 * benchtests/bench-modf.c: New file: Benchmark test for mo
486 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
489 * time/Makefile (tests): Add tst-strptime-whitespace.
490 * time/strptime_l.c (get_number): Use ISSPACE.
491 (__strptime_internal): Likewise.
492 * time/tst-strptime-whitespace.c: New test case.
494 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
496 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
498 (_nss_files_init): Set it here.
500 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
502 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
503 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
506 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
508 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
510 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
512 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
515 2013-04-21 David S. Miller <davem@davemloft.net>
517 * po/ru.po: Update Russion translation from translation project.
519 2013-04-17 Adam Conrad <adconrad@0c3.net>
521 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
524 2013-04-17 Carlos O'Donell <carlos@redhat.com>
526 * configure.in: Remove i386 configure warning. Remove i386 case.
527 * configure: Regenerate.
528 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
529 Add example to error message.
530 * sysdeps/i386/configure: Regenerate.
532 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
534 * benchtests/Makefile (bench): Add cos, tan, slowcos and
536 * benchtests/cos-inputs: New file.
537 * benchtests/slowcos-inputs: New file.
538 * benchtests/slowcos.c: New file.
539 * benchtests/slowtan-inputs: New file.
540 * benchtests/slowtan.c: New file.
541 * benchtests/tan-inputs: New file.
543 2013-04-16 Roland McGrath <roland@hack.frob.com>
545 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
548 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
550 * benchtests/Makefile: Include cppflags-iterator.mk to add
551 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
553 * Makefile.in (bench-clean): New target.
554 * benchtests/Makefile (bench-clean): Likewise.
556 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
558 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
560 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
562 * stdio-common/tstdiomisc.c: Fix coding-style violation.
564 2013-04-15 Andreas Schwab <schwab@suse.de>
566 * nscd/grpcache.c (cache_addgr): Properly check for short write.
567 * nscd/initgrcache.c (addinitgroupsX): Likewise.
568 * nscd/pwdcache.c (cache_addpw): Likewise.
569 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
572 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
574 * benchtests/Makefile (bench): Write all output to
575 bench-out.tmp together.
577 2013-04-15 Andreas Schwab <schwab@suse.de>
579 * nscd/nscd.c (main): Don't fork again after closing files.
581 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
583 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
585 * benchtests/Rules (bench-deps): Collect dependencies into a
586 single variable. Add Makefile to dependencies.
587 ($(objpfx)bench-%.c): Depend on bench-deps.
589 2013-04-12 Roland McGrath <roland@hack.frob.com>
590 Xavier Roche <roche+kml2@exalead.com>
593 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
594 just that it's a file descriptor.
595 * manual/llio.texi (Synchronizing AIO Operations): Update description
596 for EBADF error from aio_fsync.
598 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
600 * Rules (bench): Move target definition...
601 * benchtests/Makefile: ... here.
603 2013-04-11 Carlos O'Donell <carlos@redhat.com>
605 * math/libm-test.inc (cos_test): Fix PI/2 test.
606 (sincos_test): Likewise.
607 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
608 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
610 2013-04-11 Andreas Schwab <schwab@suse.de>
613 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
614 accept exponent character only when digits were seen.
615 * stdio-common/Makefile (tests): Add bug26.
616 * stdio-common/bug26.c: New file.
619 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
622 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
624 * Makeconfig (rtld-prefix): Define built linker prefix.
625 * Rules (run-bench): Use it.
626 * math/Makefile (run-regen-ulps): Likewise.
628 * Rules (bench): Remove eval.
630 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
631 Roland McGrath <roland@hack.frob.com>
632 Ondrej Bilka <neleai@seznam.cz>
635 * time/getdate.c: Include ctype.h and alloca.h.
636 (__getdate_r): Trim leading and trailing spaces of input.
637 * time/tst-getdate.c (tests): Add tests with leading and
640 2013-04-08 Roland McGrath <roland@hack.frob.com>
643 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
644 when computing value.
646 2013-04-06 Carlos O'Donell <carlos@redhat.com>
648 * math/README.libm-test (How can I generate "libm-test-ulps"?):
649 Use testrun.sh to run libm tests.
652 * elf/dl-open.c (dl_open_worker): memset all of seen array.
654 2013-04-06 Marko Myllynen <myllynen@redhat.com>
657 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
659 2013-04-06 Carlos O'Donell <carlos@redhat.com>
661 * Makefile.in (regen-ulps): New target.
662 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
663 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
664 [ifneq (no,$(PERL)] (regen-ulps): New target.
665 [ifeq (no,$(PERL)] (regen-ulps): New target.
666 * math/libm-test.inc (ulps_file_name): Define.
667 (output_dir): New variable.
668 (options): Add "output-dir" option.
669 (parse_opt): Handle 'o' case.
670 (main): If output_dir is non-NULL use it as a prefix
672 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
674 2013-04-06 Carlos O'Donell <carlos@redhat.com>
677 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
678 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
679 fail configure if __sync_val_compare_and_swap is not inlined.
680 * sysdeps/i386/configure: Regenerate.
681 * configure.in: Build for i686 when configured for i386.
682 * configure: Regenerate.
683 * README: Remove i386 reference.
685 2013-04-06 Carlos O'Donell <carlos@redhat.com>
687 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
688 * sysdeps/s390/s390-64/sysdep.h: Likewise.
690 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
692 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
693 (lmsnanval): New variables.
694 (F): Add conversion tests.
695 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
696 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
698 * stdio-common/tstdiomisc.c (F): Properly collect individual
702 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
703 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
704 Instead, use input NaN values or generate a qNaN by arithmetic
705 operation. Also fix bugs to comply with the standard.
706 * math/libm-test.inc (remainder_test): Add more tests.
709 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
710 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
711 input NaN values or generate a qNaN by arithmetic operation.
713 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
716 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
719 2013-04-03 Joseph Myers <joseph@codesourcery.com>
722 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
724 * math/s_cexpf.c (__cexpf): Likewise.
725 * math/s_cexpl.c (__cexpl): Likewise.
726 * math/libm-test.inc (cexp_test): Add more tests.
728 2013-04-03 Andreas Schwab <schwab@suse.de>
731 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
732 order arrays from heap if bigger than alloca cutoff.
734 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
736 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
737 (SNAN_TESTS_double): Refer to GCC PR56831.
738 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
741 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
743 * Rules (bench): Move bench.out after the run is complete.
745 * Rules (bench): Echo currently running benchmark.
747 * benchtests/Makefile (bench): Add atan and slowatan.
748 * benchtests/atan-inputs: New file.
749 * benchtests/slowatan-inputs: New file.
750 * benchtests/slowatan.c: New file.
752 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
753 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
757 * sysdeps/unix/sysv/linux/kernel-features.h
758 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
759 __ASSUME_XFS_RESTRICTED_CHOWN.
760 * sysdeps/unix/sysv/linux/pathconf.c
761 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
762 Save and restore errno.
764 2013-04-02 Joseph Myers <joseph@codesourcery.com>
767 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
768 arguments using __kernel_casinh.
769 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
770 arguments using __kernel_casinhf.
771 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
772 arguments using __kernel_casinhl.
773 * math/libm-test.inc (cacosh_test): Add more tests.
774 * sysdeps/i386/fpu/libm-test-ulps: Update.
775 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
777 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
779 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
780 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
782 * bench/Makefile (bench): Add sin and slowsin.
783 * benchtests/sin-inputs: New file.
784 * benchtests/slowsin-inputs: New file.
785 * benchtests/slowsin.c: New file.
787 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
788 (bench): Add slowexp and slowpow.
789 (exp-ITER): Increase iterations.
790 (pow-ITER): Likewise.
791 * benchtests/exp-inputs: Change input.
792 * benchtests/pow-inputs: Likewise.
793 * benchtests/slowexp-inputs: New file.
794 * benchtests/slowexp.c: New file.
795 * benchtests/slowpow-inputs: New file.
796 * benchtests/slowpow.c: New file.
798 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
800 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
802 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
803 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
804 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
805 * benchtests/Makefile: Add rint benchtest.
806 * benchtests/rint-inputs: Input for rint benchtest.
808 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
810 * Versions.def (libm): Add GLIBC_2.18.
811 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
812 hidden libm prototypes.
813 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
814 * math/Makefile (libm-calls): Add s_issignaling.
815 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
816 __issignalingf, __issignalingl. Adjust all libm.abilist files.
817 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
819 * math/math.h [__USE_GNU] (issignaling): New macro.
820 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
821 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
822 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
823 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
824 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
825 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
826 * manual/arith.texi (issignaling): New section.
827 * manual/libm-err-tab.pl (@all_functions): Update comment.
828 * math/gen-libm-test.pl (parse_args): Apply special handling for
830 * math/libm-test.inc (print_float, issignaling_test): New
832 (check_float_internal): Add issignaling checks.
833 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
835 * sysdeps/powerpc/math-tests.h: New file.
836 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
838 * math/test-snan.c (TEST_FUNC): Likewise.
840 2013-03-30 David S. Miller <davem@davemloft.net>
842 * po/de.po: Update from translation team.
844 2013-03-30 Joseph Myers <joseph@codesourcery.com>
847 * math/k_casinh.c (__kernel_casinh): Handle arguments with
848 imaginary part less than 1.0 and real part less than 0.5
850 * math/k_casinhf.c (__kernel_casinhf): Likewise.
851 * math/k_casinhl.c (__kernel_casinhl): Likewise.
852 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
853 (cacos_test): Add more tests.
854 (casin_test): Likewise.
855 (casinh_test): Likewise.
856 * sysdeps/i386/fpu/libm-test-ulps: Update.
857 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
859 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
861 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
864 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
865 (__pow_mp): Replace ONE and MONE with their values.
866 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
867 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
868 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
869 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
870 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
871 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
873 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
875 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
876 (__pow_mp): Replace ZERO and MZERO with their values.
877 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
878 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
879 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
880 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
881 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
882 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
885 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
887 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
889 2013-03-28 Roland McGrath <roland@hack.frob.com>
891 * include/stdlib.h [!SHARED] (__call_tls_dtors):
892 Declare with __attribute__ ((weak)).
893 * stdlib/exit.c (__libc_atexit) [!SHARED]:
894 Call __call_tls_dtors only if it's not NULL.
896 2013-03-28 Roland McGrath <roland@hack.frob.com>
898 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
899 didn't do it already, then set _dl_phdr and _dl_phnum based on the
900 magic __ehdr_start linker symbol if it's defined.
901 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
902 them up here if it was already done.
904 * elf/dl-support.c (_dl_phdr): Make pointer to const.
905 (_dl_aux_init): Use const in cast when setting it.
906 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
907 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
908 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
910 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
912 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
913 * csu/libc-tls.c: Nor here.
914 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
916 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
917 (__libc_message): Never call vsyslog.
919 2013-03-28 Alan Modra <amodra@gmail.com>
921 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
923 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
926 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
929 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
931 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
933 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
936 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
937 Don't add gid passed as argument.
939 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
941 2013-03-27 Joseph Myers <joseph@codesourcery.com>
944 * math/k_casinh.c (__kernel_casinh): Handle arguments with
945 imaginary part between 1.0 and 1.5 and real part less than 0.5
947 * math/k_casinhf.c (__kernel_casinhf): Likewise.
948 * math/k_casinhl.c (__kernel_casinhl): Likewise.
949 * math/libm-test.inc (cacos_test): Add more tests.
950 (casin_test): Likewise.
951 (casinh_test): Likewise.
952 * sysdeps/i386/fpu/libm-test-ulps: Update.
953 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
955 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
957 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
961 (__dbl_mp): Likewise.
962 (add_magnitudes): Likewise.
963 (sub_magnitudes): Likewise.
971 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
973 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
974 (__dubcos): Likewise.
975 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
976 (__ieee754_acos): Likewise.
977 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
978 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
980 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
981 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
984 (checkint): Likewise.
985 * sysdeps/ieee754/dbl-64/e_remainder.c
986 (__ieee754_remainder): Likewise.
987 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
988 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
990 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
992 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
993 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
994 MANTISSA_STORE_T to store computations on mantissa. Use
995 macros for rounding and division.
997 (__dbl_mp): Likewise.
998 (add_magnitudes): Likewise.
999 (sub_magnitudes): Likewise.
1002 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
1003 powers of two in terms of TWOPOW macro.
1004 (mp_no): Make type of mantissa as MANTISSA_T.
1005 [!RADIXI]: Define RADIXI.
1006 [!TWO52]: Define TWO52.
1007 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
1009 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1011 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
1012 llroundl symbol when building for PPC32.
1014 2013-03-24 Mark H Weaver <mhw@netris.org>
1016 * manual/arith.texi (Normalization Functions): Fix prototypes for
1017 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
1019 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1022 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
1023 high value to check if expl overflow.
1024 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
1025 to check for underflow and overflow.
1026 * math/libm-test.inc: Add exp test.
1028 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
1031 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
1034 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1036 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
1039 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
1041 * math/gen-libm-test.pl (parse_args, special_functions): Properly
1042 wrap blocks consisting of several statements.
1044 * sysdeps/generic/math-tests.h: New file.
1045 * sysdeps/i386/fpu/math-tests.h: Likewise.
1046 * math/test-snan.c: Include it.
1047 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
1049 2013-03-21 Joseph Myers <joseph@codesourcery.com>
1052 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
1053 (__ieee754_j0l): Do not improve calculations using cos of twice
1054 input for inputs above LDBL_MAX / 2.0L.
1055 (__ieee754_y0l): Likewise.
1056 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
1057 (__ieee754_j1l): Do not improve calculations using cos of twice
1058 input for inputs above LDBL_MAX / 2.0L.
1059 (__ieee754_y1l): Likewise.
1060 * math/libm-test.inc (j0_test): Add another test.
1061 (j1_test): Likewise.
1062 (y0_test): Likewise.
1063 (y1_test): Likewise.
1064 * sysdeps/i386/fpu/libm-test-ulps: Update.
1066 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1068 * Rules ($(objpfx)bench-%.c): Include code from a C source
1071 2013-03-21 Joseph Myers <joseph@codesourcery.com>
1074 * math/k_casinh.c (__kernel_casinh): Handle arguments with
1075 imaginary part 1.0 and real part less than 0.5 specially.
1076 * math/k_casinhf.c (__kernel_casinhf): Likewise.
1077 * math/k_casinhl.c (__kernel_casinhl): Likewise.
1078 * math/libm-test.inc (cacos_test): Add more tests.
1079 (casin_test): Likewise.
1080 (casinh_test): Likewise.
1081 * sysdeps/i386/fpu/libm-test-ulps: Update.
1082 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1084 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1086 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
1087 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
1089 2013-03-20 Joseph Myers <joseph@codesourcery.com>
1091 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
1092 * config.make.in (config-cflags-sse4): Remove variable.
1093 (config-cflags-avx): Likewise.
1094 (config-cflags-sse2avx): Likewise.
1095 (config-cflags-novzeroupper): Likewise.
1096 (config-asflags-i686): Likewise.
1097 (have-mfma4): Likewise.
1098 (have-as-vis3): Likewise.
1100 * configure.in (MIG): Do not AC_SUBST.
1101 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
1102 (libc_cv_cc_sse4): Do not AC_SUBST.
1103 (libc_cv_cc_avx): Likewise.
1104 (libc_cv_cc_sse2avx): Likewise.
1105 (libc_cv_cc_novzeroupper): Likewise.
1106 (libc_cv_cc_fma4): Likewise.
1107 (libc_cv_as_i686): Likewise.
1108 (libc_cv_sparc_as_vis3): Likewise.
1109 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
1111 (config-asflags-i686): Likewise.
1112 (config-cflags-avx): Likewise.
1113 (config-cflags-sse2avx): Likewise.
1114 (have-mfma4): Likewise.
1115 (config-cflags-novzeroupper): Likewise.
1116 * sysdeps/mach/configure.in (MIG): Likewise.
1117 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
1118 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
1120 (config-cflags-avx): Likewise.
1121 (config-cflags-sse2avx): Likewise.
1122 (have-mfma4): Likewise.
1123 (config-cflags-novzeroupper): Likewise.
1124 * configure: Regenerated.
1125 * sysdeps/i386/configure: Likewise.
1126 * sysdeps/mach/configure: Likewise.
1127 * sysdeps/sparc/configure: Likewise.
1128 * sysdeps/x86_64/configure: Likewise.
1130 2013-03-20 Roland McGrath <roland@hack.frob.com>
1133 * locale/programs/localedef.c (options): Put N_ translation marker
1134 on argument names, not just descriptions.
1136 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1138 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
1140 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
1143 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
1145 2013-03-19 Roland McGrath <roland@hack.frob.com>
1147 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
1148 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
1149 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
1150 [!BEFORE_ABORT] (before_abort): New function.
1151 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
1152 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
1153 (writev_for_fatal): New function.
1154 (WRITEV_FOR_FATAL): New macro; call that.
1155 (backtrace_and_maps): New function.
1156 (BEFORE_ABORT): New macro; call that.
1157 (struct str_list): Type removed.
1158 (__libc_message, __libc_fatal): Functions removed.
1159 Include <sysdeps/posix/libc_fatal.c> instead.
1161 2013-03-19 Joseph Myers <joseph@codesourcery.com>
1163 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
1165 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
1168 2013-03-19 Andreas Schwab <schwab@suse.de>
1170 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
1171 * sysdeps/gnu/configure: Regenerate.
1173 * configure.in: Substitute libc_cv_rtlddir.
1174 * configure: Regenerate.
1175 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
1176 * Makeconfig (rtlddir, inst_rtlddir): New variables.
1177 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
1178 * elf/Makefile (install-others, CFLAGS-interp.c)
1179 (ldso_install, common-ldd-rewrite): Likewise.
1180 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
1181 $(inst_slibdir)/$(rtld-installed-name).
1182 * scripts/rellns-sh: Add -p option.
1183 * Makerules (make-shlib-link): Use rellns-sh to get relative name
1186 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1188 * manual/nptl.texi: Renamed to ...
1189 * manual/threads.texi: ... this.
1190 * manual/Makefile (chapters): Update.
1192 2013-03-18 Roland McGrath <roland@hack.frob.com>
1195 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
1196 on argument names, not just descriptions.
1197 * malloc/memusagestat.c (options): Likewise.
1198 * nss/getent.c (options): Likewise.
1200 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
1203 * iconv/iconv_prog.c (options): Put N_ translation marker
1204 on argument names, not just descriptions.
1205 * iconv/iconvconfig.c (options): Likewise.
1207 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
1209 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
1210 implementation which is faster on all x86_64 architectures.
1211 Tested on AMD, Intel Nehalem, SNB, IVB.
1212 * sysdeps/x86_64/strnlen.S: Likewise.
1214 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
1215 Remove all multiarch strlen and strnlen versions.
1216 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
1217 Remove strlen and strnlen related parts.
1219 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
1221 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
1223 * sysdeps/x86_64/multiarch/strlen.S: Remove.
1224 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
1225 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
1226 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
1227 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
1228 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
1230 2013-03-17 Carlos O'Donell <carlos@redhat.com>
1232 * manual/memory.texi (Malloc Tunable Parameters):
1233 Sort parameters alphabetically. Add comments for missing entries.
1235 2013-03-17 David S. Miller <davem@davemloft.net>
1237 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1239 2013-03-16 Joseph Myers <joseph@codesourcery.com>
1242 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
1243 for arguments at most half maximum finite value.
1244 * math/libm-test.inc (j0_test): Add more tests.
1245 (j1_test): Likewise.
1246 (y0_test): Likewise.
1247 (y1_test): Likewise.
1248 * sysdeps/i386/fpu/libm-test-ulps: Update.
1249 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1252 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
1253 1 / x and functions P and Q for arguments above 0x1p256L.
1254 (__ieee754_y0l): Likewise.
1255 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
1256 (__ieee754_y1l): Likewise.
1257 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
1258 (j1_test): Likewise.
1259 (y0_test): Likewise.
1260 (y1_test): Likewise.
1262 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
1264 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
1267 2013-03-15 Roland McGrath <roland@hack.frob.com>
1269 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
1270 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
1271 zero since it's initialized to EXEC_PAGESIZE.
1273 * sysdeps/unix/sysv/linux/ldsodefs.h
1274 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
1275 * sysdeps/generic/ldsodefs.h: ... here.
1277 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
1279 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
1281 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
1283 * math/test-snan.c: Renamed from
1284 sysdeps/powerpc/fpu/test-powerpc-snan.c.
1285 * math/Makefile (tests): Add test-snan.
1286 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
1289 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
1290 SUFFIX. Initialize qNaN_var with __builtin_nan family of
1292 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
1293 __builtin_nan family of functions.
1294 * math/libm-test.inc (initialize): Initialize qnan_value with
1295 __builtin_nan family of functions.
1296 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
1298 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
1300 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
1301 storage class. Initialize qNaN_var and sNaN_var with
1302 __builtin_nan and __builtin_nans families of functions,
1305 * math/libm-test.inc (acosh_test): Also test with qNaN input.
1306 (sqrt_test): Remove duplicate test with qNaN input.
1307 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
1308 (round_test, signbit_test, significand_test): Note missing +/-Inf
1309 as well as qNaN tests.
1311 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
1312 qNaN_var. Fix a few strings, too.
1313 * math/libm-test.inc (nan_value): Rename to qnan_value.
1314 * math/gen-libm-test.pl (%beautify): Adjust to that.
1315 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
1316 * math/test-misc.c (main): Likewise.
1317 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
1318 to __qnan_bytes, and __qnan_union, respectively.
1319 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
1321 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
1322 and lqnanval, respectively.
1323 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
1324 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
1325 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
1326 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
1328 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
1329 * math/test-misc.c (main) [__x86_64__]: Enable test for long
1332 * math/test-misc.c (main): Fix copy'n'pastos.
1333 * misc/tst-efgcvt.c (special): Likewise.
1335 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
1336 Remove declarations.
1338 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1340 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
1341 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
1342 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
1343 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
1345 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1347 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
1348 macro to return vdso values correctly in IFUNC implementations.
1349 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
1350 Optimization by using IFUNC.
1352 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1353 Richard Henderson <rth@redhat.com>
1354 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1356 * Makefile.in (bench): New target.
1357 * NEWS: Mention the benchmark framework.
1358 * Rules (bench): Likewise.
1359 (binaries-bench): Generate binaries for functions to
1361 * benchtests/Makefile: New makefile for benchmark tests.
1362 * benchtests/bench-skeleton.c: New skeleton file for benchmark
1364 * benchtests/exp-inputs: New input file for EXP function.
1365 * benchtests/pow-inputs: New input file for POW function.
1366 * scripts/bench.pl: New script to generate source files for
1369 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1371 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
1372 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
1373 computations on mantissa. Use macros for rounding and
1376 (__dbl_mp): Likewise.
1377 (add_magnitudes): Likewise.
1378 (sub_magnitudes): Likewise.
1381 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
1382 powers of two in terms of TWOPOW macro.
1383 (mp_no): Make type of mantissa as MANTISSA_T.
1384 [!RADIXI]: Define RADIXI.
1385 [!TWO52]: Define TWO52.
1386 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
1388 * manual/nptl.texi (cindex): Modify threads to pthreads.
1390 2013-03-15 Joseph Myers <joseph@codesourcery.com>
1392 * sysdeps/x86_64/preconfigure: Regenerated.
1394 2013-03-14 Joseph Myers <joseph@codesourcery.com>
1397 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
1399 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
1400 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
1402 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
1403 * math/libm-test.inc (j0_test): Do not allow one spurious
1404 underflow exception.
1405 (y1_test): Likewise.
1407 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
1409 * manual/Makefile (chapters): Add nptl.
1410 * manual/debug.texi (Debugging Support): Add link to Threads
1412 * manual/nptl.texi: New file.
1414 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
1416 2013-03-14 Petr Baudis <pasky@ucw.cz>
1418 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
1419 for non-NULL pointer before the memory validity test. Pointed
1420 out by Holger Brunck <holger.brunck@keymile.com>.
1422 2013-03-13 Andreas Schwab <schwab@suse.de>
1424 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
1427 2013-03-13 Joseph Myers <joseph@codesourcery.com>
1429 * timezone/zic.c: Update from tzcode 2013b.
1431 2013-03-12 Carlos O'Donell <carlos@redhat.com>
1433 * manual/install.texi (Configuring and compiling):
1434 Mention i686 and i586.
1435 * INSTALL: Regenerate.
1437 2013-03-12 Roland McGrath <roland@hack.frob.com>
1439 * sysdeps/init_array/elf-init.c: New file.
1441 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
1442 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
1444 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
1445 __gmon_start__ as global, but as static with a .preinit_array pointer.
1446 * sysdeps/init_array/gmon-start.c: New file. Use that.
1447 * sysdeps/init_array/crti.S: New file, empty except for comments.
1448 * sysdeps/init_array/crtn.S: Likewise.
1450 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
1452 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
1454 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1455 Remove Prefer_SSE_for_memop.
1456 * sysdeps/x86_64/multiarch/init-arch.h: Remove
1457 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
1458 HAS_PREFER_SSE_FOR_MEMOP.
1459 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
1461 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1462 Remove bzero, memset ifunc support.
1463 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
1464 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
1465 * sysdeps/x86_64/multiarch/memset.S: Likewise.
1466 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1468 2013-03-11 Andreas Schwab <schwab@suse.de>
1471 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
1473 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
1474 (GLIBC_2.16): Remove pthread_atfork.
1476 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
1478 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
1479 (ptestcases.h): Likewise.
1481 2013-03-08 Roland McGrath <roland@hack.frob.com>
1483 * Makeconfig ($(common-objpfx)config.status): Depend on
1484 sysdeps/*/preconfigure{,.in} too.
1486 2013-03-08 Joseph Myers <joseph@codesourcery.com>
1488 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
1489 (__free_hook): Use void * instead of __malloc_ptr_t.
1490 (__malloc_hook): Likewise.
1491 (__realloc_hook): Likewise.
1492 (__memalign_hook): Likewise.
1493 (__after_morecore_hook): Likewise.
1494 * malloc/arena.c (save_malloc_hook): Likewise.
1495 (save_free_hook): Likewise.
1496 * malloc/hooks.c (malloc_hook_ini): Likewise.
1497 (realloc_hook_ini): Likewise.
1498 (memalign_hook_ini): Likewise.
1499 * malloc/malloc.c (malloc_hook_ini): Likewise.
1500 (realloc_hook_ini): Likewise.
1501 (memalign_hook_ini): Likewise.
1502 (__free_hook): Likewise.
1503 (__malloc_hook): Likewise.
1504 (__realloc_hook): Likewise.
1505 (__memalign_hook): Likewise.
1506 (__libc_malloc): Likewise.
1507 (__libc_free): Likewise.
1508 (__libc_realloc): Likewise.
1509 (__libc_memalign): Likewise.
1510 (__libc_valloc): Likewise.
1511 (__libc_pvalloc): Likewise.
1512 (__libc_calloc): Likewise.
1513 (__posix_memalign): Likewise.
1514 * malloc/morecore.c (__sbrk): Likewise.
1515 (__default_morecore): Likewise.
1517 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
1519 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
1520 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
1523 * malloc/malloc.h (__malloc_size_t): Remove macro.
1524 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
1526 (old_memalign_hook): Likewise.
1527 (old_realloc_hook): Likewise.
1528 (struct hdr): Likewise.
1530 (mallochook): Likewise.
1531 (memalignhook): Likewise.
1532 (reallochook): Likewise.
1533 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
1534 (tr_old_realloc_hook): Likewise.
1535 (tr_old_memalign_hook): Likewise.
1536 (tr_mallochook): Likewise.
1537 (tr_reallochook): Likewise.
1538 (tr_memalignhook): Likewise.
1540 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1542 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
1543 default_ldbl_pack and using as default implementation.
1544 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
1546 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
1547 redundant definition.
1548 (ldbl_insert_mantissa): Likewise.
1549 (ldbl_canonicalize): Likewise.
1550 (ldbl_nearbyint): Likewise.
1551 (ldbl_pack): Rename to ldbl_pack_ppc.
1552 (ldbl_unpack): Rename to ldbl_unpack_ppc.
1553 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
1554 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
1556 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
1558 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
1559 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
1560 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
1561 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
1562 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
1563 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
1564 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
1565 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
1567 2013-03-07 Andreas Jaeger <aj@suse.de>
1569 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1572 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
1574 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
1575 Include mpa.h and declare __MPEXP.
1576 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
1577 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
1578 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
1579 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
1580 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
1581 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
1582 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
1584 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
1585 (__slowpow): Use long double EXPL and LOGL functions to
1587 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
1588 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
1589 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
1590 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
1591 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
1592 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
1594 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
1595 intermediate variable to calculate exponent.
1597 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
1601 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
1602 [!NO__SQR]: Define __sqr.
1603 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
1604 and NO__SQR. Remove all code except __mul and __sqr. Include
1605 sysdeps/ieee754/dbl-64/mpa.c.
1606 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
1609 * posix/Makefile (tests): Add tst-pathconf.
1610 * posix/tst-pathconf.c: New test case.
1611 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
1613 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
1615 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
1617 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
1619 2013-03-06 Andreas Jaeger <aj@suse.de>
1621 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
1622 definition via __MAP_ANONYMOUS.
1624 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
1625 it's not part of Linux headers.
1627 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
1628 (MAP_HUGE_MASK): Define.
1630 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
1632 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
1633 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
1635 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
1636 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
1638 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
1639 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
1641 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
1643 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
1644 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
1645 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
1646 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
1647 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
1648 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
1650 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
1653 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
1654 Handle f2fs and efivarfs.
1656 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
1659 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
1660 (EFIVARFS_MAGIC): Add.
1661 (F2FS_LINK_MAX): Add.
1663 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
1665 * stdio-common/vfprintf.c: Replace __builtin_expect with
1668 2013-03-06 Joseph Myers <joseph@codesourcery.com>
1671 * sysdeps/generic/bp-sym.h: Remove file.
1672 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
1673 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
1674 <bp-sym.h> and <bp-asm.h>.
1675 (__longjmp): Don't use BP_SYM.
1676 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
1678 (memcpy): Don't use BP_SYM.
1679 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
1680 <bp-sym.h> and <bp-asm.h>.
1681 (memcpy): Don't use BP_SYM.
1682 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
1684 (memcpy): Don't use BP_SYM.
1685 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
1687 (memset): Don't use BP_SYM.
1688 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1689 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1690 (__bzero): Don't use BP_SYM.
1691 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1692 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1693 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
1694 <bp-sym.h> and <bp-asm.h>.
1695 (memcmp): Don't use BP_SYM. Remove comment about bounded
1697 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
1698 <bp-sym.h> and <bp-asm.h>.
1699 (memcpy): Don't use BP_SYM.
1700 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
1701 <bp-sym.h> and <bp-asm.h>.
1702 (memset): Don't use BP_SYM.
1703 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1704 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1705 (__bzero): Don't use BP_SYM.
1706 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1707 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1708 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
1709 <bp-sym.h> and <bp-asm.h>.
1710 (strncmp): Don't use BP_SYM. Remove comment about bounded
1712 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
1713 <bp-sym.h> and <bp-asm.h>.
1714 (memcpy): Don't use BP_SYM.
1715 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
1716 <bp-sym.h> and <bp-asm.h>.
1717 (memset): Don't use BP_SYM.
1718 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1719 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1720 (__bzero): Don't use BP_SYM.
1721 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1722 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1723 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
1724 <bp-sym.h> and <bp-asm.h>.
1725 (__memchr): Don't use BP_SYM.
1726 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
1727 <bp-sym.h> and <bp-asm.h>.
1728 (memcmp): Don't use BP_SYM. Remove comment about bounded
1730 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
1731 <bp-sym.h> and <bp-asm.h>.
1732 (memcpy): Don't use BP_SYM.
1733 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
1734 <bp-sym.h> and <bp-asm.h>.
1735 (__mempcpy): Don't use BP_SYM.
1736 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
1737 <bp-sym.h> and <bp-asm.h>.
1738 (__memrchr): Don't use BP_SYM.
1739 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
1740 <bp-sym.h> and <bp-asm.h>.
1741 (memset): Don't use BP_SYM.
1742 (__bzero): Likewise.
1743 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
1744 <bp-sym.h> and <bp-asm.h>.
1745 (__rawmemchr): Don't use BP_SYM.
1746 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
1747 <bp-sym.h> and <bp-asm.h>.
1748 (__STRCMP): Don't use BP_SYM.
1749 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
1750 <bp-sym.h> and <bp-asm.h>.
1751 (strchr): Don't use BP_SYM.
1752 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
1753 <bp-sym.h> and <bp-asm.h>.
1754 (__strchrnul): Don't use BP_SYM.
1755 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
1756 <bp-sym.h> and <bp-asm.h>.
1757 (strlen): Don't use BP_SYM.
1758 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
1759 <bp-sym.h> and <bp-asm.h>.
1760 (strncmp): Don't use BP_SYM. Remove comment about bounded
1762 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
1763 <bp-sym.h> and <bp-asm.h>.
1764 (__strnlen): Don't use BP_SYM.
1765 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
1766 <bp-sym.h> and <bp-asm.h>.
1767 (__GI__setjmp): Don't use BP_SYM.
1768 (_setjmp): Likewise.
1769 (__sigsetjmp): Likewise.
1770 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
1771 (L(start_addresses)): Don't use BP_SYM.
1773 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
1775 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
1776 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
1777 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1778 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1779 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
1781 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
1782 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
1783 about bounded pointers.
1784 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
1785 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
1786 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
1788 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
1789 about bounded pointers. Remove GKM FIXME comments.
1790 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
1791 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
1793 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
1794 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
1795 Remove GKM FIXME comments.
1796 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1797 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1798 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
1800 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
1801 about bounded pointers. Remove GKM FIXME comment.
1802 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
1804 (strncmp): Don't use BP_SYM. Remove comment about bounded
1806 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
1807 <bp-sym.h> and <bp-asm.h>.
1808 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
1809 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
1810 <bp-sym.h> and <bp-asm.h>.
1811 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
1814 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
1816 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
1819 2013-03-05 David S. Miller <davem@davemloft.net>
1821 * po/es.po: Update from translation team.
1823 2013-03-05 Andreas Jaeger <aj@suse.de>
1825 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
1826 <bits/mman-linux.h>.
1827 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
1829 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
1830 <bits/mman-linux.h> to end of file.
1831 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
1833 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
1834 <bits/mman-linux.h> to end of file.
1835 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
1837 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
1838 <bits/mman-linux.h> to end of file.
1840 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
1841 (MCL_CURRENT, MCL_FUTURE): Define here.
1843 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1846 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
1848 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
1850 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1852 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
1853 fourth parameter needed for rt_sigprocmask syscall.
1854 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
1855 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
1856 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
1857 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
1858 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
1859 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
1861 2013-03-04 Joseph Myers <joseph@codesourcery.com>
1864 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
1865 comment about bounded pointers.
1866 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
1867 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
1869 2013-03-04 Andreas Jaeger <aj@suse.de>
1871 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
1874 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
1875 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
1876 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
1877 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
1878 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
1879 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
1881 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1884 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
1885 __ieee754_sqrl instead of __sqrl.
1887 2013-03-01 Joseph Myers <joseph@codesourcery.com>
1889 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
1890 * sysdeps/powerpc/fpu_control.h: ... here.
1891 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
1892 * sysdeps/powerpc/bits/fenvinline.h: ... here.
1893 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
1894 * sysdeps/powerpc/bits/mathinline.h: ... here.
1896 2013-03-01 Roland McGrath <roland@hack.frob.com>
1898 * elf/dl-hwcaps.c (_dl_important_hwcaps):
1899 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
1900 to just [NEED_DL_SYSINFO_DSO].
1901 * elf/dl-support.c: Likewise.
1902 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
1903 * elf/rtld.c (dl_main): Likewise.
1904 * elf/setup-vdso.h (setup_vdso): Likewise.
1905 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
1906 * sysdeps/unix/sysv/linux/dl-sysdep.c
1907 (_dl_discover_osversion): Likewise.
1909 2013-03-01 Carlos O'Donell <carlos@redhat.com>
1911 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
1912 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
1914 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
1916 * NEWS: Mention libm performance improvements and non-x86 PI
1919 * csu/libc-start.c (__pthread_initialize_minimal): Change
1921 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
1923 2013-02-28 Joseph Myers <joseph@codesourcery.com>
1926 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
1927 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
1928 <bp-sym.h> and <bp-asm.h>.
1929 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
1930 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
1932 (memcpy): Don't use BP_SYM.
1933 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
1935 (__mpn_add_n): Don't use BP_SYM.
1936 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
1937 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
1939 (__mpn_addmul_1): Don't use BP_SYM.
1940 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1941 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
1943 (_setjmp): Don't use BP_SYM.
1944 (__novmx_setjmp): Likewise.
1945 (__GI__setjmp): Likewise.
1946 (__vmx_setjmp): Likewise.
1947 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
1949 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
1950 (__bzero): Don't use BP_SYM.
1951 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1952 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1953 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
1954 <bp-sym.h> and <bp-asm.h>.
1955 (memcpy): Don't use BP_SYM.
1956 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
1957 <bp-sym.h> and <bp-asm.h>.
1958 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
1959 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
1960 <bp-sym.h> and <bp-asm.h>.
1961 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
1962 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
1964 (__mpn_lshift): Don't use BP_SYM.
1965 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1966 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
1968 (memset): Don't use BP_SYM.
1969 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1970 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1971 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
1973 (__mpn_mul_1): Don't use BP_SYM.
1974 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1975 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
1976 <bp-sym.h> and <bp-asm.h>.
1977 (memcmp): Don't use BP_SYM.
1978 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
1979 <bp-sym.h> and <bp-asm.h>.
1980 (memcpy): Don't use BP_SYM.
1981 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
1982 <bp-sym.h> and <bp-asm.h>.
1983 (memset): Don't use BP_SYM.
1984 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
1985 <bp-sym.h> and <bp-asm.h>.
1986 (strncmp): Don't use BP_SYM.
1987 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
1988 <bp-sym.h> and <bp-asm.h>.
1989 (memcpy): Don't use BP_SYM.
1990 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
1991 <bp-sym.h> and <bp-asm.h>.
1992 (memset): Don't use BP_SYM.
1993 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
1994 <bp-sym.h> and <bp-asm.h>.
1995 (__memchr): Don't use BP_SYM.
1996 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
1997 <bp-sym.h> and <bp-asm.h>.
1998 (memcmp): Don't use BP_SYM.
1999 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
2000 <bp-sym.h> and <bp-asm.h>.
2001 (memcpy): Don't use BP_SYM.
2002 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
2003 <bp-sym.h> and <bp-asm.h>.
2004 (__mempcpy): Don't use BP_SYM.
2005 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
2006 <bp-sym.h> and <bp-asm.h>.
2007 (__memrchr): Don't use BP_SYM.
2008 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
2009 <bp-sym.h> and <bp-asm.h>.
2010 (memset): Don't use BP_SYM.
2011 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
2012 <bp-sym.h> and <bp-asm.h>.
2013 (__rawmemchr): Don't use BP_SYM.
2014 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
2015 <bp-sym.h> and <bp-asm.h>.
2016 (__STRCMP): Don't use BP_SYM.
2017 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
2018 <bp-sym.h> and <bp-asm.h>.
2019 (strchr): Don't use BP_SYM.
2020 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
2021 <bp-sym.h> and <bp-asm.h>.
2022 (__strchrnul): Don't use BP_SYM.
2023 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
2024 <bp-sym.h> and <bp-asm.h>.
2025 (strlen): Don't use BP_SYM.
2026 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
2027 <bp-sym.h> and <bp-asm.h>.
2028 (strncmp): Don't use BP_SYM.
2029 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
2030 <bp-sym.h> and <bp-asm.h>.
2031 (__strnlen): Don't use BP_SYM.
2032 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
2034 (__mpn_rshift): Don't use BP_SYM.
2035 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2036 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
2037 <bp-sym.h> and <bp-asm.h>.
2038 (__sigsetjmp): Don't use BP_SYM.
2039 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
2040 (L(start_addresses)): Don't use BP_SYM.
2042 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
2044 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
2045 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
2046 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
2047 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
2049 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
2050 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
2051 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
2052 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
2054 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
2056 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
2057 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
2059 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
2061 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
2062 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
2063 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
2065 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
2067 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
2069 (strncmp): Don't use BP_SYM,
2070 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
2072 (__mpn_sub_n): Don't use BP_SYM.
2073 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2074 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
2076 (__mpn_submul_1): Don't use BP_SYM.
2077 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2078 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
2079 <bp-sym.h> and <bp-asm.h>.
2080 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
2081 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
2082 <bp-sym.h> and <bp-asm.h>.
2083 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
2086 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2088 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
2089 Use ZK to minimize writes to Z.
2090 (sub_magnitudes): Simplify code a bit.
2091 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
2092 Use ZK to minimize writes to Z.
2093 (sub_magnitudes): Simplify code a bit.
2095 2013-02-27 Roland McGrath <roland@hack.frob.com>
2097 * csu/gmon-start.c: Add special exception to license text.
2099 2013-02-27 Richard Henderson <rth@redhat.com>
2101 * scripts/config.guess: Update from config.git.
2102 * scripts/config.sub: Likewise.
2104 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2106 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
2108 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
2110 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
2112 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
2114 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
2116 2013-02-26 Roland McGrath <roland@hack.frob.com>
2118 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
2119 [$(build-shared = yes].
2121 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2123 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
2124 (__mul): Reduce iterations for calculating mantissa.
2126 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
2128 (__mpranred): Likewise.
2131 * malloc/memusagestat.c (main): Draw graphs for heap and stack
2132 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
2134 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
2136 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
2137 Define __attribute__.
2139 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2141 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
2143 * posix/regex_internal.h (__attribute): Remove.
2144 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
2145 (re_string_context_at): Likewise.
2146 (bitset_not): Use __attribute__ and mark function as possibly
2148 (bitset_merge): Likewise.
2149 (bitset_mask): Likewise.
2150 (re_string_char_size_at): Likewise.
2151 (re_string_wchar_at): Likewise.
2152 (re_string_elem_size_at): Likewise.
2154 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
2156 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
2160 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
2165 (__dbl_mp): Likewise.
2166 (add_magnitudes): Likewise.
2167 (sub_magnitudes): Likewise.
2171 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
2174 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
2177 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
2180 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
2181 up changes with default code.
2182 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
2185 2013-02-24 Allan McRae <allan@archlinux.org>
2187 * manual/socket.texi (The Internet Namespace): Order menu items
2188 to match that in the file.
2190 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
2191 node listing of the info page menu.
2193 2013-02-21 Joseph Myers <joseph@codesourcery.com>
2196 * sysdeps/i386/bp-asm.h: Remove file.
2197 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
2198 (PARMS): Do not use macros from bp-asm.h.
2202 (__mpn_add_n): Do not use BP_SYM
2203 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
2205 (PARMS): Do not use macros from bp-asm.h.
2208 (__mpn_addmul_1): Do not use BP_SYM
2209 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
2211 (PARMS): Do not use macros from bp-asm.h.
2213 (_setjmp): Likewise. Do not use BP_SYM.
2214 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
2216 (PARMS): Do not use macros from bp-asm.h.
2218 (setjmp): Likewise. Do not use BP_SYM.
2219 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
2221 (PARMS): Do not use macros from bp-asm.h.
2222 (__frexp): Do not use BP_SYM.
2224 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
2226 (PARMS): Do not use macros from bp-asm.h.
2227 (__frexpf): Do not use BP_SYM.
2229 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
2231 (PARMS): Do not use macros from bp-asm.h.
2232 (__frexpl): Do not use BP_SYM.
2234 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
2236 (PARMS): Do not use macros from bp-asm.h.
2237 (__remquo): Do not use BP_SYM.
2239 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
2241 (PARMS): Do not use macros from bp-asm.h.
2242 (__remquof): Do not use BP_SYM.
2243 (remquof): Likewise.
2244 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
2246 (PARMS): Do not use macros from bp-asm.h.
2247 (__remquol): Do not use BP_SYM.
2248 (remquol): Likewise.
2249 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
2251 (PARMS): Do not use macros from bp-asm.h.
2254 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
2255 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
2257 (PARMS): Do not use macros from bp-asm.h.
2258 (strlen): Do not use BP_SYM.
2259 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
2261 (PARMS): Do not use macros from bp-asm.h.
2265 (__mpn_add_n): Do not use BP_SYM.
2266 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
2268 (PARMS): Do not use macros from bp-asm.h.
2271 (__mpn_addmul_1): Do not use BP_SYM.
2272 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
2275 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
2277 (PARMS): Do not use macros from bp-asm.h.
2280 (__mpn_lshift): Do not use BP_SYM.
2281 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
2283 (PARMS): Do not use macros from bp-asm.h.
2287 (memcpy): Likewise. Do not use BP_SYM.
2288 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
2289 libc_hidden_def and weak_alias.
2290 (mempcpy): Do not use BP_SYM in weak_alias.
2291 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
2293 (PARMS): Do not use macros from bp-asm.h.
2296 [!BZERO_P] (CHR): Likewise.
2297 (memset): Likewise. Do not use BP_SYM.
2298 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
2300 (PARMS): Do not use macros from bp-asm.h.
2303 (__mpn_mul_1): Do not use BP_SYM.
2304 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
2306 (PARMS): Do not use macros from bp-asm.h.
2309 (__mpn_rshift): Do not use BP_SYM.
2310 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
2312 (PARMS): Do not use macros from bp-asm.h.
2315 (strchr): Likewise. Do not use BP_SYM.
2316 (index): Do not use BP_SYM in weak_alias.
2317 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
2319 (PARMS): Do not use macros from bp-asm.h.
2322 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
2323 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
2325 (PARMS): Do not use macros from bp-asm.h.
2326 (strlen): Do not use BP_SYM.
2327 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
2329 (PARMS): Do not use macros from bp-asm.h.
2333 (__mpn_sub_n): Do not use BP_SYM.
2334 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
2336 (PARMS): Do not use macros from bp-asm.h.
2339 (__mpn_submul_1): Do not use BP_SYM.
2340 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
2342 (PARMS): Do not use macros from bp-asm.h.
2346 (__mpn_add_n): Do not use BP_SYM.
2347 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
2350 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
2352 (PARMS): Do not use macros from bp-asm.h.
2355 (memcmp): Do not use BP_SYM.
2356 (bcmp): Do not use BP_SYM in weak_alias.
2357 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
2359 (PARMS): Do not use macros from bp-asm.h.
2363 (memcpy): Likewise. Do not use BP_SYM.
2364 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
2366 (PARMS): Do not use macros from bp-asm.h.
2370 (memmove): Likewise. Do not use BP_SYM.
2371 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
2373 (PARMS): Do not use macros from bp-asm.h.
2377 (__mempcpy): Likewise. Do not use BP_SYM.
2378 (mempcpy): Do not use BP_SYM in weak_alias.
2379 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
2381 (PARMS): Do not use macros from bp-asm.h.
2384 [!BZERO_P] (CHR): Likewise.
2385 (memset): Likewise. Do not use BP_SYM.
2386 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
2388 (PARMS): Do not use macros from bp-asm.h.
2390 (strcmp): Do not use BP_SYM.
2391 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
2393 (PARMS): Do not use macros from bp-asm.h.
2396 [USE_AS_STRTOK_R] (SAVE): Likewise.
2397 (FUNCTION): Likewise. Do not use BP_SYM.
2398 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
2400 (strtok_r): Likewise.
2401 (__GI___strtok_r): Likewise.
2402 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
2403 (PARMS): Do not use macros from bp-asm.h.
2406 (__mpn_lshift): Do not use BP_SYM.
2407 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
2408 (PARMS): Do not use macros from bp-asm.h.
2411 (__memchr): Do not use BP_SYM.
2412 (memchr): Do not use BP_SYM in weak_alias.
2413 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
2414 (PARMS): Do not use macros from bp-asm.h.
2417 (memcmp): Do not use BP_SYM.
2418 (bcmp): Do not use BP_SYM in weak_alias.
2419 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
2420 (PARMS): Do not use macros from bp-asm.h.
2423 (__mpn_mul_1): Do not use BP_SYM.
2424 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
2426 (PARMS): Do not use macros from bp-asm.h.
2429 (__rawmemchr): Do not use BP_SYM.
2430 (rawmemchr): Do not use BP_SYM in weak_alias.
2431 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
2432 (PARMS): Do not use macros from bp-asm.h.
2435 (__mpn_rshift): Do not use BP_SYM.
2436 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
2437 (PARMS): Do not use macros from bp-asm.h.
2439 (__sigsetjmp): Likewise. Do not use BP_SYM.
2440 * sysdeps/i386/start.S: Do not include "bp-sym.h".
2441 (_start): Do not use BP_SYM.
2442 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
2443 (PARMS): Do not use macros from bp-asm.h.
2446 (__stpcpy): Likewise. Do not use BP_SYM.
2447 (stpcpy): Do not use BP_SYM in weak_alias.
2448 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
2450 (PARMS): Do not use macros from bp-asm.h.
2454 (__stpncpy): Likewise. Do not use BP_SYM.
2455 (stpncpy): Do not use BP_SYM in weak_alias.
2456 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
2457 (PARMS): Do not use macros from bp-asm.h.
2460 (strchr): Likewise. Do not use BP_SYM.
2461 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
2463 (PARMS): Do not use macros from bp-asm.h.
2466 (__strchrnul): Likewise. Do not use BP_SYM.
2467 (strchrnul): Do not use BP_SYM in weak_alias.
2468 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
2470 (PARMS): Do not use macros from bp-asm.h.
2472 (strcspn): Do not use BP_SYM.
2473 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
2475 (PARMS): Do not use macros from bp-asm.h.
2478 (strpbrk): Likewise. Do not use BP_SYM.
2479 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
2481 (PARMS): Do not use macros from bp-asm.h.
2484 (strrchr): Likewise. Do not use BP_SYM.
2485 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
2486 (PARMS): Do not use macros from bp-asm.h.
2488 (strspn): Do not use BP_SYM.
2489 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
2490 (PARMS): Do not use macros from bp-asm.h.
2494 (FUNCTION): Likewise. Do not use BP_SYM.
2495 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
2497 (strtok_r): Likewise.
2498 (__GI___strtok_r): Likewise.
2499 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
2500 (PARMS): Do not use macros from bp-asm.h.
2504 (__mpn_sub_n): Do not use BP_SYM.
2505 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
2507 (PARMS): Do not use macros from bp-asm.h.
2510 (__mpn_submul_1): Do not use BP_SYM.
2511 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
2513 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
2515 (PARMS): Do not use macros from bp-asm.h.
2520 (__clone): Do not use BP_SYM.
2521 (clone): Do not use BP_SYM in weak_alias.
2522 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
2524 (PARMS): Do not use macros from bp-asm.h.
2526 (__mmap64): Do not use BP_SYM.
2527 (mmap64): Do not use BP_SYM in weak_alias.
2528 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
2529 <bp-sym.h> and <bp-asm.h>.
2530 (PARMS): Do not use macros from bp-asm.h.
2531 (__posix_fadvise64_l64): Do not use BP_SYM.
2532 * sysdeps/unix/sysv/linux/i386/semtimedop.S
2533 (PARMS): Do not use macros from bp-asm.h.
2535 (semtimedop): Do not use BP_SYM.
2536 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
2539 2013-02-21 Allan McRae <allan@archlinux.org>
2541 * manual/message.texi (Charset conversion in gettext):
2542 Move @end statement to beginning of line.
2544 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2546 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
2548 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
2551 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
2553 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
2554 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
2556 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2558 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
2559 tail-call to the resolved function if pltexit isn't needed.
2561 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2563 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
2564 or Y being zero as being unlikely.
2565 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
2568 2013-02-20 Carlos O'Donell <carlos@redhat.com>
2570 * manual/nss.texi (System Databases and Name Service Switch):
2571 Remove frobnicate @pxref.
2573 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
2575 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
2576 __attribute__ ((unused)) to __attribute__ ((__unused__)).
2578 2013-02-20 Petr Machata <pmachata@redhat.com>
2580 * elf/elf.h (R_ARM_TARGET1): New macro.
2581 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
2582 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
2583 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
2584 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
2585 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
2586 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
2587 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
2588 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
2589 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
2590 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
2591 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
2592 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
2593 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
2594 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
2595 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
2596 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
2597 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
2598 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
2599 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
2600 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
2601 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
2602 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
2603 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
2604 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
2605 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
2606 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
2607 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
2608 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
2609 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
2610 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
2611 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
2612 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
2613 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
2614 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
2615 (R_ARM_THM_GOT_BREL12): Likewise.
2616 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
2617 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
2618 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
2619 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
2620 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
2621 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
2622 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
2623 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
2624 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
2626 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
2628 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
2629 __attribute_used__ to __attribute__ ((unused)).
2631 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
2633 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
2635 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
2637 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
2639 2013-02-19 Joseph Myers <joseph@codesourcery.com>
2642 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
2644 (ENTER): Remove both macro definitions.
2646 (CHECK_BOUNDS_LOW): Likewise.
2647 (CHECK_BOUNDS_HIGH): Likewise.
2648 (CHECK_BOUNDS_BOTH): Likewise.
2649 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
2650 (RETURN_BOUNDED_POINTER): Likewise.
2651 (RETURN_NULL_BOUNDED_POINTER): Likewise.
2652 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
2653 (POP_ERRNO_LOCATION_RETURN): Likewise.
2654 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
2655 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2656 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
2658 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2659 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
2660 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
2661 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
2662 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
2663 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
2664 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
2665 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
2666 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
2667 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
2668 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
2669 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
2670 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2671 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
2673 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2674 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
2676 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2677 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
2678 * sysdeps/i386/i586/memset.S (memset): Likewise.
2679 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
2680 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2681 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
2683 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2684 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
2685 Change uses of L(2) to L(out).
2686 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
2687 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
2688 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
2689 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2690 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
2692 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2693 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
2695 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2696 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
2697 (RETURN): Do not use macro LEAVE.
2698 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
2699 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
2700 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
2701 * sysdeps/i386/i686/memset.S (memset): Likewise.
2702 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
2703 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
2704 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
2705 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
2707 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
2708 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
2709 L(1_2) and L(1_3) into L(1).
2710 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
2711 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
2712 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2713 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
2714 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
2715 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
2716 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
2717 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2718 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
2720 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
2721 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2722 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
2723 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
2724 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
2725 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
2726 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
2727 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
2728 * sysdeps/i386/strcspn.S (strcspn): Likewise.
2729 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
2730 * sysdeps/i386/strrchr.S (strrchr): Likewise.
2731 * sysdeps/i386/strspn.S (strspn): Likewise.
2732 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
2734 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
2735 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
2736 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
2737 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
2739 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
2740 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2741 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
2743 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2745 2013-02-19 Jakub Jelinek <jakub@redhat.com>
2747 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
2750 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2752 * math/atest-exp.c (exp_mpn): Remove ROUND.
2753 * math/atest-exp2.c (exp_mpn): Likewise.
2754 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
2756 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
2757 * stdlib/tst-tls-atexit-lib.c: Likewise.
2758 * stdlib/tst-tls-atexit.c: Likewise.
2760 2013-02-18 Mike Frysinger <vapier@gentoo.org>
2762 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
2763 and __attribute_alloc_size__.
2765 2013-02-18 Mike Frysinger <vapier@gentoo.org>
2767 * include/programs/xmalloc.h: Change __attribute_alloc_size to
2768 __attribute_alloc_size__.
2769 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
2770 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
2772 2013-02-18 Mike Frysinger <vapier@gentoo.org>
2774 * include/programs/xmalloc.h: New file.
2775 * catgets/gencat.c: Include it.
2776 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
2777 * elf/pldd.c: Likewise.
2778 * iconv/iconv_charmap.c: Likewise.
2779 * iconv/iconvconfig.c: Likewise.
2780 * iconv/strtab.c: Likewise.
2781 * locale/programs/locale.c: Likewise.
2782 * locale/programs/localedef.h: Likewise.
2783 * locale/programs/simple-hash.c: Likewise.
2784 * nscd/nscd.h: Likewise.
2785 * nss/makedb.c: Likewise.
2786 * sysdeps/generic/ldconfig.h: Likewise.
2788 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
2790 * Versions.def: Add GLIBC_2.18.
2791 * include/link.h (struct link_map): New member l_tls_dtor_count.
2792 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
2793 (__call_tls_dtors): Likewise.
2794 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
2795 __cxa_thread_atexit_impl.
2796 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2798 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2800 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
2802 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
2804 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
2805 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
2807 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
2809 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
2810 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
2812 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
2813 (tests): Add test case tst-tls-atexit.
2814 (modules-names): Add shared library for tst-tls-atexit.
2815 * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
2816 (GLIBC_PRIVATE): Add __call_tls_dtors.
2817 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
2819 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
2820 * stdlib/tst-tls-atexit.c: New test case.
2821 * stdlib/tst-tls-atexit-lib.c: New test case.
2823 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
2825 * elf/Versions (ld): Add _dl_find_dso_for_object.
2826 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
2827 * elf/dl-open.c (_dl_find_dso_for_object): New function.
2828 (dl_open_worker): Use _dl_find_dso_for_object.
2829 * elf/dl-sym.c (do_sym): Likewise.
2830 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
2832 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2834 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
2835 Syntactic changes only.
2836 (_dl_runtime_profile): Do a tail-call to the resolved function.
2838 2013-02-17 Joseph Myers <joseph@codesourcery.com>
2841 * sysdeps/x86_64/bp-asm.h: Remove file.
2842 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
2843 <bp-sym.h> and <bp-asm.h>.
2844 (__clone): Do not use BP_SYM.
2845 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
2846 <bp-sym.h> and <bp-asm.h>.
2847 * sysdeps/unix/x86_64/sysdep.S: Likewise.
2848 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
2850 (_setjmp): Do not use BP_SYM.
2851 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
2853 (setjmp): Do not use BP_SYM.
2854 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
2856 (mempcpy): Do not use BP_SYM in weak_alias.
2857 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
2859 (strchr): Do not use BP_SYM.
2860 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
2862 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
2863 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
2864 (_start): Do not use BP_SYM.
2865 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
2867 (strcat): Do not use BP_SYM.
2868 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
2870 (STRCMP): Do not use BP_SYM.
2871 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
2873 (STRCPY): Do not use BP_SYM.
2874 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
2876 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
2878 (FUNCTION): Do not use BP_SYM.
2879 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
2881 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
2883 2013-02-17 Andreas Jaeger <aj@suse.de>
2885 * time/Versions: Sort entries.
2886 * string/Versions: Likewise.
2887 * resolv/Versions: Likewise.
2888 * posix/Versions: Likewise.
2889 * iconv/Versions: Likewise.
2890 * elf/Versions: Likewise.
2891 * wcsmbs/Versions: Likewise.
2893 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2895 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
2896 loop termination condition.
2898 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
2899 variable to calculate EZ.
2902 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
2903 the lower precision input.
2905 2013-02-15 Joseph Myers <joseph@codesourcery.com>
2908 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
2909 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
2910 (run-via-rtld-prefix): Do not handle %-bp tests.
2911 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
2912 (all-object-suffixes): Remove .ob.
2913 (bppfx): Remove variable.
2914 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
2915 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
2916 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
2917 [$(build-bounded) = yes] (libtype.ob): Likewise.
2918 * Makerules (elide-routines.ob): Remove variable.
2919 (do-tests-clean): Do not handle *-bp.out.
2920 (common-mostlyclean): Do not handle *-bp and *-bp.out.
2921 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
2922 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
2923 (tests): Do not include $(tests-bp.out).
2924 (xtests): Do not include $(xtests-bp.out).
2925 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
2926 [$(build-bounded) = yes] ($(addprefix
2927 $(objpfx),$(binaries-bounded))): Remove rule.
2928 ($(objpfx)%-bp.out): Remove rule.
2929 * config.make.in (build-bounded): Remove variable.
2930 * crypt/Makefile [$(build-bounded) = yes]
2931 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
2932 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
2934 [$(build-bounded) = yes] (install-lib): Likewise.
2935 [$(build-bounded) = yes] (generated): Likewise.
2936 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
2938 * intl/Makefile [$(build-bounded) = yes]
2939 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
2940 * math/Makefile [$(build-bounded) = yes]
2941 ($(tests:%=$(objpfx)%-bp): Likewise.
2942 * misc/Makefile [$(build-bounded) = yes]
2943 ($(objpfx)tst-tsearch-bp): Likewise.
2944 * nptl/Makeconfig (bounded-thread-library): Remove variable.
2945 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
2947 * string/Makefile (o-objects.ob): Remove variable.
2948 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
2949 (CFLAGS-.ob): Remove variable.
2950 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
2951 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
2952 both definitions of variable.
2953 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
2954 (ASFLAGS-.ob): Remove variable.
2956 2013-02-14 Joseph Myers <joseph@codesourcery.com>
2959 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
2960 Remove __BOUNDED_POINTERS__ from condition.
2961 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
2962 * string/bits/string2.h [!__NO_STRING_INLINES &&
2963 !__BOUNDED_POINTERS__]: Likewise.
2964 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
2966 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
2967 Remove conditional code.
2968 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
2969 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
2970 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
2974 * csu/libc-start.c: Do not include <bp-sym.h>.
2975 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
2976 * elf/dl-open.c: Do not include <bp-sym.h>.
2977 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
2978 * math/fegetenv.c: Do not include <bp-sym.h>.
2979 (fegetenv): Do not use BP_SYM in versioned symbols.
2980 * nptl/sysdeps/pthread/bits/libc-lockP.h
2981 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
2983 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2984 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
2985 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2986 (__pthread_mutex_destroy): Likewise.
2987 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2988 (__pthread_mutex_lock): Likewise.
2989 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2990 (__pthread_mutex_trylock): Likewise.
2991 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2992 (__pthread_mutex_unlock): Likewise.
2993 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2994 (__pthread_mutexattr_init): Likewise.
2995 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2996 (__pthread_mutexattr_destroy): Likewise.
2997 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2998 (__pthread_mutexattr_settype): Likewise.
2999 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3000 (__pthread_rwlock_init): Likewise.
3001 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3002 (__pthread_rwlock_destroy): Likewise.
3003 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3004 (__pthread_rwlock_rdlock): Likewise.
3005 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3006 (__pthread_rwlock_tryrdlock): Likewise.
3007 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3008 (__pthread_rwlock_wrlock): Likewise.
3009 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3010 (__pthread_rwlock_trywrlock): Likewise.
3011 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3012 (__pthread_rwlock_unlock): Likewise.
3013 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3014 (__pthread_key_create): Likewise.
3015 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3016 (__pthread_setspecific): Likewise.
3017 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3018 (__pthread_getspecific): Likewise.
3019 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
3021 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3022 (_pthread_cleanup_push_defer): Likewise.
3023 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3024 (_pthread_cleanup_pop_restore): Likewise.
3025 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3026 (pthread_setcancelstate): Likewise.
3027 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
3029 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
3030 (memchr): Do not use BP_SYM in weak_alias.
3031 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
3032 (fegetenv): Do not use BP_SYM in versioned symbols.
3033 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
3034 (fesetenv): Do not use BP_SYM in versioned symbols.
3035 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
3036 (feupdateenv): Do not use BP_SYM in versioned symbols.
3037 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
3038 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
3039 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
3040 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
3041 (open64): Do not use BP_SYM in weak_alias.
3042 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
3043 (fegetenv): Do not use BP_SYM in versioned symbols.
3044 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
3045 (fesetenv): Do not use BP_SYM in versioned symbols.
3046 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
3047 (feupdateenv): Do not use BP_SYM in versioned symbols.
3048 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
3049 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
3050 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
3051 (feraiseexcept): Do not use BP_SYM in versioned symbols.
3052 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
3053 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
3054 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
3056 (__libc_start_main): Do not use BP_SYM.
3058 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
3060 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
3061 redundant return line.
3065 (sub_magnitudes): Likewise.
3071 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
3075 (sub_magnitudes): Likewise.
3082 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
3084 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
3085 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
3088 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
3089 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
3090 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
3091 of __mul for squares.
3092 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
3094 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
3096 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
3097 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
3099 2013-02-13 Joseph Myers <joseph@codesourcery.com>
3102 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
3104 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
3105 prototype or function definition. Rename ubp_* variables and
3106 parameters. Remove argv definitions conditional on
3107 [__BOUNDED_POINTERS__].
3108 * debug/backtrace.c (__backtrace): Do not use __unbounded.
3109 * elf/dl-runtime.c (_dl_fixup): Likewise.
3110 * include/set-hooks.h (RUN_HOOK): Likewise.
3111 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
3113 * string/strcpy.c (strcpy): Do not use __unbounded.
3114 * sysdeps/generic/frame.h (struct layout): Likewise.
3115 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
3116 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
3117 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
3118 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
3119 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
3120 (__backtrace): Likewise.
3121 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
3123 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
3124 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
3125 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
3127 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
3128 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
3129 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
3130 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
3131 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
3132 Do not use __unbounded.
3133 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
3134 Rename __unboundedrlimits parameter to rlimits in prototype.
3135 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
3136 Do not use __unbounded.
3137 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
3139 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
3140 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
3141 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
3142 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
3143 __ptrvalue or __unbounded.
3144 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
3145 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
3147 (__new_msgctl): Do not use __ptrvalue.
3148 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
3150 (__libc_msgrcv): Do not use __ptrvalue.
3151 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
3152 startup_info): Do not use __unbounded.
3153 (__libc_start_main): Likewise. Rename ubp_* variables and
3154 parameters. Remove argv definitions conditional on
3155 [__BOUNDED_POINTERS__].
3156 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
3158 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
3160 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
3162 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
3164 (__new_shmctl): Do not use __ptrvalue.
3165 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
3166 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
3168 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
3169 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
3170 (__libc_sigaction): Likewise.
3171 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
3172 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
3174 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
3176 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
3178 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
3180 * string/mempcpy.c: Implement by calling memcpy.
3182 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
3184 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
3186 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
3189 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
3190 values in the mantissa.
3192 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
3193 minimize writes to Z.
3194 (sub_magnitudes): Simplify code a bit.
3196 2013-02-12 Roland McGrath <roland@hack.frob.com>
3198 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
3199 from the message. The linker prefixes all warnings with that already.
3201 2013-02-12 Andreas Schwab <schwab@suse.de>
3204 * posix/regexec.c (extend_buffers): Add parameter min_len.
3205 (check_matching): Pass minimum needed length.
3206 (clean_state_log_if_needed): Likewise.
3207 (get_subexp): Likewise.
3208 * posix/Makefile (tests): Add bug-regex34.
3209 (bug-regex34-ENV): Define.
3210 * posix/bug-regex34.c: New file.
3213 * posix/regcomp.c (parse_bracket_exp): When looking up collating
3214 elements compare against the byte sequence of it, not its name.
3215 * posix/Makefile (tests): Add bug-regex35.
3216 (bug-regex35-ENV): Define.
3217 * posix/bug-regex35.c: New file.
3219 2013-02-11 Tom de Vries <tom@codesourcery.com>
3221 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
3223 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
3224 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
3225 (CHECK_EOL): Add undef.
3227 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
3229 * bits/stdlib-bsearch.h: New file.
3230 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
3231 * stdlib/stdlib.h: Likewise.
3233 2013-02-11 Roland McGrath <roland@hack.frob.com>
3235 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
3236 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
3238 * manual/search.texi (Array Search Function): Add missing const in
3240 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
3241 declaration to use rlim_t.
3242 (Basic Scheduling Functions): Remove erroneous const from
3243 sched_getparam prototype. Remove erroneous * from
3244 sched_get_priority_max and sched_get_priority_min prototypes.
3245 (Resource Usage): Fix summary @comment on vtimes to refer to
3246 sys/vtimes.h rather than vtimes.h.
3247 Add missing *s in vtimes prototype.
3248 (Limits on Resources): Fix ulimit prototype to return long int.
3249 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
3250 prototypes to use long int rather than double.
3251 (BSD Random): Fix initstate and setstate to use char *, not void *.
3252 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
3253 prototype to make second argument 'struct aiocb64 *const[]'.
3254 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
3255 (Status of AIO Operations): Remove erroneous const in aio_return and
3256 aio_return64 prototypes.
3257 (Synchronizing I/O): Fix sync prototype to return void.
3258 * manual/startup.texi (Suboptions): Remove an erroneous const in
3259 getsubopt prototype.
3260 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
3261 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
3262 use size_t rather than int.
3263 (Scanning All Users): Likewise for getpwent_r.
3264 (Setting Groups): Add missing const to setgroups prototype.
3265 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
3266 * manual/socket.texi (Host Names): Fix gethostbyaddr and
3267 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
3268 'const void *' rather than 'const char *'.
3269 (Host Address Functions): Likewise for inet_ntop.
3270 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
3271 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
3272 ssize_t for return value.
3273 (Sending Data): Likewise for send, sendto, sendmsg.
3274 (Socket Option Functions): Add a missing const in setsockopt prototype.
3275 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
3276 use wchar_t for the argument.
3277 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
3278 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
3280 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
3281 double/float/long double for second argument.
3282 Fix return types of significand, significandf, significandl.
3283 * manual/filesys.texi (Setting Permissions): Use mode_t for second
3284 argument in fchmod prototype.
3285 (File Owner): Use uid_t and gid_t in fchown prototype.
3286 (File Times): Add const to utimes, futimes, and lutimes prototypes.
3287 (Making Special Files): Use mode_t and dev_t in mknod prototype.
3288 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
3289 use 'const struct dirent **' as argument types to CMP function pointer
3291 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
3292 (File Times): Fix summary magic @comment for struct utimbuf and utime
3293 to refer to utime.h, not time.h.
3294 * manual/string.texi (Argz Functions): Add missing const in
3295 argz_extract and argz_next prototypes.
3296 (Finding Tokens in a String): Likewise for basename.
3297 (String/Array Comparison): Fix typo in wcscasecmp prototype.
3298 (Copying and Concatenation): Fix typo in wmemmove prototype.
3299 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
3300 (Signal Stack): Remove erroneous const in sigstack prototype.
3301 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
3303 (Simple Calendar Time): Likewise for stime.
3304 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
3306 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
3307 say sys/sysctl.h instead.
3308 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
3309 and vsyslog prototypes.
3311 2013-02-11 Tom de Vries <tom@codesourcery.com>
3313 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
3316 2013-02-11 Roland McGrath <roland@hack.frob.com>
3318 * misc/sys/mman.h: Fix typo in mremap comment.
3320 2013-02-08 Roland McGrath <roland@hack.frob.com>
3322 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
3323 the '\0' terminator.
3325 2013-02-08 Joseph Myers <joseph@codesourcery.com>
3328 * debug/segfault.c: Don't include <bp-checks.h>.
3329 * sysdeps/generic/bp-checks.h: Remove file.
3330 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
3331 (__GETDENTS): Don't use CHECK_N.
3332 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
3333 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
3334 (__getgroups): Don't use CHECK_N.
3335 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
3336 (setgroups): Don't use CHECK_N.
3337 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
3338 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
3339 (__libc_msgrcv): Don't use CHECK_N.
3340 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
3341 (__libc_msgsnd): Don't use CHECK_N.
3342 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
3344 (__libc_pread): Don't use CHECK_N.
3345 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
3346 include <bp-checks.h>.
3347 (__libc_pread64): Don't use CHECK_N.
3348 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
3349 include <bp-checks.h>.
3350 (__libc_pwrite): Don't use CHECK_N.
3351 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
3352 include <bp-checks.h>.
3353 (__libc_pwrite64): Don't use CHECK_N.
3354 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
3356 (__libc_pread): Don't use CHECK_N.
3357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
3358 include <bp-checks.h>.
3359 (__libc_pread64): Don't use CHECK_N.
3360 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
3361 include <bp-checks.h>.
3362 (__libc_pwrite): Don't use CHECK_N.
3363 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
3364 include <bp-checks.h>.
3365 (__libc_pwrite64): Don't use CHECK_N.
3366 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
3367 (do_pread): Don't use CHECK_N.
3368 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
3369 (do_pread64): Don't use CHECK_N.
3370 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
3371 (do_pwrite): Don't use CHECK_N.
3372 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
3373 (do_pwrite64): Don't use CHECK_N.
3374 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
3375 (__libc_readv): Don't use CHECK_N.
3376 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
3377 (semop): Don't use CHECK_N.
3378 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
3380 (semtimedop): Don't use CHECK_N.
3381 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
3382 (__libc_pread): Don't use CHECK_N.
3383 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
3385 (__libc_pread64): Don't use CHECK_N.
3386 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
3388 (__libc_pwrite): Don't use CHECK_N.
3389 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
3391 (__libc_pwrite64): Don't use CHECK_N.
3392 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
3394 (__libc_msgrcv): Don't use CHECK_N.
3395 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
3396 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
3397 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
3398 (__libc_writev): Don't use CHECK_N.
3400 2013-02-08 Roland McGrath <roland@hack.frob.com>
3402 * string/strcpy.c: Removed unused variable.
3404 * Makeconfig (+sysdep-includes): Define with := rather than =.
3405 Use an existing include/ subdir of each sysdeps dir before it.
3407 2013-02-08 Carlos O'Donell <carlos@redhat.com>
3409 * nscd/connection.c (register_traced_file): Comment function.
3410 [HAVE_INOTIFY] (union __inev): Define.
3411 [HAVE_INOTIFY] (inotify_check_files): New function.
3412 [HAVE_INOTIFY] (clear_db_cache): Likewise.
3413 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
3415 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
3417 2013-02-08 Carlos O'Donell <carlos@redhat.com>
3419 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
3420 loaded if not already and that a failure is permanent.
3422 2013-02-08 Carlos O'Donell <carlos@redhat.com>
3425 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
3426 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
3428 2013-02-08 Joseph Myers <joseph@codesourcery.com>
3431 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
3432 (CHECK_1_NULL_OK): Likewise.
3433 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
3434 (__fxstat): Do not use CHECK_1.
3435 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
3437 (___fxstat64): Do not use CHECK_1.
3438 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
3440 (__fxstatat): Do not use CHECK_1.
3441 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
3443 (__fxstatat64): Do not use CHECK_1.
3444 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
3446 (__fxstat): Do not use CHECK_1.
3447 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
3449 (__fxstatat): Do not use CHECK_1.
3450 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
3452 (__getresgid): Do not use CHECK_1.
3453 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
3455 (__getresuid): Do not use CHECK_1.
3456 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
3458 (__lxstat): Do not use CHECK_1.
3459 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
3461 (__old_msgctl): Do not use CHECK_1.
3462 (__new_msgctl): Likewise.
3463 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
3465 (__new_setrlimit): Do not use CHECK_1.
3466 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
3468 (__old_shmctl): Do not use CHECK_1.
3469 (__new_shmctl): Likewise.
3470 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
3472 (__xstat): Do not use CHECK_1.
3473 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
3474 (__lxstat): Do not use CHECK_1.
3475 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
3477 (___lxstat64): Do not use CHECK_1.
3478 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
3479 (__old_msgctl): Do not use CHECK_1.
3480 (__new_msgctl): Likewise.
3481 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
3483 (__gettimeofday): Do not use CHECK_1.
3484 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
3485 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
3486 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
3488 (__gettimeofday): Do not use CHECK_1.
3489 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
3490 (__old_shmctl): Do not use CHECK_1_NULL_OK.
3491 (__new_shmctl): Do not use CHECK_1.
3492 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
3494 (do_sigtimedwait): Do not use CHECK_1.
3495 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
3497 (do_sigwaitinfo): Do not use CHECK_1.
3498 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
3500 (msgctl): Do not use CHECK_1.
3501 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
3503 (shmctl): Do not use CHECK_1.
3504 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
3505 (ustat): Do not use CHECK_1.
3506 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
3508 (__fxstat): Do not use CHECK_1.
3509 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
3511 (__fxstatat): Do not use CHECK_1.
3512 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
3514 (__lxstat): Do not use CHECK_1.
3515 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
3517 (__xstat): Do not use CHECK_1.
3518 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
3519 (__xstat): Do not use CHECK_1.
3520 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
3521 (___xstat64): Do not use CHECK_1.
3524 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
3526 (CHECK_BOUNDS_HIGH): Likewise.
3527 * string/strcpy.c: Do not include <bp-checks.h>.
3528 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
3530 2013-02-07 Roland McGrath <roland@hack.frob.com>
3532 * nscd/nscd-client.h (__nscd_drop_map_ref):
3533 Add __attribute__ ((unused)).
3534 * nis/nss-nisplus.h (niserr2nss): Likewise.
3536 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
3537 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
3539 * csu/libc-tls.c (init_static_tls, init_slotinfo):
3540 Remove inline keyword.
3541 * include/rounding-mode.h (round_away): Likewise.
3542 * libio/wfileops.c (adjust_wide_data): Likewise.
3543 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
3544 (__m128i_strloadu_tolower): Likewise.
3545 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
3546 (__m128i_strloadu_tolower): Likewise.
3547 * time/mktime.c (ydhms_diff): Likewise.
3548 * locale/elem-hash.h (elem_hash): Likewise.
3549 * locale/setlocale.c (setdata): Likewise.
3550 * posix/regex_internal.h (re_string_char_size_at): Likewise.
3551 (re_string_wchar_at): Likewise.
3552 (bitset_not, bitset_merge, bitset_mask): Likewise.
3553 [!(__GNUC__ > 3)] (inline): Remove macro.
3554 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
3555 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
3556 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
3557 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
3558 * string/memcmp.c (memcmp_bytes): Likewise.
3559 * locale/programs/locarchive.c (compute_hashval): Likewise.
3560 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
3561 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
3562 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
3563 * nss/getent.c (print_rpc, print_protocols): Likewise.
3564 (print_passwd, print_group, print_aliases): Likewise.
3565 * nis/nss-nisplus.h (niserr2nss): Likewise.
3566 * nscd/connections.c (restart_p): Likewise.
3567 Change return type to bool.
3569 2013-02-05 Roland McGrath <roland@hack.frob.com>
3571 * Makeconfig (all-Depend-files): Add existing
3572 $(sorted-subdirs:=/Depend) files.
3573 (all-subdirs): Remove nss.
3574 * sysdeps/unix/inet/Subdirs: Add it here instead.
3575 * hesiod/Depend: New file.
3577 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
3578 instead of calling alloca.
3580 * io/lseek.c (__lseek): Rename to __libc_lseek.
3581 Define __lseek as an alias.
3583 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
3585 2013-02-04 Carlos O'Donell <carlos@redhat.com>
3587 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
3588 else clause and remove check for non-standard endianness.
3590 2013-02-04 David S. Miller <davem@davemloft.net>
3592 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3594 2013-02-04 Joseph Myers <joseph@codesourcery.com>
3597 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
3598 (__ubp_memchr): Remove prototype.
3599 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
3600 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
3601 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
3602 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
3603 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
3605 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
3606 (__ubp_memchr): Likewise.
3607 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
3608 (__ubp_memchr): Likewise.
3609 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
3610 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
3611 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
3612 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
3614 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
3615 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
3616 (__getcwd): Do not use CHECK_STRING.
3617 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
3619 (__real_chown): Do not use CHECK_STRING.
3620 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
3622 (fchownat): Do not use CHECK_STRING.
3623 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
3625 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
3627 (__lchown): Do not use CHECK_STRING.
3628 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
3629 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
3630 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
3631 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
3632 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
3633 include <bp-checks.h>.
3634 (truncate64): Do not use CHECK_STRING.
3635 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
3637 (__real_chown): Do not use CHECK_STRING.
3638 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
3640 (__lchown): Do not use CHECK_STRING.
3641 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
3643 (__chown): Do not use CHECK_STRING.
3644 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
3646 (truncate64): Do not use CHECK_STRING.
3647 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
3649 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
3650 (__xmknod): Do not use CHECK_STRING.
3651 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
3653 (__xmknodat): Do not use CHECK_STRING.
3654 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
3655 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
3657 2013-02-04 Andreas Schwab <schwab@suse.de>
3660 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
3661 * include/netdb.h: Likewise for h_errno.
3662 * elf/tst-stackguard1.c: Include <tls.h>.
3664 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3666 * elf/link.h (struct link_map): Extend the l_addr comment.
3667 * include/link.h (struct link_map): Likewise.
3669 2013-02-01 Joseph Myers <joseph@codesourcery.com>
3672 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
3673 (BOUNDED_1): Remove macro.
3674 * debug/backtrace.c: Don't include <bp-checks.h>.
3675 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
3676 (__backtrace): Likewise.
3677 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
3679 (__backtrace): Don't use BOUNDED_1.
3680 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
3682 (__backtrace): Don't use BOUNDED_1.
3683 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
3684 (__backtrace): Don't use BOUNDED_1.
3685 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
3686 (shmat): Don't use BOUNDED_N.
3688 2013-01-31 Joseph Myers <joseph@codesourcery.com>
3691 * sysdeps/generic/bp-start.h: Remove file.
3692 * csu/libc-start.c: Don't include <bp-start.h>.
3693 (LIBC_START_MAIN): Set up __environ directly instead of using
3694 INIT_ARGV_and_ENVIRON.
3695 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
3699 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
3701 (CHECK_FCNTL): Likewise.
3702 (CHECK_N_PAGES): Likewise.
3705 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
3707 (CHECK_SIGSET_NULL_OK): Likewise.
3708 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
3710 (sigpending): Don't use CHECK_SIGSET.
3711 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
3713 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
3714 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
3716 (do_sigsuspend): Don't use CHECK_SIGSET.
3717 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
3719 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
3720 (do_sigwait): Don't use CHECK_SIGSET.
3721 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
3723 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
3724 include <bp-checks.h>.
3725 (sigpending): Don't use CHECK_SIGSET.
3726 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
3727 include <bp-checks.h>.
3728 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
3729 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
3731 (sigpending): Don't use CHECK_SIGSET.
3732 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
3734 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
3737 * sysdeps/generic/bp-semctl.h: Remove file.
3738 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
3739 <bp-checks.h> and <bp-semctl.h>.
3740 (__old_semctl): Don't use CHECK_SEMCTL.
3741 (__new_semctl): Likewise.
3742 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
3744 (__old_semctl): Don't use CHECK_SEMCTL.
3745 (__new_semctl): Likewise.
3746 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
3747 <bp-checks.h> and <bp-semctl.h>.
3748 (__old_semctl): Don't use CHECK_SEMCTL.
3749 (__new_semctl): Likewise.
3750 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
3751 <bp-checks.h> and <bp-semctl.h>.
3752 (semctl): Don't use CHECK_SEMCTL.
3755 * Makerules (elide-bp-thunks): Remove variable.
3756 (elide-routines.oS): Don't use $(elide-bp-thunks).
3757 (elide-routines.os): Likewise.
3758 (elide-routines.o): Likewise.
3759 (elide-routines.op): Likewise.
3760 (elide-routines.og): Likewise.
3761 (objects): Don't use $(bp-thunks).
3762 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
3764 (common-generated): Do not add s-proto-bp.d.
3765 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
3768 Do not generate makefile rules for bounded-pointer thunks.
3769 * sysdeps/generic/bp-thunks.h: Remove file.
3770 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
3771 * sysdeps/unix/s-proto-bp.S: Likewise.
3774 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
3775 parts of result separately when argument is not close to line from
3776 -i to i and one part of argument is small.
3777 * math/k_casinhf.c (__kernel_casinhf): Likewise.
3778 * math/k_casinhl.c (__kernel_casinhl): Likewise.
3779 * math/libm-test.inc (cacos_test): Add more tests.
3780 (casin_test): Likewise.
3781 (casinh_test): Likewise.
3782 * sysdeps/i386/fpu/libm-test-ulps: Update.
3783 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3785 2013-01-31 David S. Miller <davem@davemloft.net>
3787 * po/de.po: Update from translation team.
3789 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
3791 * time/tzfile.c: Include stdint.h for SIZE_MAX.
3793 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
3795 * configure.in (_AC_PROG_CC_C89): New definition.
3796 * configure: Regenerate.
3798 * configure.in (AC_PROG_CPP): New definition.
3799 * configure: Regenerate.
3801 2013-01-23 Joseph Myers <joseph@codesourcery.com>
3803 * debug/tst-backtrace.h: New file.
3804 * debug/tst-backtrace2.c: Include tst-backtrace.h.
3805 (ret): Remove variable.
3807 (FAIL): Remove macro.
3808 (NO_INLINE): Likewise.
3809 (fn1): Use match function instead of strstr.
3810 * debug/tst-backtrace3.c: Include tst-backtrace.h.
3811 (ret): Remove variable.
3813 (FAIL): Remove macro.
3814 (NO_INLINE): Likewise.
3815 (fn): Use match function instead of strstr.
3816 * debug/tst-backtrace4.c: Include tst-backtrace.h.
3817 (ret): Remove variable.
3819 (FAIL): Remove macro.
3820 (NO_INLINE): Likewise.
3821 (handle_signal): Use match function instead of strstr.
3822 * debug/tst-backtrace5.c: Include tst-backtrace.h.
3823 (ret): Remove variable.
3825 (FAIL): Remove macro.
3826 (NO_INLINE): Likewise.
3827 (handle_signal): Use match function instead of strstr.
3829 2013-01-23 Roland McGrath <roland@hack.frob.com>
3831 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
3833 2013-01-23 David S. Miller <davem@davemloft.net>
3835 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
3836 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
3837 argument of CAS if possible.
3838 * sysdeps/sparc/sparc64/bits/atomic.h
3839 (__arch_compare_and_exchange_val_32_acq): Likewise.
3840 (__arch_compare_and_exchange_val_64_acq): Likewise.
3842 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
3844 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
3845 * sysdeps/posix/ulimit.c: ... this.
3847 * sysdeps/unix/bsd/ulimit.c: Remove file.
3849 2013-01-23 Adam Conrad <adconrad@0c3.net>
3851 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
3852 (LDFLAGS-tst-array5): Likewise.
3854 2013-01-23 Joseph Myers <joseph@codesourcery.com>
3857 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
3858 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
3859 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
3860 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
3862 2013-01-21 David S. Miller <davem@davemloft.net>
3864 * sysdeps/sparc/backtrace.c: New file.
3865 * sysdeps/sparc/sparc32/backtrace.h: New file.
3866 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
3867 * sysdeps/sparc/sparc64/backtrace.h: New file.
3868 * sysdeps/sparc/sparc64/backtrace.c: Delete.
3869 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
3872 2013-01-21 Andreas Schwab <schwab@suse.de>
3875 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
3878 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
3880 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
3882 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
3884 2013-01-18 Joseph Myers <joseph@codesourcery.com>
3885 Mark Mitchell <mark@codesourcery.com>
3886 Tom de Vries <tom@codesourcery.com>
3887 Paul Pluzhnikov <ppluzhnikov@google.com>
3889 * debug/tst-backtrace2.c: New file.
3890 * debug/tst-backtrace3.c: Likewise.
3891 * debug/tst-backtrace4.c: Likewise.
3892 * debug/tst-backtrace5.c: Likewise.
3893 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
3894 (CFLAGS-tst-backtrace3.c): Likewise.
3895 (CFLAGS-tst-backtrace4.c): Likewise.
3896 (CFLAGS-tst-backtrace5.c): Likewise.
3897 (LDFLAGS-tst-backtrace2): Likewise.
3898 (LDFLAGS-tst-backtrace3): Likewise.
3899 (LDFLAGS-tst-backtrace4): Likewise.
3900 (LDFLAGS-tst-backtrace5): Likewise.
3901 (tests): Add new tests tst-backtrace2, tst-backtrace3,
3902 tst-backtrace4 and tst-backtrace5.
3904 2013-01-18 Anton Blanchard <anton@samba.org>
3905 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3907 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
3908 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
3909 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
3910 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
3911 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
3912 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
3913 "+r" and remove output regs list as redundant. Add explicit inline
3914 asm to specify register of return val to work around compiler codegen
3915 bug. Remove (int) cast on return value. Add return type parameter to
3916 use in macro so that this macro does not truncate return value for
3918 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
3919 pass to INTERNAL_VSYSCALL_NCS.
3920 (INLINE_VSYSCALL): Add 'long int' as return type to
3921 INTERNAL_VSYSCALL_NCS macro invocation.
3922 (INTERNAL_VSYSCALL): Add 'long int' as return type to
3923 INTERNAL_VSYSCALL_NCS macro invocation.
3924 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
3926 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
3929 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
3930 Fix application of SIMD FP exception mask.
3932 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
3933 mp_no from a power of two.
3934 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
3935 __mpexp_twomm1. Use __pow_mp.
3937 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
3940 2013-01-17 David S. Miller <davem@davemloft.net>
3942 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3944 2013-01-17 Joseph Myers <joseph@codesourcery.com>
3947 * include/complex.h: Condition contents on [!_COMPLEX_H].
3948 (__kernel_casinhf): New prototype.
3949 (__kernel_casinh): Likewise.
3950 (__kernel_casinhl): Likewise.
3951 * math/Makefile (libm_calls): Add k_casinh.
3952 * math/k_casinh.c: New file.
3953 * math/k_casinhf.c: Likewise.
3954 * math/k_casinhl.c: Likewise.
3955 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
3956 finite nonzero arguments.
3957 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
3958 finite nonzero arguments.
3959 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
3960 finite nonzero arguments.
3961 * math/s_casinh.c: Do not include <float.h>.
3962 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
3963 * math/s_casinhf.c: Do not include <float.h>.
3964 (__casinhf): Move code for finite nonzero arguments to
3966 * math/s_casinhl.c: Do not include <float.h>.
3967 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
3969 (__casinhl): Move code for finite nonzero arguments to
3971 * math/libm-test.inc (cacos_test): Add more tests.
3972 * sysdeps/i386/fpu/libm-test-ulps: Update.
3973 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3975 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
3977 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
3978 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
3979 [!HAVE_MREMAP]: Remove [defined linux] case.
3980 * malloc/arena.c: Do not include <malloc-sysdep.h>.
3982 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
3984 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
3986 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
3988 * elf/elf.h (R_386_SIZE32): New relocation.
3989 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
3991 (elf_machine_rela): Likewise.
3992 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
3993 R_X86_64_SIZE64 and R_X86_64_SIZE32.
3995 2013-01-17 Joseph Myers <joseph@codesourcery.com>
3997 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
3998 (FP_FAST_FMA): Do not define.
3999 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
4000 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
4001 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
4002 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
4003 !_SOFT_FLOAT]: Likewise.
4004 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
4005 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
4007 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
4008 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
4009 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
4010 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
4011 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
4012 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
4015 2013-01-16 Andreas Schwab <schwab@suse.de>
4018 * include/stdlib.h (__mktemp): Add declaration.
4019 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
4020 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
4022 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4024 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
4026 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
4027 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
4028 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
4030 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
4031 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
4033 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
4035 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
4036 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
4037 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
4039 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
4040 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
4042 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
4044 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
4046 2013-01-15 David S. Miller <davem@davemloft.net>
4048 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
4049 trunc{,f} to libm-sysdep_routes.
4050 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
4051 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
4053 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
4054 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
4056 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
4058 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
4059 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
4060 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
4061 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
4062 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
4063 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
4064 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
4065 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
4067 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
4068 nearbyint{,f} to libm-sysdep_routes.
4069 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
4070 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
4072 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
4074 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
4076 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
4078 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
4079 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
4080 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
4082 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
4083 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
4085 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
4086 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
4087 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
4089 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
4090 libc_feholdexcept and libc_fesetenv.
4092 2013-01-15 Mike Frysinger <vapier@gentoo.org>
4094 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
4096 2013-01-14 David S. Miller <davem@davemloft.net>
4098 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
4099 (SPARC_ASM_VIS2_IFUNC): Likewise.
4100 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
4101 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
4102 use of 'siam' instruction.
4103 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
4105 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
4107 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
4109 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
4110 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
4111 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
4112 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
4113 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
4115 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
4117 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
4119 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
4121 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
4122 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
4123 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
4124 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
4125 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
4127 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
4128 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
4129 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
4131 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
4132 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
4133 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
4134 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
4135 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
4136 routines to libm-sysdep_routines.
4137 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
4139 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
4140 fdim/fdimf to libm-sysdep_routines.
4141 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
4143 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
4144 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
4146 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
4147 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
4148 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
4149 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
4150 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
4151 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
4152 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
4154 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
4156 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
4159 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
4160 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
4161 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
4163 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
4164 local variable MPTWO.
4165 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
4168 2013-01-13 Mike Frysinger <vapier@gentoo.org>
4170 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
4173 2013-01-13 Mike Frysinger <vapier@gentoo.org>
4175 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
4177 2013-01-13 Mike Frysinger <vapier@gentoo.org>
4179 * manual/pattern.texi (glob_t): Document gl_flags.
4180 (glob64_t): Likewise.
4182 2013-01-11 David S. Miller <davem@davemloft.net>
4184 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
4185 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
4186 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
4187 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
4188 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
4189 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
4190 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
4191 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
4192 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
4193 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
4194 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
4195 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
4196 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
4198 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
4199 sparc V9 rather than using V8 code.
4200 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
4201 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
4203 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
4205 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
4208 2013-01-11 Roland McGrath <roland@hack.frob.com>
4210 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
4211 not in the main loop.
4212 * configure: Regenerated.
4214 2013-01-11 Joseph Myers <joseph@codesourcery.com>
4216 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
4217 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
4219 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
4220 [!__GLIBC_HAVE_LONG_LONG] case.
4221 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
4222 condition to just #else.
4223 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
4224 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
4225 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
4226 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
4228 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
4229 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
4230 #elif condition to just #else.
4231 * sysdeps/unix/sysv/linux/sys/sysmacros.h
4232 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
4233 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
4234 #elif condition to just #else.
4236 2013-01-11 Steve Ellcey <sellcey@mips.com>
4238 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
4239 (EF_MIPS_ARCH_64): Fix value.
4240 (EF_MIPS_ARCH_32R2): New.
4241 (EF_MIPS_ARCH_64R2): New.
4243 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
4245 * Makeconfig (+link-pie-before-libc): New.
4246 (+link-pie-after-libc): Likewise.
4247 (+link-pie-tests): Likewise.
4248 (+link-pie): Rewritten.
4249 (link-before-libc): Remove $(config-LDFLAGS).
4250 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
4251 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
4252 (config-LDFLAGS): Renamed to ...
4253 (rtld-LDFLAGS): This.
4254 (rtld-tests-LDFLAGS): New macro.
4255 (link-libc-rpath-link): Likewise.
4256 (link-libc-tests-rpath-link): Likewise.
4257 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
4258 (link-libc): Prepand $(link-libc-rpath-link).
4259 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
4260 (test-program-prefix): New macro.
4261 (test-via-rtld-prefix): Likewise.
4262 (test-program-cmd): Likewise.
4263 (host-test-program-cmd): Likewise.
4264 * Makefile ($(common-objpfx)testrun.sh): Replace
4265 $(run-program-prefix) with $(test-program-prefix).
4266 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
4268 ($(common-objpfx)shlib.lds): Likewise.
4269 (build-module-helper): Likewise.
4270 ($(common-objpfx)format.lds): Likewise.
4271 * Rules (binaries-pie-tests): New.
4272 (binaries-pie-notests): Likewise.
4273 (binaries-pie): Rewritten.
4274 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
4275 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
4276 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
4277 (make-test-out): Replace $(host-built-program-cmd) with
4278 $(host-test-program-cmd).
4279 * config.make.in (build-hardcoded-path-in-tests): New variable.
4280 * configure.in (--enable-hardcoded-path-in-tests): New configure
4282 (hardcoded_path_in_tests): New AC_SUBST.
4283 * configure: Regenerated.
4284 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
4285 $(built-program-cmd) with $(test-program-cmd).
4286 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
4287 (test_program_cmd): This.
4288 * elf/Makefile ($(objpfx)order.out): Run test with
4289 $(test-program-prefix).
4290 ($(objpfx)order2.out): Likewise.
4291 ($(objpfx)tst-initorder.out): Likewise.
4292 ($(objpfx)tst-initorder2.out): Likewise.
4293 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
4294 $(test-program-cmd).
4295 ($(objpfx)tst-array1-static.out): Likewise.
4296 ($(objpfx)tst-array2.out): Likewise.
4297 ($(objpfx)tst-array3.out): Likewise.
4298 ($(objpfx)tst-array4.out): Likewise.
4299 ($(objpfx)tst-array5.out): Likewise.
4300 ($(objpfx)tst-array5-static.out): Likewise.
4301 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
4302 $(test-program-cmd).
4303 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
4304 $(run-program-prefix) with $(test-program-prefix).
4305 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
4306 (test_program_prefix): This.
4307 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
4308 $(run-program-prefix) with $(test-program-prefix).
4309 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
4310 (test_program_prefix): This.
4311 * iconvdata/tst-tables.sh: Likewise.
4312 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
4313 $(run-program-prefix) with $(test-program-prefix).
4314 ($(objpfx)tst-translit.out): Likewise.
4315 ($(objpfx)tst-gettext2.out): Likewise.
4316 ($(objpfx)tst-gettext4.out): Likewise.
4317 ($(objpfx)tst-gettext6.out): Likewise.
4318 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
4319 (test_program_prefix): This.
4320 * intl/tst-gettext2.sh: Likewise.
4321 * intl/tst-gettext4.sh Likewise.
4322 * intl/tst-gettext6.sh: Likewise.
4323 * intl/tst-translit.sh: Likewise.
4324 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
4325 with $(test-program-cmd).
4326 * libio/Makefile ($(objpfx)test-freopen.out): Replace
4327 $(run-program-prefix) with $(test-program-prefix).
4328 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
4329 (test_program_prefix): This.
4330 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
4331 $(run-program-prefix) with $(test-program-prefix).
4332 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
4333 (test_program_prefix): This.
4334 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
4335 * posix/Makefile ($(objpfx)globtest.out): Replace
4336 $(run-via-rtld-prefix) and $(test-wrapper) with
4337 $(test-program-prefix) and $(test-via-rtld-prefix).
4338 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
4339 $(test-program-prefix).
4340 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
4341 $(host-test-program-cmd).
4342 (tst-spawn-ARGS): Likewise.
4343 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
4344 $(test-program-prefix).
4345 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
4346 (test_via_rtld_prefix): This.
4347 (test_wrapper): Renamed to ...
4348 (test_program_prefix): This.
4349 (run_program_prefix): Replaced by test_program_prefix.
4350 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
4351 (test_program_prefix): This.
4352 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
4353 with $(host-test-program-cmd).
4354 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
4355 $(run-program-prefix) with $(test-program-prefix).
4356 ($(objpfx)tst-printf.out): Likewise.
4357 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
4358 $(test-program-cmd).
4359 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
4360 (test_program_prefix): This.
4361 * stdio-common/tst-unbputc.sh: Likewise.
4362 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
4363 $(run-program-prefix) with $(test-program-prefix).
4364 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
4365 (test_program_prefix): This.
4366 * string/Makefile ($(objpfx)tst-svc.out): Replace
4367 $(built-program-cmd) with $(test-program-cmd).
4369 2013-01-11 Andreas Jaeger <aj@suse.de>
4372 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
4373 value. Sync with Linux 3.7.
4375 2013-01-10 David S. Miller <davem@davemloft.net>
4377 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
4378 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
4379 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
4381 2013-01-10 Roland McGrath <roland@hack.frob.com>
4383 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
4385 * configure: Regenerated.
4387 2013-01-10 David S. Miller <davem@davemloft.net>
4389 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
4390 sparc V9 rather than using V8 code.
4391 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
4392 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
4394 2013-01-10 Roland McGrath <roland@hack.frob.com>
4396 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
4397 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
4398 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
4399 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
4400 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
4401 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
4402 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
4403 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
4404 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
4405 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
4406 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
4407 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
4408 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
4409 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
4410 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
4411 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
4412 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
4413 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
4414 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
4415 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
4416 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
4417 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
4418 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
4419 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
4420 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
4421 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
4422 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
4424 2013-01-10 David S. Miller <davem@davemloft.net>
4426 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4428 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
4430 * posix/Makefile (tests-static): New variable.
4431 (tests): Add $(tests-static).
4432 (tst-exec-static-ARGS): New variable.
4433 (tst-spawn-static-ARGS): Likewise.
4434 * posix/tst-exec-static.c: New file.
4435 * posix/tst-spawn-static.c: Likewise.
4436 * posix/tst-exec.c: Support run directly.
4437 * posix/tst-spawn.c: Likewise.
4439 2013-01-10 Joseph Myers <joseph@codesourcery.com>
4441 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
4443 * math/bits/mathcalls.h (llrint): Likewise.
4444 (llround): Likewise.
4445 * stdlib/stdlib.h (struct drand48_data): Likewise.
4446 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
4447 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
4448 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
4450 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
4452 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
4453 (elf_greg_t): Likewise.
4454 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
4455 (__jmp_buf): Likewise.
4456 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
4458 (llrint): Likewise, for all definitions.
4459 (llrintl): Likewise.
4461 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
4462 Remove [__GNUC__] condition.
4463 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
4464 condition to just [__USE_ISOC99].
4465 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
4467 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
4470 * sysdeps/unix/sysv/linux/x86/bits/environments.h
4471 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
4473 (_POSIX_V6_ILP32_OFF32): Likewise.
4474 (_XBS5_ILP32_OFF32): Likewise.
4475 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
4476 (__ILP32_OFFBIG_LDFLAGS): Likewise.
4478 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4480 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
4482 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
4483 doubles __mpexp_twomm1. Adjust usage.
4484 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
4487 2013-01-10 Andreas Schwab <schwab@suse.de>
4490 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
4491 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
4493 2013-01-09 David S. Miller <davem@davemloft.net>
4496 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
4497 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
4498 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
4499 TCP_FASTOPEN): Define.
4500 (tcp_repair_opt): New structure.
4501 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
4503 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
4504 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
4505 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
4506 (tcp_cookie_transactions): New structure.
4508 2013-01-09 Anton Blanchard <anton@samba.org>
4510 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
4511 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
4512 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
4513 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
4515 2013-01-09 Joseph Myers <joseph@codesourcery.com>
4517 * include/features.h (__USE_ANSI): Remove.
4519 2013-01-09 Roland McGrath <roland@hack.frob.com>
4521 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
4523 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
4525 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
4527 * sysdeps/s390/fpu/libm-test-ulps: Update.
4529 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4531 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
4536 (__mp_dbl): Likewise.
4537 (__dbl_mp): Likewise.
4538 (add_magnitudes): Likewise.
4539 (sub_magnitudes): Likewise.
4545 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
4550 (__mp_dbl): Likewise.
4551 (__dbl_mp): Likewise.
4552 (add_magnitudes): Likewise.
4553 (sub_magnitudes): Likewise.
4559 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
4564 (__mp_dbl): Likewise.
4565 (__dbl_mp): Likewise.
4566 (add_magnitudes): Likewise.
4567 (sub_magnitudes): Likewise.
4574 2013-01-08 Joseph Myers <joseph@codesourcery.com>
4576 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
4577 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
4578 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
4579 2 && __USE_EXTERN_INLINES]: Likewise.
4581 2013-01-08 Andreas Jaeger <aj@suse.de>
4584 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
4586 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
4587 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
4589 2013-01-07 Anton Blanchard <anton@samba.org>
4591 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
4592 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
4593 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
4594 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
4595 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
4596 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
4597 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
4598 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
4599 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
4600 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
4601 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
4602 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
4603 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
4604 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
4605 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
4606 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
4607 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
4608 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
4609 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
4610 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
4611 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
4612 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
4613 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
4614 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
4615 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
4616 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
4617 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
4618 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
4619 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
4620 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
4621 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
4622 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
4623 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
4624 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
4625 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
4626 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
4627 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
4628 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
4629 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
4630 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
4631 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
4632 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
4633 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
4635 2013-01-07 Joseph Myers <joseph@codesourcery.com>
4637 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
4638 (__MALLOC_PMT): Likewise.
4639 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
4640 [__GNUC__], only on [_LIBC].
4641 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
4642 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
4643 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
4644 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
4645 forward declaration.
4646 (realloc_hook_ini): Likewise.
4647 (memalign_hook_ini): Likewise.
4648 (__libc_memalign): Do not use __MALLOC_PMT in variable
4650 (__libc_valloc): Likewise.
4651 (__libc_pvalloc): Likewise.
4652 (__libc_calloc): Likewise.
4653 (__posix_memalign): Likewise.
4656 * math/s_casinh.c: Include <float.h>.
4657 (__casinh): Do not do computation with squaring and square root
4658 for large arguments.
4659 * math/s_casinhf.c: Include <float.h>.
4660 (__casinhf): Do not do computation with squaring and square root
4661 for large arguments.
4662 * math/s_casinhl.c: Include <float.h>.
4663 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
4664 (__casinhl): Do not do computation with squaring and square root
4665 for large arguments.
4666 * math/libm-test.inc (casin_test): Add more tests.
4667 (casinh_test): Likewise.
4668 * sysdeps/i386/fpu/libm-test-ulps: Update.
4669 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4671 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
4673 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
4674 (__x86_64_raw_data_cache_size): Likewise.
4675 (__x86_64_data_cache_size_half): Likewise.
4676 (__x86_64_raw_data_cache_size_half): Likewise.
4677 (__x86_64_shared_cache_size): Likewise.
4678 (__x86_64_raw_shared_cache_size): Likewise.
4679 (__x86_64_shared_cache_size_half): Likewise.
4680 (__x86_64_raw_shared_cache_size_half): Likewise.
4681 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
4683 (__x86_data_cache_size): This.
4684 (__x86_64_raw_data_cache_size): Renamed to ...
4685 (__x86_raw_data_cache_size): This.
4686 (__x86_64_data_cache_size_half): Renamed to ...
4687 (__x86_data_cache_size_half): This.
4688 (__x86_64_raw_data_cache_size_half): Renamed to ...
4689 (__x86_raw_data_cache_size_half): This.
4690 (__x86_64_shared_cache_size): Renamed to ...
4691 (__x86_shared_cache_size): This.
4692 (__x86_64_raw_shared_cache_size): Renamed to ...
4693 (__x86_raw_shared_cache_size): This.
4694 (__x86_64_shared_cache_size_half): Renamed to ...
4695 (__x86_shared_cache_size_half): This.
4696 (__x86_64_raw_shared_cache_size_half): Renamed to ...
4697 (__x86_raw_shared_cache_size_half): This.
4698 * sysdeps/x86_64/memcpy.S: Updated.
4699 * sysdeps/x86_64/memset.S: Likewise.
4700 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
4701 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
4702 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
4704 2013-01-04 David S. Miller <davem@davemloft.net>
4706 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4708 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
4710 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
4711 1 to avoid redefinition warning.
4712 (__USE_GNU): Don't define.
4713 (init_signaling_nan): Protoize.
4715 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4717 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4719 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
4720 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
4721 (__cpymn): Likewise.
4722 (norm): Remove commented code.
4724 (__mp_dbl): Likewise.
4726 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
4727 (__cpymn): Likewise.
4728 (norm): Remove commented code.
4730 (__mp_dbl): Likewise.
4733 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
4734 mp_no value for 1.0 and 2.0.
4735 (norm): Use RADIXI instead of radixi.d.
4737 (__mul): Use 0.0 instead of zero.d.
4738 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
4739 mp_no value for 1.0 and 2.0.
4740 (norm): Use RADIXI instead of radixi.d.
4742 (__mul): Use 0.0 instead of zero.d.
4744 2013-01-04 Joseph Myers <joseph@codesourcery.com>
4747 * math/s_casinh.c (__casinh): Reduce finite argument to first
4748 quadrant then set signs of results at the end.
4749 * math/s_casinhf.c (__casinhf): Likewise.
4750 * math/s_casinhl.c (__casinhl): Likewise.
4751 * math/libm-test.inc (casin_test): Add more tests.
4752 (casinh_test): Likewise.
4753 * sysdeps/i386/fpu/libm-test-ulps: Update.
4754 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4756 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4758 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
4760 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
4762 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
4765 (__mp_dbl): Likewise.
4768 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
4769 and adjust the header comment.
4771 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
4772 variable name from declaration.
4774 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
4776 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4777 Initialize COMMON_CPUID_INDEX_7 element.
4778 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
4779 (CPUID_RTM): Likewise.
4780 (HAS_RTM): Likewise.
4781 (COMMON_CPUID_INDEX_7): New enum.
4783 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
4786 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
4787 size is zero, record memory as freed.
4789 2013-01-03 Andreas Jaeger <aj@suse.de>
4791 * po/ia.po: Add new Interlingua translation.
4793 2012-01-03 Allan McRae <allan@archlinux.org>
4795 * locale/programs/localedef.c: Fix description of '--posix' flag.
4797 2013-01-02 Joseph Myers <joseph@codesourcery.com>
4799 * NEWS: Update dates in second copyright notice.
4800 * README: Update copyright dates in example.
4801 * manual/libc.texinfo: Update copyright dates.
4802 * scripts/test-installation.pl: Update copyright date in --version
4805 * hurd/ctty-input.c: Fix copyright notice formatting.
4806 * hurd/ctty-output.c: Likewise.
4807 * hurd/dtable.c: Likewise.
4808 * hurd/hurd-raise.c: Likewise.
4809 * hurd/hurdprio.c: Likewise.
4810 * hurd/msgportdemux.c: Likewise.
4811 * misc/sys/file.h: Likewise.
4812 * misc/sys/ioctl.h: Likewise.
4813 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
4814 * sysdeps/mach/hurd/chdir.c: Likewise.
4815 * sysdeps/mach/hurd/fchdir.c: Likewise.
4816 * sysdeps/mach/hurd/rename.c: Likewise.
4817 * sysdeps/mach/hurd/rmdir.c: Likewise.
4818 * sysdeps/mach/hurd/seekdir.c: Likewise.
4819 * sysdeps/mach/hurd/setsid.c: Likewise.
4820 * sysdeps/posix/wait3.c: Likewise.
4822 * All files with FSF copyright notices: Update copyright dates
4823 using scripts/update-copyrights.
4824 * intl/plural.c: Regenerated.
4825 * locale/programs/charmap-kw.h: Likewise.
4826 * locale/programs/locfile-kw.h: Likewise.
4828 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4830 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
4833 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
4834 calculation loop and add branch prediction.
4836 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
4837 check access beyond bounds of m1np.
4839 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
4841 (__inv): Remove local variable MPTWO to use the global
4843 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
4844 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
4846 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
4847 MP3HALFS static const.
4849 2013-01-01 David S. Miller <davem@davemloft.net>
4851 * po/ca.po: Update from translation team.
4853 2013-01-01 Joseph Myers <joseph@codesourcery.com>
4855 * scripts/update-copyrights: New file.
4856 * Makeconfig: Reformat copyright notice.
4857 * ctype/ctype.h: Likewise.
4858 * debug/swprintf_chk.c: Likewise.
4859 * elf/dl-cache.c: Likewise.
4860 * elf/dl-debug.c: Likewise.
4861 * elf/dl-object.c: Likewise.
4862 * grp/initgroups.c: Likewise.
4863 * hurd/Makefile: Likewise.
4864 * hurd/hurd/signal.h: Likewise.
4865 * hurd/hurdfault.c: Likewise.
4866 * hurd/hurdioctl.c: Likewise.
4867 * hurd/hurdlookup.c: Likewise.
4868 * hurd/intr-msg.c: Likewise.
4869 * iconv/gconv_open.c: Likewise.
4870 * libio/swprintf.c: Likewise.
4871 * locale/lc-ctype.c: Likewise.
4872 * locale/nl_langinfo.c: Likewise.
4873 * mach/Machrules: Likewise.
4874 * mach/Makefile: Likewise.
4875 * malloc/obstack.h: Likewise.
4876 * manual/Makefile: Likewise.
4877 * manual/tsort.awk: Likewise.
4878 * misc/bits/stab.def: Likewise.
4879 * nis/nis_print_group_entry.c: Likewise.
4880 * nis/nis_table.c: Likewise.
4881 * nis/nss_compat/compat-pwd.c: Likewise.
4882 * nis/nss_compat/compat-spwd.c: Likewise.
4883 * po/Makefile: Likewise.
4884 * posix/fnmatch.c: Likewise.
4885 * posix/regex.h: Likewise.
4886 * resolv/Makefile: Likewise.
4887 * resolv/nss_dns/dns-network.c: Likewise.
4888 * resolv/res_hconf.c: Likewise.
4889 * scripts/gen-sorted.awk: Likewise.
4890 * soft-fp/soft-fp.h: Likewise.
4891 * stdio-common/printf.h: Likewise.
4892 * stdlib/monetary.h: Likewise.
4893 * stdlib/random.c: Likewise.
4894 * stdlib/random_r.c: Likewise.
4895 * sysdeps/generic/Makefile: Likewise.
4896 * sysdeps/gnu/Makefile: Likewise.
4897 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
4898 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4899 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
4900 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4901 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
4902 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4903 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4904 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
4905 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
4906 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4907 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
4908 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
4909 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
4910 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
4911 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
4912 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
4913 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
4914 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4915 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4916 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4917 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
4918 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
4919 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
4920 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
4921 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
4922 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
4923 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
4924 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
4925 * sysdeps/mach/hurd/errnos.awk: Likewise.
4926 * sysdeps/mach/hurd/fork.c: Likewise.
4927 * sysdeps/mach/hurd/getcwd.c: Likewise.
4928 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
4929 * sysdeps/mach/hurd/mmap.c: Likewise.
4930 * sysdeps/mach/hurd/utimes.c: Likewise.
4931 * sysdeps/mach/hurd/xmknod.c: Likewise.
4932 * sysdeps/posix/profil.c: Likewise.
4933 * sysdeps/posix/readdir_r.c: Likewise.
4934 * sysdeps/powerpc/bits/mathdef.h: Likewise.
4935 * sysdeps/powerpc/bits/setjmp.h: Likewise.
4936 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
4937 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
4938 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
4939 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
4940 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
4941 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
4942 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
4943 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
4944 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
4945 * sysdeps/pthread/lio_listio.c: Likewise.
4946 * sysdeps/sparc/dl-procinfo.h: Likewise.
4947 * sysdeps/unix/i386/sysdep.S: Likewise.
4948 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
4949 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
4950 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
4951 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
4952 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
4953 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
4954 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
4955 * sysdeps/unix/sysv/linux/speed.c: Likewise.
4956 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
4957 * sysdeps/wordsize-32/divdi3.c: Likewise.
4958 * time/sys/time.h: Likewise.
4959 * wcsmbs/Makefile: Likewise.
4961 2013-01-01 David S. Miller <davem@davemloft.net>
4963 * po/fr.po: Update from translation team.
4965 * catgets/gencat.c: Update copyright year.
4966 * csu/version.c: Likewise.
4967 * debug/catchsegv.sh: Likewise.
4968 * debug/pcprofiledump.c: Likewise.
4969 * debug/xtrace.sh: Likewise.
4970 * elf/ldconfig.c: Likewise.
4971 * elf/ldd.bash.in: Likewise.
4972 * elf/pldd.c: Likewise.
4973 * elf/sotruss.ksh: Likewise.
4974 * elf/sprof.c: Likewise.
4975 * iconv/iconv_prog.c: Likewise.
4976 * iconv/iconvconfig.c: Likewise.
4977 * locale/programs/locale.c: Likewise.
4978 * locale/programs/localedef.c: Likewise.
4979 * login/programs/pt_chown.c: Likewise.
4980 * malloc/memusage.sh: Likewise.
4981 * malloc/memusagestat.c: Likewise.
4982 * malloc/mtrace.pl: Likewise.
4983 * nscd/nscd.c: Likewise.
4984 * nss/getent.c: Likewise.
4985 * nss/makedb.c: Likewise.
4986 * posix/getconf.c: Likewise.
4988 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
4990 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
4993 2012-12-30 Mike Frysinger <vapier@gentoo.org>
4995 * math/bits/mathcalls.h (modf): Use __nonnull.
4997 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4999 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
5000 (split): Use macro CN instead of the bare value.
5001 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
5003 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
5004 instead of the bare value.
5007 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5009 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
5011 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
5013 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
5015 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
5016 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
5017 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
5018 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
5020 2012-12-28 Andreas Jaeger <aj@suse.de>
5022 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
5023 values are from Linux 3.7.
5025 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
5026 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
5028 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5030 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
5033 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
5035 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
5036 variables with preprocessor constants.
5037 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
5038 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
5039 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
5041 2012-12-27 Bruno Haible <bruno@clisp.org>
5044 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
5047 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5049 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
5050 and use variable directly.
5051 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
5053 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
5055 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
5056 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
5058 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
5059 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
5060 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
5061 include directive. Remove local variable MPONE.
5062 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
5063 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
5064 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
5066 2012-12-25 David S. Miller <davem@davemloft.net>
5068 * version.h (RELEASE): Set to "development".
5069 (VERSION): Set to "2.17.90".
5070 * NEWS: Add 2.18 section.
5072 2012-12-21 David S. Miller <davem@davemloft.net>
5074 * po/hr.po: Update from translation team.
5076 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5078 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
5080 2012-12-19 Steve Ellcey <sellcey@mips.com>
5082 * NEWS: Mention new memcpy for MIPS.
5084 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5086 * manual/contrib.texi (Contributors): Spelling correction.
5088 2012-12-15 David S. Miller <davem@davemloft.net>
5090 * po/ru.po: Update from translation team.
5092 2012-12-13 David S. Miller <davem@davemloft.net>
5094 * NEWS: Mention IFUNC testsuite enhancements.
5096 * po/pl.po: Update from translation team.
5097 * po/bg.po: Likewise.
5099 * manual/contrib.texi (Contributors): Update entries for Hongjiu
5100 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
5102 2012-12-11 David S. Miller <davem@davemloft.net>
5104 * po/sv.po: Update from translation team.
5106 * po/vi.po: Update from translation team.
5108 * po/cs.po: Update from translation team.
5110 * po/de.po: Update from translation team.
5111 * po/eo.po: Likewise.
5112 * po/nl.po: Likewise.
5114 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5117 * manual/argp.texi (Argp Helper Functions): Move node to follow
5121 * manual/conf.texi (Limits on File System Capacity): Mention if
5122 terminating null is included in the max size.
5124 2012-12-10 Andreas Jaeger <aj@suse.de>
5126 * po/cs.po: Update from translation team.
5128 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
5130 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
5131 void pointer and cast to uintptr_t.
5132 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
5134 * sysdeps/s390/s390-64/memcpy.S: Likewise.
5135 * sysdeps/s390/s390-64/memset.S: Likewise.
5137 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
5140 * menual/message.texi (Message Translation): Fix typos.
5141 (Helper programs for gettext): Likewise.
5143 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
5146 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
5149 2012-12-07 David S. Miller <davem@davemloft.net>
5151 * po/libc.pot: Update.
5153 2012-12-07 Richard Henderson <rth@redhat.com>
5156 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
5157 normal/normal case to before the switch.
5158 (_FP_DIV): Likewise.
5160 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
5161 Mike Frysinger <vapier@gentoo.org>
5163 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
5164 check for __NR_fadvise64_64.
5166 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
5168 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
5169 0, not just to plain "0" as a statement.
5170 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
5173 2012-12-06 Joseph Myers <joseph@codesourcery.com>
5175 * NEWS: Use sourceware.org in Bugzilla URL.
5177 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
5179 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
5180 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
5182 * stdio-common/tst-put-error.c (do_test): Add newline to the
5183 padded test to ensure flush.
5185 2012-12-05 Jeff Law <law@redhat.com>
5187 * sunrpc/etc.rpc (fedfs_admin): Add entry.
5189 2012-12-05 Joseph Myers <joseph@codesourcery.com>
5191 * README: Don't refer to ports add-on as distributed separately.
5192 Mention AArch64 in list of systems supported in the ports add-on.
5194 * LICENSES: Add more non-FSF copyright and license notices.
5196 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
5199 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
5201 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
5202 10000 as width of padded output.
5204 2012-12-04 Joseph Myers <joseph@codesourcery.com>
5206 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
5208 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
5209 variable LX with __attribute__ ((unused)).
5210 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
5212 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
5213 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
5214 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
5215 with __attribute__ ((unused)).
5217 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
5219 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
5221 2012-12-04 Joseph Myers <joseph@codesourcery.com>
5223 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
5224 (CFLAGS-nldbl-acos.c): New variable.
5225 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
5226 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
5227 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
5228 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
5229 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
5230 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
5231 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
5232 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
5233 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
5234 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
5235 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
5236 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
5237 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
5238 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
5239 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
5240 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
5241 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
5242 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
5243 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
5244 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
5245 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
5246 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
5247 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
5248 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
5249 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
5250 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
5251 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
5252 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
5253 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
5254 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
5255 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
5256 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
5257 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
5258 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
5259 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
5260 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
5261 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
5262 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
5263 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
5264 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
5265 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
5266 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
5267 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
5268 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
5269 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
5270 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
5271 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
5272 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
5273 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
5274 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
5275 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
5276 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
5277 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
5278 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
5279 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
5280 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
5281 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
5282 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
5283 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
5284 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
5285 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
5286 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
5287 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
5288 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
5289 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
5290 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
5291 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
5292 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
5293 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
5294 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
5295 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
5296 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
5297 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
5298 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
5299 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
5300 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
5301 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
5302 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
5303 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
5304 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
5305 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
5306 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
5307 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
5308 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
5309 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
5310 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
5311 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
5312 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
5313 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
5314 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
5315 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
5316 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
5317 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
5318 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
5319 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
5320 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
5321 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
5323 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
5324 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
5327 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
5328 whole low double instead of just low 47 bits when splitting values
5331 2012-12-03 Allan McRae <allan@archlinux.org>
5333 * manual/stdio.texi (Predefined Printf Handlers): Remove
5334 @hsep and @vsep usage.
5336 2012-12-03 Mike Frysinger <vapier@gentoo.org>
5338 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
5339 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
5341 2012-12-03 Jeff Law <law@redhat.com>
5343 * time/sys/time.h (settimeofday): Do not mark TV argument
5346 2012-12-01 Mike Frysinger <vapier@gentoo.org>
5348 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
5349 when currently writing and seek to current position when not.
5350 * libio/Makefile (tests): Remove bug-fclose1.
5351 * libio/bug-fclose1.c: Delete.
5353 2012-12-01 Joseph Myers <joseph@codesourcery.com>
5355 * manual/arith.texi (feenableexcept): Fix typo.
5356 (fedisableexcept): Likewise.
5358 2012-11-30 Roland McGrath <roland@hack.frob.com>
5360 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
5361 second, differently-typed declaration, rather than a cast.
5363 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5365 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
5366 * include/rpc/svc.h: ... here.
5368 2012-11-30 Aurelien Jarno <aurel32@debian.org>
5371 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
5372 depending n and resplen2 to catch cases where answer
5375 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
5377 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
5378 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
5380 2012-11-29 Mike Frysinger <vapier@gentoo.org>
5382 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
5384 2012-11-29 Roland McGrath <roland@hack.frob.com>
5386 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
5388 2012-11-28 Jeff Law <law@redhat.com>
5391 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
5392 dataset_temporary. Track alloca usage into alloca_used.
5393 If dataset is large allocate and release it via malloc/free.
5395 2012-06-04 Florian Weimer <fweimer@redhat.com>
5398 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
5400 2012-11-28 David S. Miller <davem@davemloft.net>
5402 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5404 2012-11-28 Joseph Myers <joseph@codesourcery.com>
5407 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
5408 of pi/2 rounded to nearest to 64 bits.
5409 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
5411 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
5414 2012-11-28 Jeff Law <law@redhat.com>
5415 Martin Osvald <mosvald@redhat.com>
5418 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
5419 * sunrpc/svc.c: Include time.h.
5420 (__svc_accept_failed): New function.
5421 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
5422 any reason other than EINTR, call __svc_accept_failed.
5423 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
5424 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
5426 2012-11-28 Andreas Schwab <schwab@suse.de>
5428 * scripts/abilist.awk: Also handle indirect functions in .opd
5431 2012-11-28 Joseph Myers <joseph@codesourcery.com>
5434 * sysdeps/x86/fpu/powl_helper.c: New file.
5435 * sysdeps/x86/fpu/Makefile: Likewise.
5436 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
5438 (__ieee754_powl): Use __powl_helper for finite arguments except
5439 integer exponents below 8.
5440 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
5442 (__ieee754_powl): Use __powl_helper for finite arguments except
5443 integer exponents below 8.
5444 * math/libm-test.inc (pow_test): Add more tests and enable some
5445 previously disabled tests.
5446 * sysdeps/i386/fpu/libm-test-ulps: Update.
5447 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5449 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5450 Carlos O'Donell <carlos_odonell@mentor.com>
5452 * nss/makedb.c (is_prime): Assert that input is odd and greater
5453 than 4. Note that fact in a comment too.
5454 (next_prime): Add 4 to input.
5456 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5459 * libio/Makefile (tests): Add test case tst-fwrite-error.
5460 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
5461 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
5462 * libio/tst-fwrite-error.c: New test case.
5464 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
5466 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
5467 before casting to void *.
5468 * include/libc-internal.h (__pointer_type): New macro.
5469 (__integer_if_pointer_type_sub): Likewise.
5470 (__integer_if_pointer_type): Likewise.
5471 (cast_to_integer): Likewise.
5472 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
5473 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
5474 before casting to atomic64_t.
5475 (atomic_exchange_acq): Likewise.
5476 (__arch_exchange_and_add_body): Likewise.
5477 (__arch_add_body): Likewise.
5478 (atomic_add_negative): Likewise.
5479 (atomic_add_zero): Likewise.
5481 2012-11-26 Joseph Myers <joseph@codesourcery.com>
5483 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
5484 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
5485 (add_fdes): Likewise.
5486 (linear_search_fdes): Likewise.
5487 (binary_search_unencoded_fdes): Likewise.
5489 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
5491 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
5493 2012-11-24 Adam Conrad <adconrad@0c3.net>
5495 * configure.in: Autodetect C++ header directories.
5496 * configure: Regenerated.
5498 2012-11-23 Mike Frysinger <vapier@gentoo.org>
5500 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
5502 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
5504 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5506 2012-11-22 Joseph Myers <joseph@codesourcery.com>
5508 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
5509 LDBL_MANT_DIG == 106]: Disable some tests.
5510 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
5512 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
5516 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
5517 input for small inputs. Return +/- pi/2 for large inputs.
5518 * math/libm-test.inc (atan_test): Add more tests.
5520 * sysdeps/generic/unwind-dw2-fde-glibc.c
5521 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
5522 __attribute__ ((unused)).
5525 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
5526 x * y if x and y are nonzero and z is zero.
5529 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
5530 nonzero exponents with absolute value below 0x1p-117 to +/-
5534 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
5535 up arguments below 2**-450, not just those below 2**-500.
5536 * math/libm-test.inc (hypot_test): Add another test.
5539 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
5540 Return a+b for ratio over 2**120, not 2**60.
5541 * math/libm-test.inc (hypot_test): Add another test.
5543 * math/libm-test.inc (clog_test): Use
5544 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
5545 (clog10_test): Likewise.
5548 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
5550 2012-11-22 Andreas Schwab <schwab@suse.de>
5552 * sysdeps/i386/fpu/libm-test-ulps: Update.
5554 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
5556 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
5557 printf output with newline.
5559 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
5562 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
5563 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
5564 -z nodlopen, -z initfirst and -z execstack support.
5565 * configure: Regenerated.
5567 * elf/elf.h (DF_1_NODIRECT): New macro.
5568 (DF_1_IGNMULDEF): Likewise.
5569 (DF_1_NOKSYMS): Likewise.
5570 (DF_1_NOHDR): Likewise.
5571 (DF_1_EDITED): Likewise.
5572 (DF_1_NORELOC): Likewise.
5573 (DF_1_SYMINTPOSE): Likewise.
5574 (DF_1_GLOBAUDIT): Likewise.
5575 (DF_1_SINGLETON): Likewise.
5576 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
5577 DT_1_SUPPORTED_MASK bits.
5578 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
5580 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
5582 * sysdeps/unix/make-syscalls.sh: Document prefixes.
5584 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
5586 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
5589 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
5590 (sendmmsg): Move declarations...
5591 * socket/sys/socket.h: ... here.
5592 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
5593 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
5595 * socket/recvmmsg.c: ... this new file.
5596 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
5597 (sendmmsg): Rename to __sendmmsg, create weak alias and make
5598 definition of __sendmmsg hidden.
5599 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
5600 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
5601 Move ENOSYS stub into and include it from...
5602 * socket/sendmmsg.c: ... this new file.
5603 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
5604 (sysdep_routines): Move recvmmsg and sendmmsg...
5605 * socket/Makefile (routines): ... here.
5606 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
5607 (GLIBC_PRIVATE): Add __sendmmsg.
5608 * include/sys/socket.h (__sendmmsg): Add declarations.
5609 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
5612 2012-11-20 Joseph Myers <joseph@codesourcery.com>
5614 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
5615 variable I1 with __attribute__ ((unused)).
5616 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
5618 2012-11-19 Joseph Myers <joseph@codesourcery.com>
5620 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
5621 DUMMY variables with __attribute__ ((unused)).
5623 * bits/byteswap.h: Include <bits/types.h>.
5624 (__bswap_64): Use __uint64_t instead of unsigned long long int.
5626 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
5628 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
5629 string_t. Do not manually set errno.
5630 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
5631 length with __strnlen. Make sure to both set errno and return it on
5634 2012-11-19 David S. Miller <davem@davemloft.net>
5636 With help from Joseph Myers.
5637 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
5638 very large arguments properly.
5639 * math/libm-test.inc (atan_test): New tests.
5640 (atan2_test): New tests.
5641 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5642 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5644 2012-11-19 Joseph Myers <joseph@codesourcery.com>
5647 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
5650 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
5651 [POSIX] (EADDRNOTAVAIL): Likewise.
5652 [POSIX] (EAFNOSUPPORT): Likewise.
5653 [POSIX] (EALREADY): Likewise.
5654 [POSIX] (ECONNABORTED): Likewise.
5655 [POSIX] (ECONNREFUSED): Likewise.
5656 [POSIX] (ECONNRESET): Likewise.
5657 [POSIX] (EDESTADDRREQ): Likewise.
5658 [POSIX] (EDQUOT): Likewise.
5659 [POSIX] (EHOSTUNREACH): Likewise.
5660 [POSIX] (EIDRM): Likewise.
5661 [POSIX] (EISCONN): Likewise.
5662 [POSIX] (ELOOP): Likewise.
5663 [POSIX] (EMULTIHOP): Likewise.
5664 [POSIX] (ENETDOWN): Likewise.
5665 [POSIX] (ENETUNREACH): Likewise.
5666 [POSIX] (ENOBUFS): Likewise.
5667 [POSIX] (ENODATA): Likewise.
5668 [POSIX] (ENOLINK): Likewise.
5669 [POSIX] (ENOMSG): Likewise.
5670 [POSIX] (ENOPROTOOPT): Likewise.
5671 [POSIX] (ENOSR): Likewise.
5672 [POSIX] (ENOSTR): Likewise.
5673 [POSIX] (ENOTCONN): Likewise.
5674 [POSIX] (ENOTSOCK): Likewise.
5675 [POSIX] (EOPNOTSUPP): Likewise.
5676 [POSIX] (EOVERFLOW): Likewise.
5677 [POSIX] (EPROTO): Likewise.
5678 [POSIX] (EPROTONOSUPPORT): Likewise.
5679 [POSIX] (EPROTOTYPE): Likewise.
5680 [POSIX] (ESTALE): Likewise.
5681 [POSIX] (ETIME): Likewise.
5682 [POSIX] (ETXTBSY): Likewise.
5683 [POSIX] (EWOULDBLOCK): Likewise.
5684 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
5685 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
5686 [POSIX] (SEEK_CUR): Likewise.
5687 [POSIX] (SEEK_END): Likewise.
5688 [POSIX || UNIX98] (mode_t): Do not require.
5689 [POSIX] (off_t): Likewise.
5690 [POSIX] (pid_t): Likewise.
5691 [POSIX] (sys/stat.h): Do not allow header.
5692 [POSIX] (unistd.h): Likewise.
5693 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
5694 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
5695 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
5696 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
5698 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
5699 sigevent): Specify elements.
5700 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
5702 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
5703 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
5705 * conform/data/cpio.h-data [POSIX]: Disable whole file.
5706 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
5707 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
5708 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
5709 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
5710 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
5711 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
5712 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
5713 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
5714 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
5715 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
5716 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
5717 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
5718 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
5720 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
5722 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
5724 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
5726 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
5727 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
5728 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
5729 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
5730 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
5731 Specify lower bound on value.
5732 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
5733 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
5734 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
5735 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
5736 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
5737 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
5738 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
5739 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
5741 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
5743 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
5744 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
5745 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
5746 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
5747 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
5748 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
5749 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
5750 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
5751 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
5752 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
5753 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
5754 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
5755 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
5756 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
5757 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
5758 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
5760 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
5762 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
5763 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
5764 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
5765 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
5766 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
5767 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
5769 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
5770 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
5771 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
5772 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
5773 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
5774 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
5775 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
5777 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
5778 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
5779 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
5780 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
5781 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
5782 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
5783 specify as optional.
5784 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
5785 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
5786 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
5787 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
5788 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
5789 [XPG3] (NL_LANGMAX): Likewise.
5790 [POSIX || XPG3] (NL_MSGMAX): Likewise.
5791 [POSIX || XPG3] (NL_NMAX): Likewise.
5792 [POSIX || XPG3] (NL_SETMAX): Likewise.
5793 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
5794 [XPG3] (NZERO): Likewise.
5795 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
5796 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
5797 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
5798 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
5799 (REG_ERANGE): Expect.
5800 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
5802 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
5803 Use (void) in prototype.
5804 [POSIX] (*_t): Allow.
5805 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
5806 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
5807 (WRDE_BADVAL): Expect.
5809 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
5811 [XPG3 || XPG4] (O_RSYNC): Likewise.
5812 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
5814 [XPG3 || XPG4] (pthread_sigmask): Likewise.
5815 [XPG3 || XPG4] (sigqueue): Likewise.
5816 [XPG3 || XPG4] (sigtimedwait): Likewise.
5817 [XPG3 || XPG4] (sigwaitinfo): Likewise.
5818 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
5819 [XPG3 || XPG4] (vsnprintf): Likewise.
5820 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
5822 [XPG3 || XPG4] (blksize_t): Likewise.
5823 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
5825 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
5826 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
5827 [XPG3 || XPG4] (struct itimerspec): Likewise.
5828 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
5829 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
5830 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
5831 [XPG3 || XPG4] (clockid_t): Likewise.
5832 [XPG3 || XPG4] (timer_t): Likewise.
5833 [XPG3 || XPG4] (clock_getres): Likewise.
5834 [XPG3 || XPG4] (clock_gettime): Likewise.
5835 [XPG3 || XPG4] (clock_settime): Likewise.
5836 [XPG3 || XPG4] (nanosleep): Likewise.
5837 [XPG3 || XPG4] (timer_create): Likewise.
5838 [XPG3 || XPG4] (timer_delete): Likewise.
5839 [XPG3 || XPG4] (timer_gettime): Likewise.
5840 [XPG3 || XPG4] (timer_getoverrun): Likewise.
5841 [XPG3 || XPG4] (timer_settime): Likewise.
5842 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
5843 [XPG3 || XPG4] (getlogin_r): Likewise.
5844 [XPG3 || XPG4] (pread): Likewise.
5845 [XPG3 || XPG4] (pthread_atfork): Likewise.
5846 [XPG3 || XPG4] (pwrite): Likewise.
5849 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
5852 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
5854 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
5855 finalizing MALLSTREAM.
5857 * sysdeps/mach/hurd/syncfs.c: New file.
5859 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5862 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
5863 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
5864 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
5865 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
5866 (_nss_dns_gethostbyname4_r): Likewise.
5867 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
5868 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
5870 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
5873 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
5875 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
5877 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
5878 * elf/cache.c (print_entry): Print ",AArch64" for
5881 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
5882 * elf/cache.c (print_entry): Print ",hard-float" for
5885 2012-11-18 David S. Miller <davem@davemloft.net>
5887 With help from Joseph Myers.
5888 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
5890 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
5892 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
5893 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
5895 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
5896 * math/libm-test.inc (y0_test): New tests.
5897 (y1_test): New tests.
5898 * sysdeps/i386/fpu/libm-test-ulps: Update.
5899 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5900 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5902 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
5904 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
5906 * configure: Regenerated.
5908 2012-11-17 David S. Miller <davem@davemloft.net>
5911 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
5912 nonzero exponents with absolute value below 0x1p-128 to +/-
5915 2012-11-17 Joseph Myers <joseph@codesourcery.com>
5917 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
5919 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
5921 * posix/getconf-speclist.c: New file.
5922 * posix/posix-envs.def: Likewise.
5923 * posix/confstr.c (START_ENV_GROUP): New macro.
5924 (END_ENV_GROUP): Likewise.
5925 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
5926 (KNOWN_PRESENT_ENV_STRING): Likewise.
5927 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
5928 (UNKNOWN_ENVIRONMENT): Likewise.
5929 (confstr): Include posix-envs.def instead of handling
5930 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
5931 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
5932 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
5933 (END_ENV_GROUP): Likewise.
5934 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
5935 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
5936 (UNKNOWN_ENVIRONMENT): Likewise.
5937 (__sysconf): Include posix-envs.def instead of handling associated
5938 cases directly here.
5939 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
5940 preprocessing getconf-speclist.c rather than running getconf or
5941 generating empty file.
5943 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
5945 * scripts/check-local-headers.sh: Ignore 'mach' headers.
5947 2012-11-16 Andrej Lajovic <natrij@gmail.com>
5950 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
5952 2012-11-16 David S. Miller <davem@davemloft.net>
5954 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
5955 smaller than LDBL_EPSILON/2.0L, just return xm1.
5957 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
5959 * elf/tst-array1.c (init): Set constructor priority to 1000.
5960 (fini): Set destructor priority to 1000.
5961 * elf/tst-array2dep.c: Likewise.
5963 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5966 * libio/fileops.c (_IO_new_file_write): Correctly return error.
5967 (_IO_new_file_xsputn): Also return EOF if none of the input
5968 data was written when overflow failed.
5969 * libio/iopadn.c (_IO_padn): Likewise.
5970 * libio/iowpadn.c (_IO_wpadn): Likewise.
5971 * stdio-common/tst-put-error.c: Add copyright notice.
5972 (do_test): Add case for printing padded string.
5973 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
5974 _IO_padn returned error.
5975 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
5976 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
5979 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5981 * libio/libioP.h: Add comment note that the references to C++
5982 bits are now obsolete.
5984 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5986 * math/libm-test.inc (check_complex): Use asprintf.
5988 2012-11-14 Joseph Myers <joseph@codesourcery.com>
5990 * debug/pcprofiledump.c (print_version): Update copyright year.
5991 * malloc/memusagestat.c (print_version): Likewise.
5993 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
5996 * elf/Makefile (tests): Add tst-audit8.
5997 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
5998 ($(objpfx)tst-audit8.out): New target.
5999 (tst-audit8-ENV): New variable.
6000 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
6001 audit if l_reloc_result is NULL.
6002 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
6003 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
6004 * elf/tst-audit8.c: New file.
6006 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6008 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
6009 * misc/Makefile (CFLAGS-select.c): Define.
6010 * posix/Makefile (CFLAGS-pause.c): Define.
6012 2012-11-13 David S. Miller <davem@davemloft.net>
6014 * crypt/Makefile: Move test targets after toplevel Rules
6015 inclusion. Grab any necessary sysdep routines when linking.
6016 * crypt/md5.c (md5_process_block): Remove define, we will always
6017 name it __md5_process_block.
6018 (md5_finish_ctx): Update md5_process_block call.
6019 (md5_stream): Likewise.
6020 (md5_process_bytes): Likewise.
6021 (md5_process_block): Rename to __md5_process_block and move to ...
6022 * crypt/md5-block.c: ... here.
6023 * crypt/sha256.c (sha256_process_block): Move to ...
6024 * crypt/sha256-block.c: ... here.
6025 * crypt/sha512.c (sha512_process_block): Move to ...
6026 * crypt/sha512-block.c: ... here.
6027 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
6029 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
6030 * sysdeps/sparc/sparc64/multiarch/Makefile
6031 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
6033 (localedef-aux): Add md5 crypto assembler when in locale subdir.
6034 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
6036 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
6037 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
6038 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
6039 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
6040 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
6041 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
6042 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
6043 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
6044 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
6046 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
6047 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
6049 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
6051 2012-11-13 Joseph Myers <joseph@codesourcery.com>
6053 * timezone/tzselect.ksh: Update from tzcode git revision
6054 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
6055 * timezone/zdump.c: Likewise.
6056 * timezone/zic.c: Likewise.
6057 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
6058 in TZVERSION setting, not $(PKGVERSION).
6059 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
6060 REPORT_BUGS_TO settings.
6063 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
6066 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6068 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
6069 detection to immediately after _FP_ROUND().
6070 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
6073 2012-11-11 David S. Miller <davem@davemloft.net>
6075 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
6077 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
6078 __close rather than their public counterparts.
6080 2012-11-10 Joseph Myers <joseph@codesourcery.com>
6082 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
6084 [UNIX98] (sem_timedwait): Do not expect.
6085 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
6086 [XPG4 || UNIX98] (sockatmark): Do not expect.
6087 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
6088 (clock_getcpuclockid): Do not expect.
6089 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
6090 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
6092 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
6093 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
6094 [UNIX98] (vwscanf): Likewise.
6095 [UNIX98] (vswscanf): Likewise.
6097 2012-11-09 Joseph Myers <joseph@codesourcery.com>
6099 * timezone/version.h: Remove file.
6100 * timezone/README: Do not refer to version.h.
6101 * timezone/Makefile ($(objpfx)zic.o): New dependency on
6103 ($(objpfx)zdump.o): Likewise.
6104 ($(objpfx)version.h): New target.
6106 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
6108 * timezone/README: Don't mention modification to tzselect.ksh.
6109 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
6110 work on unmodified tzselect.ksh. Substitute version numbers in
6113 * Makefile (format-me): Remove.
6114 (INSTALL): Adjust indentation. Use commands directly instead of
6117 * aclocal.m4 (ACX_PKGVERSION): New macro.
6118 (ACX_BUGURL): Likewise.
6119 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
6120 (PKGVERSION): New AC_DEFINE_UNQUOTED.
6121 (REPORT_BUGS_TO): Likewise.
6122 * configure: Regenerated.
6123 * config.h.in (PKGVERSION): New macro.
6124 (REPORT_BUGS_TO): Likewise.
6125 * config.make.in (PKGVERSION): New variable.
6126 (PKGVERSION_TEXI): Likewise.
6127 (REPORT_BUGS_TO): Likewise.
6128 (REPORT_BUGS_TEXI): Likewise.
6129 * Makefile (format-me): Use -I$(common-objpfx)manual.
6130 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
6131 ($(common-objpfx)manual/%): New target.
6132 (manual/%): Remove target.
6133 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
6134 (print_version): Use PKGVERSION.
6135 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
6136 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
6138 ($(objpfx)xtrace): Likewise.
6139 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
6140 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
6141 (print_version): Use PKGVERSION.
6142 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
6143 (do_version): Use PKGVERSION.
6144 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
6146 (common-ldd-rewrite): Likewise.
6147 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
6148 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
6149 (print_version): Use PKGVERSION.
6150 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
6151 * elf/pldd.c (argp_program_bug_address): Remove variable.
6152 (more_help): New function.
6153 (argp): Use more_help.
6154 (print_version): Use PKGVERSION.
6155 * elf/sln.c (main): Use PKGVERSION.
6156 (usage): Use REPORT_BUGS_TO.
6157 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
6158 (top level): Use PKGVERSION.
6159 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
6160 (print_version): Use PKGVERSION.
6161 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
6162 (print_version): Use PKGVERSION.
6163 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
6164 (print_version): Use PKGVERSION.
6165 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
6166 (print_version): Use PKGVERSION.
6167 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
6168 (print_version): Use PKGVERSION.
6169 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
6170 (print_version): Use PKGVERSION.
6171 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
6173 ($(objpfx)memusage): Likewise.
6174 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
6175 (do_version): Use PKGVERSION.
6176 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
6177 (print_version): Use PKGVERSION.
6178 * malloc/mtrace.pl ($PACKAGE): Remove variable.
6179 ($PKGVERSION): New variable.
6180 ($REPORT_BUGS_TO): Likewise.
6181 (usage): Use $REPORT_BUGS_TO.
6182 (top level): Use $PKGVERSION.
6183 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
6184 ($(objpfx)pkgvers.texi): New rule.
6185 ($(objpfx)stamp-pkgvers): Likewise.
6186 * manual/install.texi: Include pkgvers.texi.
6187 (--with-pkgversion): Document new configure option.
6188 (--with-bugurl): Likewise.
6189 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
6190 than necessarily for this particular distribution. Use
6191 REPORT_BUGS_TO for where to report bugs.
6192 * INSTALL: Regenerated.
6193 * manual/libc.texinfo: Include pkgvers.texi.
6194 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
6195 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
6196 (print_version): Use PKGVERSION.
6197 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
6198 (print_version): Use PKGVERSION.
6199 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
6200 (print_version): Use PKGVERSION.
6201 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
6202 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
6204 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
6205 (print_version): Use PKGVERSION.
6206 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
6207 (print_version): Use PKGVERSION.
6208 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
6211 * timezone/checktab.awk: Update from tzcode 2012i.
6212 * timezone/ialloc.c: Likewise.
6213 * timezone/private.h: Likewise.
6214 * timezone/scheck.c: Likewise.
6215 * timezone/tzfile.h: Likewise.
6216 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
6217 (TZVERSION): Hardcode tzcode version number.
6218 * timezone/zdump.c: Update from tzcode 2012i.
6219 * timezone/zic.c: Likewise.
6220 * timezone/version.h: New file.
6221 * timezone/README: Describe version.h. Update upstream location.
6224 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
6225 (mktemp): Enable declaration.
6226 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
6227 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
6228 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
6229 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
6231 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
6233 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
6235 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
6237 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
6239 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
6243 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
6244 offset in buffer as u_int32_t not u_long. Consistently use memcpy
6245 for copies of such integer values.
6246 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
6247 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
6249 2012-11-09 Andreas Jaeger <aj@suse.de>
6251 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
6252 definitions and declarations that are provided by
6253 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
6255 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6257 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
6258 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
6259 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
6262 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6264 * elf/elf.h: Update comment before AArch64 relocations.
6266 2012-11-07 David S. Miller <davem@davemloft.net>
6268 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
6269 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
6270 (__start_context): Declare.
6271 (__makecontext_ret): Delete.
6272 (__makecontext): Hook up __start_context instead of
6274 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
6275 (sysdep_routines): Add __start_context when in stdlib.
6277 2012-11-07 Joseph Myers <joseph@codesourcery.com>
6279 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
6280 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
6281 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
6283 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
6284 (READELF): New variable. Use it instead of hardcoded "readelf".
6286 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
6288 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
6289 * sysdeps/x86/Makefile: Here.
6290 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
6291 * sysdeps/x86/tst-xmmymm.sh: This.
6293 2012-11-07 Joseph Myers <joseph@codesourcery.com>
6295 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
6297 [UNIX98] (pthread_barrier_t): Do not expect.
6298 [UNIX98] (pthread_barrierattr_t): Likewise.
6299 [UNIX98] (pthread_spinlock_t): Likewise.
6300 [UNIX98] (pthread_barrier_destroy): Likewise.
6301 [UNIX98] (pthread_barrier_init): Likewise.
6302 [UNIX98] (pthread_barrier_wait): Likewise.
6303 [UNIX98] (pthread_barrierattr_destroy): Likewise.
6304 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
6305 [UNIX98] (pthread_barrierattr_init): Likewise.
6306 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
6307 [UNIX98] (pthread_getcpuclockid): Likewise.
6308 [UNIX98] (pthread_mutex_timedlock): Likewise.
6309 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
6310 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
6311 [UNIX98] (pthread_sigmask): Likewise.
6312 [UNIX98] (pthread_spin_destroy): Likewise.
6313 [UNIX98] (pthread_spin_init): Likewise.
6314 [UNIX98] (pthread_spin_lock): Likewise.
6315 [UNIX98] (pthread_spin_trylock): Likewise.
6316 [UNIX98] (pthread_spin_unlock): Likewise.
6317 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
6319 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
6320 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
6321 [XPG3 || XPG4] (pthread_cond_t): Likewise.
6322 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
6323 [XPG3 || XPG4] (pthread_key_t): Likewise.
6324 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
6325 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
6326 [XPG3 || XPG4] (pthread_once_t): Likewise.
6327 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
6328 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
6329 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
6330 [XPG3 || XPG4] (pthread_t): Likewise.
6332 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
6334 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
6336 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
6337 Change function return type to int.
6339 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
6340 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
6341 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
6342 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
6343 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
6344 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
6345 [!POSIX] (posix_madvise): Likewise.
6346 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
6348 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
6349 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
6351 (posix_mem_offset): Likewise.
6352 (posix_typed_mem_get_info): Likewise.
6353 (posix_typed_mem_open): Likewise.
6355 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
6356 Change condition to [XOPEN2K8].
6358 * conform/conformtest.pl: Preprocess allow-header data with -x c
6359 instead of from stdin.
6360 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
6361 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
6362 [C99-based standards] (cerfc): Likewise.
6363 [C99-based standards] (cexp2): Likewise.
6364 [C99-based standards] (cexpm1): Likewise.
6365 [C99-based standards] (clog10): Likewise.
6366 [C99-based standards] (clog1p): Likewise.
6367 [C99-based standards] (clog2): Likewise.
6368 [C99-based standards] (clgamma): Likewise.
6369 [C99-based standards] (ctgamma): Likewise.
6370 [C99-based standards] (cerff): Likewise.
6371 [C99-based standards] (cerfcf): Likewise.
6372 [C99-based standards] (cexp2f): Likewise.
6373 [C99-based standards] (cexpm1f): Likewise.
6374 [C99-based standards] (clog10f): Likewise.
6375 [C99-based standards] (clog1pf): Likewise.
6376 [C99-based standards] (clog2f): Likewise.
6377 [C99-based standards] (clgammaf): Likewise.
6378 [C99-based standards] (ctgammaf): Likewise.
6379 [C99-based standards] (cerfl): Likewise.
6380 [C99-based standards] (cerfcl): Likewise.
6381 [C99-based standards] (cexp2l): Likewise.
6382 [C99-based standards] (cexpm1l): Likewise.
6383 [C99-based standards] (clog10l): Likewise.
6384 [C99-based standards] (clog1pl): Likewise.
6385 [C99-based standards] (clog2l): Likewise.
6386 [C99-based standards] (clgammal): Likewise.
6387 [C99-based standards] (ctgammal): Likewise.
6388 * conform/data/inttypes.h-data [C99-based standards]: Include
6389 stdint.h-data. Remove all expectations for stdint.h contents.
6390 [C99-based standards] (PRI*): Do not allow.
6391 [C99-based standards] (SCN*): Likewise.
6392 [C99-based standards] (*_t): Likewise.
6393 [C99-based-standards] (PRId8): Expect macro.
6394 [C99-based-standards] (PRIi8): Likewise.
6395 [C99-based-standards] (PRIo8): Likewise.
6396 [C99-based-standards] (PRIu8): Likewise.
6397 [C99-based-standards] (PRIx8): Likewise.
6398 [C99-based-standards] (PRIX8): Likewise.
6399 [C99-based-standards] (SCNd8): Likewise.
6400 [C99-based-standards] (SCNi8): Likewise.
6401 [C99-based-standards] (SCNo8): Likewise.
6402 [C99-based-standards] (SCNu8): Likewise.
6403 [C99-based-standards] (SCNx8): Likewise.
6404 [C99-based-standards] (PRIdLEAST8): Likewise.
6405 [C99-based-standards] (PRIiLEAST8): Likewise.
6406 [C99-based-standards] (PRIoLEAST8): Likewise.
6407 [C99-based-standards] (PRIuLEAST8): Likewise.
6408 [C99-based-standards] (PRIxLEAST8): Likewise.
6409 [C99-based-standards] (PRIXLEAST8): Likewise.
6410 [C99-based-standards] (SCNdLEAST8): Likewise.
6411 [C99-based-standards] (SCNiLEAST8): Likewise.
6412 [C99-based-standards] (SCNoLEAST8): Likewise.
6413 [C99-based-standards] (SCNuLEAST8): Likewise.
6414 [C99-based-standards] (SCNxLEAST8): Likewise.
6415 [C99-based-standards] (PRIdFAST8): Likewise.
6416 [C99-based-standards] (PRIiFAST8): Likewise.
6417 [C99-based-standards] (PRIoFAST8): Likewise.
6418 [C99-based-standards] (PRIuFAST8): Likewise.
6419 [C99-based-standards] (PRIxFAST8): Likewise.
6420 [C99-based-standards] (PRIXFAST8): Likewise.
6421 [C99-based-standards] (SCNdFAST8): Likewise.
6422 [C99-based-standards] (SCNiFAST8): Likewise.
6423 [C99-based-standards] (SCNoFAST8): Likewise.
6424 [C99-based-standards] (SCNuFAST8): Likewise.
6425 [C99-based-standards] (SCNxFAST8): Likewise.
6426 [C99-based-standards] (PRId16): Likewise.
6427 [C99-based-standards] (PRIi16): Likewise.
6428 [C99-based-standards] (PRIo16): Likewise.
6429 [C99-based-standards] (PRIu16): Likewise.
6430 [C99-based-standards] (PRIx16): Likewise.
6431 [C99-based-standards] (PRIX16): Likewise.
6432 [C99-based-standards] (SCNd16): Likewise.
6433 [C99-based-standards] (SCNi16): Likewise.
6434 [C99-based-standards] (SCNo16): Likewise.
6435 [C99-based-standards] (SCNu16): Likewise.
6436 [C99-based-standards] (SCNx16): Likewise.
6437 [C99-based-standards] (PRIdLEAST16): Likewise.
6438 [C99-based-standards] (PRIiLEAST16): Likewise.
6439 [C99-based-standards] (PRIoLEAST16): Likewise.
6440 [C99-based-standards] (PRIuLEAST16): Likewise.
6441 [C99-based-standards] (PRIxLEAST16): Likewise.
6442 [C99-based-standards] (PRIXLEAST16): Likewise.
6443 [C99-based-standards] (SCNdLEAST16): Likewise.
6444 [C99-based-standards] (SCNiLEAST16): Likewise.
6445 [C99-based-standards] (SCNoLEAST16): Likewise.
6446 [C99-based-standards] (SCNuLEAST16): Likewise.
6447 [C99-based-standards] (SCNxLEAST16): Likewise.
6448 [C99-based-standards] (PRIdFAST16): Likewise.
6449 [C99-based-standards] (PRIiFAST16): Likewise.
6450 [C99-based-standards] (PRIoFAST16): Likewise.
6451 [C99-based-standards] (PRIuFAST16): Likewise.
6452 [C99-based-standards] (PRIxFAST16): Likewise.
6453 [C99-based-standards] (PRIXFAST16): Likewise.
6454 [C99-based-standards] (SCNdFAST16): Likewise.
6455 [C99-based-standards] (SCNiFAST16): Likewise.
6456 [C99-based-standards] (SCNoFAST16): Likewise.
6457 [C99-based-standards] (SCNuFAST16): Likewise.
6458 [C99-based-standards] (SCNxFAST16): Likewise.
6459 [C99-based-standards] (PRId32): Likewise.
6460 [C99-based-standards] (PRIi32): Likewise.
6461 [C99-based-standards] (PRIo32): Likewise.
6462 [C99-based-standards] (PRIu32): Likewise.
6463 [C99-based-standards] (PRIx32): Likewise.
6464 [C99-based-standards] (PRIX32): Likewise.
6465 [C99-based-standards] (SCNd32): Likewise.
6466 [C99-based-standards] (SCNi32): Likewise.
6467 [C99-based-standards] (SCNo32): Likewise.
6468 [C99-based-standards] (SCNu32): Likewise.
6469 [C99-based-standards] (SCNx32): Likewise.
6470 [C99-based-standards] (PRIdLEAST32): Likewise.
6471 [C99-based-standards] (PRIiLEAST32): Likewise.
6472 [C99-based-standards] (PRIoLEAST32): Likewise.
6473 [C99-based-standards] (PRIuLEAST32): Likewise.
6474 [C99-based-standards] (PRIxLEAST32): Likewise.
6475 [C99-based-standards] (PRIXLEAST32): Likewise.
6476 [C99-based-standards] (SCNdLEAST32): Likewise.
6477 [C99-based-standards] (SCNiLEAST32): Likewise.
6478 [C99-based-standards] (SCNoLEAST32): Likewise.
6479 [C99-based-standards] (SCNuLEAST32): Likewise.
6480 [C99-based-standards] (SCNxLEAST32): Likewise.
6481 [C99-based-standards] (PRIdFAST32): Likewise.
6482 [C99-based-standards] (PRIiFAST32): Likewise.
6483 [C99-based-standards] (PRIoFAST32): Likewise.
6484 [C99-based-standards] (PRIuFAST32): Likewise.
6485 [C99-based-standards] (PRIxFAST32): Likewise.
6486 [C99-based-standards] (PRIXFAST32): Likewise.
6487 [C99-based-standards] (SCNdFAST32): Likewise.
6488 [C99-based-standards] (SCNiFAST32): Likewise.
6489 [C99-based-standards] (SCNoFAST32): Likewise.
6490 [C99-based-standards] (SCNuFAST32): Likewise.
6491 [C99-based-standards] (SCNxFAST32): Likewise.
6492 [C99-based-standards] (PRId64): Likewise.
6493 [C99-based-standards] (PRIi64): Likewise.
6494 [C99-based-standards] (PRIo64): Likewise.
6495 [C99-based-standards] (PRIu64): Likewise.
6496 [C99-based-standards] (PRIx64): Likewise.
6497 [C99-based-standards] (PRIX64): Likewise.
6498 [C99-based-standards] (SCNd64): Likewise.
6499 [C99-based-standards] (SCNi64): Likewise.
6500 [C99-based-standards] (SCNo64): Likewise.
6501 [C99-based-standards] (SCNu64): Likewise.
6502 [C99-based-standards] (SCNx64): Likewise.
6503 [C99-based-standards] (PRIdLEAST64): Likewise.
6504 [C99-based-standards] (PRIiLEAST64): Likewise.
6505 [C99-based-standards] (PRIoLEAST64): Likewise.
6506 [C99-based-standards] (PRIuLEAST64): Likewise.
6507 [C99-based-standards] (PRIxLEAST64): Likewise.
6508 [C99-based-standards] (PRIXLEAST64): Likewise.
6509 [C99-based-standards] (SCNdLEAST64): Likewise.
6510 [C99-based-standards] (SCNiLEAST64): Likewise.
6511 [C99-based-standards] (SCNoLEAST64): Likewise.
6512 [C99-based-standards] (SCNuLEAST64): Likewise.
6513 [C99-based-standards] (SCNxLEAST64): Likewise.
6514 [C99-based-standards] (PRIdFAST64): Likewise.
6515 [C99-based-standards] (PRIiFAST64): Likewise.
6516 [C99-based-standards] (PRIoFAST64): Likewise.
6517 [C99-based-standards] (PRIuFAST64): Likewise.
6518 [C99-based-standards] (PRIxFAST64): Likewise.
6519 [C99-based-standards] (PRIXFAST64): Likewise.
6520 [C99-based-standards] (SCNdFAST64): Likewise.
6521 [C99-based-standards] (SCNiFAST64): Likewise.
6522 [C99-based-standards] (SCNoFAST64): Likewise.
6523 [C99-based-standards] (SCNuFAST64): Likewise.
6524 [C99-based-standards] (SCNxFAST64): Likewise.
6525 [C99-based-standards] (PRIdMAX): Likewise.
6526 [C99-based-standards] (PRIiMAX): Likewise.
6527 [C99-based-standards] (PRIoMAX): Likewise.
6528 [C99-based-standards] (PRIuMAX): Likewise.
6529 [C99-based-standards] (PRIxMAX): Likewise.
6530 [C99-based-standards] (PRIXMAX): Likewise.
6531 [C99-based-standards] (SCNdMAX): Likewise.
6532 [C99-based-standards] (SCNiMAX): Likewise.
6533 [C99-based-standards] (SCNoMAX): Likewise.
6534 [C99-based-standards] (SCNuMAX): Likewise.
6535 [C99-based-standards] (SCNxMAX): Likewise.
6536 [C99-based-standards] (PRIdPTR): Likewise.
6537 [C99-based-standards] (PRIiPTR): Likewise.
6538 [C99-based-standards] (PRIoPTR): Likewise.
6539 [C99-based-standards] (PRIuPTR): Likewise.
6540 [C99-based-standards] (PRIxPTR): Likewise.
6541 [C99-based-standards] (PRIXPTR): Likewise.
6542 [C99-based-standards] (SCNdPTR): Likewise.
6543 [C99-based-standards] (SCNiPTR): Likewise.
6544 [C99-based-standards] (SCNoPTR): Likewise.
6545 [C99-based-standards] (SCNuPTR): Likewise.
6546 [C99-based-standards] (SCNxPTR): Likewise.
6547 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
6549 * conform/data/stdint.h-data: Update comments to clarify
6551 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
6553 [C99-based standards] (INT8_MAX): Likewise.
6554 [C99-based standards] (INT16_MIN): Likewise.
6555 [C99-based standards] (INT16_MAX): Likewise.
6556 [C99-based standards] (INT32_MIN): Likewise.
6557 [C99-based standards] (INT32_MAX): Likewise.
6558 [C99-based standards] (INT64_MIN): Likewise.
6559 [C99-based standards] (INT64_MAX): Likewise.
6560 [C99-based standards] (UINT8_MAX): Likewise.
6561 [C99-based standards] (UINT16_MAX): Likewise.
6562 [C99-based standards] (UINT32_MAX): Likewise.
6563 [C99-based standards] (UINT64_MAX): Likewise.
6564 [C99-based standards] (INT_LEAST8_MIN): Likewise.
6565 [C99-based standards] (INT_LEAST8_MAX): Likewise.
6566 [C99-based standards] (INT_LEAST16_MIN): Likewise.
6567 [C99-based standards] (INT_LEAST16_MAX): Likewise.
6568 [C99-based standards] (INT_LEAST32_MIN): Likewise.
6569 [C99-based standards] (INT_LEAST32_MAX): Likewise.
6570 [C99-based standards] (INT_LEAST64_MIN): Likewise.
6571 [C99-based standards] (INT_LEAST64_MAX): Likewise.
6572 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
6573 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
6574 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
6575 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
6576 [C99-based standards] (INT_FAST8_MIN): Likewise.
6577 [C99-based standards] (INT_FAST8_MAX): Likewise.
6578 [C99-based standards] (INT_FAST16_MIN): Likewise.
6579 [C99-based standards] (INT_FAST16_MAX): Likewise.
6580 [C99-based standards] (INT_FAST32_MIN): Likewise.
6581 [C99-based standards] (INT_FAST32_MAX): Likewise.
6582 [C99-based standards] (INT_FAST64_MIN): Likewise.
6583 [C99-based standards] (INT_FAST64_MAX): Likewise.
6584 [C99-based standards] (UINT_FAST8_MAX): Likewise.
6585 [C99-based standards] (UINT_FAST16_MAX): Likewise.
6586 [C99-based standards] (UINT_FAST32_MAX): Likewise.
6587 [C99-based standards] (UINT_FAST64_MAX): Likewise.
6588 [C99-based standards] (INTPTR_MIN): Likewise.
6589 [C99-based standards] (INTPTR_MAX): Likewise.
6590 [C99-based standards] (UINTPTR_MAX): Likewise.
6591 [C99-based standards] (INTMAX_MIN): Likewise.
6592 [C99-based standards] (INTMAX_MAX): Likewise.
6593 [C99-based standards] (UINTMAX_MAX): Likewise.
6594 [C99-based standards] (PTRDIFF_MIN): Likewise.
6595 [C99-based standards] (PTRDIFF_MAX): Likewise.
6596 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
6597 [C99-based standards] (SIZE_MAX): Likewise.
6598 [C99-based standards] (WCHAR_MAX): Likewise.
6599 [C99-based standards] (WINT_MAX): Likewise.
6600 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
6601 constraint on value.
6602 [C99-based standards] (WCHAR_MIN): Likewise.
6603 [C99-based standards] (WINT_MIN): Likewise.
6604 [C99-based standards] (*_t): Allow.
6605 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
6606 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
6607 Include math.h-data and complex.h-data. Remove all expectations
6608 of math.h and complex.h contents.
6609 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
6611 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
6612 (struct tm): Expect tag.
6613 [C99-based-standards] (wcstof): Expect function.
6614 [C99-based-standards] (wcstold): Likewise.
6615 [C99-based-standards] (wcstoll): Likewise.
6616 [C99-based-standards] (wcstoull): Likewise.
6617 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
6618 macro-int-constant. Specify type.
6619 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
6620 constraint on value.
6621 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
6623 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
6625 [ISO C standards]: Do not allow headers.
6626 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
6627 wcs[abcdefghijklmnopqrstuvwxyz]*.
6628 [ISO C standards] (*_t): Do not allow.
6629 * conform/data/wctype.h-data [C99-based standards] (iswblank):
6631 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
6632 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
6634 [ISO C standards]: Do not allow headers.
6635 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
6636 is[abcdefghijklmnopqrstuvwxyz]*.
6637 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
6638 to[abcdefghijklmnopqrstuvwxyz]*.
6639 [ISO C standards] (*_t): Do not allow.
6640 * conform/data/stdalign.h-data: New file.
6641 * conform/data/stdbool.h-data: Likewise.
6642 * conform/data/stdnoreturn.h-data: Likewise.
6644 2012-11-07 Roland McGrath <roland@hack.frob.com>
6647 * manual/filesys.texi (Directory Entries): Typo fix.
6648 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
6650 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6652 * elf/elf.h (EM_AARCH64): New macro.
6653 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
6654 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
6655 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
6656 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
6657 (R_AARCH64_TLSDESC): Likewise.
6658 (NT_ARM_TLS): Likewise.
6659 (NT_ARM_HW_BREAK): Likewise.
6660 (NT_ARM_HW_WATCH): Likewise.
6662 2012-11-07 Joseph Myers <joseph@codesourcery.com>
6665 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
6666 (__ieee754_powl): Saturate nonzero exponents with absolute value
6667 below 0x1p-79 to +/- 0x1p-79.
6668 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
6669 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
6670 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
6671 nonzero exponents with absolute value below 0x1p-32 to +/-
6673 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
6674 (__ieee754_powl): Saturate nonzero exponents with absolute value
6675 below 0x1p-79 to +/- 0x1p-79.
6676 * math/libm-test.inc (pow_test): Add more tests.
6678 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6680 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
6681 _dl_s390_cap_flags with kernel. Increase string length.
6682 (_dl_s390_platforms): Add z196 and zEC12.
6684 2012-11-07 Joseph Myers <joseph@codesourcery.com>
6686 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
6687 Change XOPEN21K to XOPEN2K.
6689 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
6691 * string/memmove.c: Use memcpy when possible.
6693 2012-11-06 Andreas Jaeger <aj@suse.de>
6695 * po/eo.po: Update from translation team.
6697 2012-11-06 Joseph Myers <joseph@codesourcery.com>
6700 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
6701 exponent and small x and y exponents, scale x or y up. Increase
6702 by 2 the exponent used in scaling up.
6703 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6704 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6705 * math/libm-test.inc (fma_test): Add more tests.
6706 (fma_test_towardzero): Likewise.
6707 (fma_test_downward): Likewise.
6708 (fma_test_upward): Likewise.
6710 2012-11-05 Joseph Myers <joseph@codesourcery.com>
6713 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
6717 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
6718 namespace for names of struct fields.
6719 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
6721 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
6722 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
6724 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
6727 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
6729 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
6731 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
6735 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
6738 2012-11-04 Joseph Myers <joseph@codesourcery.com>
6741 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
6742 definitely overflow as x * y not x * y + z.
6743 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6744 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6745 * math/libm-test.inc (fma_test): Add more tests.
6746 (fma_test_towardzero): Likewise.
6747 (fma_test_downward): Likewise.
6748 (fma_test_upward): Likewise.
6750 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
6754 * include/stub-tag.h: Remove file.
6755 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
6757 * manual/maint.texi (Porting): Don't reference it.
6758 * Makerules ($(objpfx)stubs): Likewise.
6759 * dirent/closedir.c: Don't include <stub-tag.h>.
6760 * dirent/dirfd.c: Likewise.
6761 * dirent/fdopendir.c: Likewise.
6762 * dirent/getdents.c: Likewise.
6763 * dirent/getdents64.c: Likewise.
6764 * dirent/opendir.c: Likewise.
6765 * dirent/readdir.c: Likewise.
6766 * dirent/readdir64.c: Likewise.
6767 * dirent/readdir64_r.c: Likewise.
6768 * dirent/readdir_r.c: Likewise.
6769 * dirent/rewinddir.c: Likewise.
6770 * dirent/seekdir.c: Likewise.
6771 * dirent/telldir.c: Likewise.
6772 * gmon/profil.c: Likewise.
6773 * grp/setgroups.c: Likewise.
6774 * inet/if_index.c: Likewise.
6775 * io/access.c: Likewise.
6776 * io/chdir.c: Likewise.
6777 * io/chmod.c: Likewise.
6778 * io/chown.c: Likewise.
6779 * io/close.c: Likewise.
6780 * io/dup.c: Likewise.
6781 * io/dup2.c: Likewise.
6782 * io/dup3.c: Likewise.
6783 * io/euidaccess.c: Likewise.
6784 * io/faccessat.c: Likewise.
6785 * io/fchdir.c: Likewise.
6786 * io/fchmod.c: Likewise.
6787 * io/fchmodat.c: Likewise.
6788 * io/fchown.c: Likewise.
6789 * io/fchownat.c: Likewise.
6790 * io/fcntl.c: Likewise.
6791 * io/flock.c: Likewise.
6792 * io/fstatfs.c: Likewise.
6793 * io/fstatfs64.c: Likewise.
6794 * io/fstatvfs.c: Likewise.
6795 * io/fstatvfs64.c: Likewise.
6796 * io/futimens.c: Likewise.
6797 * io/fxstat.c: Likewise.
6798 * io/fxstat64.c: Likewise.
6799 * io/fxstatat.c: Likewise.
6800 * io/fxstatat64.c: Likewise.
6801 * io/getcwd.c: Likewise.
6802 * io/isatty.c: Likewise.
6803 * io/lchmod.c: Likewise.
6804 * io/lchown.c: Likewise.
6805 * io/link.c: Likewise.
6806 * io/linkat.c: Likewise.
6807 * io/lseek.c: Likewise.
6808 * io/lseek64.c: Likewise.
6809 * io/lxstat64.c: Likewise.
6810 * io/mkdir.c: Likewise.
6811 * io/mkdirat.c: Likewise.
6812 * io/mkfifo.c: Likewise.
6813 * io/mkfifoat.c: Likewise.
6814 * io/open.c: Likewise.
6815 * io/open64.c: Likewise.
6816 * io/openat.c: Likewise.
6817 * io/openat64.c: Likewise.
6818 * io/pipe.c: Likewise.
6819 * io/pipe2.c: Likewise.
6820 * io/poll.c: Likewise.
6821 * io/posix_fadvise.c: Likewise.
6822 * io/posix_fadvise64.c: Likewise.
6823 * io/posix_fallocate.c: Likewise.
6824 * io/posix_fallocate64.c: Likewise.
6825 * io/read.c: Likewise.
6826 * io/readlink.c: Likewise.
6827 * io/readlinkat.c: Likewise.
6828 * io/rmdir.c: Likewise.
6829 * io/sendfile.c: Likewise.
6830 * io/sendfile64.c: Likewise.
6831 * io/statfs.c: Likewise.
6832 * io/statfs64.c: Likewise.
6833 * io/statvfs.c: Likewise.
6834 * io/statvfs64.c: Likewise.
6835 * io/symlink.c: Likewise.
6836 * io/symlinkat.c: Likewise.
6837 * io/ttyname.c: Likewise.
6838 * io/ttyname_r.c: Likewise.
6839 * io/umask.c: Likewise.
6840 * io/unlink.c: Likewise.
6841 * io/unlinkat.c: Likewise.
6842 * io/utime.c: Likewise.
6843 * io/utimensat.c: Likewise.
6844 * io/write.c: Likewise.
6845 * io/xmknod.c: Likewise.
6846 * io/xmknodat.c: Likewise.
6847 * io/xstat.c: Likewise.
6848 * io/xstat64.c: Likewise.
6849 * login/getpt.c: Likewise.
6850 * login/grantpt.c: Likewise.
6851 * login/unlockpt.c: Likewise.
6852 * math/e_acoshl.c: Likewise.
6853 * math/e_acosl.c: Likewise.
6854 * math/e_asinl.c: Likewise.
6855 * math/e_atan2l.c: Likewise.
6856 * math/e_atanhl.c: Likewise.
6857 * math/e_coshl.c: Likewise.
6858 * math/e_expl.c: Likewise.
6859 * math/e_fmodl.c: Likewise.
6860 * math/e_gammal_r.c: Likewise.
6861 * math/e_hypotl.c: Likewise.
6862 * math/e_j0l.c: Likewise.
6863 * math/e_j1l.c: Likewise.
6864 * math/e_jnl.c: Likewise.
6865 * math/e_lgammal_r.c: Likewise.
6866 * math/e_log10l.c: Likewise.
6867 * math/e_log2l.c: Likewise.
6868 * math/e_logl.c: Likewise.
6869 * math/e_powl.c: Likewise.
6870 * math/e_rem_pio2l.c: Likewise.
6871 * math/e_sinhl.c: Likewise.
6872 * math/e_sqrtl.c: Likewise.
6873 * math/fclrexcpt.c: Likewise.
6874 * math/fedisblxcpt.c: Likewise.
6875 * math/feenablxcpt.c: Likewise.
6876 * math/fegetenv.c: Likewise.
6877 * math/fegetexcept.c: Likewise.
6878 * math/fegetround.c: Likewise.
6879 * math/feholdexcpt.c: Likewise.
6880 * math/fesetenv.c: Likewise.
6881 * math/fesetround.c: Likewise.
6882 * math/feupdateenv.c: Likewise.
6883 * math/fgetexcptflg.c: Likewise.
6884 * math/fraiseexcpt.c: Likewise.
6885 * math/fsetexcptflg.c: Likewise.
6886 * math/ftestexcept.c: Likewise.
6887 * math/k_cosl.c: Likewise.
6888 * math/k_rem_pio2l.c: Likewise.
6889 * math/k_sinl.c: Likewise.
6890 * math/k_tanl.c: Likewise.
6891 * math/s_asinhl.c: Likewise.
6892 * math/s_atanl.c: Likewise.
6893 * math/s_cbrtl.c: Likewise.
6894 * math/s_erfl.c: Likewise.
6895 * math/s_expm1l.c: Likewise.
6896 * math/s_log1pl.c: Likewise.
6897 * math/s_tanhl.c: Likewise.
6898 * misc/acct.c: Likewise.
6899 * misc/brk.c: Likewise.
6900 * misc/chflags.c: Likewise.
6901 * misc/chroot.c: Likewise.
6902 * misc/fchflags.c: Likewise.
6903 * misc/fgetxattr.c: Likewise.
6904 * misc/flistxattr.c: Likewise.
6905 * misc/fremovexattr.c: Likewise.
6906 * misc/fsetxattr.c: Likewise.
6907 * misc/fsync.c: Likewise.
6908 * misc/ftruncate.c: Likewise.
6909 * misc/futimes.c: Likewise.
6910 * misc/futimesat.c: Likewise.
6911 * misc/getdomain.c: Likewise.
6912 * misc/getdtsz.c: Likewise.
6913 * misc/gethostid.c: Likewise.
6914 * misc/gethostname.c: Likewise.
6915 * misc/getloadavg.c: Likewise.
6916 * misc/getpagesize.c: Likewise.
6917 * misc/getsysstats.c: Likewise.
6918 * misc/getxattr.c: Likewise.
6919 * misc/gtty.c: Likewise.
6920 * misc/ioctl.c: Likewise.
6921 * misc/lgetxattr.c: Likewise.
6922 * misc/listxattr.c: Likewise.
6923 * misc/llistxattr.c: Likewise.
6924 * misc/lremovexattr.c: Likewise.
6925 * misc/lsetxattr.c: Likewise.
6926 * misc/lutimes.c: Likewise.
6927 * misc/madvise.c: Likewise.
6928 * misc/mincore.c: Likewise.
6929 * misc/mlock.c: Likewise.
6930 * misc/mlockall.c: Likewise.
6931 * misc/mmap.c: Likewise.
6932 * misc/mprotect.c: Likewise.
6933 * misc/msync.c: Likewise.
6934 * misc/munlock.c: Likewise.
6935 * misc/munlockall.c: Likewise.
6936 * misc/munmap.c: Likewise.
6937 * misc/preadv.c: Likewise.
6938 * misc/preadv64.c: Likewise.
6939 * misc/ptrace.c: Likewise.
6940 * misc/pwritev.c: Likewise.
6941 * misc/pwritev64.c: Likewise.
6942 * misc/readv.c: Likewise.
6943 * misc/reboot.c: Likewise.
6944 * misc/remap_file_pages.c: Likewise.
6945 * misc/removexattr.c: Likewise.
6946 * misc/revoke.c: Likewise.
6947 * misc/select.c: Likewise.
6948 * misc/setdomain.c: Likewise.
6949 * misc/setegid.c: Likewise.
6950 * misc/seteuid.c: Likewise.
6951 * misc/sethostid.c: Likewise.
6952 * misc/sethostname.c: Likewise.
6953 * misc/setregid.c: Likewise.
6954 * misc/setreuid.c: Likewise.
6955 * misc/setxattr.c: Likewise.
6956 * misc/sstk.c: Likewise.
6957 * misc/stty.c: Likewise.
6958 * misc/swapoff.c: Likewise.
6959 * misc/swapon.c: Likewise.
6960 * misc/sync.c: Likewise.
6961 * misc/syncfs.c: Likewise.
6962 * misc/syscall.c: Likewise.
6963 * misc/truncate.c: Likewise.
6964 * misc/ualarm.c: Likewise.
6965 * misc/usleep.c: Likewise.
6966 * misc/ustat.c: Likewise.
6967 * misc/utimes.c: Likewise.
6968 * misc/vhangup.c: Likewise.
6969 * misc/writev.c: Likewise.
6970 * posix/_exit.c: Likewise.
6971 * posix/alarm.c: Likewise.
6972 * posix/execve.c: Likewise.
6973 * posix/fexecve.c: Likewise.
6974 * posix/fork.c: Likewise.
6975 * posix/fpathconf.c: Likewise.
6976 * posix/getaddrinfo.c: Likewise.
6977 * posix/getegid.c: Likewise.
6978 * posix/geteuid.c: Likewise.
6979 * posix/getgid.c: Likewise.
6980 * posix/getgroups.c: Likewise.
6981 * posix/getlogin.c: Likewise.
6982 * posix/getlogin_r.c: Likewise.
6983 * posix/getpgid.c: Likewise.
6984 * posix/getpid.c: Likewise.
6985 * posix/getppid.c: Likewise.
6986 * posix/getresgid.c: Likewise.
6987 * posix/getresuid.c: Likewise.
6988 * posix/getsid.c: Likewise.
6989 * posix/getuid.c: Likewise.
6990 * posix/glob64.c: Likewise.
6991 * posix/nanosleep.c: Likewise.
6992 * posix/pathconf.c: Likewise.
6993 * posix/pause.c: Likewise.
6994 * posix/posix_madvise.c: Likewise.
6995 * posix/pread.c: Likewise.
6996 * posix/pread64.c: Likewise.
6997 * posix/pwrite.c: Likewise.
6998 * posix/pwrite64.c: Likewise.
6999 * posix/sched_getaffinity.c: Likewise.
7000 * posix/sched_getp.c: Likewise.
7001 * posix/sched_gets.c: Likewise.
7002 * posix/sched_primax.c: Likewise.
7003 * posix/sched_primin.c: Likewise.
7004 * posix/sched_rr_gi.c: Likewise.
7005 * posix/sched_setaffinity.c: Likewise.
7006 * posix/sched_setp.c: Likewise.
7007 * posix/sched_sets.c: Likewise.
7008 * posix/sched_yield.c: Likewise.
7009 * posix/setgid.c: Likewise.
7010 * posix/setlogin.c: Likewise.
7011 * posix/setpgid.c: Likewise.
7012 * posix/setresgid.c: Likewise.
7013 * posix/setresuid.c: Likewise.
7014 * posix/setsid.c: Likewise.
7015 * posix/setuid.c: Likewise.
7016 * posix/sleep.c: Likewise.
7017 * posix/spawni.c: Likewise.
7018 * posix/sysconf.c: Likewise.
7019 * posix/times.c: Likewise.
7020 * posix/wait.c: Likewise.
7021 * posix/wait3.c: Likewise.
7022 * posix/wait4.c: Likewise.
7023 * posix/waitpid.c: Likewise.
7024 * resolv/gai_sigqueue.c: Likewise.
7025 * resource/getpriority.c: Likewise.
7026 * resource/getrlimit.c: Likewise.
7027 * resource/getrusage.c: Likewise.
7028 * resource/nice.c: Likewise.
7029 * resource/setpriority.c: Likewise.
7030 * resource/setrlimit.c: Likewise.
7031 * resource/ulimit.c: Likewise.
7032 * rt/aio_cancel.c: Likewise.
7033 * rt/aio_fsync.c: Likewise.
7034 * rt/aio_read.c: Likewise.
7035 * rt/aio_sigqueue.c: Likewise.
7036 * rt/aio_suspend.c: Likewise.
7037 * rt/aio_write.c: Likewise.
7038 * rt/clock_getres.c: Likewise.
7039 * rt/clock_gettime.c: Likewise.
7040 * rt/clock_nanosleep.c: Likewise.
7041 * rt/clock_settime.c: Likewise.
7042 * rt/lio_listio.c: Likewise.
7043 * rt/mq_close.c: Likewise.
7044 * rt/mq_getattr.c: Likewise.
7045 * rt/mq_notify.c: Likewise.
7046 * rt/mq_open.c: Likewise.
7047 * rt/mq_receive.c: Likewise.
7048 * rt/mq_send.c: Likewise.
7049 * rt/mq_setattr.c: Likewise.
7050 * rt/mq_timedreceive.c: Likewise.
7051 * rt/mq_timedsend.c: Likewise.
7052 * rt/mq_unlink.c: Likewise.
7053 * rt/shm_open.c: Likewise.
7054 * rt/shm_unlink.c: Likewise.
7055 * rt/timer_create.c: Likewise.
7056 * rt/timer_delete.c: Likewise.
7057 * rt/timer_getoverr.c: Likewise.
7058 * rt/timer_gettime.c: Likewise.
7059 * rt/timer_settime.c: Likewise.
7060 * setjmp/__longjmp.c: Likewise.
7061 * setjmp/setjmp.c: Likewise.
7062 * signal/kill.c: Likewise.
7063 * signal/killpg.c: Likewise.
7064 * signal/raise.c: Likewise.
7065 * signal/sigaction.c: Likewise.
7066 * signal/sigaltstack.c: Likewise.
7067 * signal/sigblock.c: Likewise.
7068 * signal/sigignore.c: Likewise.
7069 * signal/sigintr.c: Likewise.
7070 * signal/signal.c: Likewise.
7071 * signal/sigpause.c: Likewise.
7072 * signal/sigpending.c: Likewise.
7073 * signal/sigqueue.c: Likewise.
7074 * signal/sigreturn.c: Likewise.
7075 * signal/sigset.c: Likewise.
7076 * signal/sigsetmask.c: Likewise.
7077 * signal/sigstack.c: Likewise.
7078 * signal/sigsuspend.c: Likewise.
7079 * signal/sigtimedwait.c: Likewise.
7080 * signal/sigvec.c: Likewise.
7081 * signal/sigwait.c: Likewise.
7082 * signal/sigwaitinfo.c: Likewise.
7083 * signal/sysv_signal.c: Likewise.
7084 * socket/accept.c: Likewise.
7085 * socket/accept4.c: Likewise.
7086 * socket/bind.c: Likewise.
7087 * socket/connect.c: Likewise.
7088 * socket/getpeername.c: Likewise.
7089 * socket/getsockname.c: Likewise.
7090 * socket/getsockopt.c: Likewise.
7091 * socket/isfdtype.c: Likewise.
7092 * socket/listen.c: Likewise.
7093 * socket/recv.c: Likewise.
7094 * socket/recvfrom.c: Likewise.
7095 * socket/recvmsg.c: Likewise.
7096 * socket/send.c: Likewise.
7097 * socket/sendmsg.c: Likewise.
7098 * socket/sendto.c: Likewise.
7099 * socket/setsockopt.c: Likewise.
7100 * socket/shutdown.c: Likewise.
7101 * socket/sockatmark.c: Likewise.
7102 * socket/socket.c: Likewise.
7103 * socket/socketpair.c: Likewise.
7104 * stdio-common/ctermid.c: Likewise.
7105 * stdio-common/cuserid.c: Likewise.
7106 * stdio-common/remove.c: Likewise.
7107 * stdio-common/rename.c: Likewise.
7108 * stdio-common/renameat.c: Likewise.
7109 * stdio-common/tempname.c: Likewise.
7110 * stdlib/getcontext.c: Likewise.
7111 * stdlib/makecontext.c: Likewise.
7112 * stdlib/setcontext.c: Likewise.
7113 * stdlib/swapcontext.c: Likewise.
7114 * stdlib/system.c: Likewise.
7115 * streams/fattach.c: Likewise.
7116 * streams/fdetach.c: Likewise.
7117 * streams/getmsg.c: Likewise.
7118 * streams/getpmsg.c: Likewise.
7119 * streams/putmsg.c: Likewise.
7120 * streams/putpmsg.c: Likewise.
7121 * sysdeps/unix/bsd/getpt.c: Likewise.
7122 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
7123 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
7124 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
7125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
7127 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
7128 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
7129 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
7130 * sysvipc/msgctl.c: Likewise.
7131 * sysvipc/msgget.c: Likewise.
7132 * sysvipc/msgrcv.c: Likewise.
7133 * sysvipc/msgsnd.c: Likewise.
7134 * sysvipc/semctl.c: Likewise.
7135 * sysvipc/semget.c: Likewise.
7136 * sysvipc/semop.c: Likewise.
7137 * sysvipc/semtimedop.c: Likewise.
7138 * sysvipc/shmat.c: Likewise.
7139 * sysvipc/shmctl.c: Likewise.
7140 * sysvipc/shmdt.c: Likewise.
7141 * sysvipc/shmget.c: Likewise.
7142 * termios/tcdrain.c: Likewise.
7143 * termios/tcflow.c: Likewise.
7144 * termios/tcflush.c: Likewise.
7145 * termios/tcgetattr.c: Likewise.
7146 * termios/tcgetpgrp.c: Likewise.
7147 * termios/tcsendbrk.c: Likewise.
7148 * termios/tcsetattr.c: Likewise.
7149 * termios/tcsetpgrp.c: Likewise.
7150 * time/adjtime.c: Likewise.
7151 * time/clock.c: Likewise.
7152 * time/getitimer.c: Likewise.
7153 * time/gettimeofday.c: Likewise.
7154 * time/setitimer.c: Likewise.
7155 * time/settimeofday.c: Likewise.
7156 * time/stime.c: Likewise.
7157 * time/time.c: Likewise.
7159 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
7161 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
7164 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
7166 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
7168 2012-11-03 Joseph Myers <joseph@codesourcery.com>
7171 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
7172 FE_TONEAREST before applying Dekker multiplication and Knuth
7173 addition. Clear inexact exceptions and check for exact zero
7175 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7176 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
7177 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7178 * math/libm-test.inc (fma_test): Add more tests.
7179 (fma_test_towardzero): Likewise.
7180 (fma_test_downward): Likewise.
7181 (fma_test_upward): Likewise.
7182 * sysdeps/generic/math_private.h (default_libc_fesetround): New
7184 (libc_fesetround): New macro.
7185 (libc_fesetroundf): Likewise.
7186 (libc_fesetroundl): Likewise.
7187 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
7189 (libc_fesetround_387): Likewise.
7190 (libc_fesetroundf): New macro.
7191 (libc_fesetround): Likewise.
7192 (libc_fesetroundl): Likewise.
7193 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
7195 (libc_fesetroundf): New macro.
7196 (libc_fesetround): Likewise.
7197 (libc_fesetroundl): Likewise.
7198 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
7199 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
7200 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
7202 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
7203 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
7205 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
7206 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
7208 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
7212 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
7213 integer constant usable in #if and use that to give value to enum
7215 (FE_DIVBYZERO): Likewise.
7216 (FE_UNDERFLOW): Likewise.
7217 (FE_OVERFLOW): Likewise.
7218 (FE_INVALID): Likewise.
7219 (FE_INVALID_SNAN): Likewise.
7220 (FE_INVALID_ISI): Likewise.
7221 (FE_INVALID_IDI): Likewise.
7222 (FE_INVALID_ZDZ): Likewise.
7223 (FE_INVALID_IMZ): Likewise.
7224 (FE_INVALID_COMPARE): Likewise.
7225 (FE_INVALID_SOFTWARE): Likewise.
7226 (FE_INVALID_SQRT): Likewise.
7227 (FE_INVALID_INTEGER_CONVERSION): Likewise.
7228 (FE_TONEAREST): Likewise.
7229 (FE_TOWARDZERO): Likewise.
7230 (FE_UPWARD): Likewise.
7231 (FE_DOWNWARD): Likewise.
7232 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
7233 (FE_DIVBYZERO): Likewise.
7234 (FE_OVERFLOW): Likewise.
7235 (FE_UNDERFLOW): Likewise.
7236 (FE_INEXACT): Likewise.
7237 (FE_TONEAREST): Likewise.
7238 (FE_DOWNWARD): Likewise.
7239 (FE_UPWARD): Likewise.
7240 (FE_TOWARDZERO): Likewise.
7241 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
7242 (FE_UNDERFLOW): Likewise.
7243 (FE_OVERFLOW): Likewise.
7244 (FE_DIVBYZERO): Likewise.
7245 (FE_INVALID): Likewise.
7246 (FE_TONEAREST): Likewise.
7247 (FE_TOWARDZERO): Likewise.
7248 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
7249 (FE_OVERFLOW): Likewise.
7250 (FE_UNDERFLOW): Likewise.
7251 (FE_DIVBYZERO): Likewise.
7252 (FE_INEXACT): Likewise.
7253 (FE_TONEAREST): Likewise.
7254 (FE_TOWARDZERO): Likewise.
7255 (FE_UPWARD): Likewise.
7256 (FE_DOWNWARD): Likewise.
7257 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
7258 (FE_DIVBYZERO): Likewise.
7259 (FE_OVERFLOW): Likewise.
7260 (FE_UNDERFLOW): Likewise.
7261 (FE_INEXACT): Likewise.
7262 (FE_TONEAREST): Likewise.
7263 (FE_DOWNWARD): Likewise.
7264 (FE_UPWARD): Likewise.
7265 (FE_TOWARDZERO): Likewise.
7267 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
7269 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
7271 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
7273 * scripts/cross-test-ssh.sh (command): Use newlines to separate
7274 commands. Quote $PWD.
7275 (blacklist_exports): Don't use remove_newlines. Replace "declare
7277 (remove_newlines): Remove.
7279 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
7281 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
7282 * stdlib/stdlib.h (atof): Moved to ...
7283 * include/bits/stdlib-float.h: Here. New file.
7284 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
7285 * stdlib/bits/stdlib-float.h: New file.
7286 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
7288 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
7291 2012-11-02 Joseph Myers <joseph@codesourcery.com>
7293 * conform/conformtest.pl (@headers): Add fenv.h.
7294 * conform/data/fenv.h-data: New file.
7295 * include/fenv.h [_ISOMAC]: Disable all contents of file except
7296 include of <math/fenv.h>.
7298 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
7299 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
7300 && !UNIX98]. Enables tests for XOPEN2K8.
7301 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
7302 POSIX2008]: Likewise.
7304 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
7305 (struct rusage): Do not expect type or its members.
7308 * math/math.h (FP_NAN): Define macro to integer constant usable in
7309 #if and use that to give value to enum constant.
7310 (FP_INFINITE): Likewise.
7311 (FP_ZERO): Likewise.
7312 (FP_SUBNORMAL): Likewise.
7313 (FP_NORMAL): Likewise.
7315 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
7317 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
7318 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
7321 2012-11-02 Roland McGrath <roland@hack.frob.com>
7323 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
7324 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
7325 autoconf-time if not.
7326 * configure.in: Remove AC_PREREQ.
7328 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7330 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
7331 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
7332 of the internal implementation.
7334 2012-11-02 Joseph Myers <joseph@codesourcery.com>
7336 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
7337 except include of <misc/sys/syslog.h>.
7339 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
7341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
7342 function returns with a NULL context exit with zero.
7344 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7346 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
7348 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
7350 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
7351 (run_program_cmd): This.
7352 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
7353 (tst_langinfo): New variable. Use it.
7355 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
7357 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
7358 floating point opcodes.
7360 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
7362 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
7365 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
7367 * sysdeps/mach/hurd/powerpc: Remove directory.
7368 * sysdeps/mach/powerpc: Likewise.
7370 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
7372 * scripts/check-local-headers.sh: Ignore c++ headers.
7374 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
7376 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
7377 __libc_cleanup_region_start argument.
7379 2012-11-01 Joseph Myers <joseph@codesourcery.com>
7383 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
7384 x * y using scaling, not as x * y + z.
7385 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7386 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7387 * math/libm-test.inc (fma_test): Add more tests.
7388 (fma_test_towardzero): Likewise.
7389 (fma_test_downward): Likewise.
7390 (fma_test_upward): Likewise.
7392 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
7394 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
7396 2012-10-31 Joseph Myers <joseph@codesourcery.com>
7398 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
7401 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
7403 * rt/tst-shm.c (worker): Correct checking for mmap failure.
7405 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
7407 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7409 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7412 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7414 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7415 Fix the order of the list for glibc 2.17.
7416 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7419 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
7421 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7423 2012-10-31 Joseph Myers <joseph@codesourcery.com>
7426 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
7427 for low part of x being zero before using __atanl (y).
7428 * math/libm-test.inc (atan2_test): Add another test.
7430 * manual/install.texi (Configuring and compiling): Document
7431 general use of test-wrapper and test-wrapper-env.
7432 * INSTALL: Regenerated.
7434 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
7435 (__fma): Do not extract and scale down low bits on after-rounding
7436 systems when result rounded to normal precision would have normal
7438 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
7439 (__fmal): Do not extract and scale down low bits on after-rounding
7440 systems when result rounded to normal precision would have normal
7442 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
7443 (__fmal): Do not extract and scale down low bits on after-rounding
7444 systems when result rounded to normal precision would have normal
7446 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
7448 (fma_test): Add more tests.
7449 (fma_test_towardzero): Likewise.
7450 (fma_test_downward): Likewise.
7451 (fma_test_upward): Likewise.
7453 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
7455 * sysdeps/i386/tininess.h: Renamed to ...
7456 * sysdeps/x86/tininess.h: This.
7457 * sysdeps/x86_64/tininess.h: Removed.
7459 2012-10-30 Joseph Myers <joseph@codesourcery.com>
7461 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
7462 input. Use $(build-program-cmd).
7463 ($(objpfx)tst-array1-static.out): Likewise.
7464 ($(objpfx)tst-array2.out): Likewise.
7465 ($(objpfx)tst-array3.out): Likewise.
7466 ($(objpfx)tst-array4.out): Likewise.
7467 ($(objpfx)tst-array5.out): Likewise.
7468 ($(objpfx)tst-array5-static.out): Likewise.
7470 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
7472 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
7475 * nss/nsswitch.h (nss_interface_function): Provide new
7476 macro for use with NSS functions.
7477 * grp/initgroups.c: Use new macro.
7478 * nss/getXXbyYY.c: Likewise.
7479 * nss/getXXbyYY_r.c: Likewise.
7480 * nss/getXXent.c: Likewise.
7481 * nss/getXXent_r.c: Likewise.
7482 * sysdeps/posix/getaddrinfo.c: Likewise.
7484 2012-10-30 Andreas Jaeger <aj@suse.de>
7486 * po/ru.po: Update Russion translation from translation project.
7488 2012-10-30 Joseph Myers <joseph@codesourcery.com>
7492 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
7493 result and shift together with sticky bit instead of replicating
7494 round-to-nearest rounding.
7495 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7496 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7497 * math/libm-test.inc (fma_test): Add more tests. Do not permit
7498 missing underflow exceptions.
7499 (fma_test_towardzero): Add more tests.
7500 (fma_test_downward): Likewise.
7501 (fma_test_upward): Likewise.
7504 * sysdeps/generic/tininess.h: New file.
7505 * sysdeps/i386/tininess.h: Likewise.
7506 * sysdeps/sh/tininess.h: Likewise.
7507 * sysdeps/x86_64/tininess.h: Likewise.
7508 * stdlib/tst-strtod-underflow.c: Likewise.
7509 * stdlib/tst-tininess.c: Likewise.
7510 * stdlib/strtod_l.c: Include <tininess.h>.
7511 (round_and_return): Do not set errno for exact underflow cases.
7512 Force an underflow exception when setting errno for underflow.
7513 Determine underflow based on rounding to normal precision if
7514 TININESS_AFTER_ROUNDING.
7515 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
7516 ERANGE for exact underflow cases.
7517 * stdlib/Makefile (tests): Add tst-tininess and
7518 tst-strtod-underflow.
7519 ($(objpfx)tst-tininess): Use $(link-libm).
7520 ($(objpfx)tst-strtod-underflow): Likewise.
7522 2012-10-30 Andreas Jaeger <aj@suse.de>
7525 * elf/Makefile (tests): Remove conditional for have-initfini-array
7526 since this is now always required and the variable does not exist
7528 (tests-static): Likewise.
7529 (modules-names): Likewise.
7531 * po/eo.po: Add Esperanto translation from translation project.
7533 * elf/tst-array1.c (fini_array): Make writeable so that it can be
7534 merged with constructor/destructor.
7535 (init_array): Likewise.
7536 * elf/tst-array2dep.c (fini_array): Likewise.
7537 (init_array): Likewise.
7539 2012-10-29 Mike Frysinger <vapier@gentoo.org>
7541 * manual/message.texi: Delete @cartouche tags.
7543 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
7545 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
7547 * sysdeps/mach/hurd/fsync.c: Likewise.
7549 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
7550 [_POSIX_REALTIME_SIGNALS]: Change condition to
7551 [_POSIX_REALTIME_SIGNALS > 0].
7553 2012-10-27 Andreas Jaeger <aj@suse.de>
7555 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
7556 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
7557 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
7558 [__WORDSIZE != 64]: Likewise.
7560 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
7562 * iconvdata/tst-table.sh: Remove ${SHELL}.
7563 * iconvdata/tst-tables.sh: Likewise.
7565 2012-10-25 David S. Miller <davem@davemloft.net>
7567 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7568 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
7571 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
7573 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
7574 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
7575 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
7578 2012-10-25 Roland McGrath <roland@hack.frob.com>
7580 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7581 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
7584 2012-10-25 Joseph Myers <joseph@codesourcery.com>
7585 Jim Blandy <jimb@codesourcery.com>
7587 * scripts/cross-test-ssh.sh: New file.
7588 * manual/install.texi (Configuring and compiling): Document use of
7590 * INSTALL: Regenerated.
7592 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
7594 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
7597 2012-10-25 Joseph Myers <joseph@codesourcery.com>
7599 * Makeconfig (run-program-prefix): Fix comment.
7601 2012-10-24 Joseph Myers <joseph@codesourcery.com>
7602 Jim Blandy <jimb@codesourcery.com>
7604 * Makeconfig (test-wrapper): New variable,
7605 (test-wrapper-env): Likewise.
7606 [$(cross-compiling) = yes && $(test-wrapper) != ""]
7607 (run-built-tests): Define to yes.
7608 (run-program-prefix): Use $(test-wrapper).
7609 (built-program-cmd): Likewise.
7610 * Rules (make-test-out): Use $(test-wrapper-env) and
7611 $(host-built-program-cmd).
7612 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
7613 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
7615 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
7616 $(test-wrapper-env) to tst-rtld-load-self.sh.
7617 ($(objpfx)order2.out): Use $(test-wrapper).
7618 ($(objpfx)tst-initorder.out): Likewise.
7619 ($(objpfx)tst-initorder2.out): Likewise.
7620 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
7621 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
7622 (test_wrapper_env): New variable. Use it to run ld.so.
7623 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
7624 Use it to run ld.so.
7625 (test_wrapper_env): Likewise.
7626 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
7627 $(test-wrapper) to run-iconv-test.sh.
7628 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
7629 (ICONV): Use $test_wrapper.
7630 * posix/Makefile ($(objpfx)globtest.out): Pass
7631 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
7632 globtest.sh, not $(run-program-prefix).
7633 * posix/globtest.sh (run_via_rtld_prefix): New variable.
7634 (test_wrapper): Likewise.
7635 (test_wrapper_env): Likewise. Use it to run globtest with HOME
7636 set together with run_via_rtld_prefix.
7637 (run_program_prefix): Define in terms of test_wrapper and
7638 run_via_rtld_prefix.
7640 2012-10-24 Roland McGrath <roland@hack.frob.com>
7642 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
7643 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
7647 * include/time.h: Remove librt_hidden_proto (clock_gettime).
7648 Declare __clock_getres, __clock_gettime, __clock_settime,
7649 __clock_nanosleep, and __clock_getcpuclockid.
7650 * rt/clock_gettime.c: Define __clock_gettime as an alias.
7651 Remove librt_hidden_def (clock_gettime).
7652 * sysdeps/unix/clock_gettime.c: Likewise.
7653 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
7654 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
7655 * rt/clock_getres.c: Define __clock_getres as an alias.
7656 * sysdeps/posix/clock_getres.c: Likewise.
7657 * rt/clock_settime.c: Define __clock_settime as an alias.
7658 * sysdeps/unix/clock_settime.c: Likewise.
7659 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
7660 * sysdeps/unix/clock_nanosleep.c: Likewise.
7661 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
7662 * rt/clock-compat.c: New file.
7663 * rt/Makefile (librt-routines): Add clock-compat and move
7664 $(clock-routines) to ...
7665 (routines): ... here, new variable.
7666 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
7667 Don't add get_clockfreq here.
7668 * rt/Versions (libc: GLIBC_2.17): New version set.
7669 Add clock_* symbols here.
7670 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
7671 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
7672 (GLIBC_2.17): Add clock_* symbols.
7673 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
7674 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
7675 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
7676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7678 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7680 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
7681 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
7682 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
7683 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
7684 * NEWS: Mention the move.
7686 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
7687 Use __open, __read, __close rather than their public counterparts.
7688 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7689 (__get_clockfreq_via_cpuinfo): Likewise.
7690 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
7691 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
7693 * config.h.in (HAVE_IFUNC): New #undef.
7694 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
7696 * configure: Regenerated.
7698 2012-10-24 Mike Frysinger <vapier@gentoo.org>
7700 * configure.in: Move READELF check to start of file.
7701 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
7702 libc_cv_asm_gnu_indirect_function in the process.
7703 * configure: Regenerated.
7705 2012-10-24 Mike Frysinger <vapier@gentoo.org>
7707 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
7708 send the output to /dev/null.
7709 (libc_cv_cc_with_libunwind): Likewise.
7710 (libc_cv_as_noexecstack): Likewise.
7711 * configure: Regenerate.
7713 2012-10-24 Joseph Myers <joseph@codesourcery.com>
7715 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
7717 * posix/globtest.sh (TMPDIR): Do not set.
7718 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
7719 (testout): Likewise.
7721 2012-10-24 Andreas Jaeger <aj@suse.de>
7723 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
7724 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
7725 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
7726 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
7727 posix_fadvise64, posix_fallocate64.
7729 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
7730 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
7731 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
7733 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
7735 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
7737 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
7738 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
7739 <bits/fcntl-linux.h>.
7740 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
7742 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
7743 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
7744 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
7745 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
7746 [__WORDSIZE != 64]: Likewise.
7748 2012-10-23 Joseph Myers <joseph@codesourcery.com>
7750 * Makeconfig (run-built-tests): New variable.
7751 * Rules [$(cross-compiling) = yes]: Change condition to
7752 [$(run-built-tests) = no].
7753 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
7754 to [$(run-built-tests) = yes].
7755 * elf/Makefile [$(cross-compiling) = no]: Likewise
7756 * grp/Makefile [$(cross-compiling) = no]: Likewise.
7757 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
7758 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
7759 * intl/Makefile [$(cross-compiling) = no]: Likewise.
7760 * io/Makefile [$(cross-compiling) = no]: Likewise.
7761 * libio/Makefile [$(cross-compiling) = no]: Likewise.
7762 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
7763 * misc/Makefile [$(cross-compiling) = no]: Likewise.
7764 * posix/Makefile [$(cross-compiling) = no]: Likewise.
7765 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
7766 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
7767 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
7768 * string/Makefile [$(cross-compiling) = no]: Likewise.
7770 * posix/Makefile ($(objpfx)globtest.out): Pass
7771 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
7772 $(rtld-installed-name).
7773 * posix/globtest.sh (elf_objpfx): Remove variable.
7774 (rtld_installed_name): Likewise.
7775 (library_path): Likewise.
7776 (run_program_prefix): New variable. Use for running globtest
7779 2012-10-23 Jim Blandy <jimb@codesourcery.com>
7780 Joseph Myers <joseph@codesourcery.com>
7782 * Makeconfig (host-built-program-cmd): New variable.
7783 * elf/Makefile (tst-stackguard1-ARGS): Use
7784 $(host-built-program-cmd).
7785 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
7786 (tst-spawn-ARGS): Likewise.
7787 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
7789 2012-10-23 Joseph Myers <joseph@codesourcery.com>
7790 Jim Blandy <jimb@codesourcery.com>
7792 * Makeconfig (run-via-rtld-prefix): New variable.
7793 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
7794 (built-program-cmd): Likewise.
7796 2012-10-22 Andreas Jaeger <aj@suse.de>
7798 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
7799 __O_RSYNC if it exists, otherwise to O_SYNC.
7801 2012-10-22 Jim Blandy <jimb@codesourcery.com>
7802 Joseph Myers <joseph@codesourcery.com>
7804 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
7806 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
7808 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
7811 2012-10-22 Andreas Jaeger <aj@suse.de>
7813 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
7815 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
7817 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7820 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
7821 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
7823 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
7825 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
7828 2012-10-21 Jim Blandy <jimb@codesourcery.com>
7829 Joseph Myers <joseph@codesourcery.com>
7831 * config.make.in (NM): New variable.
7833 2012-10-21 Andreas Jaeger <aj@suse.de>
7835 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
7836 definitions and declarations that are provided by
7837 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
7839 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
7842 * elf/Makefile (tests-static): Add tst-leaks1-static.
7843 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
7844 ($(objpfx)tst-leaks1-static): New rule.
7845 ($(objpfx)tst-leaks1-static-mem): Likewise.
7846 (tst-leaks1-static-ENV): New macro.
7847 * elf/dl-open.c (dl_open_worker): Check the main application
7848 only if SHARED is defined.
7849 * elf/tst-leaks1-static.c: New file.
7851 2012-10-20 Andreas Jaeger <aj@suse.de>
7853 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
7854 generic values for Linux.
7855 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
7856 and declarations that are provided by <bits/fcntl-linux.h> and
7857 include <bits/fcntl-linux.h>.
7858 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
7859 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
7861 2012-10-20 Roland McGrath <roland@hack.frob.com>
7863 * io/fcntl.h: Move include of <bits/types.h> to the top and
7864 include it unconditionally.
7866 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
7868 * wcsmbs/Makefile (tests-ifunc): New variable.
7869 (tests): Add $(tests-ifunc).
7870 * wcsmbs/test-wcschr-ifunc.c: New file.
7871 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
7872 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
7873 * wcsmbs/test-wcslen-ifunc.c: Likewise.
7874 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
7875 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
7877 * string/Makefile (tests-ifunc): New variable.
7878 (tests): Add $(tests-ifunc).
7879 * string/test-memccpy.c (TEST_NAME): New macro.
7880 * string/test-memchr.c (TEST_NAME): Likewise.
7881 * string/test-memcmp.c (TEST_NAME): Likewise.
7882 * string/test-memcpy.c (TEST_NAME): Likewise.
7883 * string/test-memmem.c (TEST_NAME): Likewise.
7884 * string/test-memmove.c (TEST_NAME): Likewise.
7885 * string/test-memset.c (TEST_NAME): Likewise.
7886 * string/test-rawmemchr.c (TEST_NAME): Likewise.
7887 * string/test-stpcpy.c (TEST_NAME): Likewise.
7888 * string/test-stpncpy.c (TEST_NAME): Likewise.
7889 * string/test-strcasecmp.c (TEST_NAME): Likewise.
7890 * string/test-strcasestr.c (TEST_NAME): Likewise.
7891 * string/test-strcat.c (TEST_NAME): Likewise.
7892 * string/test-strchr.c (TEST_NAME): Likewise.
7893 * string/test-strcmp.c(TEST_NAME): Likewise.
7894 * string/test-strcpy.c (TEST_NAME): Likewise.
7895 * string/test-strcspn.c (TEST_NAME): Likewise.
7896 * string/test-strlen.c (TEST_NAME): Likewise.
7897 * string/test-strncasecmp.c (TEST_NAME): Likewise.
7898 * string/test-strncmp.c (TEST_NAME): Likewise.
7899 * string/test-strncpy.c (TEST_NAME): Likewise.
7900 * string/test-strnlen.c (TEST_NAME): Likewise.
7901 * string/test-strpbrk.c (TEST_NAME): Likewise.
7902 * string/test-strrchr.c (TEST_NAME): Likewise.
7903 * string/test-strspn.c (TEST_NAME): Likewise.
7904 * string/test-strstr.c (TEST_NAME): Likewise.
7905 * string/test-bcopy-ifunc.c: New file.
7906 * string/test-bzero-ifunc.c: Likewise.
7907 * string/test-memccpy-ifunc.c: Likewise.
7908 * string/test-memchr-ifunc.c: Likewise.
7909 * string/test-memcmp-ifunc.c: Likewise.
7910 * string/test-memcpy-ifunc.c: Likewise.
7911 * string/test-memmem-ifunc.c: Likewise.
7912 * string/test-memmove-ifunc.c: Likewise.
7913 * string/test-mempcpy-ifunc.c: Likewise.
7914 * string/test-memset-ifunc.c: Likewise.
7915 * string/test-rawmemchr-ifunc.c: Likewise.
7916 * string/test-stpcpy-ifunc.c: Likewise.
7917 * string/test-stpncpy-ifunc.c: Likewise.
7918 * string/test-strcasecmp-ifunc.c: Likewise.
7919 * string/test-strcasestr-ifunc.c: Likewise.
7920 * string/test-strcat-ifunc.c: Likewise.
7921 * string/test-strchr-ifunc.c: Likewise.
7922 * string/test-strchrnul-ifunc.c: Likewise.
7923 * string/test-strcmp-ifunc.c: Likewise.
7924 * string/test-strcpy-ifunc.c: Likewise.
7925 * string/test-strcspn-ifunc.c: Likewise.
7926 * string/test-strlen-ifunc.c: Likewise.
7927 * string/test-strncasecmp-ifunc.c: Likewise.
7928 * string/test-strncat-ifunc.c: Likewise.
7929 * string/test-strncmp-ifunc.c: Likewise.
7930 * string/test-strncpy-ifunc.c: Likewise.
7931 * string/test-strnlen-ifunc.c: Likewise.
7932 * string/test-strpbrk-ifunc.c: Likewise.
7933 * string/test-strrchr-ifunc.c: Likewise.
7934 * string/test-strspn-ifunc.c: Likewise.
7935 * string/test-strstr-ifunc.c: Likewise.
7937 * debug/Makefile (tests-ifunc): New variable.
7938 (tests): Add $(tests-ifunc).
7939 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
7940 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
7941 * debug/test-stpcpy_chk-ifunc.c: New file.
7942 * debug/test-strcpy_chk-ifunc.c: Likewise.
7944 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
7947 * elf/dl-load.c (open_verify): Retry read if the entire ELF
7948 header is not read in.
7950 2012-10-19 Joseph Myers <joseph@codesourcery.com>
7952 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
7953 script to $(SHELL) as $<. Pass $(common-objpfx) to script
7954 directly. Pass built executable to script as
7955 $(built-program-cmd).
7956 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
7957 $testprogram without using LD_LIBRARY_PATH and $ldso.
7959 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
7960 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
7961 $(rtld-installed-name).
7962 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
7963 (rtld_installed_name): Likewise.
7964 (library_path): Likewise.
7965 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
7966 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
7967 $(run-program-prefix) to tst-tables.sh.
7968 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
7969 it to run tst-table-from and tst-table-to.
7970 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
7971 Pass it to tst-table.sh.
7972 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
7973 $(run-program-prefix) to tst-gettext.sh.
7974 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
7976 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
7978 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
7980 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
7981 to run tst-gettext2.
7982 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
7983 to run tst-translit.
7984 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
7985 $(run-program-prefix) to tst-mtrace.sh.
7986 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
7988 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
7989 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
7990 $(rtld-installed-name).
7991 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
7992 (rtld_installed_name): Likewise.
7993 (run_program_prefix): New variable. Use it to run wordexp-test.
7995 * Makeconfig (ARCH): Remove all definitions.
7996 (machine): Likewise.
7997 [ARCH]: Remove conditional code.
7998 [!objdir]: Give error.
7999 [!objdir] (objpfx): Remove.
8000 [!objdir] (common-objpfx): Likewise.
8001 [!objdir] (common-objdir): Likewise.
8002 * configure.in (config_makefile): Remove. Hardcode Makefile in
8003 AC_CONFIG_FILES call.
8004 * configure: Regenerated.
8007 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
8009 (testout): Likewise.
8011 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
8012 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
8013 $(rtld-installed-name).
8014 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
8015 (rtld_installed_name): Likwise.
8016 (runit): Remove function.
8017 (run_getconf): New variable, Use it for running getconf binary.
8019 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
8022 * string/test-memmem.c (check_result): New function.
8023 (do_one_test): Use it.
8024 (check1): New function.
8025 (test_main): Use it.
8027 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
8029 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
8031 2012-10-18 Joseph Myers <joseph@codesourcery.com>
8033 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
8034 (_G_LSEEK64): Likewise.
8035 (_G_MMAP64): Likewise.
8036 (_G_FSTAT64): Likewise.
8037 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
8038 (_G_LSEEK64): Likewise.
8039 (_G_MMAP64): Likewise.
8040 (_G_FSTAT64): Likewise.
8041 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
8042 unconditional. Call __mmap64 directly.
8043 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
8044 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
8046 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
8047 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
8049 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
8050 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
8052 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
8053 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
8055 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
8056 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
8058 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
8059 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
8060 __fxstat64 directly.
8061 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
8062 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
8064 (freopen64) [!_G_OPEN64]: Remove conditional code.
8065 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
8067 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
8068 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
8070 (ftello64) [!_G_LSEEK64]: Remove conditional code.
8071 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
8073 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
8074 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
8076 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
8077 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
8079 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
8080 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
8082 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
8083 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
8085 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
8087 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
8090 * manual/memory.texi (Malloc Tunable Parameters): Add note
8091 about free list pointers overwriting some perturb bytes.
8092 Wording suggested by Roland McGrath.
8094 2012-10-17 Joseph Myers <joseph@codesourcery.com>
8096 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
8097 (lgamma_test): Likewise.
8098 (tgamma_test): Likewise.
8100 2012-10-16 Florian Weimer <fweimer@redhat.com>
8103 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
8104 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
8106 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
8108 * NEWS: Mention BZ #14716.
8109 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
8110 when removing AVAILABLE1_USES_J macro.
8112 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
8114 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
8115 (__bswap_64): __uint64_t for unsigned 64-bit int.
8117 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
8119 * include/string.h (memmem): Declare libc hidden alias.
8120 * string/memmem.c (memmem): Define libc hidden alias.
8121 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
8122 __read, __close instead of open, read, close.
8124 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
8126 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
8127 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
8129 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
8130 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
8131 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
8133 (__rawmemchr_sse2): Likewise.
8134 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
8135 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
8136 (__strchr_sse2): Likewise.
8137 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
8138 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
8139 (__strcasecmp_sse2): Likewise.
8140 (__strncasecmp_sse2): Likewise.
8141 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
8142 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
8143 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
8144 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
8145 (__strrchr_sse2): Likewise.
8146 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
8148 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
8149 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
8150 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
8151 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
8152 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
8153 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
8154 * sysdeps/x86_64/multiarch/memset.S: Likewise.
8155 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8156 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
8157 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
8158 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
8159 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
8160 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
8161 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
8162 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
8163 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
8164 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
8165 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
8166 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
8167 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
8168 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
8169 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
8170 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
8171 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
8172 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
8173 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
8174 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
8175 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
8176 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
8177 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
8179 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
8181 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
8182 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
8183 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
8184 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
8186 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
8188 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
8189 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
8190 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
8191 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
8193 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
8194 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
8195 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
8196 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
8197 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
8198 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
8199 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
8200 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
8201 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
8202 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
8203 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
8204 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
8205 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
8206 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
8207 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
8208 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
8209 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
8210 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
8211 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
8212 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
8213 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
8214 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
8215 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
8216 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
8217 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
8218 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
8219 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
8220 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
8221 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
8222 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
8223 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
8224 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
8225 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
8226 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
8227 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
8228 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
8229 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
8230 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
8231 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
8232 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
8233 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
8235 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
8236 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
8237 * include/ifunc-impl-list.h: New file.
8238 * misc/ifunc-impl-list.c: Likewise.
8239 * misc/Makefile (routines): Add ifunc-impl-list.
8240 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
8241 * string/test-string.h: Include <ifunc-impl-list.h>.
8242 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
8243 impl_array): New variables.
8244 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
8246 (test_init): Call __libc_ifunc_impl_list to initialize
8247 func_list if TEST_IFUNC and TEST_NAME are defined.
8249 * string/Makefile (strop-tests): Add bcopy and bzero.
8250 * string/test-bcopy.c: New file.
8251 * string/test-bzero.c: Likewise.
8252 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
8254 * string/test-memset.c: Support bzero test if TEST_BZERO is
8256 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
8258 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
8260 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
8263 2012-10-10 Joseph Myers <joseph@codesourcery.com>
8265 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
8266 * configure: Regenerated.
8268 * Makeconfig (+link-static-before-libc): Don't include
8269 $(link-static-libc).
8271 * libio/libio.h (_IO_pos_t): Remove.
8273 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
8275 * NEWS: Add note about FIPS mode. Wording suggested by Roland
8278 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
8280 * crypt/crypt-entry.c: Include fips-private.h.
8281 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
8282 * crypt/md5c-test.c (main): Tolerate disabled MD5.
8283 * sysdeps/unix/sysv/linux/fips-private.h: New file.
8284 * sysdeps/generic/fips-private.h: New file, dummy fallback.
8286 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
8288 * crypt/crypt-private.h: Include stdbool.h.
8289 (_ufc_setup_salt_r): Return bool.
8290 * crypt/crypt-entry.c: Include errno.h.
8291 (__crypt_r): Return NULL with EINVAL for bad salt.
8292 * crypt/crypt_util.c (bad_for_salt): New.
8293 (_ufc_setup_salt_r): Check that salt is long enough and within
8294 the specified alphabet.
8295 * crypt/badsalttest.c: New file.
8296 * crypt/Makefile (tests): Add it.
8297 ($(objpfx)badsalttest): New.
8299 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
8301 * NEWS: Add entry for BZ #14602.
8303 2012-10-09 Joseph Myers <joseph@codesourcery.com>
8305 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
8307 * math/libm-test.inc: Update comment listing what functions and
8309 (isgreater_test): New function.
8310 (isgreaterequal_test): Likewise.
8311 (isless_test): Likewise.
8312 (islessequal_test): Likewise.
8313 (islessgreater_test): Likewise.
8314 (isunordered_test): Likewise.
8315 (main): Call the new functions.
8317 2012-10-09 Roland McGrath <roland@hack.frob.com>
8319 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
8320 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
8321 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
8322 * sysdeps/i386/configure: Regenerated.
8323 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
8324 * sysdeps/mach/configure: Regenerated.
8325 * sysdeps/mach/hurd/configure: Regenerated.
8326 * sysdeps/powerpc/configure: Regenerated.
8327 * sysdeps/powerpc/powerpc32/configure: Regenerated.
8328 * sysdeps/powerpc/powerpc64/configure: Regenerated.
8329 * sysdeps/s390/s390-32/configure: Regenerated.
8330 * sysdeps/s390/s390-64/configure: Regenerated.
8331 * sysdeps/sh/configure: Regenerated.
8332 * sysdeps/sparc/configure: Regenerated.
8333 * sysdeps/unix/sysv/linux/configure: Regenerated.
8334 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
8335 * sysdeps/x86_64/configure: Regenerated.
8337 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
8338 defined. Don't check if MAP is NULL.
8340 2012-10-09 Joseph Myers <joseph@codesourcery.com>
8342 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
8343 (_G_stat64): Likewise.
8344 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
8345 (_G_stat64): Likewise.
8346 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
8347 instead of struct _G_stat64.
8348 * libio/fileops.c (mmap_remap_check): Likewise.
8349 (decide_maybe_mmap): Likewise.
8350 (_IO_new_file_seekoff): Likewise.
8351 (_IO_file_stat): Likewise.
8352 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
8354 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
8355 instead of struct _G_stat64.
8356 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
8358 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
8361 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
8363 (CHECK_EOL): New macro.
8364 (two_way_short_needle): Check beginning of haystack for EOL. Use
8366 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
8367 Replace with CHECK_EOL.
8368 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
8369 Replace with CHECK_EOL.
8371 2012-10-08 Joseph Myers <joseph@codesourcery.com>
8373 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
8375 * math/libm-test.inc: Update comment listing what functions and
8377 (finite_test): New function.
8378 (isinf_test): Likewise.
8379 (isnan_test): Likewise.
8380 (fpclassify_test): Test subnormal input.
8381 (isfinite_test): Likewise.
8382 (isnormal_test): Likewise.
8383 (main): Call the new functions.
8385 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
8388 * Makerules (%.dynsym): Force C locale when running
8389 $(OBJDUMP) --dynamic-syms.
8391 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
8393 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
8396 2012-10-06 David S. Miller <davem@davemloft.net>
8398 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
8399 upper 32-bits of the length value in %o2 since we use branch-on-register
8400 tests which consider the entire 64-bit register.
8402 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
8404 * string/test-strstr.c (check2): Add a test for page boundary.
8406 2012-10-05 David S. Miller <davem@davemloft.net>
8408 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
8409 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
8411 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
8413 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
8414 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
8415 and bzero when HWCAP_SPARC_CRYPTO is present.
8417 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
8420 * string/test-strstr.c (check2): New function.
8421 (test_main): Call check2.
8423 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
8425 * string/bug-strcasestr1.c (do_test): Moved to ...
8426 * string/test-strcasestr.c (check1): Here. New function.
8427 (do_one_test): Break out result checking code into ...
8428 (check_result): This. New function.
8429 (do_one_test): Call check_result.
8430 (test_main): Call check1.
8431 * string/bug-strchr1.c (do_test): Moved to ...
8432 * string/test-strchr.c (check1): Here. New function.
8433 (do_one_test): Break out result checking code into ...
8434 (check_result): This. New function.
8435 (do_one_test): Call check_result.
8436 (test_main): Call check1.
8437 * string/bug-strstr1.c (main): Moved to ...
8438 * string/test-strstr.c (check1): Here. New function.
8439 (do_one_test): Break out result checking code into ...
8440 (check_result): This. New function.
8441 (do_one_test): Call check_result.
8442 (test_main): Call check1.
8443 * string/bug-strcasestr1.c: Removed.
8444 * string/bug-strchr1.c: Likewise.
8445 * string/bug-strstr1.c: Likewise.
8447 * elf/Makefile (dl-routines): Add hwcaps.
8448 * elf/dl-support.c (_dl_important_hwcaps): Removed.
8449 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
8450 (_dl_important_hwcaps): Moved to ...
8451 * elf/dl-hwcaps.c: Here. New file.
8452 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
8455 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
8456 if IS_IN_rtld isn't defined.
8458 * elf/dl-support.c (_dl_sysinfo_map): New.
8459 Include "get-dynamic-info.h" and "setup-vdso.h".
8460 (_dl_non_dynamic_init): Call setup_vdso.
8461 * elf/dynamic-link.h: Don't include <assert.h>.
8462 (elf_get_dynamic_info): Moved to ...
8463 * elf/get-dynamic-info.h: Here. New file.
8464 * elf/dynamic-link.h: Include "get-dynamic-info.h".
8465 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
8466 * elf/setup-vdso.h: Here. New file.
8467 * elf/rtld.c: Include "setup-vdso.h".
8468 (dl_main): Call setup_vdso.
8470 2012-10-05 Joseph Myers <joseph@codesourcery.com>
8472 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
8473 creal in comment listing functions tested. List finite, isinf,
8474 isnan, isless, islessequal, isgreater, isgreaterequal,
8475 islessgreater, isunordered, lgamma_r and pow10 as functions and
8476 macros not tested. Mention which functions not tested are aliases
8477 for other functions. Fix typo. Note that signs of NaNs are not
8480 * scripts/config.guess: Update from config.git.
8481 * scripts/config.sub: Likewise.
8483 2012-10-04 Roland McGrath <roland@hack.frob.com>
8485 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
8486 * misc/madvise.c (madvise): Renamed to __madvise.
8487 Make madvise a weak alias.
8488 * include/sys/mman.h: Declare __madvise.
8489 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
8490 * sysdeps/unix/syscalls.list
8491 (madvise): Make __madvise the strong name, and madvise a weak alias.
8492 * sysdeps/unix/sysv/linux/syscalls.list
8493 (madvise, mmap): Remove redundant entries.
8494 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
8495 * malloc/malloc.c (mtrim): Likewise.
8496 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
8498 2012-10-03 Roland McGrath <roland@hack.frob.com>
8500 * sysdeps/mach/hurd/dl-cache.c: File removed.
8501 * config.h.in (USE_LDCONFIG): New #undef.
8502 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
8503 * configure: Regenerated.
8504 * elf/Makefile (dl-routines): Add dl-cache only under
8505 [$(use-ldconfig) = yes].
8506 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
8507 cache on [USE_LDCONFIG].
8508 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
8510 * elf/rtld.c (dl_main): Likewise.
8512 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
8514 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
8515 _SC_LEVEL4_CACHE_LINESIZE.
8517 2012-10-03 Roland McGrath <roland@hack.frob.com>
8519 * sysdeps/unix/bsd/confstr.h: File removed.
8521 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
8523 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
8526 2012-10-02 Roland McGrath <roland@hack.frob.com>
8528 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
8529 Make 'mapoff' field ElfW(Off) rather than off_t.
8531 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
8533 * nscd/Makefile: Remove nscd-cflags and all its users.
8534 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
8535 (CFLAGS-nonlib): Add compiler flags for nscd modules.
8538 * malloc.c (malloc_printerr): Clarify error message.
8540 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
8543 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8544 Set bit_FMA_Usable if FMA is supported.
8545 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
8547 (bit_FMA4_Usable): Updated.
8548 (index_FMA_Usable): New macro.
8549 (CPUID_FMA): Likewise
8550 (HAS_FMA): Defined with bit_FMA_Usable.
8552 2012-10-01 Roland McGrath <roland@hack.frob.com>
8554 * bits/types.h (__swblk_t): Type removed.
8555 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
8556 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
8557 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8558 (__SWBLK_T_TYPE): Likewise.
8559 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
8560 (__SWBLK_T_TYPE): Likewise.
8561 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8562 (__SWBLK_T_TYPE): Likewise.
8563 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8564 (__SWBLK_T_TYPE): Likewise.
8566 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
8567 Honza Horak <hhorak@redhat.com>
8569 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
8570 (xdr_mapname): Use YPMAXMAP as maxsize.
8571 (xdr_peername): Use YPMAXPEER as maxsize.
8572 (xdr_keydat): Use YPAXRECORD as maxsize.
8573 (xdr_valdat): Use YPMAXRECORD as maxsize.
8575 2012-10-01 Roland McGrath <roland@hack.frob.com>
8577 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
8579 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
8580 * csu/init-first.c: ... here.
8581 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
8582 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
8583 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
8584 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
8585 * sysdeps/i386/init-first.c: File removed.
8586 * sysdeps/sh/init-first.c: File removed.
8588 2012-10-01 Joseph Myers <joseph@codesourcery.com>
8591 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
8592 if x * y might underflow to zero and z is zero.
8593 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8594 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8595 * math/libm-test.inc (min_subnorm_value): New variable.
8596 (fma_test): Add more tests.
8597 (fma_test_towardzero): Likewise.
8598 (fma_test_downward): Likewise
8599 (fma_test_upward): Likewise.
8600 (initialize): Set min_subnorm_value.
8602 2012-09-29 Joseph Myers <joseph@codesourcery.com>
8605 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
8607 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
8608 mode for addition resulting in exact zero.
8609 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
8610 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
8612 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
8613 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8614 * math/libm-test.inc (fma_test): Add more tests.
8615 (fma_test_towardzero): New function.
8616 (fma_test_downward): Likewise.
8617 (fma_test_upward): Likewise.
8618 (main): Call the new functions.
8620 2012-09-28 David S. Miller <davem@davemloft.net>
8622 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
8624 2012-09-28 Roland McGrath <roland@hack.frob.com>
8626 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
8629 * sysdeps/gnu/_G_config.h: Moved to ...
8630 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
8631 * sysdeps/mach/hurd/_G_config.h: Moved to ...
8632 * sysdeps/generic/_G_config.h: ... here.
8634 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
8636 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
8638 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
8639 Conditionalize target on [libnss_test1.so-version].
8641 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
8643 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
8644 (elfobjdir): Move out of conditionals.
8646 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
8647 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
8648 (__nss_lookup_function): Conditionalize label remove_from_tree on
8649 [!DO_STATIC_NSS || SHARED], matching its only use.
8651 2012-09-28 David S. Miller <davem@davemloft.net>
8653 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
8654 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
8656 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
8658 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
8659 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
8660 when HWCAP_SPARC_CRYPTO is present.
8662 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
8664 * io/tst-mknodat.c: Create a FIFO instead of a socket.
8666 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
8669 * stdio-common/vfprintf.c (process_string_arg): Revert
8672 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
8674 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
8676 * stdio-common/tst-sprintf.c: Include <locale.h>
8677 (main): Test sprintf's handling of incomplete multibyte
8680 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
8682 * elf/dl-runtime.c (VERSYMIDX): Removed.
8683 * elf/dl-version.c (VERSYMIDX): Likewise.
8684 * elf/do-rel.h (VERSYMIDX): Likewise.
8686 * elf/dynamic-link.h (VERSYMIDX): Likewise.
8687 * elf/rtld.c (VALIDX): Likewise.
8688 (ADDRIDX): Likewise.
8689 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
8690 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
8691 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
8692 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
8694 (ADDRIDX): Likewise.
8696 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
8698 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
8700 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
8703 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
8705 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
8706 addresses are in the same scope as 192.0.2/24.
8707 * posix/gai.conf: Document new scope table defaults.
8709 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8712 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
8713 for ftell. Compute offsets from write pointers instead.
8714 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
8716 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8719 * libio/Makefile (tests): New test case tst-fseek.
8720 * libio/tst-fseek.c: New test case to verify that fseek/ftell
8721 combination works in wide mode.
8722 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
8723 state when the external buffer state changes.
8725 2012-09-27 David S. Miller <davem@davemloft.net>
8728 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
8729 pass reloc->r_addend in as the 'high' argument to
8730 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
8732 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8734 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
8736 * rt/tst-aio2.c: Include <pthread.h>.
8737 * rt/tst-aio3.c: Likewise.
8739 2012-09-27 Steve Ellcey <sellcey@mips.com>
8741 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
8743 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
8745 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
8746 contents on [SHARED].
8748 2012-09-26 Marek Polacek <polacek@redhat.com>
8752 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
8753 for C++ and GCC <4.3 as well as for non GCC compilers.
8755 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
8757 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8759 2012-09-25 Roland McGrath <roland@hack.frob.com>
8761 * Makefile.in (all, install): Declare with .PHONY.
8762 Reported by Michael Hope <michael.hope@linaro.org>.
8764 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8766 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
8767 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
8769 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
8771 (sydep_routines): Add the new and the internal functions.
8772 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
8773 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
8774 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
8775 (GLIBC_2.17): Add the new function.
8776 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
8777 (GLIBC_2.17): Likewise.
8778 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
8779 (GLIBC_2.17): Likewise.
8780 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
8781 (GLIBC_2.17): Likewise.
8782 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
8784 2012-09-25 Alan Modra <amodra@gmail.com>
8786 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
8787 Add release barrier before setting once_control to say
8788 initialisation is done. Add hints on lwarx. Use macro in
8790 (clear_once_control): Add release barrier.
8792 2012-09-25 Joseph Myers <joseph@codesourcery.com>
8795 * math/s_clog.c (__clog): Handle more values close to |z| = 1
8797 * math/s_clog10.c (__clog10): Likewise.
8798 * math/s_clog10f.c (__clog10f): Likewise.
8799 * math/s_clog10l.c (__clog10l): Likewise.
8800 * math/s_clogf.c (__clogf): Likewise.
8801 * math/s_clogl.c (__clogl): Likewise.
8802 * math/Makefile (libm-calls): Add x2y2m1.
8803 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
8804 (__x2y2m1): Likewise.
8805 (__x2y2m1l): Likewise.
8806 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
8807 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
8808 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
8809 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
8810 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
8811 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
8812 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
8813 * sysdeps/i386/fpu/libm-test-ulps: Update.
8814 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8817 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
8818 int as type of variable DEPTH.
8819 (glob): Use size_t instead of int as type of variables NEWCOUNT
8822 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8824 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
8826 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
8827 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
8828 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
8829 macros for using routine as __sincosf_ia32.
8830 Use macro for function declaration and weak_alias.
8831 * sysdeps/i386/fpu/libm-test-ulps: Update.
8833 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
8834 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8836 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
8838 * math/s_cexpf.c (__cexpf): Likewise.
8839 * math/s_csinf.c (__csinf): Likewise.
8840 * math/s_csinhf.c (__csinhf): Likewise.
8841 * math/s_ctanf.c (__ctanf): Likewise.
8842 * math/s_ctanhf.c (__ctanhf): Likewise.
8843 * math/s_ccosh.c (__ccoshf): Likewise.
8844 * math/s_cexp.c (__cexpl): Likewise.
8845 * math/s_csin.c (__csin): Likewise.
8846 * math/s_csinh.c (__csinh): Likewise.
8847 * math/s_ctan.c (__ctan): Likewise.
8848 * math/s_ctanh.c (ctanh): Likewise.
8849 * math/s_ccoshl.c (__ccoshl): Likewise.
8850 * math/s_cexpl.c (__cexpl): Likewise.
8851 * math/s_csinl.c (__csinl): Likewise.
8852 * math/s_csinhl.c (__csinhl): Likewise.
8853 * math/s_ctanl.c (__ctanl): Likewise.
8854 * math/s_ctanhl.c (__ctanhl): Likewise.
8856 2012-09-25 Joseph Myers <joseph@codesourcery.com>
8858 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
8859 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
8860 (_IO_off_t): Define to __off_t, not _G_off_t.
8861 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
8862 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
8863 (_IO_wint_t): Define to wint_t, not _G_wint_t.
8864 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
8865 type of __dummy and __dummy2 fields.
8866 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
8867 (_G_ssize_t): Likewise.
8868 (_G_off_t): Likewise.
8869 (_G_pid_t): Likewise.
8870 (_G_uid_t): Likewise.
8871 (_G_wchar_t): Likewise.
8872 (_G_wint_t): Likewise.
8873 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
8874 (_G_ssize_t): Likewise.
8875 (_G_off_t): Likewise.
8876 (_G_pid_t): Likewise.
8877 (_G_uid_t): Likewise.
8878 (_G_wchar_t): Likewise.
8879 (_G_wint_t): Likewise.
8880 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
8881 (_G_ssize_t): Likewise.
8882 (_G_off_t): Likewise.
8883 (_G_pid_t): Likewise.
8884 (_G_uid_t): Likewise.
8885 (_G_wchar_t): Likewise.
8886 (_G_wint_t): Likewise.
8888 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8890 * malloc/arena.c: Include malloc-sysdep.h.
8891 (shrink_heap): Use check_may_shrink_heap to decide if madvise
8892 is sufficient to shrink the heap or an unmap is needed.
8893 * sysdeps/generic/malloc-sysdep.h: New file. Define
8894 new function check_may_shrink_heap.
8895 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
8896 new function check_may_shrink_heap.
8898 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8900 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
8903 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
8905 * catgets/test-gencat.sh: Add "set -e".
8906 * elf/tst-pathopt.sh: Likewise.
8907 * grp/tst_fgetgrent.sh: Likewise.
8908 * iconvdata/run-iconv-test.sh: Likewise.
8909 * intl/tst-gettext.sh: Likewise.
8910 * intl/tst-gettext2.sh: Likewise.
8911 * intl/tst-gettext4.sh: Likewise.
8912 * intl/tst-gettext6.sh: Likewise.
8913 * intl/tst-translit.sh: Likewise.
8914 * io/ftwtest-sh: Likewise.
8915 * libio/test-freopen.sh: Likewise.
8916 * malloc/tst-mtrace.sh: Likewise.
8917 * posix/globtest.sh: Likewise.
8918 * posix/tst-getconf.sh: Likewise.
8919 * posix/wordexp-tst.sh: Likewise.
8920 * stdio-common/tst-printf.sh: Likewise.
8921 * stdio-common/tst-unbputc.sh: Likewise.
8922 * stdlib/tst-fmtmsg.sh: Likewise.
8923 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
8924 * catgets/Makefile: Do not specify -e option when running
8925 testsuite shell scripts.
8926 * elf/Makefile: Likewise.
8927 * grp/Makefile: Likewise.
8928 * iconvdata/Makefile: Likewise.
8929 * intl/Makefile: Likewise.
8930 * io/Makefile: Likewise.
8931 * libio/Makefile: Likewise.
8932 * malloc/Makefile: Likewise.
8933 * posix/Makefile: Likewise.
8934 * stdio-common/Makefile: Likewise.
8935 * stdlib/Makefile: Likewise.
8936 * sysdeps/x86_64/Makefile: Likewise.
8938 * io/ftwtest-sh: Add copyright header.
8939 * posix/globtest.sh: Likewise.
8940 * posix/tst-getconf.sh: Likewise.
8941 * posix/wordexp-tst.sh: Likewise.
8942 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
8944 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
8947 * Makeconfig (+link): Defined as $(+link-static) if
8948 $(build-shared) isn't yes.
8949 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
8951 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
8953 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
8956 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
8957 new chunk size with MALLOC_ALIGN_MASK.
8959 2012-09-24 Joseph Myers <joseph@codesourcery.com>
8962 * stdio-common/printf_fphex.c: Include <stdbool.h> and
8964 (__printf_fphex): Determine rounding using get_rounding_mode and
8966 * stdio-common/tst-printf-round.c (struct hex_test): New
8968 (hex_tests): New variable.
8969 (test_hex_in_one_mode): New function.
8970 (do_test): Also run tests for hex float output.
8972 2012-09-21 Joseph Myers <joseph@codesourcery.com>
8974 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
8975 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
8976 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
8977 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
8978 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
8979 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
8980 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
8981 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
8983 2012-09-20 Joseph Myers <joseph@codesourcery.com>
8985 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
8986 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
8987 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
8988 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
8990 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
8993 * elf/rtld.c (dl_main): Limit the check for self loading to normal
8995 * elf/tst-rtld-load-self.sh: New test.
8996 * elf/Makefile: Run it.
8998 2012-09-18 Joseph Myers <joseph@codesourcery.com>
9000 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
9001 (tst-writev-ENV): Remove.
9002 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
9004 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
9006 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
9008 2012-09-17 Joseph Myers <joseph@codesourcery.com>
9010 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
9012 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
9014 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
9015 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
9016 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
9019 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
9022 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
9023 * config.make.in (have-cpp-asm-debuginfo): Removed.
9024 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
9025 * configure: Regenerated.
9027 2012-09-14 Joseph Myers <joseph@codesourcery.com>
9030 * stdio-common/printf_fp.c: Include <stdbool.h> and
9032 (___printf_fp): Determine rounding using get_rounding_mode and
9034 * stdio-common/tst-printf-round.c: New file.
9035 * stdio-common/Makefile (tests): Add tst-printf-round.
9036 (link-libm): New variable.
9037 ($(objpfx)tst-printf-round): Depend in $(link-libm).
9039 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
9042 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
9043 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
9045 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
9048 2012-09-13 Joseph Myers <joseph@codesourcery.com>
9050 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
9051 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
9052 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
9053 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
9055 2012-09-12 Joseph Myers <joseph@codesourcery.com>
9058 * include/rounding-mode.h: New file.
9059 * sysdeps/generic/get-rounding-mode.h: Likewise.
9060 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
9061 * stdlib/strtod_l.c: Include <rounding-mode.h>.
9062 (MAX_VALUE): New macro.
9063 (MIN_VALUE): Likewise.
9064 (overflow_value): New function.
9065 (underflow_value): Likewise.
9066 (round_and_return): Use overflow_value and underflow_value to
9067 determine return values in overflow and underflow cases. Use
9068 round_away to determine rounding depending on rounding mode.
9069 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
9070 determine return values in overflow and underflow cases.
9071 * stdlib/tst-strtod-round.c: Include <fenv.h>.
9072 (struct test_results): New structure.
9073 (struct test): Use struct test_results to store expected results
9074 for all rounding modes.
9075 (TEST): Include expected results for all rounding modes.
9076 (test_in_one_mode): New function.
9077 (do_test): Use test_in_one_mode to compute and check results.
9078 Check results for all rounding modes.
9079 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
9082 2012-12-09 Allan McRae <allan@archlinux.org>
9084 * sysdeps/i386/fpu/libm-test-ulps: Update
9086 2012-09-11 Joseph Myers <joseph@codesourcery.com>
9088 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
9089 (_G_int32_t): Likewise.
9090 (_G_uint16_t): Likewise.
9091 (_G_uint32_t): Likewise.
9092 (_G_HAVE_BOOL): Likewise.
9093 (_G_HAVE_ATEXIT): Likewise.
9094 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
9095 (_G_HAVE_IO_FILE_OPEN): Likewise.
9096 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
9097 (_G_int32_t): Likewise.
9098 (_G_uint16_t): Likewise.
9099 (_G_uint32_t): Likewise.
9100 (_G_HAVE_BOOL): Likewise.
9101 (_G_HAVE_ATEXIT): Likewise.
9102 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
9103 (_G_HAVE_IO_FILE_OPEN): Likewise.
9104 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
9105 (_G_int32_t): Likewise.
9106 (_G_uint16_t): Likewise.
9107 (_G_uint32_t): Likewise.
9108 (_G_HAVE_BOOL): Likewise.
9109 (_G_HAVE_ATEXIT): Likewise.
9110 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
9111 (_G_HAVE_IO_FILE_OPEN): Likewise.
9113 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
9115 * csu/libc-tls.c: Update copyright years.
9117 2012-09-10 Joseph Myers <joseph@codesourcery.com>
9119 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
9120 [!_G_USING_THUNKS]: Remove conditional code.
9121 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
9122 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
9124 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
9125 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
9126 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
9127 (_G_VTABLE_LABEL_PREFIX): Likewise.
9128 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
9129 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
9130 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
9131 (_G_VTABLE_LABEL_PREFIX): Likewise.
9132 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
9133 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
9134 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
9135 (_G_VTABLE_LABEL_PREFIX): Likewise.
9136 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
9138 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
9140 * libio/Makefile: Include ../Makeconfig before tests.
9141 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
9142 only if $(build-shared) is yes.
9144 * iconv/gconv_db.c: Update copyright years.
9146 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9148 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
9149 unwind info if defined PIC. Fix special cases description.
9150 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
9152 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
9154 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
9156 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
9158 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
9160 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
9163 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
9164 (LDLIBS-tst-chk4): This.
9165 (LDFLAGS-tst-chk5): Renamed to ...
9166 (LDLIBS-tst-chk5): This.
9167 (LDFLAGS-tst-chk6): Renamed to ...
9168 (LDLIBS-tst-chk6): This.
9169 (LDFLAGS-tst-lfschk4): Renamed to ...
9170 (LDLIBS-tst-lfschk4): This.
9171 (LDFLAGS-tst-lfschk5): Renamed to ...
9172 (LDLIBS-tst-lfschk5): This.
9173 (LDFLAGS-tst-lfschk6): Renamed to ...
9174 (LDLIBS-tst-lfschk6): This.
9176 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
9177 on $(common-objpfx)soversions.mk.
9179 2012-09-07 Joseph Myers <joseph@codesourcery.com>
9182 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
9185 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
9187 * malloc/arena.c (arena_get_retry): New function that gets
9188 another arena for the caller to try its request on.
9189 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
9190 current arena cannot fulfill the request.
9191 (__libc_memalign): Likewise.
9192 (__libc_memalign): Likewise.
9193 (__libc_pvalloc): Likewise.
9194 (__libc_calloc): Likewise.
9196 2012-09-05 John Tobey <john.tobey@gmail.com>
9199 * manual/arith.texi (Operations on Complex): Fix description
9202 2012-09-06 Joseph Myers <joseph@codesourcery.com>
9205 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
9209 * manual/memory.texi (Memory): Make order of menu items match
9212 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
9214 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
9215 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
9216 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
9218 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
9220 * csu/libc-tls.c (static_dtv): Renamed to ...
9221 (_dl_static_dtv): This. Make it global.
9222 (_dl_initial_dtv): Removed.
9223 (__libc_setup_tls): Updated.
9224 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
9225 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
9228 2012-09-06 Petr Machata <pmachata@redhat.com>
9230 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
9231 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
9232 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
9233 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
9235 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
9238 * csu/libc-tls.c (_dl_initial_dtv): New variable.
9239 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
9242 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
9245 * Makeconfig (link-static-before-libc): Replace $(+prector)
9247 (link-static-after-libc): Replace $(+postctor) with
9249 (link-bounded): Replace $(+prector)/$(+postctor) with
9250 $(+prectorT)/$(+postctorT).
9251 (+prectorT): New macro.
9252 (+postctorT): Likewise.
9254 2012-09-06 Joseph Myers <joseph@codesourcery.com>
9256 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
9257 (round_str): Handle values above the maximum for IBM long double
9259 * stdlib/tst-strtod-round.c (tests): Regenerated.
9261 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9263 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
9265 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
9266 zarch_nohighgprs around the zarch optimized routines.
9267 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
9268 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
9269 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
9272 2012-09-05 David S. Miller <davem@davemloft.net>
9274 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9276 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
9277 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
9278 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
9279 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
9282 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
9284 * malloc/arena.c: Fold copyright years.
9285 * malloc/mcheck.c, malloc/memusage.c: Likewise.
9287 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
9289 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
9291 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
9293 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
9295 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
9297 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
9298 change internal state upon failure.
9300 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
9302 * malloc/mcheck.c (mcheck_check_all): Fix typo.
9303 * malloc/memusage.c (mmap): Likewise.
9304 (mmap64, mremap): Likewise. Adjust name in comment.
9306 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
9308 * libio/fileops.c: Fix typos in comments.
9309 * libio/oldfileops.c: Likewise.
9310 * libio/wfileops.c: Likewise.
9312 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
9315 * malloc/Makefile (tests): Add tst-malloc-usable test case.
9316 (tst-malloc-usable-ENV): Set environment for test case.
9317 * malloc/hooks.c (malloc_check_get_size): New function to get
9319 * malloc/malloc.c (musable): Use malloc_check_get_size.
9320 * malloc/tst-malloc-usable.c: New test case.
9322 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
9324 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
9326 2012-09-05 Allan McRae <allan@archlinux.org>
9329 * configure.in (CXX_SYSINCLUDES): Use compiler output to
9330 determine header location.
9331 * configure: Regenerated.
9333 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
9335 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
9337 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
9338 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
9342 2012-09-04 David S. Miller <davem@davemloft.net>
9344 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
9345 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
9346 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
9348 2012-09-04 Florian Weimer <fweimer@redhat.com>
9350 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
9353 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
9355 2012-09-04 Joseph Myers <joseph@codesourcery.com>
9358 * libio/iogetdelim.c: Include <limits.h>.
9359 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
9360 + len + 1 would overflow.
9362 2012-09-03 Andreas Jaeger <aj@suse.de>
9364 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9365 * sysdeps/i386/fpu/libm-test-ulps: Update.
9367 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9369 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
9370 Add s_sinf-sse2, s_conf-sse2.
9372 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
9373 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
9374 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
9375 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
9377 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
9378 for using routine as __sinf_ia32.
9379 Use macro for function declaration and weak_alias.
9380 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
9381 for using routine as __cosf_ia32.
9382 Use macro for function declaration and weak_alias.
9384 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
9385 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
9387 * sysdeps/x86_64/fpu/s_sinf.S: New file.
9388 * sysdeps/x86_64/fpu/s_cosf.S: New file.
9389 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9391 * math/libm-test.inc (cos_test): Add more test cases.
9392 (sin_test): Likewise.
9393 (sincos_test): Likewise.
9395 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9397 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
9398 (IFUNC_RESOLVE): Make pointers to the specialized implementations
9400 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
9402 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
9405 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
9406 first element of the GOT.
9407 (elf_machine_load_address): Return the difference between
9408 the runtime address of _DYNAMIC and elf_machine_dynamic ().
9410 2012-09-01 Allan McRae <allan@archlinux.org>
9413 * configure.in (AWK): Require gawk version 3.0 or later.
9414 * configure: Regenerated.
9416 2012-09-01 Joseph Myers <joseph@codesourcery.com>
9418 * sysdeps/unix/sysv/linux/kernel-features.h
9419 (__ASSUME_POSIX_CPU_TIMERS): Remove.
9420 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
9421 [__NR_clock_getres]: Make code unconditional.
9422 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
9423 (clock_getcpuclockid): Remove code left unreachable by removal of
9425 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
9427 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
9428 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
9429 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
9430 Make code unconditional.
9431 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
9432 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
9433 * sysdeps/unix/sysv/linux/clock_settime.c
9434 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
9436 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
9437 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
9439 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
9442 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
9443 scripts/test-installation.pl.
9445 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
9446 and $ld_so_version if it is set.
9448 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
9451 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
9452 failure if reading from procfs failed.
9453 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
9455 2012-08-27 Joseph Myers <joseph@codesourcery.com>
9457 * sysdeps/unix/sysv/linux/kernel-features.h
9458 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
9459 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
9460 Remove conditional code.
9461 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9462 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
9463 Remove conditional code.
9464 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9465 * sysdeps/unix/sysv/linux/i386/fxstat.c
9466 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
9467 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9468 * sysdeps/unix/sysv/linux/i386/fxstatat.c
9469 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
9470 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9471 * sysdeps/unix/sysv/linux/i386/lxstat.c
9472 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
9473 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9474 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
9475 Remove conditional code.
9476 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9477 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
9478 Remove conditional code.
9479 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9480 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
9481 <kernel-features.h>.
9482 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
9484 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
9485 Remove conditional code.
9486 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9487 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
9490 2012-08-27 Mike Frysinger <vapier@gentoo.org>
9493 * NEWS: Add fixed bug number.
9495 2012-08-27 Joseph Myers <joseph@codesourcery.com>
9498 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
9499 underflowing exponent in case of negative sign.
9500 * stdlib/tst-strtod-round-data: Add more tests.
9501 * stdlib/tst-strtod-round.c (tests): Regenerated.
9504 * stdlib/strtod_l.c (NDIG): Remove.
9505 (HEXNDIG): Likewise.
9506 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
9507 smallest representable value.
9508 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
9509 lie within an exact representation of 1/2 ulp of the result.
9510 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
9512 (TENS_P9_IDX): Define unconditionally.
9513 (TENS_P9_SIZE): Likewise.
9514 (TENS_P10_IDX): Likewise.
9515 (TENS_P10_SIZE): Likewise.
9516 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
9517 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
9518 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
9519 entries for 10^2^13 and 10^2^14.
9520 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
9521 (TENS_P13_IDX): Define.
9522 (TENS_P13_SIZE): Likewise.
9523 (TENS_P14_IDX): Likewise.
9524 (TENS_P14_SIZE): Likewise.
9525 (_fpioconst_pow10): Change array size to
9526 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
9528 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
9529 1024]: Add entries for 10^2^13 and 10^2^14.
9530 [LAST_POW10 > _LAST_POW10]: Remove #error.
9531 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
9532 (_fpioconst_pow10): Change array size to
9533 FPIOCONST_POW10_ARRAY_SIZE.
9534 * stdlib/gen-fpioconst.c: New file.
9535 * stdlib/gen-tst-strtod-round.c: Likewise.
9536 * stdlib/tst-strtod-round-data: Likewise.
9537 * stdlib/tst-strtod-round.c: Likewise.
9538 * stdlib/Makefile (tests): Add tst-strtod-round.
9541 * stdlib/strtod_l.c: Include <stdint.h>.
9542 (NDEBUG): Do not define.
9543 (round_and_return): Change EXPONENT parameter to type intmax_t.
9544 Rearrange calculations to avoid internal overflow possibilities.
9545 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
9546 Rearrange calculations to avoid internal overflow possibilities.
9547 Assert that number fits inside MPNSIZE limbs.
9548 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
9549 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
9550 calculations and add assertions to avoid internal overflow
9551 possibilities. Add casts to avoid signed/unsigned operations.
9552 * stdlib/tst-strtod-overflow.c: New file.
9553 * stdlib/Makefile (tests): Add tst-strtod-overflow.
9555 2012-08-25 Marek Polacek <polacek@redhat.com>
9557 * time/time.h: Fix some typos in comments.
9559 2012-08-23 Roland McGrath <roland@hack.frob.com>
9561 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
9562 * posix/tst-rfc3484-2.c: Likewise.
9563 * posix/tst-rfc3484-3.c: Likewise.
9565 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
9567 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
9568 (EF_ARM_ABI_FLOAT_HARD): Likewise.
9570 2012-08-23 Joseph Myers <joseph@codesourcery.com>
9572 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
9573 #include of fxstatat64.c.
9575 2012-08-22 Roland McGrath <roland@hack.frob.com>
9577 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
9578 * shadow/getspent_r.c: Likewise.
9579 * shadow/getspnam.c: Likewise.
9580 * shadow/getspnam_r.c: Likewise.
9581 * gshadow/getsgent.c: Likewise.
9582 * gshadow/getsgent_r.c: Likewise.
9583 * gshadow/getsgnam.c: Likewise.
9584 * gshadow/getsgnam_r.c: Likewise.
9585 * inet/getnetbyad.c: Likewise.
9586 * inet/getnetbyad_r.c: Likewise.
9587 * inet/getnetbynm.c: Likewise.
9588 * inet/getnetbynm_r.c: Likewise.
9589 * inet/getnetent.c: Likewise.
9590 * inet/getnetent_r.c: Likewise.
9591 * inet/getproto.c: Likewise.
9592 * inet/getproto_r.c: Likewise.
9593 * inet/getprtent.c: Likewise.
9594 * inet/getprtent_r.c: Likewise.
9595 * inet/getprtname.c: Likewise.
9596 * inet/getprtname_r.c: Likewise.
9597 * inet/getrpcbyname.c: Likewise.
9598 * inet/getrpcbyname_r.c: Likewise.
9599 * inet/getrpcbynumber.c: Likewise.
9600 * inet/getrpcbynumber_r.c: Likewise.
9601 * inet/getrpcent.c: Likewise.
9602 * inet/getrpcent_r.c: Likewise.
9603 * inet/getaliasent.c: Likewise.
9604 * inet/getaliasent_r.c: Likewise.
9605 * inet/getaliasname.c: Likewise.
9606 * inet/getaliasname_r.c: Likewise.
9607 * nscd/getgrgid_r.c: Likewise.
9608 * nscd/getgrnam_r.c: Likewise.
9609 * nscd/gethstbyad_r.c: Likewise.
9610 * nscd/gethstbynm3_r.c: Likewise.
9611 * nscd/getpwnam_r.c: Likewise.
9612 * nscd/getpwuid_r.c: Likewise.
9613 * nscd/getsrvbynm_r.c: Likewise.
9614 * nscd/getsrvbypt_r.c: Likewise.
9615 * nscd/gai.c: Likewise.
9617 * configure.in (build_nscd): New substituted variable, set
9618 by --disable-build-nscd and defaults to $use_nscd.
9619 * configure: Regenerated.
9620 * config.make.in (build-nscd): New substituted variable.
9621 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
9622 Change conditional to require [$(build-nscd) = yes] as well.
9623 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
9626 * configure.in (use_nscd): New substituted variable, set by
9627 --disable-nscd. If enabled, define USE_NSCD.
9628 * configure: Regenerated.
9629 * config.h.in: Add USE_NSCD.
9630 * config.make.in (use-nscd): New substituted variable.
9631 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
9632 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
9633 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
9634 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
9635 (CFLAGS-getgrnam_r.c): Likewise.
9636 (CFLAGS-initgroups.c): Likewise.
9637 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
9638 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
9640 * inet/getnetgrent_r.c
9641 (nscd_setnetgrent): New function, broken out of ...
9642 (setnetgrent): ... here. Call it.
9643 (innetgr): Conditionalize nscd bits on [USE_NSCD].
9644 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
9645 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
9646 * nscd/Makefile (routines, aux): Move definitions after include of
9647 Makeconfig. Conditionalize on [$(use-nscd) != no].
9648 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
9649 Conditionalize on [USE_NSCD].
9650 (is_nscd, nscd_init_cb): Likewise.
9651 (nss_load_library): Conditionalize init callback on [USE_NSCD].
9652 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
9653 * nss/nss_db/db-init.c: Likewise.
9654 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
9656 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
9657 (make_request): Use it.
9658 (cache_valid_p): New function.
9659 (__check_pf): Use it.
9660 * NEWS: Add item for --disable-nscd.
9662 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
9664 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
9665 to support sed >= 4.2.1-20-ga9bf076.
9666 * configure: Regenerated.
9668 2012-08-22 Roland McGrath <roland@hack.frob.com>
9670 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
9671 Conditionalize whole body on [IREL].
9673 2012-08-22 Jeff Law <law@redhat.com>
9676 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
9677 if the family is PF_UNSPEC.
9679 2012-08-22 Mike Frysinger <vapier@gentoo.org>
9681 * Makerules (lib-version): Rename from V.
9682 (install-lib-nosubdir): Change V to lib-version.
9684 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
9687 * powerpc32/power6/wcschr.c: New file.
9688 * powerpc32/power6/wcscpy.c: New file.
9689 * powerpc32/power6/wcsrchr.c: New file.
9690 * powerpc64/power6/wcschr.c: New file.
9691 * powerpc64/power6/wcscpy.c: New file.
9692 * powerpc64/power6/wcsrchr.c: New file.
9694 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
9696 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
9697 (two_way_short_needle): Use it.
9698 * string/strstr.c (AVAILABLE1_USES_J): Define.
9699 * string/strcasestr.c: Likewise.
9701 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
9703 * string/strcasestr.c (TOLOWER): Make side-effect safe.
9706 * NEWS: Add an entry.
9707 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
9708 define their defaults.
9709 (two_way_short_needle): Detect end-of-string on-the-fly.
9710 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
9711 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
9712 * string/bug-strcasestr1.c: New test.
9713 * string/Makefile: Run it.
9715 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
9718 * string/str-two-way.h (two_way_short_needle): Optimize matching of
9719 the first character.
9721 2012-08-21 Roland McGrath <roland@hack.frob.com>
9723 * csu/elf-init.c (__libc_csu_irel): Function removed.
9724 * csu/libc-start.c (apply_irel): New function.
9725 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
9727 2012-08-21 Joseph Myers <joseph@codesourcery.com>
9729 * sysdeps/unix/sysv/linux/kernel-features.h
9730 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
9731 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
9732 <kernel-features.h>.
9733 [__NR_fadvise64_64]: Make code unconditional.
9734 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
9735 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
9736 !__NR_fadvise64_64)]: Likewise.
9737 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
9738 !__NR_fadvise64_64))]: Likewise.
9739 [__NR_fadvise64]: Make code unconditional.
9740 [!__NR_fadvise64]: Remove conditional code.
9741 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
9742 <kernel-features.h>.
9743 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
9745 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
9747 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
9748 not include <kernel-features.h>.
9749 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
9751 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
9753 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
9754 include <kernel-features.h>.
9755 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
9757 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
9760 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
9762 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
9763 slight instruction rearrangements per scrollpipe analysis.
9764 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
9766 2012-08-20 Roland McGrath <roland@hack.frob.com>
9768 * manual/syslog.texi (syslog; vsyslog, closelog):
9769 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
9770 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
9772 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
9773 DSOCAPS to match condition on defining it.
9775 2012-08-20 Joseph Myers <joseph@codesourcery.com>
9777 * sysdeps/unix/sysv/linux/kernel-features.h
9778 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
9779 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
9780 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
9781 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
9782 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
9783 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
9784 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
9785 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
9786 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
9787 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
9789 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
9790 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
9792 * sysdeps/unix/sysv/linux/kernel-features.h
9793 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
9794 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
9796 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9797 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
9798 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
9799 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9800 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
9801 Make code unconditional.
9802 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9803 (__mmap64) [!__NR_mmap2]: Likewise.
9804 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
9805 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
9806 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9807 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
9808 [__NR_mmap2]: Make code unconditional.
9809 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9810 (__mmap64) [!__NR_mmap2]: Likewise.
9812 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9814 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
9816 2012-08-18 Andreas Jaeger <aj@suse.de>
9818 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
9820 2012-08-18 Mike Frysinger <vapier@gentoo.org>
9822 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
9823 * include/unistd.h (__have_sock_cloexec): Likewise.
9824 (__have_pipe2): Likewise.
9825 (__have_dup3): Likewise.
9827 2012-08-18 Mike Frysinger <vapier@gentoo.org>
9830 * include/unistd.h (__have_pipe2): Change define into an extern int.
9831 (__have_dup3): Likewise.
9832 * socket/have_sock_cloexec.c: Include fcntl.h.
9833 (__have_pipe2): New variable.
9834 (__have_dup3): Likewise.
9836 2012-08-17 Mike Frysinger <vapier@gentoo.org>
9838 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
9840 2012-08-17 Marek Polacek <polacek@redhat.com>
9842 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
9843 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
9845 2012-08-17 Roland McGrath <roland@hack.frob.com>
9847 * configure.in: Add AC_SUBST for sysheaders.
9848 * configure: Regenerated.
9849 * config.make.in (sysheaders): New substituted variable.
9851 * sysdeps/unix/mkfifo.c: Moved ...
9852 * sysdeps/posix/mkfifo.c: ... here.
9853 * sysdeps/unix/mkfifoat.c: Moved ...
9854 * sysdeps/posix/mkfifoat.c: ... here.
9856 * sysdeps/unix/utime.c: Moved ...
9857 * sysdeps/posix/utime.c: ... here.
9859 * sysdeps/unix/time.c: Moved ...
9860 * sysdeps/posix/time.c: ... here.
9861 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
9862 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
9864 * sysdeps/unix/nice.c: Moved ...
9865 * sysdeps/posix/nice.c: ... here.
9867 * sysdeps/unix/alarm.c: Moved ...
9868 * sysdeps/posix/alarm.c: ... here.
9870 * intl/Makefile ($(codeset_mo)): Depend on the input file.
9872 2012-08-17 Jeff Law <law@redhat.com>
9874 * intl/Makefile (codeset_mo): New variable.
9875 ($(codeset_mo)): New target.
9876 (tst-codeset.out): Depend on that. Remove explicit rule.
9877 (tst-gettext3.out, tst-gettext5.out): Likewise.
9878 (LOCPATH-ENV, tst-codeset-ENV): New variables.
9879 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
9880 * intl/tst-codeset.sh: Remove.
9881 * intl/tst-gettext3.sh: Likewise.
9882 * intl/tst-gettext5.sh: Likewise.
9884 2012-08-17 Roland McGrath <roland@hack.frob.com>
9886 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
9887 * sysdeps/unix/syscalls.list: ... here.
9889 * sysdeps/posix/getaddrinfo.c
9890 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
9891 (gaiconf_init, gaiconf_reload): Use them.
9893 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
9894 Define using time_t rather than struct timespec.
9896 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
9897 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
9899 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
9901 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
9902 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
9905 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
9906 __libc_cleanup_push argument.
9908 * bits/param.h: New file.
9909 * misc/sys/param.h: New file.
9910 * include/sys/param.h: New file.
9911 * misc/Makefile (headers): Add bits/param.h.
9912 * sysdeps/generic/sys/param.h: File removed.
9913 * sysdeps/unix/sysv/linux/bits/param.h: New file.
9914 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
9915 * sysdeps/mach/hurd/bits/param.h: New file.
9916 * sysdeps/mach/hurd/sys/param.h: File removed.
9918 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
9921 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
9923 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
9924 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
9927 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
9928 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
9929 rather than -D_IO_MTSAFE_IO conditionally.
9930 * stdio-common/Makefile (CPPFLAGS): Likewise.
9931 * wcsmbs/Makefile (CPPFLAGS): Likewise.
9932 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
9933 Use $(libio-mtsafe).
9934 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
9936 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
9937 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
9938 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
9939 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
9940 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
9941 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
9942 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
9943 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
9944 (CFLAGS-fread_u_chk.c): Likewise.
9945 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
9946 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
9947 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
9948 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
9949 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
9950 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
9951 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
9952 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
9953 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
9955 * libio/Makefile: Test [$(libc-reentrant) = yes]
9956 instead of [$(filter %REENTRANT, $(defines)) nonempty].
9959 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
9960 * sysdeps/pthread/configure: File removed.
9961 * sysdeps/pthread/Makeconfig: New file.
9962 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
9963 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
9965 2012-08-16 Gary Benson <gbenson@redhat.com>
9967 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
9968 unmapping the first object in a namespace.
9970 2012-08-16 Roland McGrath <roland@hack.frob.com>
9972 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
9973 (__internal_setnetgrent): ... this. Add internal_function to
9974 definition. Add libc_hidden_def.
9975 (setnetgrent): Update caller.
9976 (internal_endnetgrent): Renamed to ...
9977 (__internal_endnetgrent): ... this. Add internal_function to
9978 definition. Add libc_hidden_def.
9979 (endnetgrent): Update caller.
9980 (internal_getnetgrent_r): Renamed to ...
9981 (__internal_getnetgrent_r): ... this. Add internal_function to
9982 definition. Add libc_hidden_def.
9983 (__getnetgrent_r): Update caller.
9984 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
9986 2012-08-16 Joseph Myers <joseph@codesourcery.com>
9988 * stdlib/longlong.h: Update from GCC.
9990 2012-08-16 Roland McGrath <roland@hack.frob.com>
9992 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
9993 on _QL, which is set by umul_ppmm but never used.
9994 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
9995 variables, which are set by GMP macros but never used.
9996 * stdio-common/_itowa.c (_itowa): Likewise.
9997 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
9998 * stdlib/mod_1.c (mpn_mod_1): Likewise.
10000 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
10002 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
10003 struct La_sh_regs is not constant.
10004 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
10005 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
10006 and struct La_sparc64_regs are not constant.
10008 2012-08-16 Joseph Myers <joseph@codesourcery.com>
10010 * sysdeps/unix/sysv/linux/kernel-features.h
10011 (__ASSUME_POSIX_TIMERS): Remove.
10012 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
10013 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
10014 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
10015 Make code unconditional.
10016 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
10017 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
10018 Make code unconditional.
10019 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
10020 * sysdeps/unix/sysv/linux/clock_nanosleep.c
10021 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
10022 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
10023 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
10024 Make code unconditional.
10025 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
10026 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
10027 (__libc_missing_posix_timers): Remove.
10029 2012-08-15 Roland McGrath <roland@hack.frob.com>
10031 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
10032 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
10034 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
10036 * elf/dl-sym.c: Include <stdlib.h>.
10038 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
10039 constants, which avoids warnings in 32-bit builds.
10041 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
10042 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
10044 * misc/lseek.c: File moved to ...
10045 * io/lseek.c: ... here.
10047 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
10049 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
10050 shifting LEN more than 31 bits at once.
10052 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10055 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
10056 segmentation fault for a case of two empty input strings.
10057 * string/test-strncasecmp.c (check1): Renamed to...
10058 (bz12205): ...this.
10059 (bz14195): Add new testcase for two empty input strings and N > 0.
10060 (test_main): Call new testcase, adapt for renamed function.
10062 2012-08-15 Andreas Jaeger <aj@suse.de>
10065 * crypt/md5test2.c: New test, based on test supplied by Serge
10066 Belyshev <belyshev@depni.sinp.msu.ru>.
10067 * crypt/Makefile (xtests): Add md5test-giant..
10068 * crypt/Makefile ($(objpfx)md5test-giant): Add.
10070 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
10073 * crypt/md5.c (md5_process_block): Don't assume the buffer
10074 length is less than 2**32.
10075 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
10076 length is less than 2**64.
10078 2012-08-15 Roland McGrath <roland@hack.frob.com>
10080 * string/str-two-way.h: Include <sys/param.h>.
10081 (MAX): Macro removed.
10083 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
10084 Move #define and #undef of memmove to just before and after
10085 including <string.h>.
10087 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
10088 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
10089 and after including <string.h>. Move declarations of
10090 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
10091 to before #include "string/memmove.c".
10093 * include/dirent.h: Declare __getdirentries.
10095 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
10096 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
10098 2012-08-14 Mike Frysinger <vapier@gentoo.org>
10100 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
10101 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
10102 * sysdeps/i386/configure: Regenerated.
10103 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
10104 STABS_CURRENT_FILE, and STABS_FUN.
10105 (END): Remove call to STABS_FUN_END.
10106 (STABS_CURRENT_FILE1): Delete.
10107 (STABS_CURRENT_FILE): Likewise.
10108 (STABS_FUN): Likewise.
10109 (STABS_FUN_END): Likewise.
10110 (STABS_FUN2): Likewise.
10111 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
10112 * sysdeps/x86_64/configure: Regenerated.
10114 2012-08-14 Roland McGrath <roland@hack.frob.com>
10116 * elf/dl-open.c: Include <atomic.h>.
10117 * elf/dl-lookup.c: Likewise.
10119 2012-08-14 Joseph Myers <joseph@codesourcery.com>
10121 * sysdeps/unix/sysv/linux/kernel-features.h
10122 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
10123 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
10125 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
10127 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
10128 condition on __ASSUME_CLONE_THREAD_FLAGS.
10130 2012-08-14 Andreas Jaeger <aj@suse.de>
10132 * sysdeps/i386/fpu/libm-test-ulps: Update.
10134 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
10136 * include/atomic.h (atomic_exchange_and_add): Split into ...
10137 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
10140 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
10142 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10144 2012-08-13 Jeff Law <law@redhat.com>
10146 * manual/stdio.texi (snprintf): Clarify handling of the trailing
10147 null byte in the output string.
10149 2012-08-10 Joseph Myers <joseph@codesourcery.com>
10151 * sysdeps/unix/sysv/linux/kernel-features.h
10152 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
10153 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
10154 (__ASSUME_ARG_MAX_STACK_BASED): Define.
10155 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
10156 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
10157 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
10158 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
10160 2012-08-09 Jeff Law <law@redhat.com>
10163 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
10164 When avoid_arena is set, don't retry in the that arena. Pick the
10165 next one, whatever it might be.
10166 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
10167 (arena_lock): Pass in new parameter to arena_get2.
10168 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
10170 (__libc_malloc): Unify retrying after main arena failure with
10171 __libc_memalign version.
10172 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
10174 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
10177 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
10178 to __redirect_strstr.
10179 (__strstr_sse42): Use typeof __redirect_strstr.
10180 (__strstr_ia32): Likewise.
10181 (__libc_strstr): New prototype.
10182 (strstr): Renamed to ...
10183 (__libc_strstr): This.
10184 (strstr): New strong alias of __libc_strstr.
10185 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
10186 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
10189 (__libc_time): New prototype.
10190 (time_ifunc): Replace time with __libc_time.
10191 (time): New strong alias and hidden definition of __libc_time.
10192 (__GI_time): Remove strong alias.
10193 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
10194 Include <stddef.h>.
10195 (memmove): Redefined to __redirect_memmove.
10196 (__memmove_sse2): Use typeof __redirect_memmove.
10197 (__memmove_ssse3): Likewise.
10198 (__memmove_ssse3_back): Likewise.
10199 (__libc_memmove): New prototype.
10200 (memmove): Renamed to ...
10201 (__libc_memmove): This.
10202 (memmove): New strong alias of __libc_memmove.
10204 2012-08-08 Mark Salter <msalter@redhat.com>
10207 (R_MN10300_TLS_GD): Define.
10208 (R_MN10300_TLS_LD): Likewise.
10209 (R_MN10300_TLS_LDO): Likewise.
10210 (R_MN10300_TLS_GOTIE): Likewise.
10211 (R_MN10300_TLS_IE): Likewise.
10212 (R_MN10300_TLS_LE): Likewise.
10213 (R_MN10300_TLS_DTPMOD): Likewise.
10214 (R_MN10300_TLS_DTPOFF): Likewise.
10215 (R_MN10300_TLS_TPOFF): Likewise.
10216 (R_MN10300_SYM_DIFF): Likewise.
10217 (R_MN10300_ALIGN): Likewise.
10218 (R_MN10300_NUM): Update.
10220 2012-08-08 Joseph Myers <joseph@codesourcery.com>
10222 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
10225 2012-08-08 Roland McGrath <roland@hack.frob.com>
10227 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
10229 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
10230 sysdeps/unix -> sysdeps/posix move.
10231 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
10233 2012-08-07 Allan McRae <allan@archlinux.org>
10236 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
10237 (SUNOS_CPP): Likewise.
10238 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
10240 (open_input): Call CPP using execvp.
10242 2012-08-07 Joseph Myers <joseph@codesourcery.com>
10244 * sysdeps/unix/sysv/linux/kernel-features.h
10245 (__ASSUME_PROT_GROWSUPDOWN): Remove.
10246 (__ASSUME_NO_CLONE_DETACHED): Likewise.
10247 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
10248 (__ASSUME_WAITID_SYSCALL): Likewise.
10249 * sysdeps/unix/sysv/linux/dl-execstack.c
10250 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
10251 code unconditional.
10252 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
10254 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
10255 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
10256 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
10258 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
10260 [__ASSUME_WAITID_SYSCALL]: Likewise.
10261 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
10263 2012-08-07 Roland McGrath <roland@hack.frob.com>
10265 * sysdeps/unix/closedir.c: Renamed to ...
10266 * sysdeps/posix/closedir.c: ... here.
10267 * sysdeps/unix/dirfd.c: Renamed to ...
10268 * sysdeps/posix/dirfd.c: ... here.
10269 * sysdeps/unix/dirstream.h: Renamed to ...
10270 * sysdeps/posix/dirstream.h: ... here.
10271 * sysdeps/unix/fdopendir.c: Renamed to ...
10272 * sysdeps/posix/fdopendir.c: ... here.
10273 * sysdeps/unix/opendir.c: Renamed to ...
10274 * sysdeps/posix/opendir.c: ... here.
10275 * sysdeps/unix/readdir.c: Renamed to ...
10276 * sysdeps/posix/readdir.c: ... here.
10277 * sysdeps/unix/readdir_r.c: Renamed to ...
10278 * sysdeps/posix/readdir_r.c: ... here.
10279 * sysdeps/unix/rewinddir.c: Renamed to ...
10280 * sysdeps/posix/rewinddir.c: ... here.
10281 * sysdeps/unix/seekdir.c: Renamed to ...
10282 * sysdeps/posix/seekdir.c: ... here.
10283 * sysdeps/unix/telldir.c: Renamed to ...
10284 * sysdeps/posix/telldir.c: ... here.
10285 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
10286 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
10287 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
10288 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
10290 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
10291 * bits/fcntl.h: ... here.
10293 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
10295 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
10296 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
10297 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
10298 (struct flock): Move l_start, l_len to the beginning.
10299 Use __pid_t for l_pid.
10300 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
10301 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
10302 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
10303 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
10304 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
10305 [__USE_LARGEFILE64] (struct flock64): New type.
10306 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
10308 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
10309 * bits/dirent.h: ... here.
10311 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
10312 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
10314 2012-08-07 Joseph Myers <joseph@codesourcery.com>
10316 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
10317 Change from 2.6.0 to 2.6.16.
10318 * sysdeps/unix/sysv/linux/configure: Regenerated.
10319 * sysdeps/unix/sysv/linux/kernel-features.h
10320 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
10321 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
10323 (__ASSUME_UTIMES): Likewise.
10324 (__ASSUME_CLONE_STOPPED): Remove.
10325 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
10326 architectures, not kernel version.
10327 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
10328 (__ASSUME_NO_CLONE_DETACHED): Likewise.
10329 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
10330 (__ASSUME_WAITID_SYSCALL): Likewise.
10331 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
10332 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
10333 * README: State 2.6.16 as minimum Linux kernel version. Do not
10334 refer to older versions.
10336 2012-08-06 Roland McGrath <roland@hack.frob.com>
10338 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
10339 Define alphasort64 as an alias.
10340 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
10341 Define versionsort64 as an alias.
10342 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
10343 Define scandir64 as an alias.
10344 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
10345 Define scandirat64 as an alias.
10346 * dirent/alphasort64.c (alphasort64):
10347 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
10348 * dirent/versionsort64.c: Likewise.
10349 * dirent/scandir64.c: Likewise.
10350 * dirent/scandirat64.c: Likewise.
10351 * sysdeps/wordsize-64/alphasort.c: File removed.
10352 * sysdeps/wordsize-64/alphasort64.c: File removed.
10353 * sysdeps/wordsize-64/scandir.c: File removed.
10354 * sysdeps/wordsize-64/scandir64.c: File removed.
10355 * sysdeps/wordsize-64/scandirat.c: File removed.
10356 * sysdeps/wordsize-64/scandirat64.c: File removed.
10357 * sysdeps/wordsize-64/versionsort.c: File removed.
10358 * sysdeps/wordsize-64/versionsort64.c: File removed.
10359 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
10360 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
10361 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
10362 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
10363 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
10364 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
10365 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
10366 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
10368 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
10369 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
10370 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
10371 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10372 [defined __arch64__ || defined __sparcv9]
10373 (__INO_T_MATCHES_INO64_T): New macro.
10374 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
10375 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
10376 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
10377 * sysdeps/unix/sysv/linux/bits/dirent.h
10378 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
10379 (_DIRENT_MATCHES_DIRENT64): New macro.
10381 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
10382 Define lockf64 as an alias.
10383 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
10384 Define fseeko64 as an alias.
10385 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
10386 Define ftello64 as an alias.
10387 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
10388 Define _IO_fgetpos64 and fgetpos64 as aliases.
10389 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
10390 Define _IO_fsetpos64 and fsetpos64 as aliases.
10391 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
10392 Conditionalize body on this.
10393 * libio/fseeko64.c: Likewise.
10394 * libio/ftello64.c: Likewise.
10395 * libio/iofgetpos64.c: Likewise.
10396 * libio/iofsetpos64.c: Likewise.
10397 * sysdeps/wordsize-64/lockf.c: File removed.
10398 * sysdeps/wordsize-64/lockf64.c: File removed.
10399 * sysdeps/wordsize-64/fseeko.c: File removed.
10400 * sysdeps/wordsize-64/fseeko64.c: File removed.
10401 * sysdeps/wordsize-64/ftello.c: File removed.
10402 * sysdeps/wordsize-64/ftello64.c: File removed.
10403 * sysdeps/wordsize-64/iofgetpos.c: File removed.
10404 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
10405 * sysdeps/wordsize-64/iofsetpos.c: File removed.
10406 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
10407 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
10408 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
10409 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
10410 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
10411 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
10412 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
10413 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
10414 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
10415 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
10416 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
10418 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
10419 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
10420 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
10421 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10422 [defined __arch64__ || defined __sparcv9]
10423 (__OFF_T_MATCHES_OFF64_T): New macro.
10424 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
10425 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
10426 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
10427 (__OFF_T_MATCHES_OFF64_T): New macro.
10429 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
10431 * stdlib/secure-getenv.c (__secure_getenv): Replace
10432 GLIBC_2_16 with GLIBC_2_17.
10434 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
10436 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
10437 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
10439 2012-08-03 David S. Miller <davem@davemloft.net>
10441 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10443 2012-08-03 Joseph Myers <joseph@codesourcery.com>
10445 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
10447 (__ASSUME_CORRECT_SI_PID): Likewise.
10448 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
10449 (__ASSUME_TMPFS_NAME): Likewise.
10450 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
10451 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
10452 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
10453 (HAVE_AUX_SECURE): Make definition unconditional.
10454 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
10455 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
10457 2012-08-03 Roland McGrath <roland@hack.frob.com>
10459 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
10460 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
10461 * sysdeps/mach/hurd/eloop-threshold.h: New file.
10462 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
10463 __eloop_threshold instead of SYMLOOP_MAX.
10465 * sysdeps/generic/eloop-threshold.h: New file.
10466 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
10468 * elf/chroot_canon.c (chroot_canon): Likewise.
10470 2012-08-03 Joseph Myers <joseph@codesourcery.com>
10473 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
10474 Change to 2.6.0 everywhere.
10475 * sysdeps/unix/sysv/linux/configure: Regenerated.
10476 * sysdeps/unix/sysv/linux/kernel-features.h
10477 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
10478 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
10480 (__ASSUME_POSIX_TIMERS): Define unconditionally.
10481 (__ASSUME_FUTEX_REQUEUE): Remove.
10482 (__ASSUME_STATFS64): Define unconditionally.
10483 (__ASSUME_AT_SECURE): Likewise.
10484 (__ASSUME_CORRECT_SI_PID): Likewise.
10485 (__ASSUME_TGKILL): Define without depending on kernel version for
10487 (__ASSUME_UTIMES): Likewise.
10488 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
10490 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
10491 (__ASSUME_TMPFS_NAME): Likewise.
10492 * README: Update reference to Linux kernel versions.
10494 2012-08-02 Marek Polacek <polacek@redhat.com>
10497 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
10498 libc_cv_asm_type_prefix with %.
10499 * configure: Regenerated.
10500 * include/libc-symbols.h: Remove comment about
10501 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
10502 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
10503 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
10504 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
10505 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
10506 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
10507 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
10508 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
10509 * elf/tst-unique2mod1.c: Likewise.
10510 * elf/tst-unique1mod2.c: Likewise.
10511 * elf/tst-unique1mod1.c: Likewise.
10512 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
10513 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
10514 Replace ASM_TYPE_DIRECTIVE with .type.
10515 * sysdeps/s390/s390-64/sysdep.h: Likewise.
10516 * sysdeps/i386/sysdep.h: Likewise.
10517 * sysdeps/x86_64/sysdep.h: Likewise.
10518 * sysdeps/sh/sysdep.h: Likewise.
10519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
10520 Do not define ASM_TYPE_DIRECTIVE.
10521 * sysdeps/powerpc/sysdep.h: Likewise.
10522 * sysdeps/powerpc/powerpc32/sysdep.h:
10523 Replace ASM_TYPE_DIRECTIVE with .type.
10524 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
10525 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
10526 * sysdeps/i386/fpu/e_powf.S: Likewise.
10527 * sysdeps/i386/fpu/e_expl.S: Likewise.
10528 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
10529 * sysdeps/i386/fpu/e_acosh.S: Likewise.
10530 * sysdeps/i386/fpu/e_pow.S: Likewise.
10531 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
10532 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
10533 * sysdeps/i386/fpu/s_expm1.S: Likewise.
10534 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
10535 * sysdeps/i386/fpu/e_log2.S: Likewise.
10536 * sysdeps/i386/fpu/e_log2l.S: Likewise.
10537 * sysdeps/i386/fpu/e_scalb.S: Likewise.
10538 * sysdeps/i386/fpu/e_powl.S: Likewise.
10539 * sysdeps/i386/fpu/e_log10f.S: Likewise.
10540 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
10541 * sysdeps/i386/fpu/e_logl.S: Likewise.
10542 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
10543 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
10544 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
10545 * sysdeps/i386/fpu/e_log2f.S: Likewise.
10546 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
10547 * sysdeps/i386/fpu/e_log.S: Likewise.
10548 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
10549 * sysdeps/i386/fpu/e_logf.S: Likewise.
10550 * sysdeps/i386/fpu/e_log10l.S: Likewise.
10551 * sysdeps/i386/fpu/e_atanh.S: Likewise.
10552 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
10553 * sysdeps/i386/fpu/e_log10.S: Likewise.
10554 * sysdeps/i386/fpu/s_frexp.S: Likewise.
10555 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
10556 * sysdeps/i386/fpu/s_asinh.S: Likewise.
10557 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
10558 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
10559 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
10560 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
10561 * sysdeps/i386/i686/strtok.S: Likewise.
10562 * sysdeps/i386/i386-mcount.S: Likewise.
10563 * sysdeps/i386/strtok.S: Likewise.
10564 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
10565 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
10566 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
10567 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
10568 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
10569 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
10570 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
10571 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
10572 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
10573 * sysdeps/x86_64/_mcount.S: Likewise.
10574 * sysdeps/x86_64/strtok.S: Likewise.
10575 * sysdeps/sh/_mcount.S: Likewise.
10577 2012-08-01 Roland McGrath <roland@hack.frob.com>
10579 * libio/iofopen.c: Include <fcntl.h>.
10580 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
10581 (_IO_fopen64, fopen64): Define as aliases.
10582 * libio/iofopen64.c: Include <fcntl.h>.
10583 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
10584 Conditionalize body on this.
10585 * sysdeps/wordsize-64/iofopen.c: File removed.
10586 * sysdeps/wordsize-64/iofopen64.c: File removed.
10588 2012-08-01 Marek Polacek <polacek@redhat.com>
10590 * libc/Makeconfig: Use elf in place of binfmt-subdir.
10591 Use dlfcn directly instead of a variable.
10592 (binfmt-subdir): Do not define.
10595 2012-08-01 Joseph Myers <joseph@codesourcery.com>
10597 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
10598 Remove all definitions.
10599 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
10600 <kernel-features.h>.
10601 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
10602 (miss_F_GETOWN_EX): Remove all definitions.
10603 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
10605 [!__ASSUME_FCNTL64]: Remove conditional code.
10606 [__ASSUME_FCNTL64]: Make code unconditional.
10607 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
10608 <kernel-features.h>.
10609 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
10610 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
10611 (lockf64) [__NR_fcntl64]: Make code unconditional.
10612 (lockf64) [__ASSUME_FCNTL64]: Likewise.
10614 * sysdeps/unix/sysv/linux/kernel-features.h
10615 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
10616 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
10617 Make code unconditional.
10618 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
10619 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
10620 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
10621 [__NR_vfork]: Make code unconditional.
10622 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
10623 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
10624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
10625 [__NR_vfork]: Make code unconditional.
10626 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
10627 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
10629 2012-08-01 Roland McGrath <roland@hack.frob.com>
10631 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
10632 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
10634 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
10635 Define mkstemp64 as an alias.
10636 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
10637 Define mkstemps64 as an alias.
10638 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
10639 Define mkostemp64 as an alias.
10640 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
10641 Define mkostemps64 as an alias.
10642 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
10643 Conditionalize body on this.
10644 * misc/mkostemp64.c: Likewise.
10645 * misc/mkostemps64.c: Likewise.
10646 * misc/mkstemps64.c: Likewise.
10647 * sysdeps/wordsize-64/mkstemp64.c: File removed.
10648 * sysdeps/wordsize-64/mkostemp64.c: File removed.
10649 * sysdeps/wordsize-64/mkostemp.c: File removed.
10650 * sysdeps/wordsize-64/mkstemp.c: File removed.
10651 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
10652 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
10653 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
10654 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
10657 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
10658 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
10659 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
10660 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
10662 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
10663 compat_symbol macros from <shlib-compat.h> rather than the underlying
10664 default_symbol_version and symbol_version macros, so that DEFAULT
10665 lines in shlib-versions are respected.
10666 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
10668 2012-08-01 Florian Weimer <fweimer@redhat.com>
10670 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
10671 Declare with warn_unused_result.
10672 (setgid, setregid, setegid, setresgid): Likewise.
10673 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
10675 * WUR-REPORT: Remove set*id functions.
10677 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
10679 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
10681 2012-07-31 Roland McGrath <roland@hack.frob.com>
10683 * include/sys/socket.h (__libc_accept, __libc_accept4):
10684 Add attribute_hidden.
10685 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
10687 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
10689 * inet/getnetgrent_r.c (setup): Likewise.
10691 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
10693 2012-07-31 David S. Miller <davem@davemloft.net>
10695 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10697 2012-07-31 Joseph Myers <joseph@codesourcery.com>
10700 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
10701 value between 1.0 and 2.0 and smaller part has absolute value less
10703 * math/s_clog10.c (__clog10): Likewise.
10704 * math/s_clog10f.c (__clog10f): Likewise.
10705 * math/s_clog10l.c (__clog10l): Likewise.
10706 * math/s_clogf.c (__clogf): Likewise.
10707 * math/s_clogl.c (__clogl): Likewise.
10708 * math/libm-test.inc (clog_test): Add more tests.
10709 (clog10_test): Likewise.
10710 * sysdeps/i386/fpu/libm-test-ulps: Update.
10711 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10713 2012-07-31 Florian Weimer <fweimer@redhat.com>
10715 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
10716 Exit with zero in case no suitable GID is found, and write a
10717 message to standard error.
10719 2012-07-30 Roland McGrath <roland@hack.frob.com>
10721 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
10723 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
10724 (MAXPATHLEN): Removed.
10725 (NOGROUP, NODEV): New macros.
10726 (setbit, clrbit, isset, isclr): New macros.
10727 (howmany, roundup, powerof2): New macros.
10728 (DEV_BSIZE): New macro.
10730 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
10731 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
10733 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
10734 definition on [!__NO_LONG_DOUBLE_MATH].
10736 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
10737 PTR_MANGLE and PTR_DEMANGLE.
10739 * socket/accept4.c (accept4): Rename to __libc_accept4.
10740 Define accept4 as a weak alias.
10742 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
10743 on [_DIRENT_HAVE_D_TYPE].
10744 * io/ftw.c (ftw_dir): Likewise.
10746 * io/xmknod.c (__xmknod): Don't check PATH for being null.
10748 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
10750 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
10751 Use the BSD numbers rather than the arbitrary ones we had.
10752 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
10753 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
10754 (SIGXCPU, SIGXFSZ): New macros.
10757 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
10758 initializer on [_LIBC_REENTRANT].
10760 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
10761 definitions inside [_POSIX_MAPPED_FILES].
10763 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
10765 * dirent/opendir.c: Include <fcntl.h>.
10767 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
10768 (__libc_getspecific): Likewise.
10769 (__libc_key_create): Likewise.
10771 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
10772 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
10773 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
10774 (tmpfile64): Define as alias.
10775 * sysdeps/wordsize-64/tmpfile.c: File removed.
10776 * sysdeps/wordsize-64/tmpfile64.c: File removed.
10777 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
10778 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
10780 * stdio-common/vfscanf.c: Include <stdbool.h>.
10781 * nss/makedb.c: Likewise.
10782 * stdio-common/_i18n_number.h: Likewise.
10783 * argp/argp-help.c: Likewise.
10784 * posix/wordexp.c: Likewise.
10785 * sysdeps/posix/spawni.c: Likewise.
10786 * nss/nss_files/files-initgroups.c: Likewise.
10787 * stdio-common/reg-modifier.c: Include <stdlib.h>.
10788 * nss/nss_files/files-initgroups.c: Likewise.
10789 * nss/nss_db/db-netgrp.c: Likewise.
10790 * nss/nss_db/db-initgroups.c: Likewise.
10791 * io/fchmodat.c: Include <sys/stat.h>.
10793 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
10794 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
10796 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
10799 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
10800 Add multiple inclusion protection.
10802 2012-07-27 David S. Miller <davem@davemloft.net>
10804 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10806 2012-07-27 Gary Benson <gbenson@redhat.com>
10809 * elf/rtld.c: Include <stap-probe.h>.
10810 (dl_main): Added static probes "init_start" and "init_complete".
10811 * elf/dl-load.c: Include <stap-probe.h>.
10812 (lose): Take new parameter "nsid".
10813 Added static probe "map_failed".
10814 (_dl_map_object_from_fd): Pass namespace id to lose.
10815 Added static probe "map_start".
10816 (open_verify): Pass namespace id to lose.
10817 * elf/dl-open.c: Include <stap-probe.h>.
10818 (dl_open_worker) Added static probes "map_complete", "reloc_start"
10819 and "reloc_complete".
10820 * elf/dl-close.c: Include <stap-probe.h>.
10821 (_dl_close_worker): Added static probes "unmap_start" and
10823 * elf/rtld-debugger-interface.txt: New file documenting the above.
10825 2012-07-26 Roland McGrath <roland@hack.frob.com>
10827 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
10828 rather than a string variable.
10829 * sunrpc/rpc_main.c (h_output): Likewise.
10830 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
10832 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
10834 * inet/check_native.c: New file.
10836 2012-07-26 Joseph Myers <joseph@codesourcery.com>
10839 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
10840 if larger part has absolute value 1.0.
10841 * math/s_clog10.c (__clog10): Likewise.
10842 * math/s_clog10f.c (__clog10f): Likewise.
10843 * math/s_clog10l.c (__clog10l): Likewise.
10844 * math/s_clogf.c (__clogf): Likewise.
10845 * math/s_clogl.c (__clogl): Likewise.
10846 * math/libm-test.inc (clog_test): Add more tests.
10847 (clog10_test): Likewise.
10848 * sysdeps/i386/fpu/libm-test-ulps: Update.
10849 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10851 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
10852 (pltexit): Likewise.
10853 (La_regs): Likewise.
10854 (La_retval): Likewise.
10855 (int_retval): Likewise.
10856 Update #error for removed macros to refer only to definitions in
10858 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
10860 (pltexit): Likewise.
10861 (La_regs): Likewise.
10862 (La_retval): Likewise.
10863 (int_retval): Likewise.
10864 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
10866 (pltexit): Likewise.
10867 (La_regs): Likewise.
10868 (La_retval): Likewise.
10869 (int_retval): Likewise.
10870 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
10872 (pltexit): Likewise.
10873 (La_regs): Likewise.
10874 (La_retval): Likewise.
10875 (int_retval): Likewise.
10876 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
10878 (pltexit): Likewise.
10879 (La_regs): Likewise.
10880 (La_retval): Likewise.
10881 (int_retval): Likewise.
10882 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
10884 (pltexit): Likewise.
10885 (La_regs): Likewise.
10886 (La_retval): Likewise.
10887 (int_retval): Likewise.
10888 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
10890 (pltexit): Likewise.
10891 (La_regs): Likewise.
10892 (La_retval): Likewise.
10893 (int_retval): Likewise.
10894 * sysdeps/generic/tst-audit.h: Update comment to refer only to
10895 macro definitions in tst-audit.h.
10896 * sysdeps/i386/tst-audit.h: New file.
10897 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
10898 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
10899 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
10900 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
10901 * sysdeps/sh/tst-audit.h: Likewise.
10902 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
10903 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
10904 * sysdeps/x86_64/tst-audit.h: Likewise.
10906 2012-07-26 Andreas Jaeger <aj@suse.de>
10908 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
10911 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
10912 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
10913 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
10915 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
10916 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
10917 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
10919 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
10922 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
10924 (si_call_addr, si_syscall, si_arch): Define new macro.
10925 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
10927 (si_call_addr, si_syscall, si_arch): Define new marcro.
10928 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
10930 (si_call_addr, si_syscall, si_arch): Define new macro.
10931 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
10933 (si_call_addr, si_syscall, si_arch): Define new macro.
10935 2012-07-25 Joseph Myers <joseph@codesourcery.com>
10938 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
10939 Change to 2.4.21 where previously 2.4.1.
10940 * sysdeps/unix/sysv/linux/configure: Regenerated.
10941 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
10942 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
10943 Linux kernel version.
10944 (__ASSUME_STD_AUXV): Remove.
10945 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
10947 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
10948 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
10949 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
10950 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
10951 (__ASSUME_NETLINK_SUPPORT): Likewise.
10952 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
10953 (__no_netlink_support): Remove conditional definition.
10954 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
10956 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
10957 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
10958 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
10959 (if_nameindex_ioctl): Remove.
10960 (if_nameindex_netlink): Do not handle __no_netlink_support.
10961 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
10963 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
10964 Remove conditional code.
10965 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
10967 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
10969 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
10970 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
10971 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
10973 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
10974 [!__ASSUME_STD_AUXV]: Remove conditional code.
10975 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
10976 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
10977 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
10978 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
10979 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
10980 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
10982 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
10983 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
10984 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
10985 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
10987 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
10988 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
10989 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
10991 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
10992 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
10994 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
10995 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
10996 code unconditional.
10997 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10999 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
11001 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
11004 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
11006 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11008 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
11009 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
11010 code unconditional.
11011 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11013 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
11015 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11017 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
11018 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
11019 code unconditional.
11020 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11022 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
11024 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11027 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
11029 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
11030 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
11031 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
11032 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
11033 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
11034 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
11035 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
11036 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
11037 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
11038 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
11039 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
11040 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
11041 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
11042 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
11043 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
11044 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
11045 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
11046 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
11047 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
11048 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
11049 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
11050 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
11051 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
11053 2012-07-25 Florian Weimer <fweimer@redhat.com>
11055 * Versions.def: Add GLIBC_2.17.
11056 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
11057 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
11058 Introduce __libc_secure_getenv.
11059 * stdlib/Versions (2.17): Add secure_getenv
11060 (GLIBC_PRIVATE): Add __libc_secure_getenv.
11061 * stdlib/secure-getenv.c: Rename __secure_getenv to
11062 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
11063 symbol __secure_getenv for GLIBC_2.0.
11064 * stdlib/tst-secure-getenv.c: New.
11065 * stdlib/Makefile (tests): Add testcase.
11066 * manual/startup.texi (Environment Access): Document
11068 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
11069 __libc_secure_getenv.
11070 * inet/ruserpass.c (ruserpass): Likewise.
11071 * malloc/mtrace.c (mtrace): Likewise.
11072 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
11073 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
11074 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
11075 * sysdeps/posix/tempname.c: Likewise. Evaluate
11076 HAVE_SECURE_GETENV.
11077 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
11078 __secure_getenv to __libc_secure_getenv.
11079 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
11080 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11084 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
11085 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
11086 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
11087 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
11088 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
11089 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
11090 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
11092 2012-07-25 Joseph Myers <joseph@codesourcery.com>
11094 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
11095 (struct La_i86_retval): Likewise.
11096 (struct La_x86_64_regs): Likewise.
11097 (struct La_x86_64_retval): Likewise.
11098 (struct La_x32_regs): Likewise.
11099 (struct La_x32_retval): Likewise.
11100 (struct La_ppc32_regs): Likewise.
11101 (struct La_ppc32_retval): Likewise.
11102 (struct La_ppc64_regs): Likewise.
11103 (struct La_ppc64_retval): Likewise.
11104 (struct La_sh_regs): Likewise.
11105 (struct La_sh_retval): Likewise.
11106 (struct La_s390_32_regs): Likewise.
11107 (struct La_s390_32_retval): Likewise.
11108 (struct La_s390_64_regs): Likewise.
11109 (struct La_s390_64_retval): Likewise.
11110 (struct La_sparc32_regs): Likewise.
11111 (struct La_sparc32_retval): Likewise.
11112 (struct La_sparc64_regs): Likewise.
11113 (struct La_sparc64_retval): Likewise.
11114 (struct audit_ifaces): Remove architecture-specific pltenter and
11116 * sysdeps/i386/ldsodefs.h: New file.
11117 * sysdeps/powerpc/ldsodefs.h: Likewise.
11118 * sysdeps/s390/ldsodefs.h: Likewise.
11119 * sysdeps/sh/ldsodefs.h: Likewise.
11120 * sysdeps/sparc/ldsodefs.h: Likewise.
11121 * sysdeps/x86_64/ldsodefs.h: Likewise.
11123 2012-07-25 Marek Polacek <polacek@redhat.com>
11126 * math/libm-test.inc (yn_test): Add another test.
11127 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
11128 to ERANGE when the result is +-Inf.
11129 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
11130 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
11131 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
11132 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
11134 2012-07-24 Joseph Myers <joseph@codesourcery.com>
11136 * conform/data/time.h-data (NULL): Use macro-constant. Require
11138 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
11140 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
11142 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
11144 * configure.in <sysdeps resolving>: Correct printing
11146 * configure: Regenerate.
11148 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
11150 * math/w_ilogb.c: Include <limits.h>.
11151 * math/w_ilogbl.c: Likewise.
11153 2012-07-20 Joseph Myers <joseph@codesourcery.com>
11155 * manual/lang.texi (__va_copy): Document primarily as ISO C99
11156 va_copy. Document allowing for unavailable va_copy only as
11157 pre-C99 compatibility.
11158 * manual/string.texi (Copying and Concatenation): Use va_copy
11159 instead of __va_copy in concat example.
11161 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
11163 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
11164 (__sendto): Use create_address_port. Initialize APORT and deallocate
11167 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
11168 with O_NOLINK passed to __file_name_lookup.
11170 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
11171 with O_NOLINK passed to __file_name_lookup.
11173 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
11174 negative N or less than NGIDS.
11176 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
11177 type to string_t. Set ERANGE as errno and return it if NAME is not big
11178 enough. Use memcpy instead of strncpy.
11180 2012-07-20 Joseph Myers <joseph@codesourcery.com>
11182 * elf/Makefile (check-data): Remove.
11183 (localplt.data): New vpath directive.
11184 ($(objpfx)check-localplt.out): Use localplt.data from vpath
11185 instead of $(check-data).
11186 * scripts/data/localplt-generic.data: Move to ...
11187 * sysdeps/generic/localplt.data: ... here.
11188 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
11189 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
11190 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
11191 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
11193 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
11194 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
11196 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
11197 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
11199 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
11200 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
11202 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
11203 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
11205 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
11206 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
11209 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11211 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
11212 PPC32 and PPC64 files.
11213 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
11214 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
11216 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11218 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
11219 __makecontext_ret to ...
11220 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
11221 ... here and call exit if uc_link is NULL. New file.
11222 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
11223 __makecontext_ret.S.
11224 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
11225 __makecontext_ret to ...
11226 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
11227 ... here and call exit if uc_link is NULL. New file.
11228 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
11229 __makecontext_ret.S.
11231 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11233 * elf/elf.h (R_390_IRELATIVE): New definition.
11234 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
11235 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
11236 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
11237 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
11238 (elf_machine_lazy_rel): Likewise.
11239 * sysdeps/s390/dl-irel.h: New file.
11240 * sysdeps/s390/s390-64/memcpy.S: New asm code.
11241 * sysdeps/s390/s390-64/memset.S: New asm code.
11242 * sysdeps/s390/s390-64/memcmp.S: New asm code.
11243 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
11244 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
11245 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
11246 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
11247 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
11248 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
11249 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
11250 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
11251 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
11252 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
11253 * sysdeps/s390/s390-32/memcpy.S: New asm code.
11254 * sysdeps/s390/s390-32/memset.S: New asm code.
11255 * sysdeps/s390/s390-32/memcmp.S: New asm code.
11257 2012-07-17 Marek Polacek <polacek@redhat.com>
11260 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
11261 * sysdeps/s390/s390-64/configure.in: Likewise.
11262 * sysdeps/sparc/configure.in: Likewise.
11263 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
11264 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
11265 * sysdeps/i386/configure.in: Likewise.
11266 * sysdeps/x86_64/configure.in: Likewise.
11267 * sysdeps/sh/configure.in: Likewise.
11268 * sysdeps/s390/s390-32/configure: Regenerated.
11269 * sysdeps/s390/s390-64/configure: Likewise.
11270 * sysdeps/x86_64/configure: Likewise.
11271 * sysdeps/sh/configure: Likewise.
11272 * sysdeps/powerpc/powerpc64/configure: Likewise.
11273 * sysdeps/powerpc/powerpc32/configure: Likewise.
11274 * sysdeps/sparc/configure: Likwise.
11275 * sysdeps/i386/configure: Likewise.
11277 * elf/dl-open.c: Comment fixes.
11279 2012-07-17 Joseph Myers <joseph@codesourcery.com>
11281 * Makefile [CXX] (check-data): Remove.
11282 [CXX] (c++-types.data): New vpath directive.
11283 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
11284 vpath. Do not allow for C++ type data being missing.
11285 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
11286 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
11287 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
11288 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
11289 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
11290 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
11291 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
11292 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
11294 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
11295 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
11297 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
11298 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
11300 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
11301 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
11303 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
11304 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
11306 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
11307 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
11309 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
11310 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
11312 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
11313 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
11315 * elf/tls-macros.h (TLS_LE): Move architecture-specific
11316 definitions to architecture-specific files.
11317 (TLS_IE): Likewise.
11318 (TLS_LD): Likewise.
11319 (TLS_GD): Likewise.
11320 * sysdeps/i386/tls-macros.h: New file.
11321 * sysdeps/powerpc/tls-macros.h: Likewise.
11322 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
11323 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
11324 * sysdeps/sh/tls-macros.h: Likewise.
11325 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
11326 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
11327 * sysdeps/x86_64/tls-macros.h: Likewise.
11329 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
11331 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
11332 zero value for regular exit case.
11334 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
11335 (__start_context): Preserve zero value for regular exit case.
11337 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
11338 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11340 * manual/setjmp.texi (setcontext): Clarify normal process
11341 termination when uc_link is the null pointer.
11342 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
11345 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
11347 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
11348 preprocessor. Test for each exception mask separately.
11350 2012-07-16 Andreas Jaeger <aj@suse.de>
11352 * po/ru.po: Update from translation team.
11354 2012-07-15 Joseph Myers <joseph@codesourcery.com>
11356 * conform/data/string.h-data (NULL): Use macro-constant. Require
11358 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
11359 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
11360 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
11361 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
11362 [ISO || ISO99 || ISO11] (*_t): Do not allow.
11364 2012-07-13 Andreas Jaeger <aj@suse.de>
11366 * po/fr.po: Update from translation team.
11368 2012-07-12 Marek Polacek <polacek@redhat.com>
11371 * math/libm-test.inc (yn_test): Add test for BZ #14173.
11372 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
11375 2012-07-12 Joseph Myers <joseph@codesourcery.com>
11378 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
11379 Change to 2.4.1 where previously 2.4.0.
11380 * sysdeps/unix/sysv/linux/configure: Regenerated.
11381 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
11382 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
11384 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
11385 (__ASSUME_AT_CLKTCK): Remove.
11386 (__ASSUME_AT_PAGESIZE): Likewise.
11387 (__ASSUME_AT_XID): Likewise.
11388 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
11389 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
11390 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
11392 (HAVE_AUX_PAGESIZE): Likewise.
11393 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
11394 [__ASSUME_AT_CLKTCK]: Make code unconditional.
11395 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
11397 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
11400 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
11401 the temporary buffer used to invoke __gethostbyname2_r,
11402 __gethostbyaddr_r and gethostbyname4_r to make room for struct
11403 host_data / struct gaih_addrtuple.
11404 * resolv/nss_dns/dns-host.c (global scope): Move definition of
11405 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
11406 header file nss/nsswitch.h.
11407 * nss/nsswitch.h (global scope): Add definition of implementation
11408 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
11409 resolv/nss_dns/dns-host.c).
11411 2012-07-11 Andreas Jaeger <aj@suse.de>
11413 * po/fr.po: Update from translation team.
11415 * po/sv.po: Update from translation team
11416 * po/fr.po: Another update from translation team.
11418 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11420 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
11421 for subnormals or multiply small sinh result by itself.
11422 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
11423 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11425 2012-07-11 David S. Miller <davem@davemloft.net>
11427 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11429 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
11432 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
11433 (INTERNAL_MARK): Shift it here.
11435 2012-07-10 Marek Polacek <polacek@redhat.com>
11438 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
11439 libc_cv_asm_global_directive with .globl.
11440 * configure: Regenerated.
11441 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
11443 * sysdeps/i386/configure: Regenerated.
11444 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
11446 * sysdeps/x86_64/configure: Regenerated.
11447 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
11448 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
11449 * elf/tst-unique2mod2.c: Likewise.
11450 * elf/tst-unique2mod1.c: Likewise.
11451 * elf/tst-unique1mod2.c: Likewise.
11452 * elf/tst-unique1mod1.c: Likewise.
11453 * sysdeps/s390/s390-32/sysdep.h: Likewise.
11454 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
11455 * sysdeps/s390/s390-64/sysdep.h: Likewise.
11456 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
11457 * sysdeps/mach/sysdep.h: Likewise.
11458 * sysdeps/i386/sysdep.h: Likewise.
11459 * sysdeps/i386/i386-mcount.S: Likewise.
11460 * sysdeps/x86_64/_mcount.S: Likewise.
11461 * sysdeps/x86_64/sysdep.h: Likewise.
11462 * sysdeps/sh/_mcount.S: Likewise.
11463 * sysdeps/sh/sysdep.h: Likewise.
11464 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
11465 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
11466 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
11467 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
11468 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
11469 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
11470 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
11471 * locale/localeinfo.h: Likewise.
11472 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
11473 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
11475 2012-07-09 Roland McGrath <roland@hack.frob.com>
11478 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
11480 * manual/message.texi (The Uniforum approach): Likewise.
11481 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
11482 (glibc iconv Implementation): Likewise.
11484 2012-07-09 Joseph Myers <joseph@codesourcery.com>
11487 * math/s_clog.c (__clog): Avoid scaling a value down where that
11488 could result in underflow.
11489 * math/s_clog10.c (__clog10): Likewise.
11490 * math/s_clog10f.c (__clog10f): Likewise.
11491 * math/s_clog10l.c (__clog10l): Likewise.
11492 * math/s_clogf.c (__clogf): Likewise.
11493 * math/s_clogl.c (__clogl): Likewise.
11494 * math/libm-test.inc (clog_test): Add more tests.
11495 (clog10_test): Likewise.
11496 * sysdeps/i386/fpu/libm-test-ulps: Update.
11497 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11499 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
11502 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
11503 by 7 not 8 to examine high bit of fractional part.
11506 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
11507 for call to __mcount_internal.
11508 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
11509 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
11510 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
11512 2012-07-06 Joseph Myers <joseph@codesourcery.com>
11515 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
11516 approximation for values within 0x1p-13f of an odd multiple of
11518 * math/libm-test.inc (tan_test): Do not allow spurious underflow
11519 exception. Add more tests.
11520 * sysdeps/i386/fpu/libm-test-ulps: Update.
11523 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
11524 inputs and return -1 for them. Do not check for +Inf in case not
11525 reachable for +Inf.
11526 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
11527 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
11528 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
11529 and return -1 for them. Do not check for +Inf in case not
11530 reachable for +Inf.
11531 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
11533 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
11534 and return -1 for them. Do not check for +Inf in case not
11535 reachable for +Inf.
11536 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
11537 spurious underflow.
11538 * sysdeps/i386/fpu/libm-test-ulps: Update.
11539 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11541 2012-07-06 Mike Frysinger <vapier@gentoo.org>
11543 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
11545 2012-07-05 Joseph Myers <joseph@codesourcery.com>
11549 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
11550 could result in spurious underflow. Scale down values above
11551 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
11552 * math/s_csqrtf.c (__csqrtf): Likewise.
11553 * math/s_csqrtl.c (__csqrtl): Likewise.
11554 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
11555 spurious underflow.
11556 * sysdeps/i386/fpu/libm-test-ulps: Update.
11557 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11559 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
11561 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
11563 * catgets/xopen-msg.awk: New file.
11564 * catgets/xopen-msg.sed: Removed.
11566 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
11568 * intl/po2test.awk: New file.
11569 * intl/po2test.sed: Removed.
11571 2012-07-04 Joseph Myers <joseph@codesourcery.com>
11574 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
11575 or multiply small sinh result by itself.
11576 * math/s_ctanf.c (__ctanf): Likewise.
11577 * math/s_ctanh.c (__ctanh): Likewise.
11578 * math/s_ctanhf.c (__ctanhf): Likewise.
11579 * math/s_ctanhl.c (__ctanhl): Likewise.
11580 * math/s_ctanl.c (__ctanl): Likewise.
11581 * math/libm-test.inc (ctan_test_tonearest): New function.
11582 (ctan_test_towardzero): Likewise.
11583 (ctan_test_downward): Likewise.
11584 (ctan_test_upward): Likewise.
11585 (ctanh_test_tonearest): Likewise.
11586 (ctanh_test_towardzero): Likewise.
11587 (ctanh_test_downward): Likewise.
11588 (ctanh_test_upward): Likewise.
11589 (main): Call these new functions.
11590 * sysdeps/i386/fpu/libm-test-ulps: Update.
11591 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11593 2012-07-03 Mike Frysinger <vapier@gentoo.org>
11595 * .gitignore: Delete /ports entry.
11597 2012-07-03 Andreas Jaeger <aj@suse.de>
11599 * po/bg.po: Update from translation team.
11600 * po/cs.po: Likewise.
11601 * po/de.po: Likewise.
11602 * po/hr.po: Likewise.
11603 * po/nl.pl: Likewise.
11604 * po/pl.po: Likewise.
11605 * po/vi.po: Likewise.
11607 2012-07-03 Joseph Myers <joseph@codesourcery.com>
11609 * Makeconfig [!+link] (+link-before-libc): New variable.
11610 [!+link] (+link-after-libc): Likewise.
11611 [!+link] (+link-tests): Likewise.
11612 [!+link] (+link): Define in terms of $(+link-before-libc) and
11613 $(+link-after-libc).
11614 [!+link-static] (+link-static-before-libc): New variable.
11615 [!+link-static] (+link-static-after-libc): Likewise.
11616 [!+link-static] (+link-static-tests): Likewise.
11617 [!+link-static] (+link-static): Define in terms of
11618 $(+link-static-before-libc) and $(+link-static-after-libc).
11619 [build-shared] (link-libc-before-gnulib): New variable.
11620 [build-shared] (link-libc-tests): Likewise.
11621 [build-shared] (link-libc): Define in terms of
11622 $(link-libc-before-gnulib).
11623 [!build-shared] (link-libc-tests): New variable.
11624 (link-libc-static-tests): New variable.
11625 [!gnulib] (gnulib-arch): New variable.
11626 [!gnulib] (gnulib-tests): Likewise.
11627 [!gnulib] (static-gnulib-arch): Likewise.
11628 [!gnulib] (static-gnulib-tests): Likewise.
11629 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
11630 Define with "=" instead of ":=".
11631 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
11632 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
11633 * Rules (binaries-all-notests): New variable.
11634 (binaries-all-tests): Likewise.
11635 (binaries-static-notests): Likewise.
11636 (binaries-static-tests): Likewise.
11637 (binaries-all): Define using $(binaries-all-notests) and
11638 $(binaries-all-tests).
11639 (binaries-static): Define using $(binaries-static-notests) and
11640 $(binaries-static-tests).
11641 (binaries-shared-tests): New variable.
11642 (binaries-shared-notests): Likewise.
11643 (binaries-shared): Remove variable.
11644 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
11645 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
11646 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
11647 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
11648 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
11649 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
11650 * elf/Makefile (sln-modules): New variable.
11651 (extra-objs): Add $(sln-modules:=.o).
11652 (ldconfig-modules): Add static-stubs.
11653 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
11654 * elf/static-stubs.c: New file.
11657 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
11658 by 7 not 8 to examine high bit of fractional part. Use volatile
11659 variables when splitting into final array of floats if
11660 __FLT_EVAL_METHOD__ != 0.
11661 * math/libm-test.inc (cos_test): Add another test.
11662 (sin_test): Likewise.
11663 * sysdeps/i386/fpu/libm-test-ulps: Update.
11666 * math/libm-test.inc (cosh_test): Add more tests.
11668 * version.h (RELEASE): Set to "development".
11669 (VERSION): Set to "2.16.90".
11671 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
11673 * NEWS: Update copyright. Remove last-updated date.
11674 Mention math library bug fixes and timezone data changes.
11675 * README: Mention GNU/Hurd, x32, and HPPA support status.
11677 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
11679 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
11681 2012-06-27 Andreas Jaeger <aj@suse.de>
11683 * manual/contrib.texi (Contributors): Add Samuel Thibault.
11685 2012-06-25 Andreas Jaeger <aj@suse.de>
11687 * sysdeps/s390/fpu/libm-test-ulps: Update.
11689 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
11690 Thomas Schwinge <thomas@codesourcery.com>
11692 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
11693 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
11694 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
11697 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
11699 * sysdeps/mach/start.c: Remove file.
11700 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
11701 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
11702 * sysdeps/sh/init-first.c: Likewise.
11704 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
11705 registers for frame unwinding purposes, add CFI directives.
11706 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
11707 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
11708 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
11711 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
11712 __fortify_fail returning.
11713 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
11715 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
11716 sysdeps/sh/____longjmp_chk.S.
11717 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
11718 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
11719 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
11720 (gen-as-const-headers): Append sigaltstack-offsets.sym.
11722 * sysdeps/sh/abort-instr.h: New file.
11723 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
11724 process in case exit returns.
11726 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
11727 initialize the GOT register before use.
11729 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
11730 calculation of ARGC > 4.
11732 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
11733 meaningful names to some local labels.
11735 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11736 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11738 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
11739 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
11740 (__arch_compare_and_exchange_val_16_acq): Likewise.
11741 (__arch_compare_and_exchange_val_32_acq): Likewise.
11742 (atomic_exchange_and_add): Fix gUSA sequence.
11743 (atomic_add): Likewise.
11744 (atomic_add_negative): Likewise.
11745 (atomic_add_zero): Likewise.
11746 (atomic_bit_test_set): Likewise.
11748 2012-06-22 Andreas Schwab <schwab@redhat.com>
11751 * include/link.h (struct link_map): Add l_free_initfini.
11752 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
11754 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
11755 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
11756 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
11759 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
11761 * configure.in: Use AC_LANG_SOURCE.
11762 * configure: Regenerate.
11764 2012-06-22 Roland McGrath <roland@hack.frob.com>
11766 * configure.in (libc_cv_localstatedir): New substituted variable.
11767 * configure: Regenerated.
11768 * config.make.in (localstatedir): New variable, substituted from
11769 libc_cv_localstatedir.
11770 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
11771 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
11772 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
11773 * sysdeps/gnu/configure: Regenerated.
11775 2012-06-21 Jeff Law <law@redhat.com>
11778 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
11779 free. Simplify list management for _LIBC case.
11781 2012-06-21 Joseph Myers <joseph@codesourcery.com>
11784 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
11785 Clear sign bit of 64-bit integer value before comparing against
11788 * sysdeps/mach/configure: Regenerated.
11790 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
11793 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
11795 2012-06-21 Jeff Law <law@redhat.com>
11798 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
11799 uint16_t for elements in the "seen" array to avoid char overflows.
11800 * elf/dl-fini.c (_dl_sort_fini): Likewise.
11801 * elf/dl-open.c (dl_open_worker): Likewise.
11803 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
11805 * scripts/list-sources.sh: Scan PORTS for translations.
11806 * po/libc.pot: Regenerated.
11808 2012-06-21 Andreas Jaeger <aj@suse.de>
11811 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
11813 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
11814 * bits/byteswap-16.h (__bswap_16): Likewise.
11815 * bits/byteswap.h (__bswap_constant_16): Likewise.
11817 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
11820 * sysdeps/i386/fpu_control.h: Removed.
11821 * sysdeps/x86_64/fpu_control.h: Moved to ...
11822 * sysdeps/x86/fpu_control.h: Here.
11824 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
11825 (_FPU_SETCW): Likewise.
11827 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
11830 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
11831 * sysdeps/x86/fpu/bits/mathinline.h: This.
11832 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
11836 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
11837 functions if __x86_64__ is defined.
11839 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
11841 * string/endian.h: Add !__ASSEMBLER__ condition for including
11842 conversion interfaces.
11844 2012-06-15 Joseph Myers <joseph@codesourcery.com>
11847 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
11848 of ABS(x) in calculating zero to negative powers other than odd
11850 * math/libm-test.inc (pow_test): Add more tests.
11852 2012-06-15 Andreas Jaeger <aj@suse.de>
11854 * manual/contrib.texi (Contributors): Update entry of Liubov
11855 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
11858 2012-06-15 Cyril Hrubis <metan@ucw.cz>
11860 * string/string.h: Add __wur to GNU version of strerror_r.
11862 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
11865 * string/Makefile (tests): Add tst-strtok_r.
11866 * string/tst-strtok_r.c: New file.
11867 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
11868 RAX_LP/RDX_LP on SAVE_PTR.
11870 2012-06-14 Roland McGrath <roland@hack.frob.com>
11872 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
11874 2012-06-14 Joseph Myers <joseph@codesourcery.com>
11876 * libm_test.inc (csqrt_test): Allow more spurious underflow
11878 (j0_test): Likewise.
11879 (j1_test): Likewise.
11880 (y0_test): Likewise.
11881 (y1_test): Likewise.
11883 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
11885 * po/Makefile (libc.pot): Use UTF-8 charset.
11887 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
11890 Suppress sign-conversion warning from FD_SET.
11891 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
11892 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
11893 not unsigned long int.
11894 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
11896 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
11900 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
11901 __extern_always_inline instead of __extern_inline.
11902 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
11903 (__signbit): Likewise.
11904 (__signbitl): Support C++ namespace.
11905 (lrintf): New inline function.
11907 (llrintf): Likewise.
11908 (llrint): Likewise.
11918 (floorf): Likewise.
11919 (nearbyint): Likewise.
11920 (nearbyintf): Likewise.
11922 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
11924 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
11925 non-default versions.
11927 2012-06-11 Roland McGrath <roland@hack.frob.com>
11930 * manual/argp.texi (Argp): Reword argp_parse description slightly.
11932 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
11934 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
11935 (FE_UPWARD, FE_DOWNWARD): Don't define.
11936 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
11937 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
11939 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
11941 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
11942 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
11944 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11946 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
11947 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
11948 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
11949 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
11951 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
11954 * sysdeps/i386/fpu/bits/fenv.h: Removed.
11955 * sysdeps/i386/fpu/Implies: New file.
11956 * sysdeps/x86_64/fpu/Implies: Likewise.
11957 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
11958 * sysdeps/x86/fpu/bits/fenv.h: This.
11960 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
11963 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
11966 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
11967 character 0xffff that matches the last element of the
11970 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11972 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
11975 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11977 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
11978 values higher than 25.6283.
11980 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11982 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
11983 subnormal exponent extraction and add some __builtin_expect.
11984 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
11985 Fix for subnormal mantissa calculation.
11987 2012-06-04 Mike Frysinger <vapier@gentoo.org>
11989 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
11990 cpu2 is -1 and errno is not ENOSYS.
11992 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
11995 * sysdeps/i386/i486/bits/string.h: Renamed to ...
11996 * sysdeps/x86/bits/string.h: This.
11997 * sysdeps/x86_64/bits/string.h: Removed.
11999 * sysdeps/i386/i486/bits/string.h: Define inline functions only
12000 if not compiling for x86-64, but compiling for >= i486.
12002 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
12003 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
12005 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
12006 New macro from Linux kernel 3.4.0.
12007 (FP_XSTATE_MAGIC2): Likewise.
12008 (FP_XSTATE_MAGIC2_SIZE): Likewise.
12009 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
12010 (struct _fpx_sw_bytes): New struct.
12011 (struct _xsave_hdr): Likewise.
12012 (struct _ymmh_state): Likewise.
12013 (struct _xstate): Likewise.
12015 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
12016 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
12017 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
12018 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
12019 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
12020 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
12022 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
12023 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
12024 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
12025 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
12026 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
12027 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
12029 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12032 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
12033 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
12034 (sysdep_headers): Include sys/platform/ppc.h.
12035 * sysdeps/powerpc/test-gettimebase.c: Test for
12036 __ppc_get_timebase() to catch future ISA opcode/insn changes.
12037 * manual/Makefile (appendices): Include platform.texi.
12038 * manual/contrib.texi (Contributors): Update @node pointers.
12039 * manual/maint.texi (Maintenance): Likewise.
12040 (Platform): New node.
12041 * manual/platform.texi: New file. Document the new features.
12043 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12044 Jakub Jelinek <jakub@redhat.com>
12047 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
12048 where __builtin_expect is unavailable.
12050 2012-06-03 David S. Miller <davem@davemloft.net>
12052 * stdlib/longlong.h: Updated from GCC.
12054 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
12057 * sysdeps/powerpc/powerpc32/mcount.c: New file.
12058 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
12060 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
12061 (GLIBC_2.16): Likewise.
12063 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
12065 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
12067 2012-06-01 Joseph Myers <joseph@codesourcery.com>
12069 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
12070 (default-abi): New variable.
12071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
12072 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
12074 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
12076 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
12078 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
12081 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
12082 definition. Document in comment.
12084 2012-06-01 David S. Miller <davem@davemloft.net>
12086 * stdlib/longlong.h: Updated from GCC.
12088 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
12091 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
12092 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
12093 sys/debugreg.h sys/io.h here.
12094 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
12095 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
12097 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
12098 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
12099 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
12100 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
12101 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
12102 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
12104 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
12105 Define only if __x86_64__ is defined.
12107 2012-06-01 Joseph Myers <joseph@codesourcery.com>
12110 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
12111 Use int64_t for variable i.
12112 * math/libm-test.inc (fmod_test): Add more tests.
12114 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
12115 z computation is not scheduled after fetestexcept.
12116 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
12117 Use math_force_eval instead of asm to ensure calculation scheduled
12118 before exception test.
12119 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
12120 Ensure a1 + u.d computation is not scheduled after fetestexcept.
12122 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
12124 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
12125 computation is not scheduled after fetestexcept.
12127 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
12130 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
12131 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
12133 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12135 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
12136 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
12138 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
12141 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
12143 (__WCHAR_MIN): Support __WORDSIZE == 64.
12144 (__WCHAR_MAX): Likewise.
12146 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
12147 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
12150 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
12151 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
12154 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
12155 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
12157 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
12158 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
12160 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
12161 Defined to 1 if __x86_64__ isn't defined.
12162 (_STAT_VER_LINUX_OLD): New.
12163 (st_atime): Remove duplicate.
12164 (st_mtime): Likewise.
12165 (st_ctime): Likewise.
12167 2012-05-31 David S. Miller <davem@davemloft.net>
12169 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
12172 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
12174 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
12178 * elf/dl-reloc.c: Include <_itoa.h>.
12179 (_dl_reloc_bad_type): Remove use of INTUSE.
12180 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
12181 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
12182 * stdio-common/psiginfo.c (psiginfo): Likewise.
12183 * stdio-common/psignal.c (psignal): Likewise.
12184 * string/strsignal.c (strsignal): Likewise.
12185 * include/signal.h (_sys_siglist): Declare hidden proto.
12186 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
12187 INTVARDEF with libc_hidden_data_def.
12188 * stdio-common/itoa-udigits.c: Likewise.
12189 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
12190 (_itoa_lower_digits_internal): Remove declaration.
12191 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
12192 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
12193 (_sys_sigabbrev_internal): Remove aliases.
12194 (_sys_siglist): Define hidden alias.
12196 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
12198 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12201 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
12204 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
12205 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
12207 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
12208 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
12209 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
12210 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
12211 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
12212 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
12214 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
12215 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
12216 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
12218 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
12226 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
12227 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
12228 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
12230 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
12231 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
12232 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
12233 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
12234 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
12235 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
12237 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
12238 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
12240 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
12241 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
12243 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
12244 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
12245 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
12247 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
12248 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
12250 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
12252 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
12253 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
12254 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
12256 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
12258 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
12260 2012-05-31 Joseph Myers <joseph@codesourcery.com>
12262 * math/math.h (M_El): Use two more decimal places.
12263 (M_LOG2El): Likewise.
12264 (M_LOG10El): Likewise.
12265 (M_LN2l): Likewise.
12266 (M_LN10l): Likewise.
12268 (M_PI_2l): Likewise.
12269 (M_PI_4l): Likewise.
12270 (M_1_PIl): Likewise.
12271 (M_2_PIl): Likewise.
12272 (M_2_SQRTPIl): Likewise.
12273 (M_SQRT2l): Likewise.
12274 (M_SQRT1_2l): Likewise.
12276 2012-05-31 David S. Miller <davem@davemloft.net>
12278 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
12279 values between float registers.
12280 * sysdeps/sparc/sparc64/memset.S: Likewise.
12281 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
12283 2012-05-31 Mike Frysinger <vapier@gentoo.org>
12285 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
12286 -D_FORTIFY_SOURCE=1.
12287 (CPPFLAGS-tst-longjmp_chk.c): Define.
12288 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
12289 (CPPFLAGS-tst-longjmp_chk2.c): Define.
12290 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
12291 CFLAGS-tst-wchar-h.c.
12293 2012-05-31 Marek Polacek <polacek@redhat.com>
12296 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
12297 __endmntent_internal): Remove declaration.
12298 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
12299 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
12300 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
12302 2012-05-30 David S. Miller <davem@davemloft.net>
12304 * sysdeps/sparc/sparc32/soft-fp/q_util.c
12305 (___Q_simulate_exceptions): Use real FP ops rather than writing
12307 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
12310 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
12313 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
12314 * sysdeps/x86/bits/xtitypes.h: This.
12316 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
12317 * sysdeps/x86/bits/wordsize.h: This.
12319 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
12320 * sysdeps/x86/bits/huge_vall.h: This.
12322 * sysdeps/i386/bits/select.h: Removed.
12323 * sysdeps/x86_64/bits/select.h: Renamed to ...
12324 * sysdeps/x86/bits/select.h: This.
12326 * sysdeps/i386/bits/setjmp.h: Removed.
12327 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
12328 * sysdeps/x86/bits/setjmp.h: This.
12330 * sysdeps/i386/bits/mathdef.h: Removed.
12331 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
12332 * sysdeps/x86/bits/mathdef.h: This.
12334 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
12337 * include/sys/socket.h (__connect_internal)
12338 (__libc_sa_len_internal): Remove declaration.
12339 (__connect, __libc_sa_len): Declare hidden_proto.
12340 (SA_LEN): Remove use of INTUSE.
12341 * socket/connect.c: Add libc_hidden_def.
12342 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
12343 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
12344 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
12346 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
12347 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
12348 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
12349 of adding _internal alias.
12351 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
12354 * sysdeps/i386/bits/link.h: Removed.
12355 * sysdeps/i386/bits/linkmap.h: Likewise.
12356 * sysdeps/x86_64/bits/link.h: Renamed to ...
12357 * sysdeps/x86/bits/link.h: This.
12358 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
12359 * sysdeps/x86/bits/linkmap.h: This.
12361 * sysdeps/i386/bits/endian.h: Removed.
12362 * sysdeps/x86_64/bits/endian.h: Renamed to ...
12363 * sysdeps/x86/bits/endian.h: This.
12365 * sysdeps/i386/bits/byteswap.h: Removed.
12366 * sysdeps/i386/bits/byteswap-16.h: Likewise.
12367 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
12368 * sysdeps/x86/bits/byteswap.h: This.
12369 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
12370 * sysdeps/x86/bits/byteswap-16.h: This.
12371 * sysdeps/i386/Implies: Add x86.
12372 * sysdeps/x86_64/Implies: Likewise.
12374 2012-05-30 David S. Miller <davem@davemloft.net>
12376 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
12377 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
12378 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
12379 (FP_TRAPPING_EXCEPTIONS): Define.
12380 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
12381 (FP_TRAPPING_EXCEPTIONS): Define.
12382 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
12383 subnormals only when inexact has been signalled or underflow
12384 exceptions are enabled.
12385 (_FP_PACK_CANONICAL): Likewise.
12387 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
12390 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
12391 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
12393 2012-05-30 Richard Henderson <rth@twiddle.net>
12395 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
12396 with #ifndef NOT_IN_libc.
12398 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
12399 marked to avoid plt entry.
12401 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
12404 * Makeconfig (default-abi): New macro.
12405 (abi-includes): Likewise.
12406 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
12407 $(abi-$(default-abi)-lib-soname) for soname if defined.
12408 ($(common-objpfx)gnu/lib-names.stmp): Generate from
12410 * Makefile (installed-stubs): Likewise.
12411 * include/stubs-biarch.h: Removed.
12412 * scripts/lib-names.awk: Only handle one library at a time.
12413 * scripts/soversions.awk: Remove WORDSIZE support.
12414 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
12416 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
12418 (syscall-list-default-condition): Likewise.
12419 (syscall-list-default-condition): Likewise.
12420 (syscall-list-includes): Likewise.
12421 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
12422 syscall-list-* with abi-*. Handle undefined abi-variants.
12423 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
12424 * sysdeps/unix/sysv/linux/i386/Implies: New file.
12425 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
12426 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
12427 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
12428 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
12430 (syscall-list-32-options): Likewise.
12431 (syscall-list-32-condition): Likewise.
12432 (syscall-list-64-options): Likewise.
12433 (syscall-list-64-condition): Likewise.
12434 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
12436 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
12439 (abi-64-ld-soname): New macro.
12440 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
12441 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
12444 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
12445 * sysdeps/x86_64/x32/shlib-versions: Likewise.
12447 2012-05-30 Joseph Myers <joseph@codesourcery.com>
12449 * sysdeps/unix/sysv/linux/kernel-features.h
12450 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
12451 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
12452 include <kernel-features.h>.
12453 [!__NR_ftruncate64]: Remove conditional code.
12454 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12455 [__NR_ftruncate64]: Make code unconditional.
12456 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12457 * sysdeps/unix/sysv/linux/truncate64.c: Do not
12458 include <kernel-features.h>.
12459 [!__NR_ftruncate64]: Remove conditional code.
12460 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12461 [__NR_ftruncate64]: Make code unconditional.
12462 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12463 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
12464 include <kernel-features.h>.
12465 [!__NR_ftruncate64]: Remove conditional code.
12466 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12467 [__NR_ftruncate64]: Make code unconditional.
12468 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12469 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
12470 include <kernel-features.h>.
12471 [!__NR_ftruncate64]: Remove conditional code.
12472 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12473 [__NR_ftruncate64]: Make code unconditional.
12474 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12476 * configure.in (libc_cv_fpie): Weaken to a compile test using
12477 LIBC_TRY_CC_OPTION.
12478 * configure: Regenerated.
12480 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12482 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
12483 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
12484 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
12485 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
12487 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
12488 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
12489 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
12490 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
12491 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
12492 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
12495 2012-05-27 David S. Miller <davem@davemloft.net>
12497 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
12499 (__Q_simulate_exceptions): Return void. Change to simulate
12500 exceptions by writing into the %fsr.
12501 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
12502 (__Qp_handle_exceptions): Likewise.
12504 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
12505 __Qp_handle_exceptions.
12506 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
12507 __Qp_handle_exceptions.
12508 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
12509 as unused and give dummy FP_RND_NEAREST initializer.
12510 (FP_INHIBIT_RESULTS): Define.
12511 (___Q_simulate_exceptions): Update declaration.
12512 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
12514 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
12515 as unused and give dummy FP_RND_NEAREST initializer.
12516 (__Qp_handle_exceptions): Update declaration.
12517 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
12520 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
12522 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
12523 the temporary FPU control word.
12524 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
12525 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
12526 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
12527 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
12528 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
12529 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
12530 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
12531 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
12532 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
12533 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
12534 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
12536 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12538 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
12541 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
12543 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
12544 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
12545 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
12546 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
12548 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
12549 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
12552 2012-05-27 Ulrich Drepper <drepper@gmail.com>
12554 * po/h.po: Update from translation team.
12556 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
12558 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
12560 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
12561 handling of denormals.
12562 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
12563 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
12564 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
12565 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
12566 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
12567 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
12568 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
12571 2012-05-26 Marek Polacek <polacek@redhat.com>
12574 * math/libm-test.inc (fma_test): Don't always expect underflow
12577 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12580 * elf/tst-execstack.c: Include stackinfo.h.
12581 (do_test): Adjust test case to ensure that pthread_getattr_np
12582 behaviour remains the same after marking stack executable.
12584 2012-05-25 Joseph Myers <joseph@codesourcery.com>
12586 * sysdeps/unix/sysv/linux/kernel-features.h
12587 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
12588 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
12590 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
12591 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
12592 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
12594 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
12595 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
12597 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
12599 * configure.in: Define the default includes to being none.
12600 * configure: Regenerated.
12602 2012-05-25 Roland McGrath <roland@hack.frob.com>
12604 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
12605 * sysdeps/x86_64/setjmp.S: Likewise.
12606 * sysdeps/i386/bsd-setjmp.S: Likewise.
12607 * sysdeps/i386/bsd-_setjmp.S: Likewise.
12608 * sysdeps/i386/setjmp.S: Likewise.
12609 * sysdeps/i386/__longjmp.S: Likewise.
12610 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
12611 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
12613 * include/stap-probe.h: New file.
12614 * configure.in: Handle --enable-systemtap.
12615 * configure: Regenerated.
12616 * config.h.in (USE_STAP_PROBE): New #undef.
12617 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
12618 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
12619 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
12621 2012-05-25 Joseph Myers <joseph@codesourcery.com>
12624 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
12625 to 2.4.0 where earlier.
12626 * sysdeps/unix/sysv/linux/configure: Regenerated.
12627 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
12628 <kernel-features.h>.
12629 [__ASSUME_32BITUIDS]: Make code unconditional.
12630 [!__ASSUME_32BITUIDS]: Remove conditional code.
12631 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
12632 <kernel-features.h>.
12633 [__ASSUME_32BITUIDS]: Make code unconditional.
12634 [!__ASSUME_32BITUIDS]: Remove conditional code.
12635 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
12636 [__ASSUME_32BITUIDS]: Make code unconditional.
12637 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
12638 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
12639 <kernel-features.h>.
12640 [__ASSUME_32BITUIDS]: Make code unconditional.
12641 [!__ASSUME_32BITUIDS]: Remove conditional code.
12642 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
12643 <kernel-features.h>.
12644 [__ASSUME_32BITUIDS]: Make code unconditional.
12645 [!__ASSUME_32BITUIDS]: Remove conditional code.
12646 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
12647 <kernel-features.h>.
12648 [__ASSUME_32BITUIDS]: Make code unconditional.
12649 [!__ASSUME_32BITUIDS]: Remove conditional code.
12650 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
12651 <kernel-features.h>.
12652 [__ASSUME_32BITUIDS]: Make code unconditional.
12653 [!__ASSUME_32BITUIDS]: Remove conditional code.
12654 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
12655 <kernel-features.h>.
12656 [__ASSUME_32BITUIDS]: Make code unconditional.
12657 [!__ASSUME_32BITUIDS]: Remove conditional code.
12658 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
12659 <kernel-features.h>.
12660 [__ASSUME_32BITUIDS]: Make code unconditional.
12661 [!__ASSUME_32BITUIDS]: Remove conditional code.
12662 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
12663 <kernel-features.h>.
12664 [__ASSUME_32BITUIDS]: Make code unconditional.
12665 [!__ASSUME_32BITUIDS]: Remove conditional code.
12666 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
12667 <kernel-features.h>.
12668 [__ASSUME_32BITUIDS]: Make code unconditional.
12669 [!__ASSUME_32BITUIDS]: Remove conditional code.
12670 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
12671 <kernel-features.h>.
12672 [__ASSUME_32BITUIDS]: Make code unconditional.
12673 [!__ASSUME_32BITUIDS]: Remove conditional code.
12674 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
12675 <kernel-features.h>.
12676 [__ASSUME_32BITUIDS]: Make code unconditional.
12677 [!__ASSUME_32BITUIDS]: Remove conditional code.
12678 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
12679 <kernel-features.h>.
12680 [__NR_setresgid] (__setresgid): Do not declare.
12681 [__ASSUME_32BITUIDS]: Make code unconditional.
12682 [!__ASSUME_32BITUIDS]: Remove conditional code.
12683 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
12684 <kernel-features.h>.
12685 [__NR_setresuid] (__setresuid): Do not declare.
12686 [__ASSUME_32BITUIDS]: Make code unconditional.
12687 [!__ASSUME_32BITUIDS]: Remove conditional code.
12688 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
12689 <kernel-features.h>.
12690 [__ASSUME_32BITUIDS]: Make code unconditional.
12691 [!__ASSUME_32BITUIDS]: Remove conditional code.
12692 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
12693 <kernel-features.h>.
12694 [__ASSUME_32BITUIDS]: Make code unconditional.
12695 [!__ASSUME_32BITUIDS]: Remove conditional code.
12696 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
12697 <kernel-features.h>.
12698 [__ASSUME_32BITUIDS]: Make code unconditional.
12699 [!__ASSUME_32BITUIDS]: Remove conditional code.
12700 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
12701 <kernel-features.h>.
12702 [__ASSUME_32BITUIDS]: Make code unconditional.
12703 [!__ASSUME_32BITUIDS]: Remove conditional code.
12704 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
12705 <kernel-features.h>.
12706 [__ASSUME_32BITUIDS]: Make code unconditional.
12707 [!__ASSUME_32BITUIDS]: Remove conditional code.
12708 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
12709 <kernel-features.h>.
12710 [__ASSUME_32BITUIDS]: Make code unconditional.
12711 [!__ASSUME_32BITUIDS]: Remove conditional code.
12712 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
12713 <kernel-features.h>.
12714 [__ASSUME_32BITUIDS]: Make code unconditional.
12715 [!__ASSUME_32BITUIDS]: Remove conditional code.
12716 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
12717 <kernel-features.h>.
12718 [__ASSUME_32BITUIDS]: Make code unconditional.
12719 [!__ASSUME_32BITUIDS]: Remove conditional code.
12720 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
12721 <kernel-features.h>.
12722 [__ASSUME_32BITUIDS]: Make code unconditional.
12723 [!__ASSUME_32BITUIDS]: Remove conditional code.
12724 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
12725 <kernel-features.h>.
12726 [__ASSUME_32BITUIDS]: Make code unconditional.
12727 [!__ASSUME_32BITUIDS]: Remove conditional code.
12728 * sysdeps/unix/sysv/linux/kernel-features.h
12729 (__ASSUME_SETRESUID_SYSCALL): Remove.
12730 (__ASSUME_SETRESGID_SYSCALL): Likewise.
12731 (__ASSUME_32BITUIDS): Likewise.
12732 (__ASSUME_LDT_WORKS): Likewise.
12733 (__ASSUME_O_DIRECTORY): Likewise.
12734 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
12735 architecture but not kernel version.
12736 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
12737 (__ASSUME_MMAP2_SYSCALL): Likewise.
12738 (__ASSUME_STAT64_SYSCALL): Likewise.
12739 (__ASSUME_IPC64): Likewise.
12740 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
12741 <kernel-features.h>.
12742 [__ASSUME_32BITUIDS]: Make code unconditional.
12743 [!__ASSUME_32BITUIDS]: Remove conditional code.
12744 * sysdeps/unix/sysv/linux/opendir.c: Do not include
12745 <kernel-features.h>.
12746 [__ASSUME_O_DIRECTORY]: Make code unconditional.
12747 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
12748 132096]: Remove conditional code.
12749 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
12750 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
12751 <kernel-features.h>.
12752 [__ASSUME_32BITUIDS]: Make code unconditional.
12753 [!__ASSUME_32BITUIDS]: Remove conditional code.
12754 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
12755 <kernel-features.h>.
12756 [__ASSUME_32BITUIDS]: Make code unconditional.
12757 [!__ASSUME_32BITUIDS]: Remove conditional code.
12758 * sysdeps/unix/sysv/linux/setegid.c: Do not include
12759 <kernel-features.h>.
12760 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
12762 (__setresgid): Do not declare.
12763 [__ASSUME_32BITUIDS]: Make code unconditional.
12764 [!__ASSUME_32BITUIDS]: Remove conditional code.
12765 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
12766 <kernel-features.h>.
12767 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
12769 (__setresuid): Do not declare.
12770 [__ASSUME_32BITUIDS]: Make code unconditional.
12771 [!__ASSUME_32BITUIDS]: Remove conditional code.
12772 * sysdeps/unix/sysv/linux/sh/chown.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/sparc/sparc32/semctl.c: Do not include
12777 <kernel-features.h>.
12778 [__ASSUME_32BITUIDS]: Make code unconditional.
12779 [!__ASSUME_32BITUIDS]: Remove conditional code.
12781 2012-05-25 Richard Henderson <rth@twiddle.net>
12783 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
12784 dl_hwcap to ifunc resolver.
12785 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
12787 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
12788 dl_hwcap to ifunc resolver.
12789 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
12791 2012-05-24 Joseph Myers <joseph@codesourcery.com>
12794 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
12795 for |x| <= 2**-26, not 2**-57.
12796 * math/libm-test.inc (acos_test): Do not allow spurious underflow
12799 2012-05-24 Jeff Law <law@redhat.com>
12801 * stdio-common/Makefile (tests): Add bug25.
12802 * stdio-common/bug25.c: New test.
12804 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
12807 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
12808 multiple of MALLOC_ALIGNMENT in size.
12809 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
12811 2012-05-24 Joseph Myers <joseph@codesourcery.com>
12813 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
12815 (FILENAME_MAX): Use macro-int-constant.
12816 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
12817 (_IOFBF): Use macro-int-constant.
12818 (_IOLBF): Likewise.
12819 (_IONBF): Likewise.
12820 (SEEK_CUR): Likewise.
12821 (SEEK_END): Likewise.
12822 (SEEK_SET): Likewise.
12823 (TMP_MAX): Likewise.
12824 (EOF): Use macro-int-constant. Require < 0.
12825 (NULL): Use macro-constant. Require == 0.
12826 (stdin): Require type to be FILE *.
12827 (stdout): Likewise.
12828 (stderr): Likewise.
12829 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
12830 macro-int-constant.
12831 (EXIT_SUCCESS): Likewise.
12832 (NULL): Use macro-constant. Require == 0.
12833 (RAND_MAX): Use macro-int-constant.
12834 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
12835 [C99-based standards] (strtof): Require function.
12836 [C99-based standards] (strtold): Likewise.
12837 [C99-based standards] (strtoll): Likewise.
12838 [C99-based standards] (strtoull): Likewise.
12839 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
12840 [ISO || ISO99 || ISO11] (limits.h): Likewise.
12841 [ISO || ISO99 || ISO11] (math.h): Likewise.
12842 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
12843 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
12844 [ISO || ISO99 || ISO11] (*_t): Do not allow.
12846 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
12849 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
12850 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
12851 * intl/dgettext.c (DCGETTEXT): Likewise.
12852 * intl/gettext.c (DCGETTEXT): Likewise.
12853 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
12854 * posix/regex_internal.h (gettext): Likewise.
12855 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
12856 Remove declaration.
12857 * include/argz.h (__argz_count_internal)
12858 (__argz_stringify_internal): Remove declaration.
12859 (__argz_count, __argz_stringify): Declare hidden proto.
12860 * intl/dcgettext.c: Remove use of INTDEF.
12861 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
12862 * string/argz-stringify.c: Likewise.
12863 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
12864 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
12865 Declare hidden proto.
12866 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
12867 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
12868 Declare hidden proto.
12869 * include/stdio.h (__asprintf_internal): Don't declare.
12870 (__asprintf): Don't define as macro. Declare hidden proto.
12871 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
12872 (__fsetlocking): Declare hidden proto.
12873 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
12874 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
12876 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
12877 (_IO_setlinebuf): Remove use of INTUSE.
12878 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
12879 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
12880 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
12881 Remove declaration.
12882 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
12883 (_IO_do_flush): Remove use of INTUSE.
12884 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
12885 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
12886 (_IO_adjust_column, _IO_least_wmarker)
12887 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
12888 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
12889 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
12890 (_IO_default_doallocate, _IO_wdefault_doallocate)
12891 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
12892 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
12893 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
12894 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
12895 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
12896 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
12897 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
12898 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
12899 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
12900 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
12901 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
12902 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
12903 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
12905 (_IO_flush_all_internal, _IO_adjust_column_internal)
12906 (_IO_default_uflow_internal, _IO_default_finish_internal)
12907 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
12908 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
12909 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
12910 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
12911 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
12912 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
12913 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
12914 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
12915 (_IO_file_close_internal, _IO_file_close_it_internal)
12916 (_IO_file_underflow_internal, _IO_file_overflow_internal)
12917 (_IO_file_init_internal, _IO_file_attach_internal)
12918 (_IO_file_fopen_internal, _IO_file_read_internal)
12919 (_IO_file_sync_internal, _IO_file_seek_internal)
12920 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
12921 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
12922 (_IO_str_underflow_internal, _IO_str_overflow_internal)
12923 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
12924 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
12925 (_IO_list_all_internal, _IO_link_in_internal)
12926 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
12927 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
12928 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
12929 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
12930 (_IO_do_write_internal, _IO_padn_internal)
12931 (_IO_getline_info_internal, _IO_getline_internal)
12932 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
12933 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
12934 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
12935 (_IO_vfscanf_internal, _IO_vfprintf_internal)
12936 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
12937 (_IO_init_internal, _IO_un_link_internal): Don't declare.
12938 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
12939 with libc_hidden_ver, remove use of INTUSE.
12940 * libio/genops.c: Likewise.
12941 * libio/freopen.c: Likewise.
12942 * libio/freopen64.c: Likewise.
12943 * libio/iofclose.c: Likewise.
12944 * libio/iofdopen.c: Likewise.
12945 * libio/iofflush.c: Likewise.
12946 * libio/iofflush_u.c: Likewise.
12947 * libio/iofgets.c: Likewise.
12948 * libio/iofgets_u.c: Likewise.
12949 * libio/iofopen.c: Likewise.
12950 * libio/iofopncook.c: Likewise.
12951 * libio/iofread.c: Likewise.
12952 * libio/iofread_u.c: Likewise.
12953 * libio/ioftell.c: Likewise.
12954 * libio/iofwrite.c: Likewise.
12955 * libio/iogetline.c: Likewise.
12956 * libio/iogets.c: Likewise.
12957 * libio/iogetwline.c: Likewise.
12958 * libio/iopadn.c: Likewise.
12959 * libio/iopopen.c: Likewise.
12960 * libio/ioseekoff.c: Likewise.
12961 * libio/ioseekpos.c: Likewise.
12962 * libio/iosetbuffer.c: Likewise.
12963 * libio/iosetvbuf.c: Likewise.
12964 * libio/ioungetc.c: Likewise.
12965 * libio/ioungetwc.c: Likewise.
12966 * libio/iovdprintf.c: Likewise.
12967 * libio/iovsprintf.c: Likewise.
12968 * libio/iovsscanf.c: Likewise.
12969 * libio/memstream.c: Likewise.
12970 * libio/obprintf.c: Likewise.
12971 * libio/oldfileops.c: Likewise.
12972 * libio/oldiofclose.c: Likewise.
12973 * libio/oldiofdopen.c: Likewise.
12974 * libio/oldiofopen.c: Likewise.
12975 * libio/oldiopopen.c: Likewise.
12976 * libio/oldstdfiles.c: Likewise.
12977 * libio/putc.c: Likewise.
12978 * libio/setbuf.c: Likewise.
12979 * libio/setlinebuf.c: Likewise.
12980 * libio/stdfiles.c: Likewise.
12981 * libio/strops.c: Likewise.
12982 * libio/vasprintf.c: Likewise.
12983 * libio/vscanf.c: Likewise.
12984 * libio/vsnprintf.c: Likewise.
12985 * libio/vswprintf.c: Likewise.
12986 * libio/wfiledoalloc.c: Likewise.
12987 * libio/wfileops.c: Likewise.
12988 * libio/wgenops.c: Likewise.
12989 * libio/wmemstream.c: Likewise.
12990 * libio/wstrops.c: Likewise.
12991 * libio/__fpurge.c: Likewise.
12992 * libio/__fsetlocking.c: Likewise.
12993 * assert/assert.c: Likewise.
12994 * debug/fgets_chk.c: Likewise.
12995 * debug/fgets_u_chk.c: Likewise.
12996 * debug/fread_chk.c: Likewise.
12997 * debug/fread_u_chk.c: Likewise.
12998 * debug/gets_chk.c: Likewise.
12999 * debug/obprintf_chk.c: Likewise.
13000 * debug/vasprintf_chk.c: Likewise.
13001 * debug/vdprintf_chk.c: Likewise.
13002 * debug/vsnprintf_chk.c: Likewise.
13003 * debug/vsprintf_chk.c: Likewise.
13004 * malloc/mtrace.c: Likewise.
13005 * misc/error.c: Likewise.
13006 * misc/syslog.c: Likewise.
13007 * stdio-common/asprintf.c: Likewise.
13008 * stdio-common/fxprintf.c: Likewise.
13009 * stdio-common/getw.c: Likewise.
13010 * stdio-common/isoc99_fscanf.c: Likewise.
13011 * stdio-common/isoc99_scanf.c: Likewise.
13012 * stdio-common/isoc99_vfscanf.c: Likewise.
13013 * stdio-common/isoc99_vscanf.c: Likewise.
13014 * stdio-common/isoc99_vsscanf.c: Likewise.
13015 * stdio-common/printf-prs.c: Likewise.
13016 * stdio-common/printf_fp.c: Likewise.
13017 * stdio-common/printf_fphex.c: Likewise.
13018 * stdio-common/printf_size.c: Likewise.
13019 * stdio-common/putw.c: Likewise.
13020 * stdio-common/scanf.c: Likewise.
13021 * stdio-common/sprintf.c: Likewise.
13022 * stdio-common/tmpfile.c: Likewise.
13023 * stdio-common/vfprintf.c: Likewise.
13024 * stdio-common/vfscanf.c: Likewise.
13025 * stdlib/strfmon_l.c: Likewise.
13026 * sunrpc/openchild.c: Likewise.
13027 * sunrpc/xdr_stdio.c: Likewise.
13028 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
13029 * sysdeps/mach/hurd/tmpfile.c: Likewise.
13031 2012-05-24 Roland McGrath <roland@hack.frob.com>
13033 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
13035 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
13036 in the third column, to generate for the shared library an IFUNC
13037 that uses _dl_vdso_vsym.
13038 * Makerules (COMPILE.c, compile-stdin.c): New variables.
13039 * Makeconfig (object-suffixes-noshared): New variable.
13041 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
13042 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
13043 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
13044 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
13047 * include/sys/time.h (__gettimeofday): Remove macro.
13048 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
13049 * time/gettimeofday.c (__gettimeofday): Remove #undef.
13051 (__gettimeofday): Add libc_hidden_def.
13052 (gettimeofday): Add libc_hidden_weak.
13053 * sysdeps/mach/gettimeofday.c: Likewise.
13054 * sysdeps/posix/gettimeofday.c: Likewise.
13055 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
13056 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
13057 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
13058 (__gettimeofday_internal): Remove strong_alias.
13059 (__gettimeofday): Add libc_hidden_def.
13060 (gettimeofday): Add libc_hidden_weak.
13061 * sysdeps/unix/syscalls.list (gettimeofday):
13062 Remove __gettimeofday_internal alias.
13064 2012-05-24 Daniel Jacobowitz <drow@false.org>
13065 H.J. Lu <hongjiu.lu@intel.com>
13068 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
13069 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
13070 (largebin_index_32_big): New.
13071 (largebin_index): Use it for 16-byte alignment.
13072 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
13073 correction with front_misalign.
13075 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
13077 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
13078 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
13080 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
13082 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
13084 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
13086 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
13088 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
13090 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
13092 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
13094 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
13096 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
13098 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
13100 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
13103 * scripts/data/c++-types-x32-linux-gnu.data: New file.
13104 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
13106 2012-05-24 Joseph Myers <joseph@codesourcery.com>
13110 * math/libm-test.inc (exp_test): Add test from bug 14036.
13111 (pow_test): Add test from bug 10846.
13113 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
13115 (special_function): Do not include flags in test name.
13116 (parse_args): Likewise.
13117 * sysdeps/i386/fpu/libm-test-ulps: Update.
13118 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13119 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
13120 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
13121 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13123 * math/gen-libm-test.pl (%beautify): Add entries for underflow
13125 * math/libm-test.inc ("Philosophy"): Update comment about
13127 (UNDERFLOW_EXCEPTION): New macro.
13128 (UNDERFLOW_EXCEPTION_OK): Likewise.
13129 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
13130 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
13131 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
13132 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
13133 (INVALID_EXCEPTION_OK): Update value.
13134 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
13135 (OVERFLOW_EXCEPTION_OK): Likewise.
13136 (IGNORE_ZERO_INF_SIGN): Likewise.
13137 (test_exceptions): Handle underflow exceptions.
13138 (acos_test): Update for underflow exception expectations.
13139 (cexp_test): Likewise.
13140 (clog_test): Likewise.
13141 (clog10_test): Likewise.
13142 (csqrt_test): Likewise.
13143 (ctan_test): Likewise.
13144 (ctanh_test): Likewise.
13145 (exp_test): Likewise.
13146 (exp10_test): Likewise.
13147 (exp2_test): Likewise.
13148 (expm1_test): Likewise.
13149 (fma_test): Likewise.
13150 (j0_test): Likewise.
13151 (jn_test): Likewise.
13152 (nexttoward_test): Likewise.
13153 (pow_test): Likewise.
13154 (scalbn_test): Likewise.
13155 (scalbln_test): Likewise.
13156 (tan_test): Likewise.
13157 (y1_test): Likewise.
13158 * sysdeps/i386/fpu/libm-test-ulps: Update.
13159 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13161 2012-05-23 David S. Miller <davem@davemloft.net>
13163 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
13164 (__libc_sigaction): Remove unused local variables.
13166 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
13168 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
13170 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
13172 mktime: avoid signed integer overflow
13173 * time/mktime.c (__mktime_internal): Do not mishandle the case
13174 where diff == INT_MIN.
13176 mktime: simplify computation of average
13177 * time/mktime.c (ranged_convert): Use new time_t_avg function
13178 instead of rolling our own (probably-slower) code.
13180 mktime: do not assume signed right shift propagates sign bit
13181 * time/mktime.c (isdst_differ): New static function.
13182 (__mktime_internal): No need to normalize tm_isdst now.
13183 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
13186 mktime: merge another wrapv change from gnulib
13187 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
13188 from some compilers.
13190 mktime: remove incorrect attempt at unusual arithmetics
13191 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
13192 The code didn't really work on such machines anyway.
13193 (TYPE_MINIMUM): Assume two's complement.
13194 (twos_complement_arithmetic): Verify that long_int and time_t
13195 are two's complement (or unsigned, in the latter case).
13197 mktime: check signed shifts on long_int and time_t, too
13198 * time/mktime.c (SHR): Check that shifts work as desired
13199 on the types long_int and time_t too, as SHR is used on
13202 mktime: do not assume 'long' is wide enough
13203 * time/mktime.c (verify): Move decl up.
13204 (long_int): New type.
13205 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
13206 to remove assumption in the code that 'long' is wide enough to
13207 store year values. This assumption is not true on x32 and on
13208 some non-glibc platforms.
13210 mktime: merge wrapv change from gnulib
13211 * time/mktime.c (WRAPV): New macro.
13212 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
13213 (guess_time_tm, __mktime_internal): Do not assume that signed
13214 integer overflow wraps around; modern compilers generate code
13215 where this assumption is no longer valid.
13217 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
13219 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
13220 Replace "jmp L(pseudo_end)" with "ret".
13221 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
13224 2012-05-23 Andreas Jaeger <aj@suse.de>
13226 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
13227 * sysdeps/unix/sysv/linux/poll.c: Remove file.
13229 2012-05-23 Andreas Jaeger <aj@suse.de>
13230 Maximilian Attems <max@stro.at>
13232 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
13235 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
13237 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
13238 code so that pseudo_end is just ret and the stack pointer is
13239 correct also for static library in error case.
13241 2012-05-23 Joseph Myers <joseph@codesourcery.com>
13243 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
13244 move to syscalls.list.
13245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
13246 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
13247 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
13248 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
13250 * manual/install.texi (Running make install): Do not mention Linux
13251 kernel version for which pt_chown is not needed.
13252 (Linux): Do not mention problems with nscd with 2.0 kernels.
13253 * INSTALL: Regenerated.
13255 2012-05-23 Andreas Jaeger <aj@suse.de>
13257 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
13258 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
13260 * sysdeps/unix/sysv/linux/s390/bits/mman.h
13261 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13262 * sysdeps/unix/sysv/linux/sh/bits/mman.h
13263 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13264 * sysdeps/unix/sysv/linux/i386/bits/mman.h
13265 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13266 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
13267 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13268 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
13269 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13270 * sysdeps/unix/sysv/linux/bits/in.h
13271 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
13273 2012-05-22 Roland McGrath <roland@hack.frob.com>
13275 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
13276 (PREPARE_VERSION): Just use assert instead, it will be elided
13277 under [NDEBUG] anyway.
13279 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
13281 * sysdeps/unix/sysv/linux/Makefile: Include
13282 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
13283 (sysdep_routines): Remove sysctl.
13284 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
13285 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
13286 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
13287 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
13288 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
13290 2012-05-22 Andreas Jaeger <aj@suse.de>
13292 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
13293 that pseudo_end is just ret and the stack pointer is correct also
13294 for static library in error case.
13296 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
13299 * nss/nsswitch.c (defconfig_entries): New variable.
13300 (__nss_database_lookup): Don't leak defconfig entries.
13301 (nss_parse_service_list): Don't leak on error paths.
13302 (free_database_entries): New function.
13303 (free_defconfig): New function.
13304 (free_mem): Move common code to free_database_entries.
13306 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
13308 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
13310 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
13312 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
13313 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
13314 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
13316 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
13317 (INTERNAL_SYSCALL_TYPES): Likewise.
13318 (LOAD_ARGS_TYPES_[1-6]): Likewise.
13319 (LOAD_REGS_TYPES_[1-6]): Likewise.
13320 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
13321 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
13323 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13325 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
13326 copysignl for GLIBC_2_0.
13327 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
13328 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
13329 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
13330 logbl for GLIBC_2_0.
13331 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
13332 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
13334 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
13336 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
13337 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
13339 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
13342 * time/mktime.c: Update copyright years.
13344 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
13346 mktime: merge comment-quoting-style change from gnulib
13347 * time/mktime.c: Quote 'like this' in comments.
13348 The GNU coding standards suggest that we no longer quote `like this',
13349 as "`" and "'" are typically rendered asymmetrically nowadays.
13350 The typical gnulib style is to quote 'like this' when quoting
13351 code, and "like this" when quoting English.
13353 * time/mktime.c (compile-command): Add "-I.".
13355 mktime: merge mktime-internal.h change from gnulib
13356 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
13358 mktime: merge time_r change from gnulib
13359 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
13361 mktime: merge DEBUG change from gnulib
13362 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
13363 case system <time.h> has a #define.
13365 mktime: merge <sys/types.h> change from gnulib
13366 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
13367 since <time.t> is now guaranteed to define time_t.
13369 mktime: merge HAVE_CONFIG_H change from gnulib
13370 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
13372 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
13374 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
13377 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
13379 (struct rusage): Use anonymous union to pad each field to
13382 2012-05-21 David S. Miller <davem@davemloft.net>
13384 * Makefules (o-iterator): Remove .s cases.
13385 (compile-command.s): Delete.
13386 (COMPILE.s): Delete.
13387 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
13389 2012-05-21 Joseph Myers <joseph@codesourcery.com>
13391 * configure.in (libc_cv_predef_stack_protector): Only consider
13392 "foobar" and "__stack_chk_fail" lines in libc_undefs.
13393 * configure: Regenerated.
13395 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
13397 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
13398 New macro. Use R*LP on int and pointer.
13399 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
13400 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
13401 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
13402 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
13404 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
13405 [__WORDSIZE_TIME64_COMPAT32] instead of
13406 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
13407 (struct utmp): Likewise.
13408 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
13409 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
13411 (__WORDSIZE_TIME64_COMPAT32): This.
13412 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
13413 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
13414 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
13415 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
13416 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
13417 (__WORDSIZE_TIME64_COMPAT32): New macro.
13419 2012-05-21 Andreas Jaeger <aj@suse.de>
13421 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
13422 only if [SHARED]. Add prototype for __wcschr_ia32.
13424 2012-05-21 Roland McGrath <roland@hack.frob.com>
13426 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
13427 of %rbp unmolested in the jmp_buf while mangling the low bits.
13428 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
13429 unmolested high bits of %rbp while demangling the low bits.
13430 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
13432 2012-05-21 Andreas Jaeger <aj@suse.de>
13434 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
13435 * sunrpc/svc_simple.c: Use it for registerrpc.
13436 * sunrpc/xcrypt.c: Use it for passwd2des.
13438 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
13440 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
13442 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
13443 Don't define if [__SYSCALL_WORDSIZE != 32].
13444 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
13447 2012-05-21 Bruno Haible <bruno@clisp.org>
13448 Andreas Jaeger <aj@suse.de>
13450 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
13451 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
13452 inptr and inend for must_buffer_ch.
13453 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
13454 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
13455 * stdio-common/Makefile (tests): Remove bug15.
13456 (bug15-ENV): Remove macro.
13457 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
13460 2012-05-19 Andreas Jaeger <aj@suse.de>
13461 Roland McGrath <roland@hack.frob.com>
13463 * manual/contrib.texi: Completely rewritten. It contains now an
13464 alphabetical list of contributors and their contributions.
13466 2012-05-21 Richard Henderson <rth@twiddle.net>
13468 * misc/getauxval.c (__getauxval): Use unsigned long int.
13469 * misc/sys/auxv.h: Include <sys/cdefs.h>.
13470 (getauxval): Use unsigned long int.
13472 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
13474 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
13476 2012-05-21 Roland McGrath <roland@hack.frob.com>
13478 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
13479 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
13480 __alignof__ (long double).
13482 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13484 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13486 2012-05-20 Richard Henderson <rth@twiddle.net>
13488 * misc/getauxval.c: New file.
13489 * misc/sys/auxv.h: New file.
13490 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
13491 (routines): Add getauxval.
13492 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
13493 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
13494 * elf/dl-sysdep.c (_dl_auxv): Remove.
13495 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
13496 * elf/dl-support.c (_dl_auxv): New variable.
13497 (_dl_aux_init): Initialize it.
13498 * manual/startup.texi (Auxiliary Vector): New node.
13499 * sysdeps/generic/bits/hwcap.h: New file.
13500 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
13501 * sysdeps/powerpc/sysdep.h: ... here. Include it.
13502 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
13503 * sysdeps/sparc/sysdep.h: ... here. Include it.
13504 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
13505 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
13506 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
13509 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
13510 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
13511 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
13512 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
13513 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
13514 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
13515 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
13517 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13519 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13521 2012-05-19 David S. Miller <davem@davemloft.net>
13523 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13525 2012-05-19 Joseph Myers <joseph@codesourcery.com>
13528 * math/s_ccosh.c: Include <float.h>
13529 (__ccosh): Avoid internal overflow calculating sinh and cosh
13530 values before multiplying by sin and cos values.
13531 * math/s_ccoshf.c: Likewise.
13532 * math/s_ccoshl.c: Likewise.
13533 * math/s_csin.c: Likewise.
13534 * math/s_csinf.c: Likewise.
13535 * math/s_csinl.c: Likewise.
13536 * math/s_csinh.c: Likewise.
13537 * math/s_csinhf.c: Likewise.
13538 * math/s_csinhl.c: Likewise.
13539 * math/libm-test.inc (ccos_test): Add more tests.
13540 (ccosh_test): Likewise.
13541 (csin_test): Likewise.
13542 (csinh_test): Likewise.
13543 * sysdeps/i386/fpu/libm-test-ulps: Update.
13544 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13546 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
13548 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
13549 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
13551 * sysdeps/x86_64/x32/_itoa.h: Add comment.
13553 2012-05-19 Joseph Myers <joseph@codesourcery.com>
13555 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
13556 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
13557 * sysdeps/powerpc/soft-fp/Versions: Likewise.
13558 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
13559 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
13560 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
13561 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
13562 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
13563 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
13564 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
13565 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
13566 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
13567 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
13568 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
13569 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
13570 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
13571 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
13572 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
13573 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
13574 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
13575 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
13576 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
13577 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
13578 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
13579 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
13580 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
13581 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
13582 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
13583 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
13584 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
13585 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
13587 2012-05-18 Andreas Jaeger <aj@suse.de>
13589 * csu/.gitignore: Delete.
13591 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
13593 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
13594 (timex): Use __syscall_slong_t.
13596 2012-05-18 Andreas Jaeger <aj@suse.de>
13597 Carlos O'Donell <carlos_odonell@mentor.com>
13599 * manual/install.texi (Configuring and compiling): Update
13600 description about files modified in the source directory.
13601 * INSTALL: Regenerated.
13603 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
13605 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
13606 value. Use "or" to set return value to -1.
13607 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
13608 negate return value.
13610 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13612 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
13613 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
13614 failure if the compiler has Graphite support disabled.
13615 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
13617 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
13618 CFLAGS-memmove.c): Likewise.
13619 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
13622 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
13624 * sysdeps/x86_64/x32/_itoa.h: New file.
13626 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
13627 getdents system call only if kernel and user dirents have the
13628 same d_ino and d_off.
13630 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
13631 LLONG_MAX != LONG_MAX.
13632 (_itoa_word): Use _ITOA_WORD_TYPE on value.
13633 (_fitoa_word): Likewise.
13635 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
13637 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
13638 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
13639 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
13641 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
13642 include <bits/wordsize.h>. Check __x86_64__ instead of
13644 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
13645 if __x86_64__ is defined. Use anonymous union on fpstate.
13647 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
13650 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
13652 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
13653 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
13654 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
13655 Refer to _rtld_local_ro instead of _rtld_global_ro.
13656 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
13658 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
13660 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
13662 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
13663 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
13664 of _rtld_global, and rtld_progname instead of _dl_argv[0].
13666 * sysdeps/powerpc/powerpc32/dl-machine.c
13667 (__elf_machine_runtime_setup) [PROF]: Don't reference
13670 2012-05-18 Andreas Jaeger <aj@suse.de>
13672 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
13673 function only available for GCCs before 3.4 since GCC 3.4
13674 introduced a builtin.
13676 (llrintf): Likewise.
13677 (llrint): Likewise.
13684 (nearbyint): Likewise.
13685 (nearbyintf): Likewise.
13689 (floorf): Likewise.
13691 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
13693 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
13694 on both fields and cast pointer to __syscall_ulong_t.
13696 * bits/types.h (__fsword_t): New type.
13697 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
13698 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
13699 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13700 (__FSWORD_T_TYPE): Likewise.
13701 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13702 (__FSWORD_T_TYPE): Likewise.
13703 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13704 (__FSWORD_T_TYPE): Likewise.
13705 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
13706 (__FSWORD_T_TYPE): Likewise.
13707 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
13708 __SWORD_TYPE with __fsword_t.
13709 (statfs64): Likewise.
13711 2012-05-17 David S. Miller <davem@davemloft.net>
13713 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
13715 2012-05-17 Andreas Jaeger <aj@suse.de>
13717 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
13720 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
13722 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
13724 2012-05-17 Andreas Jaeger <aj@suse.de>
13726 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
13729 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
13731 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
13733 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
13735 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
13736 * sysdeps/x86_64/tst-mallocalign1.c: New file.
13738 2012-05-17 Andreas Jaeger <aj@suse.de>
13739 Carlos O'Donell <carlos_odonell@mentor.com>
13742 * sysdeps/x86_64/multiarch/init-arch.h
13743 (bit_YMM_Usable): Rename to...
13744 (bit_AVX_Usable): ... this.
13745 (bit_FMA4_Usable): New macro.
13746 (bit_XMM_state): New macro.
13747 (bit_YMM_state): New macro.
13748 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
13749 [__ASSEMBLER__] (index_AVX_Usable): ... this.
13750 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
13751 (CPUID_OSXSAVE): New macro.
13752 (CPUID_AVX): New macro.
13753 (CPUID_FMA4): New macro.
13754 (index_YMM_Usable): Rename to...
13755 (index_AVX_Usable): ... this.
13756 (HAS_AVX): Use HAS_ARCH_FEATURE.
13757 (HAS_FMA4): Likewise.
13758 (HAS_YMM_USABLE): Remove.
13759 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13760 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
13762 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
13763 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
13764 * sysdeps/x86_64/multiarch/Makefile: Likewise.
13765 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
13766 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
13768 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
13770 * math/libm-test.c: Support platforms without multiple rounding modes.
13771 * math/bug-nextafter.c: Support platforms without FP exceptions.
13772 * math/bug-nexttoward.c: Likewise.
13773 * math/test-fenv.c: Likewise.
13774 * math/test-misc.c: Likewise.
13775 * stdlib/bug-getcontext.c: Likewise.
13777 2012-05-17 Andreas Jaeger <aj@suse.de>
13779 * manual/examples/search.c (critter_cmp): Change signature to
13781 * manual/string.texi (Collation Functions): Likewise.
13783 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13785 * bits/types.h: Fold copyright years.
13786 * bits/typesizes.h: Likewise.
13787 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
13788 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
13789 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
13790 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
13791 * time/time.h: Likewise.
13793 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
13796 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
13797 in instead of returning them. Return void.
13798 (__libc_mallinfo): Accumulate over all arenas.
13799 (__malloc_stats): Adjust for change in int_mallinfo interface.
13801 2012-05-16 Roland McGrath <roland@hack.frob.com>
13804 * configure.in (NM): Add AC_CHECK_TOOL for it.
13805 (libc_extra_cflags): New substituted variable.
13806 Check for -fstack-protector being used implicitly.
13807 * configure: Regenerated.
13808 * config.make.in (config-extra-cflags): New variable,
13809 gets @libc_extra_cflags@.
13810 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
13813 * configure.in: Check for _FORTIFY_SOURCE being predefined.
13814 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
13815 * configure: Regenerated.
13816 * config.make.in (CPPUNDEFS): New substituted variable.
13817 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
13818 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
13819 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
13821 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13823 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
13824 (mq_attr): Use __syscall_slong_t.
13826 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13828 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
13829 Check __x86_64__ instead of __WORDSIZE.
13830 (_STAT_VER_LINUX): Likewise.
13831 (stat): Check __x86_64__ instead of __WORDSIZE. Use
13832 __syscall_ulong_t and __syscall_slong_t.
13833 (stat64): Likewise.
13835 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13837 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
13839 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13841 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
13843 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13845 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
13848 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
13849 include <bits/wordsize.h>. Check __x86_64__ instead of
13851 (greg_t): Use "__extension__ long long int" if __x86_64__ is
13853 (mcontext_t): Replace "unsigned long" with "unsigned long long".
13855 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
13856 include <bits/wordsize.h>. Check __x86_64__ instead of
13858 (user_regs_struct): Use "__extension__ unsigned long long"
13859 instead of "unsigned long" if __x86_64__ is defined.
13860 (user): Likewise. Pad after pointer field if __ILP32__ is
13863 2012-05-16 Joseph Myers <joseph@codesourcery.com>
13865 * configure.in (makeinfo): Require version 4.5 or later. Allow
13867 * configure: Regenerated.
13868 * manual/install.texi (texinfo): Increase version requirement to
13870 * INSTALL: Regenerated.
13872 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
13874 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13876 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
13878 * sysdeps/x86_64/x32/ffs.c: New file.
13880 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
13882 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
13883 defined. Use __syscall_ulong_t.
13884 (shminfo): Use __syscall_ulong_t.
13885 (shm_info): Likewise.
13887 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
13890 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
13892 (msgqnum_t): Use __syscall_ulong_t.
13893 (msglen_t): Likewise.
13894 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
13897 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
13898 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
13900 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
13902 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
13903 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
13905 * sysvipc/sys/msg.h (msgbuf): Replace long int with
13908 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
13909 include <bits/wordsize.h>. Check __x86_64__ instead of
13912 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
13913 "unsigned long long int" if __x86_64__ is defined.
13914 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
13916 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
13917 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
13918 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
13920 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
13922 (GET_PC): Cast to uintptr_t first.
13923 (GET_FRAME): Likewise.
13924 (GET_STACK): Likewise.
13926 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
13927 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
13928 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
13929 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
13930 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
13931 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
13932 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
13933 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
13934 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
13935 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
13936 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
13937 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
13938 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
13939 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
13940 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
13941 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
13942 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
13943 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
13944 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
13945 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
13946 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
13947 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
13948 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
13949 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
13950 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
13951 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
13952 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
13953 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
13954 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
13956 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
13958 * Makerules (+depfiles): Also collect depfiles from .oS in
13960 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
13961 .oS, $(libnldbl-routines)).
13963 * Makerules (native-compile-mkdep-flags): Define.
13964 * sunrpc/Makefile (extra-objs): Add $(addprefix
13965 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
13966 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
13967 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
13968 calling $(make-target-directory).
13970 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13972 * bits/types.h (__snseconds_t): Removed.
13973 * time/time.h (struct timespec): Replace __snseconds_t with
13975 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
13976 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
13978 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13979 (__SNSECONDS_T_TYPE): Likewise.
13980 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13981 (__SNSECONDS_T_TYPE): Likewise.
13982 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13983 (__SNSECONDS_T_TYPE): Likewise.
13985 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13987 * sysdeps/mach/hurd/bits/typesizes.h
13988 (__SYSCALL_SLONG_TYPE): New macro.
13989 (__SYSCALL_ULONG_TYPE): Likewise.
13991 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13993 * bits/types.h (__syscall_slong_t): New type.
13994 (__syscall_ulong_t): Likewise.
13996 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
13997 (__SYSCALL_ULONG_TYPE): Likewise.
13998 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13999 (__SYSCALL_SLONG_TYPE): Likewise.
14000 (__SYSCALL_ULONG_TYPE): Likewise.
14001 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
14002 (__SYSCALL_SLONG_TYPE): Likewise.
14003 (__SYSCALL_ULONG_TYPE): Likewise.
14004 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14005 (__SYSCALL_SLONG_TYPE): Likewise.
14006 (__SYSCALL_ULONG_TYPE): Likewise.
14008 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14010 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
14011 Add sigaltstack-offsets.sym.
14012 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
14013 <sigaltstack-offsets.h>.
14014 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
14015 longjmp_msg pointer.
14016 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
14017 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
14019 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
14021 2012-05-15 Joseph Myers <joseph@codesourcery.com>
14023 * elf/stackguard-macros.h: Remove file.
14024 * sysdeps/generic/stackguard-macros.h: New file.
14025 * sysdeps/i386/stackguard-macros.h: Likewise.
14026 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
14027 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
14028 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
14029 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
14030 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
14031 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
14032 * sysdeps/x86_64/stackguard-macros.h: Likewise.
14033 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
14034 <elf/stackguard-macros.h>.
14037 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
14038 __aligned__ in attribute.
14039 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
14040 (gregset_t): Likewise.
14042 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14044 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
14045 * sysdeps/x86_64/64/Implies-after: Here. New file.
14046 * sysdeps/x86_64/x32/Implies-after: New file.
14048 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14050 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
14051 and access return value for _dl_profile_fixup. Use R10_LP to
14054 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14056 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
14058 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14060 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
14061 * sysdeps/x86_64/x32/sysdep.h: New file.
14063 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14065 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
14066 * sysdeps/x86_64/setjmp.S: Likewise.
14068 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14070 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
14071 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
14072 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
14073 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
14074 remove unused global constant.
14076 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
14078 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
14079 include of <not-cancel.h>.
14081 2012-05-15 Roland McGrath <roland@hack.frob.com>
14083 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
14085 2012-05-15 Jeff Law <law@redhat.com>
14086 Andreas Jaeger <aj@suse.de>
14089 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
14091 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
14092 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
14093 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
14094 code changing __hst_map_handle.map.
14096 2012-05-15 Roland McGrath <roland@hack.frob.com>
14098 * configure.in (sysnames): Look for Implies-before and Implies-after
14100 * configure: Regenerated.
14102 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14104 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
14105 8-byte data alignment with LP_SIZE alignment.
14107 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14109 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
14112 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14114 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
14116 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14118 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
14119 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
14120 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
14122 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
14124 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14126 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
14127 (stackinfo_sub_sp): Likewise.
14129 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14131 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
14134 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14136 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
14139 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14141 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
14144 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14146 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
14148 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14150 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
14151 into R11_LP and load __x86_64_shared_cache_size_half into
14154 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14156 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
14159 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14161 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
14163 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
14165 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
14167 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
14168 powerpc32/power7/fpu/s_logb.c via #include.
14169 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
14170 powerpc32/power7/fpu/s_logbf.c via #include.
14171 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
14172 powerpc32/power7/fpu/s_logbl.c via #include.
14174 2012-05-15 Joseph Myers <joseph@codesourcery.com>
14176 * README.libm: Remove file.
14178 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14180 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
14181 count for x32. Use R*_LP and omit operand-size suffix.
14183 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14185 * shlib-versions: Move x86_64-.*-linux.* entries to ...
14186 * sysdeps/x86_64/64/shlib-versions: Here. New file.
14187 * sysdeps/x86_64/x32/shlib-versions: New file.
14189 2012-05-14 Roland McGrath <roland@hack.frob.com>
14191 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
14192 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
14193 Use _dl_fatal_printf instead.
14195 2012-05-14 Joseph Myers <joseph@codesourcery.com>
14197 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
14198 set if not set by the user. Do not allow for being unset.
14199 * sysdeps/unix/sysv/linux/configure: Regenerated.
14201 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14203 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
14204 the `q' suffix from lea and replace .quad with ASM_ADDR.
14206 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14208 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
14209 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
14211 (PTR_DEMANGLE): Likewise.
14213 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14215 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
14217 (ASM_ADDR): Likewise.
14218 (RAX_LP): Likewise.
14219 (RBP_LP): Likewise.
14220 (RBX_LP): Likewise.
14221 (RCX_LP): Likewise.
14222 (RDI_LP): Likewise.
14223 (RSI_LP): Likewise.
14224 (RSP_LP): Likewise.
14227 (R10_LP): Likewise.
14228 (R10_LP): Likewise.
14229 (R11_LP): Likewise.
14230 (R12_LP): Likewise.
14231 (R13_LP): Likewise.
14232 (R14_LP): Likewise.
14233 (R15_LP): Likewise.
14235 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14237 * sysdeps/x86_64/x32/dl-machine.h: New file.
14239 2012-05-14 Andreas Jaeger <aj@suse.de>
14241 * manual/Makefile (subdir): Remove export of subdir.
14242 (all): Remove target.
14243 (.PHONY): Remove all from list.
14244 (mkinstalldirs): Remove.
14245 (.PHONY): Remove installdirs from list.
14246 ($(inst_infodir)/libc.info): Use make-target-directory.
14247 (installdirs): Remove.
14248 (subdir_%): Remove.
14249 (glibc-targets): Remove.
14252 ($(objpfx)stubs ../po/manual.pot): Remove.
14253 ($(objpfx)stamp%): Remove.
14254 (make-target-directory): Remove.
14255 (subdir_install): Remove.
14256 (routines): Remove.
14263 * manual/.gitignore: Remove, it's not needed anymore.
14264 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
14266 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
14268 (texis): Renamed to $(objpfx)texis.
14269 (texis-path): New, contains path to generated files.
14270 (chapters.%): Use texis-path for complete path, add extra argument
14272 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
14273 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
14274 (summary,texi, stamp-summary): Use complete path of
14275 files. Generate files in build dir.
14276 (dir-add.texi): Build in build dir.
14277 (libm-err.texi,stamp-libm-err): Likewise.
14278 (version.texi, stamp-version): Likewise.
14279 (.%c.texi): Likewise.
14280 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
14281 (mostlyclean): Remove target.
14282 (realclean): Remove target.
14283 (generated): Add new variable with contents from mostlyclean and
14284 realclean, remove entries duplicated in common-mostlyclean, add
14285 stamp-libm-err and stamp-version.
14286 (generated-dirs): Add libc directory.
14287 ($(inst_infodir)/libc.info): Install files from build dir.
14289 * manual/install.texi (Configuring and compiling): Adjust since
14290 the info files are not part of the tar ball anymore.
14292 2012-05-14 Andreas Jaeger <aj@suse.de>
14294 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
14297 2012-05-14 Joseph Myers <joseph@codesourcery.com>
14300 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
14301 to 2.2.0 where earlier.
14302 * sysdeps/unix/sysv/linux/configure: Regenerated.
14303 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
14304 Remove conditional code.
14305 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
14306 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
14307 Remove conditional code.
14308 [!__NR_lchown]: Likewise.
14309 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
14310 [__NR_lchown]: Likewise.
14311 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
14312 comment referencing __ASSUME_LCHOWN_SYSCALL.
14313 * sysdeps/unix/sysv/linux/i386/sigaction.c
14314 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
14315 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
14316 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
14317 Remove conditional code.
14318 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
14319 (__protocol_available): Remove #if 0 code.
14320 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
14322 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
14323 * sysdeps/unix/sysv/linux/kernel-features.h
14324 (__ASSUME_GETCWD_SYSCALL): Don't define.
14325 (__ASSUME_REALTIME_SIGNALS): Likewise.
14326 (__ASSUME_PREAD_SYSCALL): Likewise.
14327 (__ASSUME_PWRITE_SYSCALL): Likewise.
14328 (__ASSUME_POLL_SYSCALL): Likewise.
14329 (__ASSUME_LCHOWN_SYSCALL): Likewise.
14330 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
14332 (__ASSUME_SIOCGIFNAME): Don't define.
14333 (__ASSUME_MSG_NOSIGNAL): Likewise.
14334 (__ASSUME_SENDFILE): Define unconditionally.
14335 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
14336 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
14338 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
14339 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
14340 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
14341 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
14342 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
14343 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
14344 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
14345 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
14346 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
14347 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14348 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
14349 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
14350 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14351 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
14352 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
14353 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14354 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
14355 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
14356 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
14358 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
14359 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14360 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
14361 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
14362 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14363 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
14364 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
14365 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14366 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
14367 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
14368 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14369 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
14370 Remove conditional code.
14371 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14372 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
14373 Remove conditional code.
14374 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14375 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
14376 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
14377 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
14378 Remove conditional code.
14379 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14380 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
14381 Remove conditional code.
14382 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14383 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
14384 Remove conditional code.
14385 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14386 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
14387 Remove conditional code.
14388 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14389 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
14390 Remove conditional code.
14391 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14392 * sysdeps/unix/sysv/linux/sh/pwrite64.c
14393 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
14394 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14395 * sysdeps/unix/sysv/linux/sigaction.c
14396 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
14397 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
14398 * sysdeps/unix/sysv/linux/sigpending.c
14399 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
14400 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
14401 * sysdeps/unix/sysv/linux/sigprocmask.c
14402 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
14403 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
14404 * sysdeps/unix/sysv/linux/sigsuspend.c
14405 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
14406 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
14407 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
14408 (__libc_missing_rt_sigs): Remove.
14409 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
14410 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
14411 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
14412 Remove conditional code.
14413 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
14414 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
14416 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
14417 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
14418 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
14419 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
14421 2012-05-14 Andreas Jaeger <aj@suse.de>
14423 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
14424 it's not used in glibc.
14425 (__coshm1): Likewise.
14426 (__acosh1p): Likewise.
14429 * manual/string.texi (Copying and Concatenation): Add missing
14430 variable in concat example.
14431 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
14433 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14436 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
14437 __builtin_clzl with __builtin_clzll.
14439 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14442 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
14445 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14447 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
14448 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
14449 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
14450 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
14452 2012-05-14 Mike Frysinger <vapier@gentoo.org>
14454 * NEWS: Update ia64 info.
14456 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
14458 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
14461 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
14463 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
14464 * sysdeps/unix/syscalls.list (dup3): Likewise.
14465 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
14466 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
14468 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
14470 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
14471 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
14473 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
14475 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
14477 (TLS_IE): Use mov/add instead of movq/addq to load thread
14479 (TLS_GD_PREFIX): New.
14482 2012-05-11 David S. Miller <davem@davemloft.net>
14484 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
14485 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
14486 (_FPU_SETCW): Likewise.
14488 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
14490 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
14491 is 32-byte aligned.
14493 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
14496 * iconvdata/gb18030.c: Update tables.
14497 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
14498 characters specially.
14499 (BODY for TO_LOOP): Add encoding of missing ranges.
14501 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
14504 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
14505 * sysdeps/mach/hurd/dup3.c: Likewise.
14506 * sysdeps/mach/hurd/readlinkat.c: Likewise.
14507 * sysdeps/powerpc/memmove.c:: Likewise.
14509 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
14511 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
14512 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
14514 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
14516 * elf/elf.h (R_X86_64_RELATIVE64): New.
14517 (R_X86_64_NUM): Updated.
14518 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
14519 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
14520 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
14521 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
14522 tst-quad1pie tst-quad2pie
14523 (modules-names): Add tst-quadmod1 tst-quadmod2.
14524 ($(objpfx)tst-quad1): New dependency.
14525 ($(objpfx)tst-quad2): Likewise.
14526 ($(objpfx)tst-quad1pie): Likewise.
14527 ($(objpfx)tst-quad2pie): Likewise.
14528 * sysdeps/x86_64/tst-quad1.c: New file.
14529 * sysdeps/x86_64/tst-quad1pie.c: New file.
14530 * sysdeps/x86_64/tst-quad2.c: Likewise.
14531 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
14532 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
14533 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
14534 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
14535 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
14537 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14539 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
14540 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
14541 * streams/stropts.h (t_scalar_t): Define type.
14543 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
14544 (_PATH_PRESERVE): Set to "/var/lib".
14545 (_PATH_RWHODIR): Set to "/var/spool/rwho".
14547 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
14550 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
14551 if __dir_mkfile succeeded.
14553 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
14554 checking for _hurd_dtablesize. Unlock it right after having
14555 finished _hurd_dtable allocation.
14557 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
14559 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
14560 * sysdeps/mach/hurd/configure: Regenerated.
14561 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
14562 special-casing to...
14563 * sysdeps/gnu/configure.in: ... this new file.
14564 * sysdeps/unix/sysv/linux/configure: Regenerated.
14565 * sysdeps/gnu/configure: New generated file.
14567 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
14568 for Linux: use nsec instead of usec, as well as:
14569 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
14570 members of type struct timespec.
14571 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
14573 (struct stat64): Likewise.
14574 (_STATBUF_ST_NSEC): New macro.
14575 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
14577 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
14578 __strtoul_internal rather than strtoul.
14580 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
14582 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
14585 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14587 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
14588 which preserves existing values.
14589 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
14591 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
14593 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
14594 TIMEOUT values. Return EINVAL for NFDS values either negative or
14595 greater than FD_SETSIZE.
14597 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14599 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
14600 allocated, call __vm_protect to finish enabling the existing space, and
14601 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
14602 allocate the remainder.
14604 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
14606 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
14607 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
14609 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14611 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
14612 sysdeps/mach/hurd/readlink.c.
14614 * posix/tst-sysconf.c (posix_options): Only use
14615 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
14616 _POSIX_SYNCHRONIZED_IO when they are defined
14617 * sysdeps/mach/hurd/bits/posix_opt.h:
14618 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
14619 (_XOPEN_REALTIME): Undefine macro.
14620 (_XOPEN_REALTIME_THREADS): Undefine macro.
14621 (_XOPEN_SHM): Undefine macro.
14622 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
14624 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
14626 (_POSIX_ASYNC_IO): Undefine macro.
14627 (_POSIX_PRIORITIZED_IO): Undefine macro.
14628 (_POSIX_SPIN_LOCKS): Define macro to -1.
14630 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
14631 SA_NODEFER, SA_RESETHAND.
14632 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
14633 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
14636 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
14638 * elf/Makefile (pldd-modules): Define unconditionally.
14640 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
14642 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
14644 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14646 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
14647 Return ENOENT when name is empty.
14648 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
14650 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
14652 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
14654 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
14656 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14658 Fix mlock in all cases except non-readable pages.
14659 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
14660 instead of VM_PROT_ALL as parameter to __vm_wire function.
14662 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
14663 (__mkdir): When path is `/', just fail with EEXIST.
14664 * sysdeps/mach/hurd/mkdirat.c: Likewise.
14666 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
14668 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
14669 <sys/uio.h> (for writev).
14670 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
14671 and <sys/param.h> (for MIN).
14673 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
14675 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
14676 REQUESTED_TIME. Properly set the remaining time and return EINTR
14679 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
14681 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
14682 Depend on against $(link-rpcuserlibs).
14684 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14686 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
14687 (__libc_stack_end): Do not use attribute_relro.
14688 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
14689 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
14690 to libthread-provided value.
14691 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
14694 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
14697 * bits/libc-lock.h (__libc_once_get): New macro.
14698 * sysdeps/mach/bits/libc-lock.h: Likewise.
14699 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
14700 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
14701 instead of using implementation details.
14703 * libio/fileops.c: Unconditionally include <kernel-features.h>.
14704 * libio/freopen.c: Likewise.
14705 * libio/freopen64.c: Likewise.
14706 * misc/syslog.c: Likewise.
14707 * nscd/connections.c: Likewise.
14708 * nscd/netgroupcache.c: Likewise.
14709 * sysdeps/posix/getcwd.c: Likewise.
14711 2012-05-10 Roland McGrath <roland@hack.frob.com>
14713 * math/w_ilogbf.c: Add #include <limits.h>.
14715 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14717 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
14718 path instead of returning without unlocking.
14720 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
14721 immediate-write ioctls.
14722 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
14724 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
14726 * sysdeps/mach/hurd/i386/init-first.c (init): Use
14727 __builtin_frame_address instead of making assumptions about the
14728 location of the return address relative to DATA. Force early load of
14729 the return address.
14730 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
14731 __builtin_frame_address.
14734 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
14735 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
14736 implement dup3 and do some further code clean-ups.
14737 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
14738 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
14740 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14742 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
14744 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
14745 HURD_CRITICAL_END around holding _hurd_dtable_lock.
14746 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
14747 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
14748 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
14751 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
14752 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
14753 when handler == SIG_ERR, not when handler != SIG_ERR.
14755 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
14757 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
14758 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
14761 accept4 for GNU Hurd.
14762 * include/sys/socket.h (__libc_accept4): New prototype.
14763 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
14764 to implement __libc_accept4.
14765 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
14767 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
14769 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
14770 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
14771 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
14772 signal-defines.sym.
14774 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14776 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
14778 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
14780 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
14781 assertion on O_CLOEXEC flag.
14782 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
14783 * hurd/intern-fd.c: Likewise.
14784 * hurd/port2fd.c: Likewise.
14786 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14789 * bits/in.h (IPV6_PKTINFO): Define new macro.
14790 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
14792 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14797 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
14798 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
14799 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
14800 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
14801 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
14802 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
14803 * math/libm-test.inc (logb_test) : Additional logb tests.
14805 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
14806 Andreas Jaeger <aj@suse.de>
14808 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
14809 * configure: Regenerated.
14810 * config.h.in (LINK_OBSOLETE_RPC): New macro.
14811 * config.make.in (link-obsolete-rpc): New substituted variable.
14812 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
14813 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
14814 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
14815 (shared-only-routines): Don't set it under [link-obsolete-rpc],
14816 so that libc.a contains the symbols.
14817 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
14818 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
14819 * sunrpc/auth_none.c: Likewise.
14820 * sunrpc/auth_unix.c: Likewise.
14821 * sunrpc/authdes_prot.c: Likewise.
14822 * sunrpc/authuxprot.c: Likewise.
14823 * sunrpc/clnt_gen.c: Likewise.
14824 * sunrpc/clnt_perr.c: Likewise.
14825 * sunrpc/clnt_raw.c: Likewise.
14826 * sunrpc/clnt_simp.c: Likewise.
14827 * sunrpc/clnt_tcp.c: Likewise.
14828 * sunrpc/clnt_udp.c: Likewise.
14829 * sunrpc/clnt_unix.c: Likewise.
14830 * sunrpc/des_crypt.c: Likewise.
14831 * sunrpc/des_soft.c: Likewise.
14832 * sunrpc/get_myaddr.c: Likewise.
14833 * sunrpc/key_call.c: Likewise.
14834 * sunrpc/key_prot.c: Likewise.
14835 * sunrpc/netname.c: Likewise.
14836 * sunrpc/pm_getmaps.c: Likewise.
14837 * sunrpc/pm_getport.c: Likewise.
14838 * sunrpc/pmap_clnt.c: Likewise.
14839 * sunrpc/pmap_prot.c: Likewise.
14840 * sunrpc/pmap_prot2.c: Likewise.
14841 * sunrpc/pmap_rmt.c: Likewise.
14842 * sunrpc/publickey.c: Likewise.
14843 * sunrpc/rpc_cmsg.c: Likewise.
14844 * sunrpc/rpc_common.c: Likewise.
14845 * sunrpc/rpc_dtable.c: Likewise.
14846 * sunrpc/rpc_prot.c: Likewise.
14847 * sunrpc/rpc_thread.c: Likewise.
14848 * sunrpc/rtime.c: Likewise.
14849 * sunrpc/svc.c: Likewise.
14850 * sunrpc/svc_auth.c: Likewise.
14851 * sunrpc/svc_raw.c: Likewise.
14852 * sunrpc/svc_run.c: Likewise.
14853 * sunrpc/svc_tcp.c: Likewise.
14854 * sunrpc/svc_udp.c: Likewise.
14855 * sunrpc/svc_unix.c: Likewise.
14856 * sunrpc/svcauth_des.c: Likewise.
14857 * sunrpc/xcrypt.c: Likewise.
14858 * sunrpc/xdr.c: Likewise.
14859 * sunrpc/xdr_array.c: Likewise.
14860 * sunrpc/xdr_float.c: Likewise.
14861 * sunrpc/xdr_intXX_t.c: Likewise.
14862 * sunrpc/xdr_mem.c: Likewise.
14863 * sunrpc/xdr_rec.c: Likewise.
14864 * sunrpc/xdr_ref.c: Likewise.
14865 * sunrpc/xdr_sizeof.c: Likewise.
14866 * sunrpc/xdr_stdio.c: Likewise.
14868 2012-05-10 Roland McGrath <roland@hack.frob.com>
14870 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
14871 change. Update copyright years.
14873 2012-05-10 Joseph Myers <joseph@codesourcery.com>
14875 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
14877 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
14878 Joseph Myers <joseph@codesourcery.com>
14879 Paul Pluzhnikov <ppluzhnikov@google.com>
14882 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
14884 [cross-compiling] (extra-libs): Likewise.
14885 [cross-compiling] (extra-libs-others): Likewise.
14886 [cross-compiling] (librpcsvc-routines): Likewise.
14887 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
14888 [cross-compiling] (omit-deps): Likewise.
14889 (sunrpc-CPPFLAGS): New variable.
14890 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
14891 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
14892 (cross-rpcgen-objs): New variable.
14893 (extra-objs): Append $(cross-rpcgen-objs).
14894 ($(cross-rpcgen-objs)): New rule.
14895 ($(objpfx)cross-rpcgen): Likewise.
14896 (rpcgen-cmd): Define to use $(built-program-file). Expand
14898 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
14899 ($(objpfx)x%.stmp): Likewise.
14900 * sunrpc/proto.h [IS_IN_build] (_): Define.
14901 [IS_IN_build] (_libc_intl_domainname): Likewise.
14903 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
14905 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
14906 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
14907 and R_X86_64_TPOFF64.
14909 2012-05-10 Joseph Myers <joseph@codesourcery.com>
14911 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
14912 sysdeps/unix/sysv/syscalls.list.
14915 * sysdeps/unix/sysv/syscalls.list: Remove file.
14917 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
14920 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
14921 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
14922 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
14923 (__LC_IDENTIFICATION): Make these macros useful in #if
14924 expressions, as required by C99.
14926 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
14928 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
14929 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
14932 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
14934 * stdlib/longlong.h: Updated from GCC.
14936 2012-05-09 Andreas Jaeger <aj@suse.de>
14938 * nscd/nscd.c (run_modes): Make named enum, reorder so that
14939 default is first entry.
14940 (run_mode): Set type.
14941 (main): Remove informal message about syslog.
14942 (options): Fix typo.
14945 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
14948 (llrintf): Likewise.
14949 (llrint): Likewise.
14952 (nearbyint): Likewise.
14953 (nearbyintf): Likewise.
14955 2012-05-09 Andreas Jaeger <aj@suse.de>
14956 Pedro Alves <palves@redhat.com>
14958 * nscd/nscd.c (run_mode): Use enum.
14959 (main): Cleanup coding style issue.
14961 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
14962 Andreas Jaeger <aj@suse.de>
14964 * nscd/nscd.c (go_background): Replaced with...
14965 (run_mode): ... this.
14966 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
14967 (options): Add -F --foreground.
14968 (main): Implement it.
14969 (parse_opt): Parse it.
14971 2012-05-09 Andreas Jaeger <aj@suse.de>
14974 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
14975 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
14976 -Wconversion warning.
14977 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
14980 2012-05-09 Joseph Myers <joseph@codesourcery.com>
14982 * conform/data/locale.h-data (NULL): Use macro-constant. Require
14984 (LC_ALL): Use macro-int-constant.
14985 (LC_COLLATE): Likewise.
14986 (LC_CTYPE): Likewise.
14987 (LC_MESSAGES): Likewise.
14988 (LC_MONETARY): Likewise.
14989 (LC_NUMERIC): Likewise.
14990 (LC_TIME): Likewise.
14991 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
14992 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
14993 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14994 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
14996 [C99-based standards] (float_t): Expect type.
14997 [C99-based standards] (double_t): Expect type.
14998 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
15000 [C99-based standards] (HUGE_VALL): Likewise.
15001 [C99-based standards] (INFINITY): Likewise.
15002 [C99-based standards] (NAN): Likewise.
15003 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
15004 [C99-based standards] (FP_NAN): Likewise.
15005 [C99-based standards] (FP_NORMAL): Likewise.
15006 [C99-based standards] (FP_SUBNORMAL): Likewise.
15007 [C99-based standards] (FP_ZERO): Likewise.
15008 [C99-based standards] (FP_FAST_FMA): Use
15009 optional-macro-int-constant. Specify type. Require == 1.
15010 [C99-based standards] (FP_FAST_FMAF): Likewise.
15011 [C99-based standards] (FP_FAST_FMAL): Likewise.
15012 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
15013 [C99-based standards] (FP_ILOGBNAN): Likewise.
15014 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
15016 [C99-based standards] (MATH_ERREXCEPT): Likewise.
15017 [C99-based standards] (math_errhandling): Specify type.
15018 [ISO99 || ISO11] (signgam): Do not allow.
15019 [non-C99-based standards] (copysignf): Do not allow.
15020 [non-C99-based standards] (exp2f): Likewise.
15021 [non-C99-based standards] (log2f): Likewise.
15022 [non-C99-based standards] (modff): Allow.
15023 [non-C99-based standards] (erff): Do not allow.
15024 [non-C99-based standards] (erfcf): Likewise.
15025 [non-C99-based standards] (gammaf): Likewise.
15026 [non-C99-based standards] (hypotf): Likewise.
15027 [non-C99-based standards] (j0f): Likewise.
15028 [non-C99-based standards] (j1f): Likewise.
15029 [non-C99-based standards] (jnf): Likewise.
15030 [non-C99-based standards] (lgammaf): Likewise.
15031 [non-C99-based standards] (tgammaf): Likewise.
15032 [non-C99-based standards] (y0f): Likewise.
15033 [non-C99-based standards] (y1f): Likewise.
15034 [non-C99-based standards] (ynf): Likewise.
15035 [non-C99-based standards] (isnanf): Likewise.
15036 [non-C99-based standards] (acoshf): Likewise.
15037 [non-C99-based standards] (asinhf): Likewise.
15038 [non-C99-based standards] (atanhf): Likewise.
15039 [non-C99-based standards] (cbrtf): Likewise.
15040 [non-C99-based standards] (expm1f): Likewise.
15041 [non-C99-based standards] (ilogbf): Likewise.
15042 [non-C99-based standards] (log1pf): Likewise.
15043 [non-C99-based standards] (logbf): Likewise.
15044 [non-C99-based standards] (nextafterf): Likewise.
15045 [non-C99-based standards] (remainderf): Likewise.
15046 [non-C99-based standards] (rintf): Likewise.
15047 [non-C99-based standards] (scalbf): Likewise.
15048 [non-C99-based standards] (copysignl): Likewise.
15049 [non-C99-based standards] (exp2l): Likewise.
15050 [non-C99-based standards] (log2l): Likewise.
15051 [non-C99-based standards] (modfl): Allow.
15052 [non-C99-based standards] (erfl): Do not allow.
15053 [non-C99-based standards] (erfcl): Likewise.
15054 [non-C99-based standards] (gammal): Likewise.
15055 [non-C99-based standards] (hypotl): Likewise.
15056 [non-C99-based standards] (j0l): Likewise.
15057 [non-C99-based standards] (j1l): Likewise.
15058 [non-C99-based standards] (jnl): Likewise.
15059 [non-C99-based standards] (lgammal): Likewise.
15060 [non-C99-based standards] (tgammal): Likewise.
15061 [non-C99-based standards] (y0l): Likewise.
15062 [non-C99-based standards] (y1l): Likewise.
15063 [non-C99-based standards] (ynl): Likewise.
15064 [non-C99-based standards] (isnanl): Likewise.
15065 [non-C99-based standards] (acoshl): Likewise.
15066 [non-C99-based standards] (asinhl): Likewise.
15067 [non-C99-based standards] (atanhl): Likewise.
15068 [non-C99-based standards] (cbrtl): Likewise.
15069 [non-C99-based standards] (expm1l): Likewise.
15070 [non-C99-based standards] (ilogbl): Likewise.
15071 [non-C99-based standards] (log1pl): Likewise.
15072 [non-C99-based standards] (logbl): Likewise.
15073 [non-C99-based standards] (nextafterl): Likewise.
15074 [non-C99-based standards] (remainderl): Likewise.
15075 [non-C99-based standards] (rintl): Likewise.
15076 [non-C99-based standards] (scalbl): Likewise.
15077 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15078 [non-C99-based standards] (FP_*): Do not allow.
15079 [C99-based standards] (FP_*): Change to
15080 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
15081 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
15083 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
15084 (SIG_ERR): Likewise.
15085 [X/Open-based standards] (SIG_HOLD): Likewise.
15086 (SIG_IGN): Likewise.
15087 (SIGABRT): Use macro-int-constant. Specify type. Require
15089 (SIGFPE): Likewise.
15090 (SIGILL): Likewise.
15091 (SIGINT): Likewise.
15092 (SIGSEGV): Likewise.
15093 (SIGTER): Likewise.
15094 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
15095 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
15096 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
15097 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
15098 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
15099 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
15100 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
15101 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
15102 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
15103 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
15104 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
15105 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
15106 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
15107 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
15108 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
15109 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
15110 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
15111 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
15112 [X/Open-based standards] (SIGTRAP): Likewise.
15113 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
15114 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
15115 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
15116 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
15117 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
15120 2012-05-08 Ian Wienand <ianw@vmware.com>
15123 * time/tzset.c (__tzset_parse_tz): Update default rules for
15124 daylight time changes in the Energy Policy Act of 2005.
15126 2012-05-09 Andreas Jaeger <aj@suse.de>
15129 * elf/ldconfig.c (parse_conf): Change string to make clear that
15130 ldconfig only issued a warning if ld.so.conf does not exist.
15132 2012-05-08 David S. Miller <davem@davemloft.net>
15134 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
15135 movxtod instead of popping the value on the stack.
15137 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15139 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
15141 * config.h.in: Add HAVE_ARM_PCS_VFP.
15143 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
15146 * include/features.h: Warn if user requests __FORTIFY_SOURCE
15147 checking but the checks are disabled for any reason.
15149 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
15151 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
15152 and ELF64_R_TYPE with ELFW(R_TYPE).
15154 2012-05-08 Joseph Myers <joseph@codesourcery.com>
15156 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
15157 (ulimit): Likewise.
15159 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
15160 (settimeofday): Likewise.
15162 2012-05-08 Mike Frysinger <vapier@gentoo.org>
15164 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
15165 a struct th_u2 inside the union, and move tu_block/tu_code into
15166 a new th_u3 union of tu_block/tu_code inside of that. Move
15167 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
15168 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
15169 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
15170 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
15171 (th_stuff): Change to th_u1.tu_stuff.
15173 (th_msg): Change to th_u1.th_u2.tu_data.
15175 2012-05-07 David S. Miller <davem@davemloft.net>
15177 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15180 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
15181 (SETUP_PIC_REG): Use it.
15182 (SETUP_PIC_REG_LEAF): Use it.
15184 2012-05-07 Joseph Myers <joseph@codesourcery.com>
15188 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
15190 (EXPL_FINITE): Likewise.
15191 (FLDLOG): Likewise.
15192 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
15193 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
15195 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
15197 (EXPL_FINITE): Likewise.
15198 (FLDLOG): Likewise.
15199 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
15200 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
15202 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
15203 test of -max_value argument for long double.
15204 * sysdeps/i386/fpu/libm-test-ulps: Update.
15205 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15207 2012-05-06 David S. Miller <davem@davemloft.net>
15209 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
15210 quad soft-float symbols whose references which are compiler
15212 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
15214 2012-05-06 Joseph Myers <joseph@codesourcery.com>
15218 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
15220 (EXPL_FINITE): Likewise.
15221 (FLDLOG): Likewise.
15224 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
15225 Adjust comments for base varying.
15226 (__expl_finite): Change alias to EXPL_FINITE.
15227 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
15229 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
15230 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
15231 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
15232 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
15233 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
15235 (EXPL_FINITE): Likewise.
15236 (FLDLOG): Likewise.
15239 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
15240 Adjust comments for base varying.
15241 (__expl_finite): Change alias to EXPL_FINITE.
15242 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
15244 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15247 * math/libm-test.inc (check_float_internal): Correct ulp
15248 calculation for subnormal expected results.
15250 2012-05-06 Andreas Jaeger <aj@suse.de>
15252 * Makeconfig (+math-flags): New, set to -frounding-math.
15253 (+cflags): Add +math-flags so that all of glibc gets compiled with
15256 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
15258 2012-05-05 Joseph Myers <joseph@codesourcery.com>
15260 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
15266 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
15267 (__ieee754_expl): Allow for and saturate large arguments.
15268 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
15269 (u_threshold): Likewise.
15270 (__exp): Call __ieee754_exp before checking for overflow and
15272 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
15273 (u_threshold): Likewise.
15274 (__expf): Call __ieee754_expf before checking for overflow and
15276 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
15277 (u_threshold): Likewise.
15278 (__expl): Call __ieee754_expl before checking for overflow and
15280 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
15281 (__ieee754_expl): Allow for and saturate large arguments.
15282 * math/libm-test.inc (exp_test): Add another test. Do not allow
15283 missing overflow exception on overflow.
15284 (expm1_test): Do not allow missing overflow exception on overflow.
15286 * sysdeps/i386/fpu/e_expl.c: Move to ...
15287 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
15288 rather than using inline asm.
15289 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
15290 * sysdeps/x86_64/fpu/e_expl.S: Copy from
15291 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
15293 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
15296 (signal): Likewise.
15300 2012-05-04 Joseph Myers <joseph@codesourcery.com>
15302 * sysdeps/unix/syscalls.list (adjtime): Add entry from
15303 sysdeps/unix/common/syscalls.list.
15304 (fchmod): Likewise.
15305 (fchown): Likewise.
15306 (ftruncate): Likewise.
15307 (getrusage): Likewise.
15308 (gettimeofday): Likewise.
15309 (setpgid): Likewise.
15310 (setregid): Likewise.
15311 (setreuid): Likewise.
15312 (sigaction): Likewise.
15313 (truncate): Likewise.
15314 (vhangup): Likewise.
15315 * sysdeps/unix/common/syscalls.list: Remove file.
15316 * sysdeps/unix/bsd/Implies: Don't include unix/common.
15317 * sysdeps/unix/sysv/linux/Implies: Likewise.
15319 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
15321 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
15322 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
15323 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
15325 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
15327 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
15329 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
15330 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
15332 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
15333 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
15335 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
15336 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
15338 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
15339 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
15341 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
15342 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
15344 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
15345 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
15347 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
15349 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
15351 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
15353 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
15355 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
15356 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
15358 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
15360 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
15362 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
15364 2012-05-04 Joseph Myers <joseph@codesourcery.com>
15366 * sysdeps/unix/common/bits/dirent.h: Remove file.
15367 * sysdeps/unix/common/bits/fcntl.h: Likewise.
15369 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
15370 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
15371 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
15372 * sysdeps/unix/bsd/isatty.c: Likewise.
15373 * sysdeps/unix/bsd/tcdrain.c: Likewise.
15374 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
15375 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
15377 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15380 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
15381 long double comparison inaccuracies.
15382 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
15383 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15385 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
15387 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
15388 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
15390 2012-05-04 Joseph Myers <joseph@codesourcery.com>
15393 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
15394 nonzero digits before rounding a hex value.
15395 * stdlib/tst-strtod.c (tests): Add another test.
15397 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15399 * sysdeps/s390/fpu/libm-test-ulps: Update.
15401 2012-05-03 Andreas Jaeger <aj@suse.de>
15403 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
15404 does not get optimized out.
15405 (malloc_opt_barrier): New.
15407 2012-05-03 Andreas Jaeger <aj@suse.de>
15408 Roland McGrath <roland@hack.frob.com>
15410 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
15411 intermediate file deletion.
15412 (generated): Add .symlist files.
15414 2012-05-03 Joseph Myers <joseph@codesourcery.com>
15417 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
15418 Redirect under this condition.
15419 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
15420 [__USE_GNU] (__dprintf_chk): Not under this condition.
15421 [__USE_GNU] (__vdprintf_chk): Likewise.
15422 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
15423 under this condition.
15424 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
15425 [__USE_XOPEN2K8] (dprintf): Define under this condition.
15426 [__USE_XOPEN2K8] (vdprintf): Likewise.
15427 [__USE_GNU] (__dprintf_chk): Not under this condition.
15428 [__USE_GNU] (__vdprintf_chk): Likewise.
15429 [__USE_GNU] (dprintf): Likewise.
15430 [__USE_GNU] (vdprintf): Likewise.
15432 2012-05-03 Roland McGrath <roland@hack.frob.com>
15434 * elf/Makefile (common-generated): Set this instead of generated for
15435 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
15436 $(all-built-dso)-derived lists.
15438 2012-05-03 Andreas Jaeger <aj@suse.de>
15440 * sysdeps/i386/fpu/libm-test-ulps: Update.
15443 * FAQ.in: Likewise.
15444 * scripts/gen-FAQ.pl: Likewise.
15445 * manual/install.texi (Installation): Point to online location of
15447 * Makefile (files-for-dist): Remove FAQ.
15450 2012-05-02 Allan McRae <allan@archlinux.org>
15452 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
15453 (LDFLAGS-reldepmod5.so): Likewise.
15454 (LDFLAGS-reldep6mod1.so): Likewise.
15455 (LDFLAGS-reldep6mod4.so): Likewise.
15456 (LDFLAGS-reldep8mod3.so): Likewise.
15457 (LDFLAGS-unload4mod1.so): Likewise.
15458 (LDFLAGS-unload4mod2.so): Likewise.
15459 (LDFLAGS-tst-initorder): Likewise.
15460 (LDFLAGS-tst-initordera2.so): Likewise.
15461 (LDFLAGS-tst-initordera3.so): Likewise.
15462 (LDFLAGS-tst-initordera4.so): Likewise.
15463 (LDFLAGS-tst-initorderb2.so): Likewise.
15464 (LDFLAGS-noload): Likewise.
15465 (LDFLAGS-next): Likewise.
15466 (LDFLAGS-order2mod1.so): Likewise.
15467 (LDFLAGS-order2mod2.so): Likewise.
15468 (LDFLAGS-tst-initorder2): Likewise.
15469 (LDFLAGS-tst-initorder2a.so): Likewise.
15470 (LDFLAGS-tst-initorder2b.so): Likewise.
15471 (LDFLAGS-tst-initorder2c.so): Likewise.
15472 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
15474 2012-05-02 David S. Miller <davem@davemloft.net>
15476 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15478 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
15481 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
15483 2012-05-02 Andreas Jaeger <aj@suse.de>
15485 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
15486 since we manipulate rounding mode.
15487 (CPPFLAGS-test-idouble.c): Likewise.
15488 (CPPFLAGS-test-ifloat.c): Likewise.
15489 (CFLAGS-test-ldouble.c): Likewise.
15490 (CFLAGS-test-double.c): Likewise.
15491 (CFLAGS-test-float.c): Likewise.
15492 (CFLAGS-test-misc.c): Likewise.
15493 (CFLAGS-test-test-fenv.c): Likewise.
15495 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15499 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
15500 comparisons to determine direction to adjust input.
15502 2012-05-01 Roland McGrath <roland@hack.frob.com>
15504 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
15505 output to the target.
15507 * scripts/localplt.awk: New file.
15508 * elf/Makefile ($(objpfx)check-localplt): Target removed.
15509 (check-localplt-CFLAGS): Variable removed.
15510 ($(all-built-dso:=.jmprel)): New static pattern rule.
15511 (generated): Add those targets.
15512 (localplt-built-dso): New variable.
15513 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
15515 * elf/check-localplt.c: File removed.
15517 * scripts/check-execstack.awk: New file.
15518 * elf/Makefile ($(objpfx)check-execstack): Target removed.
15519 (check-execstack-CFLAGS): Variable removed.
15520 ($(objpfx)check-execstack.h): Target removed.
15521 ($(objpfx)execstack-default): New target.
15522 (generated): Add that instead of check-execstack.h.
15523 ($(all-built-dso:=.phdr)): New static pattern rule.
15524 (generated): Add those targets.
15525 * elf/check-execstack.c: File removed.
15527 * scripts/check-textrel.awk: New file.
15528 * elf/Makefile ($(objpfx)check-textrel): Target removed.
15529 (check-textrel-CFLAGS): Variable removed.
15530 (all-built-dso): Use := to define.o
15531 ($(all-built-dso:=.dyn)): New static pattern rule.
15532 (generated): Add those targets.
15533 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
15534 * config.make.in (READELF): New substituted variable.
15535 * elf/check-textrel.c: File removed.
15537 2012-05-01 Joseph Myers <joseph@codesourcery.com>
15539 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
15541 * conform/data/ctype.h-data [C99-based standards] (isblank):
15543 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
15544 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
15545 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15546 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
15547 Specify type. Require positive value.
15548 (EILSEQ): Likewise.
15549 (ERANGE): Likewise.
15550 [ISO || POSIX] (EILSEQ): Do not expect.
15551 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
15552 Specify type. Require positive value.
15553 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
15554 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
15555 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
15556 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
15557 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
15558 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
15559 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
15560 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
15561 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
15562 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
15563 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
15564 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
15565 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
15566 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
15567 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
15568 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
15569 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
15570 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
15571 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
15572 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
15573 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
15574 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
15575 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
15576 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
15577 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
15578 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
15579 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
15580 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
15581 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
15582 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
15583 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
15584 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
15585 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
15586 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
15587 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
15588 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
15589 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
15590 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
15591 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
15592 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
15593 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
15594 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
15595 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
15596 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
15597 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
15598 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
15599 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
15600 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
15601 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
15602 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
15603 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
15604 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
15605 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
15606 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
15607 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
15608 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
15609 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
15610 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
15611 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
15612 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
15613 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
15614 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
15615 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
15616 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
15617 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
15618 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
15619 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
15620 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
15621 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
15622 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
15623 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
15624 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
15625 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
15626 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
15627 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
15628 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
15629 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
15631 (FLT_ROUNDS): Expect as macro, not constant.
15632 (FLT_MANT_DIG): Use macro-int-constant.
15633 (DBL_MANT_DIG): Likewise.
15634 (LDBL_MANT_DIG): Likewise.
15635 (FLT_DIG): Likewise.
15636 (DBL_DIG): Likewise.
15637 (LDBL_DIG): Likewise.
15638 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
15639 (DBL_MIN_EXP): Likewise.
15640 (LDBL_MIN_EXP): Likewise.
15641 (FLT_MAX_EXP): Use macro-int-constant.
15642 (DBL_MAX_EXP): Likewise.
15643 (LDBL_MAX_EXP): Likewise.
15644 (FLT_MAX_10_EXP): Likewise.
15645 (DBL_MAX_10_EXP): Likewise.
15646 (LDBL_MAX_10_EXP): Likewise.
15647 (FLT_MAX): Use macro-constant.
15648 (DBL_MAX): Likewise.
15649 (LDBL_MAX): Likewise.
15650 (FLT_EPSILON): Use macro-constant. Give upper bound.
15651 (DBL_EPSILON): Likewise.
15652 (LDBL_EPSILON): Likewise.
15653 (FLT_MIN): Likewise.
15654 (DBL_MIN): Likewise.
15655 (LDBL_MIN): Likewise.
15656 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
15657 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
15658 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
15659 [ISO11] (FLT_HAS_SUBNORM): Likewise.
15660 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
15661 [ISO11] (DBL_DECIMAL_DIG): Likewise.
15662 [ISO11] (FLT_DECIMAL_DIG): Likewise.
15663 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
15664 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
15665 [ISO11] (FLT_TRUE_MIN): Likewise.
15666 [ISO11] (LDBL_TRUE_MIN): Likewise.
15667 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15668 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
15669 (SCHAR_MIN): Use macro-int-constant. Specify type.
15670 (SCHAR_MAX): Likewise.
15671 (UCHAR_MAX): Likewise.
15672 (CHAR_MIN): Likewise.
15673 (CHAR_MAX): Likewise.
15674 (MB_LEN_MAX): Use macro-int-constant.
15675 (SHRT_MIN): Use macro-int-constant. Specify type.
15676 (SHRT_MAX): Likewise.
15677 (USHRT_MAX): Likewise.
15678 (INT_MAX): Likewise.
15679 (INT_MIN): Use macro-int-constant. Specify type. Make upper
15681 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
15683 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
15685 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
15686 bound negative. Suffix upper bound with "L".
15687 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
15689 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
15691 [C99-based standards] (LLONG_MAX): Likewise.
15692 [C99-based standards] (ULLONG_MAX): Likewise.
15693 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
15695 [ISO11] (max_align_t): Require type.
15696 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15698 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
15699 from $CFLAGS, without defining away __attribute__ calls.
15700 (checknamespace): Use $CFLAGS_namespace.
15702 * conform/conformtest.pl (@keywords): Only include C99 keywords
15703 for standards based on C99 or C11.
15705 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
15707 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
15710 * conform/conformtest.pl: Handle "macro-int-constant" and test for
15711 usability of symbols in #if.
15713 * conform/conformtest.pl: If macro or constant types start
15714 "promoted:", expect the symbol to be of the following type
15715 promoted by the integer promotions.
15717 * conform/conformtest.pl: Parse all "constant" and "macro" lines
15718 in one place. Also handle "macro-constant".
15720 * conform/conformtest.pl: Only accept expected macro values with
15721 "==". Parse all "macro" lines in one place.
15722 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
15724 * conform/conformtest.pl: Handle braced types on "constant" lines
15725 instead of handling "typed-constant".
15726 * conform/data/signal.h-data: Use "constant" instead of
15729 * conform/conformtest.pl: Handle "optional-" at start of lines in
15730 one place rather than duplicating several cases. Handle each
15731 format of "macro" line with initial "optional-".
15733 * conform/conformtest.pl: Only accept expected constant or
15734 optional-constant values with "==". Parse all "constant" lines in
15735 one place. Parse all "optional-constant" lines in one place.
15736 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
15737 * conform/data/fmtmsg.h-data: Likewise.
15738 * conform/data/netinet/in.h-data: Likewise.
15739 * conform/data/tar.h-data: Likewise.
15740 * conform/data/limits.h-data: Use "==" form on "constant" and
15741 "optional-constant" lines.
15743 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
15744 Use -std=c99 for XOPEN2K.
15745 (@knownproblems): Remove.
15746 (newtoken): Don't check %isknown.
15748 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
15749 Do not expect macro.
15750 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
15751 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
15752 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
15753 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
15754 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
15755 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
15756 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
15757 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
15758 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
15759 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
15760 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
15761 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
15762 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
15763 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
15764 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
15765 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
15766 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
15767 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
15768 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
15769 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
15770 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
15771 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
15772 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
15773 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
15774 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
15775 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
15776 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
15777 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
15778 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
15779 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
15780 [XPG3] (acosh): Likewise.
15781 [XPG3] (asinh): Likewise.
15782 [XPG3] (atanh): Likewise.
15783 [XPG3] (cbrt): Likewise.
15784 [XPG3] (expm1): Likewise.
15785 [XPG3] (ilogb): Likewise.
15786 [XPG3] (log1p): Likewise.
15787 [XPG3] (logb): Likewise.
15788 [XPG3] (nextafter): Likewise.
15789 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
15790 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
15791 [XPG3] (remainder): Likewise.
15792 [XPG3] (rint): Likewise.
15793 [XPG3 || XPG4 || UNIX98] (round): Likewise.
15794 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
15795 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
15796 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
15797 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
15798 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
15799 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
15800 [UNIX98 || XOPEN2K] (scalb): Expect.
15801 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
15802 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
15803 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
15804 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
15805 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
15806 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
15807 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
15808 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
15809 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
15810 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
15811 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
15812 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
15813 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
15814 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
15815 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
15816 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
15817 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
15818 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
15819 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
15820 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
15821 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
15822 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
15823 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
15824 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
15825 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
15826 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
15827 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
15828 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
15829 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
15830 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
15831 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
15832 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
15833 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
15834 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
15835 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
15836 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
15837 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
15838 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
15839 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
15840 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
15841 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
15842 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
15843 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
15844 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
15845 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
15846 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
15847 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
15848 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
15849 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
15850 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
15851 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
15852 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
15853 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
15854 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
15855 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
15856 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
15857 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
15858 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
15859 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
15860 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
15861 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
15862 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
15863 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
15864 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
15865 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
15866 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
15867 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
15868 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
15869 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
15870 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
15871 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
15872 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
15873 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
15874 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
15875 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
15876 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
15877 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
15878 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
15879 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
15880 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
15881 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
15882 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
15883 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
15884 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
15885 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
15886 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
15887 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
15888 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
15889 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
15890 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
15891 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
15892 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
15893 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
15894 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
15895 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
15896 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
15897 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
15898 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
15899 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
15900 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
15901 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
15902 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
15903 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
15904 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
15905 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
15906 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
15907 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
15908 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
15909 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
15910 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
15911 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
15912 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
15913 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
15914 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
15915 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
15916 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
15917 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
15918 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
15919 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
15920 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
15921 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
15922 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
15923 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
15924 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
15925 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
15926 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
15927 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
15928 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
15929 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
15930 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
15931 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
15932 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
15933 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
15934 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
15935 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
15936 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
15937 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
15939 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
15940 _XOPEN_SOURCE_EXTENDED for XPG4.
15942 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
15944 * Makeconfig (localtime): Remove variable.
15945 (inst_localtime-file): Likewise.
15947 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
15949 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
15951 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15953 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
15955 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
15957 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
15959 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
15961 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15963 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
15965 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
15968 2012-05-01 Joseph Myers <joseph@codesourcery.com>
15972 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
15973 comparisons to determine direction to adjust input.
15974 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
15975 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
15976 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
15978 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
15980 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
15982 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
15983 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
15985 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
15987 * math/libm-test.inc (nexttoward_test): Add more tests.
15989 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
15992 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
15993 in version GLIBC_2.1, not GLIBC_2.0.
15994 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
15997 2012-04-30 Joseph Myers <joseph@codesourcery.com>
16000 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
16002 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
16003 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
16004 * math/libm-test.inc (acos_test): Add more tests.
16005 (asin_test): Likewise.
16006 * sysdeps/i386/fpu/libm-test-ulps: Update.
16007 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16010 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
16012 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
16013 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
16014 * math/libm-test.inc (acos_test_tonearest): New function.
16015 (acos_test_towardzero): Likewise.
16016 (acos_test_downward): Likewise.
16017 (acos_test_upward): Likewise.
16018 (asin_test_tonearest): Likewise.
16019 (asin_test_towardzero): Likewise.
16020 (asin_test_downward): Likewise.
16021 (asin_test_upward): Likewise.
16022 (main): Call the new functions.
16023 * sysdeps/i386/fpu/libm-test-ulps: Update.
16024 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16028 * math/e_exp10.c: Include <float.h>.
16029 (__ieee754_exp10): Handle underflow here rather than multiplying
16030 large negative argument by M_LN10.
16031 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
16033 * math/e_exp10l.c: Include <float.h>.
16034 (__ieee754_exp10l): Handle underflow here rather than multiplying
16035 large negative argument by M_LN10l.
16036 * math/libm-test.inc (exp10_test): Add another test. Do not allow
16037 spurious overflow exception on underflow.
16039 2012-04-29 Marek Polacek <polacek@redhat.com>
16041 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
16042 (__fortify_function): New macro.
16043 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
16044 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
16045 __extern_always_inline.
16046 * libio/bits/stdio2.h: Likewise.
16047 * libio/bits/stdio.h: Likewise.
16048 * string/string.h: Likewise.
16049 * string/bits/string3.h: Likewise.
16050 * include/stdio.h: Likewise.
16051 * stdlib/bits/stdlib.h: Likewise.
16052 * stdlib/stdlib.h: Likewise.
16053 * rt/bits/mqueue2.h: Likewise.
16054 * rt/mqueue.h: Likewise.
16055 * posix/bits/unistd.h: Likewise.
16056 * posix/unistd.h: Likewise.
16057 * io/bits/poll2.h: Likewise.
16058 * io/bits/fcntl2.h: Likewise.
16059 * io/fcntl.h: Likewise.
16060 * io/sys/poll.h: Likewise.
16061 * misc/bits/syslog.h: Likewise.
16062 * misc/bits/syslog-ldbl.h: Likewise.
16063 * misc/sys/syslog.h: Likewise.
16064 * socket/bits/socket2.h: Likewise.
16065 * socket/sys/socket.h: Likewise.
16066 * debug/tst-chk1.c: Likewise.
16067 * wcsmbs/bits/wchar2.h: Likewise.
16068 * wcsmbs/bits/wchar-ldbl.h: Likewise.
16069 * wcsmbs/wchar.h: Likewise.
16071 2012-04-29 Andreas Jaeger <aj@suse.de>
16073 * Makerules (tests): Remove enable-check-abi protection.
16074 (check-abi-warn): Remove.
16075 (check-abi-%): Remove check-abi-warn usage.
16077 * configure.in: Remove check-abi configure option.
16078 * configure: Regenerated.
16079 * config.make.in (enable-check-abi): Remove.
16081 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
16084 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
16085 double functions to double *_finite functions.
16088 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
16089 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
16091 * stdio-common/Makefile (tests): Add tst-sprintf3.
16092 * stdio-common/tst-sprintf3.c: New file.
16094 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
16095 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
16097 2012-04-28 Joseph Myers <joseph@codesourcery.com>
16099 * conform/conformtest.pl: Remove duplicate typed-constant
16102 2012-04-28 David S. Miller <davem@davemloft.net>
16104 * Makerules (%.abilist): Add vpath on sysdep_dirs.
16105 (check-abi-%): Remove AWK script prerequisite and explicit
16107 (check-abi): Rewrite to just diff the symlist with the abilist.
16108 (config-tls, config-abi-config): Delete, no longer used.
16109 (update-abi-%): Remove AWK script and explicit abilist directory.
16110 (update-abi): Rewrite to simply compare and conditionally copy the
16111 symlist and the sysdep abilist file. Remove update-abi-config
16113 * abilist/ld.abilist: Remove.
16114 * abilist/libBrokenLocale.abilist: Remove.
16115 * abilist/libanl.abilist: Remove.
16116 * abilist/libcrypt.abilist: Remove.
16117 * abilist/libdl.abilist: Remove.
16118 * abilist/librt.abilist: Remove.
16119 * abilist/libthread_db.abilist: Remove.
16120 * abilist/libutil.abilist: Remove.
16121 * scripts/extract-abilist.awk: Remove.
16122 * scripts/merge-abilist.awk: Remove.
16123 * sysdeps/generic/libcidn.abilist: New file.
16124 * sysdeps/generic/libnss_compat.abilist: New file.
16125 * sysdeps/generic/libnss_db.abilist: New file.
16126 * sysdeps/generic/libnss_dns.abilist: New file.
16127 * sysdeps/generic/libnss_files.abilist: New file.
16128 * sysdeps/generic/libnss_hesiod.abilist: New file.
16129 * sysdeps/generic/libnss_nis.abilist: New file.
16130 * sysdeps/generic/libnss_nisplus.abilist: New file.
16131 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
16132 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
16133 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
16135 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
16136 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
16137 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
16138 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
16139 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
16140 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
16141 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
16142 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
16143 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
16145 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
16146 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
16147 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
16148 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
16150 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
16151 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
16152 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
16153 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
16154 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
16155 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
16157 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
16158 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
16159 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
16161 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
16162 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
16164 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
16166 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
16168 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
16170 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
16172 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
16174 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
16176 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
16178 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
16180 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
16182 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
16184 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
16186 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
16188 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
16190 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
16192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
16194 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
16196 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
16198 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
16200 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
16202 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
16204 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
16206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
16208 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
16210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
16212 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
16214 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
16215 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
16217 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
16219 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
16221 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
16223 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
16225 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
16227 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
16229 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
16231 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
16233 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
16235 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
16237 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
16239 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
16240 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
16242 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
16244 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
16246 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
16248 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
16250 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
16252 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
16254 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
16256 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
16258 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
16260 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
16262 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
16264 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
16265 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
16266 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
16268 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
16269 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
16270 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
16271 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
16272 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
16273 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
16274 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
16275 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
16276 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
16277 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
16278 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
16279 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
16281 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
16283 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
16285 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
16287 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
16289 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
16291 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
16293 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
16295 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
16297 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
16299 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
16301 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
16303 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
16304 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
16306 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
16308 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
16310 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
16312 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
16314 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
16316 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
16318 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
16320 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
16322 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
16324 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
16326 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
16329 2012-04-28 Joseph Myers <joseph@codesourcery.com>
16331 * conform/conformtest.pl: Fix typo in handling typed-constant from
16334 2012-04-27 Joseph Myers <joseph@codesourcery.com>
16336 * README: Cut down references to pre-2.6 Linux kernels and
16337 Linuxthreads. Update lists of configurations in libc and ports
16338 and sort alphabetically. Say "or newer" with Linux kernel version
16341 * config.h.in [IS_IN_build]: Allow compiling without optimization.
16343 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16346 * math/libm-test.inc (logb_test_downward): New test to expose
16347 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
16350 2012-04-27 Joseph Myers <joseph@codesourcery.com>
16353 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
16355 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
16356 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
16358 2012-04-26 Joseph Myers <joseph@codesourcery.com>
16360 * sysdeps/unix/i386/brk.S: Remove file.
16361 * sysdeps/unix/i386/dl-brk.S: Likewise.
16362 * sysdeps/unix/i386/pipe.S: Likewise.
16363 * sysdeps/unix/i386/sigreturn.S: Likewise.
16364 * sysdeps/unix/i386/syscall.S: Likewise.
16365 * sysdeps/unix/i386/vfork.S: Likewise.
16366 * sysdeps/unix/i386/wait.S: Likewise.
16368 * sysdeps/unix/common/tcsendbrk.c: Move to ...
16369 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
16371 * configure.in (arm*-none*): Do not allow without
16372 --enable-hacker-mode.
16373 (netbsd*): Remove case setting base_os.
16374 (386bsd*): Likewise.
16375 (freebsd*): Likewise.
16378 (sunos*): Likewise.
16379 (ultrix*): Likewise.
16380 (newsos*): Likewise.
16381 (dynix*): Likewise.
16387 (minix*): Likewise.
16388 (irix4*): Likewise.
16389 (irix6*): Likewise.
16390 (solaris[2-9]*): Likewise.
16392 * configure: Regenerated.
16394 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16397 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
16398 overflow or cancellation in calculating denominator.
16399 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
16400 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
16401 down expression to avoid unexpected rounding in newer GCCs.
16402 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
16404 2012-04-26 David S. Miller <davem@davemloft.net>
16406 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
16407 long-double compat symbols.
16408 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
16409 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
16410 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
16411 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
16412 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
16413 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
16414 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
16415 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
16416 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
16417 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
16418 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
16419 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
16420 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
16422 2012-04-25 David S. Miller <davem@davemloft.net>
16424 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
16425 HWCAP_* values only after the memory barriers have been defined.
16426 (atomic_full_barrier): Define.
16427 (atomic_read_barrier): Define.
16428 (atomic_write_barrier): Define.
16430 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16432 * shlib-versions: Add libgcc_s version information.
16433 * sysdeps/generic/libgcc_s.h: Remove.
16434 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
16436 * sysdeps/gnu/unwind-resume.c: Likewise.
16437 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
16439 2012-04-25 David S. Miller <davem@davemloft.net>
16441 * sysdeps/unix/sparc/brk.S: Delete.
16442 * sysdeps/unix/sparc/dl-brk.S: Delete.
16443 * sysdeps/unix/sparc/pipe.S: Delete.
16444 * sysdeps/unix/sparc/sysdep.S: Delete.
16445 * sysdeps/unix/sparc/sysdep.h: Delete.
16446 * sysdeps/unix/sparc/vfork.S: Delete.
16447 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
16448 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
16449 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
16450 ret_ERRVAL, r0, r1, MOVE): Define.
16451 (JUMPTARGET): Remove.
16452 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
16453 sysdeps/unix/sparc/sysdep.h
16454 (ENTRY, END): Remove.
16455 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
16457 2012-04-25 Joseph Myers <joseph@codesourcery.com>
16459 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
16460 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
16463 * timezone/README: Update upstream location and email address for
16465 * timezone/zdump.c: Update from tzcode 2012b.
16466 * timezone/zic.c: Likewise.
16468 * configure.in (libc_cv_as_needed): Remove test.
16469 * configure: Regenerated.
16470 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
16471 conditional definition.
16472 [$(have-as-needed) != yes] (no-as-needed): Likewise.
16473 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
16474 * config.make.in (have-as-needed): Remove variable.
16476 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
16477 Paul Pluzhnikov <ppluzhnikov@google.com>
16479 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
16482 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
16484 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
16485 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
16486 * sysdeps/sh/strlen.S: Likewise.
16488 2012-04-24 Joseph Myers <joseph@codesourcery.com>
16490 * sysdeps/unix/fork.S: Remove file.
16491 * sysdeps/unix/i386/fork.S: Likewise.
16492 * sysdeps/unix/sparc/fork.S: Likewise.
16494 * sysdeps/unix/system.c: Remove file.
16495 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
16497 * sysdeps/unix/getegid.S: Remove file.
16498 * sysdeps/unix/geteuid.S: Likewise.
16500 2012-04-24 Roland McGrath <roland@hack.frob.com>
16502 * scripts/check-localplt.awk: New file.
16503 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
16505 * scripts/data/localplt-generic.data: Add a comment.
16507 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
16508 NODE when __dir_mkfile failed.
16509 * sysdeps/mach/hurd/symlinkat.c: Likewise.
16510 Reported by Ludovic Courtès <ludo@gnu.org>.
16512 2012-04-24 Andreas Jaeger <aj@suse.de>
16514 * Makerules (common-clean): Also remove gen-as-const-headers
16517 2012-04-24 Joseph Myers <joseph@codesourcery.com>
16519 * Makerules (native-compile): Do not change working directory for
16520 build. Use $(OUTPUT_OPTION) in command.
16521 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
16523 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16526 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
16527 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
16528 * math/libm-test.inc (floor_test): Add more tests.
16529 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
16531 2012-04-24 Joseph Myers <joseph@codesourcery.com>
16533 * sysdeps/unix/getdents.c: Remove file.
16534 * sysdeps/unix/sysv/getdents.c: Likewise.
16535 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
16537 * sysdeps/unix/syscalls.list (madvise): Add syscall from
16538 sysdeps/unix/mman/syscalls.list.
16540 (mprotect): Likewise.
16542 (munmap): Likewise.
16543 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
16544 * sysdeps/unix/mman/syscalls.list: Remove.
16545 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
16547 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
16548 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
16549 * configure: Regenerated.
16550 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
16551 $(libgcc_s_suffix).
16552 * config.make.in (libgcc_s_suffix): Remove variable.
16554 2012-04-23 Joseph Myers <joseph@codesourcery.com>
16556 * sysdeps/unix/sysv/gethostname.c: Move to ...
16557 * sysdeps/posix/gethostname.c: ... here.
16559 * sysdeps/unix/execve.S: Remove file.
16561 * sysdeps/unix/_exit.S: Remove file.
16563 2012-04-23 Andreas Jaeger <aj@suse.de>
16566 * manual/Makefile: Remove make dist support, there's no
16567 need for a stand-alone documentation tar ball.
16568 (TEXI2DVI): Define always, it's not in Makeconfig.
16571 (edition): Removed.
16572 (glibc-doc-$(edition).tar): Removed
16576 (ETAGS): Remove, it's in Makeconfig.
16577 (move-if-change): Remove, it's in Makeconfig.
16579 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
16582 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
16583 (strtod, strtof, strtold, strtol, strtoul, strtoq)
16584 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
16585 (strtod_l, strtof_l, strtold_l): Remove __wur.
16586 It is not necessarily an error to ignore strtol's return value.
16587 One can reliably look at the stored endptr to decide whether
16588 the number had valid syntax.
16590 2012-04-21 Andreas Jaeger <aj@suse.de>
16593 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
16595 2012-04-21 Joseph Myers <joseph@codesourcery.com>
16597 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
16598 * sysdeps/unix/sysv/Versions: Remove file.
16600 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
16603 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16605 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
16608 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
16609 version from __vm86.
16611 2012-04-20 Joseph Myers <joseph@codesourcery.com>
16613 * sysdeps/unix/common/lxstat.c: Remove file.
16614 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
16616 * sysdeps/unix/sysv/Makefile: Remove file.
16618 * sysdeps/unix/sysv/direct.h: Remove file.
16620 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
16621 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
16622 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
16623 * sysdeps/unix/sysv/bits/signum.h: Likewise.
16624 * sysdeps/unix/sysv/bits/stat.h: Likewise.
16625 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
16626 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
16628 * sysdeps/unix/sysv/setrlimit.c: Remove file.
16630 * sysdeps/unix/xmknod.c: Remove file.
16631 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
16633 * sysdeps/unix/sysv/settimeofday.c: Remove file.
16635 * sysdeps/unix/sysv/i386/time.S: Remove file.
16637 * sysdeps/unix/fxstat.c: Remove file.
16638 * sysdeps/unix/xstat.c: Likewise.
16639 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
16641 * sysdeps/unix/sysv/sigaction.c: Remove file.
16643 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
16644 (sysdep_headers): Remove variable.
16645 [termio.h not in sysdep_headers] (generated): Likewise.
16646 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
16647 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
16648 * sysdeps/unix/sysv/tcdrain.c: Likewise.
16649 * sysdeps/unix/sysv/tcflow.c: Likewise.
16650 * sysdeps/unix/sysv/tcflush.c: Likewise.
16651 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
16652 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
16653 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
16654 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
16655 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
16657 * sysdeps/unix/siglist.c: Remove file.
16659 * sysdeps/unix/getppid.S: Remove file.
16661 * sysdeps/unix/mkdir.c: Remove file.
16662 * sysdeps/unix/rmdir.c: Likewise.
16664 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
16666 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
16668 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
16669 errlist-compat value.
16671 2012-04-18 David S. Miller <davem@davemloft.net>
16673 * sysdeps/generic/memcopy.h (reg_char): Delete.
16674 * debug/strcat_chk.c: Use char, not reg_char.
16675 * debug/strcpy_chk.c: Likewise.
16676 * debug/strncat_chk.c: Likewise.
16677 * debug/strncpy_chk.c: Likewise.
16678 * string/memchr.c: Likewise.
16679 * string/memrchr.c: Likewise.
16680 * string/rawmemchr.c: Likewise.
16681 * string/strcat.c: Likewise.
16682 * string/strchr.c: Likewise.
16683 * string/strchrnul.c: Likewise.
16684 * string/strcmp.c: Likewise.
16685 * string/strcpy.c: Likewise.
16686 * string/strncat.c: Likewise.
16687 * string/strncmp.c: Likewise.
16688 * string/strncpy.c: Likewise.
16690 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
16692 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
16693 __builtin_memcopy is called when src and dest ranges are known to not
16696 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
16698 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
16699 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
16700 fwd_align_merge macro call.
16701 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
16702 bwd_align_merge macro call.
16703 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
16705 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
16707 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
16708 bwd_align_merge macros.
16709 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
16710 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
16711 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
16713 2012-04-18 David S. Miller <davem@davemloft.net>
16715 * sysdeps/sparc/sparc64/memcopy.h: Delete.
16717 2012-04-18 Andreas Jaeger <aj@suse.de>
16720 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
16721 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
16722 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
16724 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
16725 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
16726 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
16728 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
16729 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
16730 Adjust for changed ldbl-128 files.
16732 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
16733 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
16734 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
16736 2012-04-17 David S. Miller <davem@davemloft.net>
16738 * sysdeps/sparc/sparc32/memcopy.h: Delete.
16740 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
16742 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
16743 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
16744 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
16745 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
16746 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
16747 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
16749 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16752 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
16753 * math/libm-test.inc: Add ilogb errno and exception tests.
16754 * math/w_ilogb.c: New file: ilogb wrapper.
16755 * math/w_ilogbf.c: New file: ilogbf wrapper.
16756 * math/w_ilogbl.c: New file: ilogbl wrapper.
16757 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
16758 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
16759 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
16760 exception being thrown with 0.0 as argument.
16761 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
16762 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
16763 exception being thrown with 0.0 as argument.
16764 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
16765 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
16766 exception being thrown with 0.0 as argument.
16767 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
16768 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
16769 exception being thrown with 0.0 as argument.
16770 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
16771 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
16772 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
16773 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
16774 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
16775 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
16776 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
16777 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
16778 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
16780 2012-04-17 Petr Baudis <pasky@ucw.cz>
16782 * include/sys/uio.h: Change __vector to __iovec to avoid clash
16785 2012-04-16 Marek Polacek <polacek@redhat.com>
16787 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
16789 2012-04-16 Marek Polacek <polacek@redhat.com>
16791 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
16792 operands of fdivp instruction.
16794 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
16796 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
16797 * elf/tst-auditmod3b.c: Likewise.
16798 * elf/tst-auditmod4b.c: Likewise.
16799 * elf/tst-auditmod5b.c: Likewise.
16800 * elf/tst-auditmod6b.c: Likewise.
16801 * elf/tst-auditmod6c.c: Likewise.
16802 * elf/tst-auditmod7b.c: Likewise.
16803 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
16804 * sysdeps/x86_64/preconfigure.in: Likewise.
16805 * sysdeps/x86_64/preconfigure: Regenerated.
16807 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
16809 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
16812 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
16814 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
16815 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
16817 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
16820 * locale/iso-639.def: Fix gl language name. Spotted by
16823 2012-04-12 Roland McGrath <roland@hack.frob.com>
16826 * libio/libio.h (__io_write_fn): Update comment.
16828 2012-04-12 Petr Baudis <pasky@ucw.cz>
16831 * stdio.texi (Hook Functions): The user provided writer function
16832 is not allowed to return -1.
16834 2012-04-11 David S. Miller <davem@davemloft.net>
16836 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16838 2012-04-11 Mike Frysinger <vapier@gentoo.org>
16840 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
16841 Add a leading slash to rtkaio.
16843 2012-04-11 Jim Meyering <meyering@redhat.com>
16846 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
16847 It is not necessarily an error to ignore fwrite's return
16848 value. One can reliably use ferror to test for errors after
16851 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
16853 * bits/types.h (__snseconds_t): New type.
16854 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
16856 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
16857 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
16858 (__SNSECONDS_T_TYPE): Likewise.
16859 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
16860 (__SNSECONDS_T_TYPE): Likewise.
16861 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16862 (__SNSECONDS_T_TYPE): Likewise.
16864 2012-04-10 Andreas Jaeger <aj@suse.de>
16867 * manual/time.texi (Processor Time): Return type of times is
16868 elapsed real time since an arbitrary point in the past.
16869 (CPU Time): Move CLK_TCK from here...
16870 (Processor Time): ...to here. Correct description.
16871 * manual/conf.texi (Constants for Sysconf): Correct description of
16874 2012-04-10 David S. Miller <davem@davemloft.net>
16877 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
16878 where the is a gap between DT_REL(A) and DT_JMPREL.
16880 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
16882 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
16883 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
16884 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
16886 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16888 * elf/dl-support.c (_dl_inhibit_cache): New variable.
16889 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
16890 (dl_main): Handle --inhibit-cache.
16891 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
16893 * elf/dl-load.c (_dl_map_object): Use it.
16894 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
16896 2012-04-09 Joseph Myers <joseph@codesourcery.com>
16899 * sysdeps/i386/fpu/e_powl.S (p78): New object.
16900 (__ieee754_powl): Saturate large exponents rather than testing for
16901 overflow of y*log2(x).
16902 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
16903 * math/libm-test.inc (pow_test): Do not permit spurious overflow
16907 * math/s_ctan.c: Include <float.h>.
16908 (__ctan): Avoid internal overflow or cancellation in calculating
16910 * math/s_ctanf.c: Likewise.
16911 * math/s_ctanl.c: Likewise.
16912 * math/s_ctanh.c: Likewise.
16913 * math/s_ctanhf.c: Likewise.
16914 * math/s_ctanhl.c: Likewise.
16915 * math/libm-test.inc (ctan_test): Add more tests.
16916 (ctanh_test): Likewise.
16917 * sysdeps/i386/fpu/libm-test-ulps: Update.
16918 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16920 2012-04-09 Andreas Jaeger <aj@suse.de>
16923 * manual/filesys.texi (Directory Entries): Mention that d_namlen
16924 is an optional BSD extension.
16927 * manual/stdio.texi (Opening Streams): Document additional fopen
16930 2012-04-09 Roland McGrath <roland@hack.frob.com>
16932 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
16933 %eax without telling the compiler.
16935 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
16938 * manual/install.texi: Use sourceware.org.
16940 2012-04-09 Joseph Myers <joseph@codesourcery.com>
16943 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
16944 (__ieee754_pow): Generate overflow and underflow using huge*huge
16945 and tiny*tiny rather than just returning constant infinity or zero
16946 for large exponents.
16947 * math/libm-test.inc (pow_test): Require overflow exceptions for
16948 applicable cases of large exponents.
16951 * sysdeps/i386/fpu/e_pow.S (p10): New object.
16952 (__ieee754_pow): Use iterative multiplication algorithm only for
16953 integer exponents with absolute value below 1024. Check for odd
16954 integer exponents when using algorithm for real exponents.
16955 * math/libm-test.inc (pow_test): Add more tests.
16956 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16958 2012-04-08 Joseph Myers <joseph@codesourcery.com>
16961 * math/libm-test.inc (exp_test): Do not allow overflow exception
16964 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
16967 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
16968 instead of __kernel_standard_f.
16970 2012-04-08 Mike Frysinger <vapier@gentoo.org>
16972 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
16973 * sysdeps/x86_64/memset_chk.S: Likewise.
16975 2012-04-08 Andreas Jaeger <aj@suse.de>
16978 * manual/startup.texi (Environment Access): Describe return value
16979 for putenv and setenv.
16982 * manual/filesys.texi (Directory Entries): Add description for
16986 * manual/filesys.texi (Directory Entries): Clarify that it's file
16987 system not operating system in the description of DT_UNKNOWN.
16990 * manual/syslog.texi (closelog): Fix reference, it's openlog.
16992 2012-04-08 Stephen Compall <s11@member.fsf.org>
16995 * manual/llio.texi (Opening and Closing Files): Add cross
16996 reference to explain mode argument.
16998 2012-04-07 Mike Frysinger <vapier@gentoo.org>
17000 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
17001 * sysdeps/x86_64/memset_chk.S: Likewise.
17003 2012-04-07 David S. Miller <davem@davemloft.net>
17005 * elf/elf.h (R_SPARC_WDISP10): Define.
17006 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
17008 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
17009 R_SPARC_SIZE64 and R_SPARC_H34.
17011 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
17013 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
17014 conditions and remove no longer applicable assertion.
17016 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
17018 * bits/byteswap.h: Include <features.h>.
17019 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
17020 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
17022 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
17024 * bits/byteswap.h (__bswap_16): Removed.
17025 Include <bits/byteswap-16.h> to get __bswap_16.
17026 * sysdeps/i386/bits/byteswap.h: Likewise.
17027 * sysdeps/s390/bits/byteswap.h: Likewise.
17028 * sysdeps/x86_64/bits/byteswap.h: Likewise.
17029 * bits/byteswap-16.h: New file.
17030 * sysdeps/i386/bits/byteswap-16.h: Likewise.
17031 * sysdeps/s390/bits/byteswap-16.h: Likewise.
17032 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
17033 * string/Makefile (headers): Add bits/byteswap-16.h.
17035 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
17038 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
17040 * nss/Makefile (tests-static, tests): Add tst-nss-static.
17041 * nss/tst-nss-static.c: New.
17043 2012-04-06 Robert Millan <rmh@gnu.org>
17046 * manual/llio.texi (File Position Primitive): lseek
17047 refers to WHENCE when it really means OFFSET.
17049 2012-04-06 Andreas Jaeger <aj@suse.de>
17051 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
17052 strncmp declarations.
17054 * abilist/libc.abilist: Add __poll and __ppoll.
17056 2012-04-05 David S. Miller <davem@davemloft.net>
17058 * scripts/check-local-headers.sh: Accept a host triplet in the
17059 path matched by the exclude regexp.
17061 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
17063 * sysdeps/powerpc/powerpc32/dl-machine.h
17064 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
17065 * sysdeps/s390/s390-32/dl-machine.h
17066 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
17067 * sysdeps/sparc/sparc32/dl-machine.h
17068 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
17069 * sysdeps/sparc/sparc64/dl-machine.h
17070 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
17072 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
17074 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
17075 undefined symbol errors.
17077 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
17080 2012-04-05 Michael Matz <matz@suse.de>
17083 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
17085 2012-04-05 Andreas Jaeger <aj@suse.de>
17088 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
17091 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17093 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
17094 which ROUND is no valid rounding mode.
17096 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17098 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
17100 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
17102 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17104 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
17105 an exception using FPU order intentionally.
17107 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17109 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
17110 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
17111 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
17112 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
17114 2012-04-05 Simon Josefsson <simon@josefsson.org>
17117 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
17118 EINVAL when BUFLEN is too smal.
17120 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
17123 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
17124 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
17126 2012-04-03 Andreas Jaeger <aj@suse.de>
17129 * manual/setjmp.texi (System V contexts): Fix sentence.
17132 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
17133 New macro for this case.
17134 [!__GNUC__] (__bswap_64): New inline function for this case.
17135 * sysdeps/x86_64/bits/byteswap.h: Likewise.
17136 * bits/byteswap.h: Likewise.
17137 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
17138 ull, guard with __GLIBC_HAVE_LONG_LONG.
17140 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
17141 __GLIBC_HAVE_LONG_LONG.
17143 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
17144 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
17146 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17149 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
17150 inptr and inend, rather than using last_ch.
17152 2012-04-02 David S. Miller <davem@davemloft.net>
17154 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
17155 * stdio-common/printf-parse.h (read_int): Change return type to
17156 'int', return -1 on INT_MAX overflow.
17157 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
17158 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
17159 overflows INT_MAX. Check for overflow of in-format-string precision
17160 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
17161 SIZE_MAX not INT_MAX for integer overflow test.
17162 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
17163 skip the construct in the format string but do not record anything.
17164 * stdio-common/bug22.c: Adjust to test both width/prevision
17165 INT_MAX overflow as well as total length INT_MAX overflow. Check
17166 explicitly for proper errno values.
17168 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
17170 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
17172 * string/test-strcmp.c [! WIDE]: Likewise.
17173 * time/tst-mktime2.c: Likewise for INT_MAX.
17174 * string/test-string.h: #include <sys/param.h> for MIN.
17176 * csu/init-first.c (__libc_init_first): Call __ctype_init.
17177 * sysdeps/i386/init-first.c (init): Likewise.
17178 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
17179 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
17180 * sysdeps/sh/init-first.c (init): Likewise.
17182 2012-04-01 Ulrich Drepper <drepper@gmail.com>
17184 * po/ru.po: Update from translation team.
17185 * po/vi.po: Likewise.
17187 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
17189 * resolv/nss_dns/dns-host.c: Merge copyright years.
17191 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17193 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
17194 Optimize memcpy with prefetch if
17195 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
17196 src, dst pointers have unequal 16 byte alignments.
17198 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
17201 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
17202 from a CNAME entry and return the minimum ttl for the query.
17203 (gaih_getanswer_slice): Likewise.
17205 2012-03-30 Jeff Law <law@redhat.com>
17207 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
17209 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
17210 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
17212 * resolv/nss_dns/dns-host.c: Update copyright year.
17214 2012-03-30 Ulrich Drepper <drepper@gmail.com>
17216 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
17217 requests to save a system call. Fix check that all bytes are sent.
17219 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
17220 comments for sendmmsg.
17222 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17225 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
17226 with only 1 character between 0x0041 and 0x01b0.
17227 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
17228 * wcsmbs/tst-mbsnrtowcs.c: New file.
17230 2012-03-29 David S. Miller <davem@davemloft.net>
17232 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
17233 small copies by hand.
17235 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17238 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
17239 _nss_compat_initgroups_dyn): Fall back to malloc/free
17240 for large group memberships.
17242 2012-03-28 David S. Miller <davem@davemloft.net>
17244 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
17245 that branches into memcpy.
17246 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
17247 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
17248 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
17249 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
17250 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
17252 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
17253 implementation too.
17254 * sysdeps/sparc/mempcpy.S: New file.
17256 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
17257 the IFUNC routine in the libc case.
17258 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
17260 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
17261 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
17262 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
17263 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
17264 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
17265 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
17266 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
17267 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
17269 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
17270 loop to 256 bytes instead of 64 bytes and fix test signedness.
17272 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
17273 * sysdeps/sparc/sparc32/Makefile: rather than here...
17274 * sysdeps/sparc/sparc64/Makefile: and here.
17276 2012-03-28 Ulrich Drepper <drepper@gmail.com>
17278 * malloc/mallocbug.c: Avoid warnings about unused variables.
17280 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
17283 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
17284 in the right place. Discard and retry query if response is
17285 larger than input buffer size.
17287 2012-03-28 Joseph Myers <joseph@codesourcery.com>
17292 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
17293 x for large integer exponent.
17294 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
17295 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
17296 sign of result as needed afterwards.
17297 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
17298 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
17299 result for underflowing pow the same as for overflow.
17300 (__kernel_standard_l): Handle powl overflow and underflow here
17301 rather than calling __kernel_standard.
17302 * math/libm-test.inc (pow_test): Add more tests.
17317 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
17318 * sysdeps/ieee754/k_standard.c: Include <float.h>.
17319 (__kernel_standard_l): New function.
17320 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
17322 * math/w_acosl.c (__acosl): Likewise.
17323 * math/w_asinl.c (__asinl): Likewise.
17324 * math/w_atan2l.c (__atan2l): Likewise.
17325 * math/w_atanhl.c (__atanhl): Likewise.
17326 * math/w_coshl.c (__coshl): Likewise.
17327 * math/w_exp10l.c (__exp10l): Likewise.
17328 * math/w_exp2l.c (__exp2l): Likewise.
17329 * math/w_fmodl.c (__fmodl): Likewise.
17330 * math/w_hypotl.c (__hypotl): Likewise.
17331 * math/w_j0l.c (__j0l, __y0l): Likewise.
17332 * math/w_j1l.c (__j1l, __y1l): Likewise.
17333 * math/w_jnl.c (__jnl, __ynl): Likewise.
17334 * math/w_lgammal.c (__lgammal): Likewise.
17335 * math/w_log10l.c (__log10l): Likewise.
17336 * math/w_log2l.c (__log2l): Likewise.
17337 * math/w_logl.c (__logl): Likewise.
17338 * math/w_powl.c (__powl): Likewise.
17339 * math/w_remainderl.c (__remainderl): Likewise.
17340 * math/w_scalbl.c (sysv_scalbl): Likewise.
17341 * math/w_sinhl.c (__sinhl): Likewise.
17342 * math/w_sqrtl.c (__sqrtl): Likewise.
17343 * math/w_tgammal.c (__tgammal): Likewise.
17344 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
17345 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
17346 * math/libm-test.inc (acos_test): Add more tests.
17347 (acosh_test): Likewise.
17348 (asin_test): Likewise.
17349 (atanh_test): Likewise.
17350 (exp_test): Likewise.
17351 (exp10_test): Likewise.
17352 (exp2_test): Likewise.
17353 (expm1_test): Likewise.
17354 (lgamma_test): Likewise.
17355 (log_test): Likewise.
17356 (log10_test): Likewise.
17357 (log1p_test): Likewise.
17358 (log2_test): Likewise.
17359 (pow_test): Do not allow some spurious overflow exceptions.
17360 (sqrt_test): Add more tests.
17361 (tgamma_test): Likewise.
17362 (y0_test): Likewise.
17363 (y1_test): Likewise.
17364 (yn_test): Likewise.
17366 2012-03-27 Anton Blanchard <anton@samba.org>
17368 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
17370 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
17371 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
17372 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
17374 2012-03-27 David S. Miller <davem@davemloft.net>
17376 * conform/Makefile: Run run-conformtest.sh using $(BASH).
17378 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
17379 have-as-vis3 check.
17381 2012-03-27 Andreas Jaeger <aj@suse.de>
17383 * sysdeps/x86_64/elf/configure.in: Moved to ...
17384 * sysdeps/x86_64/configure.in: ... here.
17385 * sysdeps/x86_64/elf/start.S: Moved to ...
17386 * sysdeps/x86_64/start.S: ... here.
17387 * sysdeps/x86_64/elf/configure: Delete.
17389 * sysdeps/x86_64/configure.in: Merge contents from
17390 sysdeps/i386/configure.in (without i686 check).
17392 * sysdeps/i386/elf/Versions: Merge into ...
17393 * sysdeps/i386/Versions: ... this.
17394 * sysdeps/i386/elf/Versions: Delete file.
17395 * sysdeps/i386/elf/start.S: Moved to ...
17396 * sysdeps/i386/start.S: ...here.
17397 * sysdeps/i386/elf/configure.in: Merge into...
17398 * sysdeps/i386/configure.in: ...here.
17399 * sysdeps/i386/elf/configure.in: Delete file.
17400 * sysdeps/i386/elf/configure: Delete file.
17402 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
17403 * debug/backtracesyms.c: ... here.
17404 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
17405 * debug/backtracesymsfd.c: ... here.
17406 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
17407 * sysdeps/generic/ifunc-sel.h: ... here.
17409 * sysdeps/unix/i386/start.c: Delete file.
17410 * sysdeps/unix/sparc/start.c: Delete file.
17411 * sysdeps/unix/start.c: Delete file.
17413 * sysdeps/sh/elf/configure.in: Moved to ...
17414 * sysdeps/sh/configure.in: ... here.
17415 * sysdeps/sh/elf/start.S: Moved to ...
17416 * sysdeps/sh/start.S: ... here.
17417 * sysdeps/sh/elf/configure: Delete file.
17419 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
17420 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
17421 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
17422 * sysdeps/powerpc/powerpc64/entry.h: ... here.
17423 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
17424 * sysdeps/powerpc/powerpc64/start.S: here.
17425 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
17426 * sysdeps/powerpc/powerpc64/Makefile: ... this.
17427 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
17428 * sysdeps/powerpc/powerpc64/configure.in: ... this.
17429 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
17431 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
17432 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
17433 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
17434 * sysdeps/powerpc/powerpc32/start.S: ... here.
17435 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
17436 * sysdeps/powerpc/powerpc32/configure.in: ... this.
17437 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
17439 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
17440 * sysdeps/powerpc/ifunc-sel.h: ... here.
17441 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
17442 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
17444 * sysdeps/sparc/elf/configure.in: Moved to ...
17445 * sysdeps/sparc/configure.in: ... here.
17446 * sysdeps/sparc/elf/configure: Delete file.
17447 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
17448 * sysdeps/sparc/sparc32/start.S: ... here.
17449 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
17450 * sysdeps/sparc/sparc64/start.S: ... here.
17451 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
17452 * sysdeps/sparc/sparc32/Makefile: ... this.
17453 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
17454 * sysdeps/sparc/sparc64/Makefile: ... this.
17456 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
17457 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
17458 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
17459 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
17460 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
17461 * sysdeps/s390/s390-32/setjmp.S: ... here.
17462 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
17463 * sysdeps/s390/s390-32/configure.in: ... here.
17464 * sysdeps/s390/s390-32/elf/configure: Delete file.
17465 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
17466 * sysdeps/s390/s390-32/start.S: ... here.
17468 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
17469 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
17470 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
17471 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
17472 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
17473 * sysdeps/s390/s390-64/setjmp.S: ... here.
17474 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
17475 * sysdeps/s390/s390-64/configure.in: ... here
17476 * sysdeps/s390/s390-64/elf/configure: Delete file.
17477 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
17478 * sysdeps/s390/s390-64/start.S: ... here.
17479 * sysdeps/s390/s390-64/elf/configure: Delete.
17481 * configure.in: Remove support for elf directories in sysdeps.
17483 * configure: Regenerated.
17484 * sysdeps/i386/configure: Regenerated.
17485 * sysdeps/powerpc/powerpc32/configure: Regenerated.
17486 * sysdeps/powerpc/powerpc64/configure: Regenerated.
17487 * sysdeps/s390/s390-32/configure: Regenerated.
17488 * sysdeps/s390/s390-64/configure: Regenerated.
17489 * sysdeps/sh/configure: Regenerated.
17490 * sysdeps/sparc/configure: Regenerated.
17491 * sysdeps/x86_64/configure: Regenerated.
17493 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
17495 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17497 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
17498 denormal result into account.
17500 2012-03-25 Roland McGrath <roland@hack.frob.com>
17502 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
17503 Reported by Allan McRae <allan@archlinux.org>.
17505 2012-03-23 Jeff Law <law@redhat.com>
17507 * nss/getnssent.c (__nss_getent): Fix typo.
17509 2012-03-23 David S. Miller <davem@davemloft.net>
17511 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17513 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
17515 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
17516 to pad to uint64_t for each field.
17517 (dl_tls_index): Replace unsigned long with uint64_t.
17519 2012-03-23 Daniel Jacobowitz <dmj@google.com>
17520 Paul Pluzhnikov <ppluzhnikov@google.com>
17523 * grp/Makefile (otherlibs): Don't set it.
17524 * inet/Makefile (otherlibs): Likewise.
17525 * login/Makefile (otherlibs): Likewise.
17526 * nscd/Makefile (otherlibs): Likewise.
17527 * posix/Makefile (otherlibs): Likewise.
17528 * pwd/Makefile (otherlibs): Likewise.
17529 * rt/Makefile (otherlibs): Likewise.
17530 * sunrpc/Makefile (otherlibs): Likewise.
17531 * nss/Makefile (otherlibs): Likewise.
17532 Add libnss_files to routines and static-only-routines.
17533 ($(objpfx)getent): Remove rule.
17534 * resolv/Makefile: Add libnss_dns and libresolv to routines and
17535 static-only-routines.
17537 2012-03-22 Joseph Myers <joseph@codesourcery.com>
17540 * math/s_cexp.c: Include <float.h>.
17541 (__cexp): Handle exp result overflowing not necessarily
17542 overflowing both real and imaginary parts of result.
17543 * math/s_cexpf.c: Likewise.
17544 * math/s_cexpl.c: Likewise.
17545 * math/libm-test.inc (cexp_test): Add more tests.
17546 * sysdeps/i386/fpu/libm-test-ulps: Update.
17547 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17549 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
17551 * include/link.h (ELFW): New macro.
17552 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
17553 Replace ELF64_R_TYPE with ELFW(R_TYPE).
17555 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
17557 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
17560 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
17562 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
17564 (struct La_x32_retval): Likewise.
17566 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
17568 * sysdeps/x86_64/preconfigure.in: New file.
17569 * sysdeps/x86_64/preconfigure: New generated file.
17571 2012-03-22 Joseph Myers <joseph@codesourcery.com>
17574 * math/e_exp2l.c: Include <float.h>.
17575 (__ieee754_exp2l): Handle overflow and underflow cases
17576 separately. Only pass fractional part of argument to
17578 * math/libm-test.inc (exp2_test): Add more tests.
17580 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
17581 negating x to take absolute value.
17582 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
17584 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
17585 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
17587 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
17588 computing low part if x was negated.
17589 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
17591 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
17593 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
17594 la_x32_gnu_pltexit.
17595 (pltexit): Cast int_retval to ptrdiff_t.
17596 * elf/tst-auditmod3b.c: Likewise.
17597 * elf/tst-auditmod4b.c: Likewise.
17598 * elf/tst-auditmod5b.c: Likewise.
17599 * elf/tst-auditmod6b.c: Likewise.
17600 * elf/tst-auditmod6c.c: Likewise.
17601 * elf/tst-auditmod7b.c: Likewise.
17603 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
17604 and x32_gnu_pltexit.
17606 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
17607 __ELF_NATIVE_CLASS.
17608 (La_x32_regs): New macro.
17609 (La_x32_retval): Likewise.
17610 (la_x32_gnu_pltenter): New function prototype.
17611 (la_x32_gnu_pltexit): Likewise.
17613 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
17615 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
17618 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17620 * configure.in (libc_cv_cc_nofma): Check for option to disable
17621 generation of FMA instructions.
17622 * configure: Regenerate.
17623 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
17624 * sysdeps/ieee754/dbl-64/Makefile: New file.
17625 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
17626 Remove brandred-fma4.
17627 (CFLAGS-brandred-fma4.c): Remove.
17628 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
17629 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
17631 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
17634 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
17636 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
17637 LLONG_MAX != LONG_MAX.
17638 (_itoa_word): Use _ITOA_WORD_TYPE on value.
17639 (_fitoa_word): Likewise.
17640 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
17641 LLONG_MAX != LONG_MAX.
17642 * stdio-common/_itowa.h: Include <_itoa.h>.
17643 (_itowa_word): Use _ITOA_WORD_TYPE on value.
17644 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
17645 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
17646 only if not defined.
17647 (_ITOA_WORD_TYPE): Likewise.
17648 (_itoa_word): Use _ITOA_WORD_TYPE on value.
17649 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
17651 2012-03-21 David S. Miller <davem@davemloft.net>
17653 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17655 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
17657 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
17658 of x86_64 when setting libc_cv_slibdir, libdir and
17660 * sysdeps/unix/sysv/linux/configure: Regenerated.
17662 2012-03-21 Joseph Myers <joseph@codesourcery.com>
17664 * manual/lang.texi (Old Varargs): Remove section.
17665 (How Variadic): Update menu.
17666 (va_start): Do not mention varargs.h.
17668 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
17669 Joseph Myers <joseph@codesourcery.com>
17671 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
17673 * configure: Regenerated.
17675 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
17677 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
17678 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
17681 2012-03-21 Joseph Myers <joseph@codesourcery.com>
17684 * Makefile (files-for-dist): Remove NOTES.
17685 (NOTES): Remove rule.
17686 * README: Don't refer to NOTES.
17687 * manual/creature.texi: Don't include macros.texi.
17688 * manual/intro.texi (creature.texi): Remove comment referring to
17691 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
17692 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
17693 * configure: Regenerated.
17694 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
17695 LIBC_TRY_CC_OPTION.
17696 (libc_cv_as_i686): Likewise.
17697 (libc_cv_cc_avx): Likewise.
17698 (libc_cv_cc_sse2avx): Likewise.
17699 (libc_cv_cc_fma4): Likewise.
17700 (libc_cv_cc_novzeroupper): Likewise.
17701 * sysdeps/i386/configure: Regenerated.
17704 * sysdeps/i386/fpu/s_cexp.S: Remove.
17705 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
17706 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
17707 * math/libm-test.inc (cexp_test): Add more tests.
17708 * sysdeps/i386/fpu/libm-test-ulps: Update.
17709 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17711 2012-03-21 Allan McRae <allan@archlinux.org>
17713 * timezone/Makefile: Do not install iso3166.tab and zone.tab
17715 2012-03-21 Joseph Myers <joseph@codesourcery.com>
17718 * math/w_exp2.c: Do not include <float.h>.
17719 (o_threshold, u_threshold): Remove.
17720 (__exp2): Calculate result before checking finiteness and calling
17722 * math/w_exp2f.c: Likewise.
17723 * math/w_exp2l.c: Likewise.
17724 * math/libm-test.inc (exp2_test): Require overflow exception for
17728 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
17729 range of signed 64-bit integers before using fistpll. Remove
17730 checks for whether integers fit in mantissa bits.
17731 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
17732 the range of signed 32-bit integers before using fistpl. Remove
17733 checks for whether integers fit in mantissa bits.
17734 * sysdeps/i386/fpu/e_powl.S (p64): New object.
17735 (__ieee754_powl): Test for y outside the range of signed 64-bit
17736 integers before using fistpll. Reduce 64-bit values to 63-bit
17738 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
17739 divide-by-zero is raised for zero to large negative powers.
17740 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
17741 (__ieee754_powl): Test for y outside the range of signed 64-bit
17742 integers before using fistpll. Reduce 64-bit values to 63-bit
17744 * math/libm-test.inc (pow_test): Add more tests.
17746 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
17748 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
17749 <stdio-common/_itoa.h>.
17750 * debug/segfault.c: Likewise.
17751 * elf/dl-cache.c: Likewise.
17752 * elf/dl-minimal.c: Likewise.
17753 * elf/dl-misc.c: Likewise.
17754 * elf/dl-sysdep.c: Likewise.
17755 * elf/dl-version.c: Likewise.
17756 * elf/rtld.c: Likewise.
17757 * hurd/hurdsock.c: Likewise.
17758 * hurd/lookup-retry.c: Likewise.
17759 * malloc/malloc.c: Likewise.
17760 * malloc/mtrace.c: Likewise.
17761 * nscd/nscd_getgr_r.c: Likewise.
17762 * nscd/nscd_getpw_r.c: Likewise.
17763 * nscd/nscd_getserv_r.c: Likewise.
17764 * posix/getopt_init.c: Likewise.
17765 * posix/wordexp.c: Likewise.
17766 * stdio-common/_itoa.c: Likewise.
17767 * stdio-common/printf_fphex.c: Likewise.
17768 * stdio-common/vfprintf.c: Likewise.
17769 * string/_strerror.c: Likewise.
17770 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
17771 * sysdeps/i386/i686/hp-timing.h: Likewise.
17772 * sysdeps/mach/_strerror.c: Likewise.
17773 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
17774 * sysdeps/mach/hurd/sethostid.c: Likewise.
17775 * sysdeps/mach/hurd/xmknodat.c: Likewise.
17776 * sysdeps/mach/xpg-strerror.c: Likewise.
17777 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
17778 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
17779 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
17780 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
17781 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
17782 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
17783 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
17784 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
17785 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
17786 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
17787 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
17788 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
17789 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
17790 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
17791 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
17792 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
17793 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
17794 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
17795 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
17796 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
17797 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
17799 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
17801 * stdio-common/_itoa.h: Moved to ...
17802 * sysdeps/generic/_itoa.h: Here.
17804 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
17806 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
17807 instead of "_itoa.h" and "_itowa.h".
17808 * stdio-common/vfprintf.: Likewise.
17810 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
17812 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
17814 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
17815 (__signbit): Likwise.
17816 (llrintf): Likwise.
17819 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
17821 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
17824 2012-03-20 Joseph Myers <joseph@codesourcery.com>
17826 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
17827 OVERFLOW_EXCEPTION_OK.
17828 * math/libm-test.inc ("Philosophy"): Update comment about
17830 (OVERFLOW_EXCEPTION): Define.
17831 (OVERFLOW_EXCEPTION_OK): Likewise.
17832 (INVALID_EXCEPTION_OK): Renumber.
17833 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
17834 (IGNORE_ZERO_INF_SIGN): Likewise.
17835 (test_exceptions): Handle FE_OVERFLOW.
17836 (exp10_test): Expect overflow exceptions.
17837 (exp2_test): Likewise.
17838 (expm1_test): Likewise.
17839 (nextafter_test): Likewise.
17840 (pow_test): Likewise.
17841 (scalbn_test): Likewise.
17842 (scalbln_test): Likewise.
17844 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17846 * sysdeps/x86_64/bits/atomic.h
17847 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
17849 (atomic_exchange_acq): Likewise.
17850 (__arch_exchange_and_add_body): Likewise.
17851 (__arch_add_body): Likewise.
17852 (atomic_add_negative): Likewise.
17853 (atomic_add_zero): Likewise.
17855 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17857 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
17858 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
17860 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17862 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
17863 Check __x86_64__ instead of __WORDSIZE.
17865 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17867 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
17869 2012-03-19 David S. Miller <davem@davemloft.net>
17871 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17873 * sysdeps/sparc/fpu/fenv_private.h: New file.
17874 * sysdeps/sparc/fpu/math_private.h: Use it.
17875 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
17877 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
17878 (libc_feholdexcept_setroundl): Remove.
17879 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
17881 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
17882 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
17884 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17886 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
17887 int64_t instead of long int.
17888 (INSERT_WORDS64): Likwise.
17890 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17892 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
17893 _Unwind_GetCFA return to _Unwind_Ptr first.
17895 2012-03-19 Joseph Myers <joseph@codesourcery.com>
17898 * math/s_clog.c: Include <float.h>.
17899 (__clog): Scale large or subnormal inputs.
17900 * math/s_clogf.c: Likewise.
17901 * math/s_clogl.c: Likewise.
17902 * math/s_clog10.c: Include <float.h>.
17903 (M_LOG10_2): Define.
17904 (__clog10): Scale large or subnormal inputs.
17905 * math/s_clog10f.c: Likewise.
17906 * math/s_clog10l.c: Likewise.
17907 * math/libm-test.inc (clog_test): Add more tests.
17908 (clog10_test): Likewise.
17909 * sysdeps/i386/fpu/libm-test-ulps: Update.
17910 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17913 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
17915 * math/libm-test.inc (atan2_test): Add another test.
17917 * Makerules (common-objdir-compile): Remove.
17918 * sysdeps/unix/Makefile (config-generated): Do not add
17919 $(unix-generated) to variable.
17920 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
17921 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
17923 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
17925 [generic bits/local_lim.h] (before-compile): Do not append to
17927 [generic bits/local_lim.h] (common-generated): Likewise.
17928 [generic sys/param.h] (before-compile): Do not append to variable.
17929 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
17930 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
17931 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
17932 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
17934 [generic sys/param.h] (sys/param.h-includes): Remove variable.
17935 [generic sys/param.h] (sys/param.h-includes): Remove rule.
17936 [generic sys/param.h] ($(addprefix
17937 $(common-objpfx),$(sys/param.h-includes))): Likewise.
17938 [generic sys/param.h] (common-generated): Do not append to
17940 [generic sys/param.h] (sysdep_headers): Likewise.
17941 [generic bits/errno.h] (before-compile): Do not append to
17943 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
17945 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
17946 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
17947 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
17948 [generic bits/errno.h] (common-generated): Do not append to
17950 [generic bits/ioctls.h] (before-compile): Do not append to
17952 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
17954 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
17955 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
17956 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
17958 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
17959 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
17960 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
17961 [generic bits/ioctls.h] (common-generated): Do not append to
17963 [generic sys/syscall.h] (syscall.h): Remove variable.
17964 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
17966 [generic sys/syscall.h] (before-compile): Do not append to
17968 [generic sys/syscall.h] (common-generated): Likewise.
17969 * sysdeps/unix/errnos-tmpl.c: Remove file.
17970 * sysdeps/unix/errnos.awk: Likewise.
17971 * sysdeps/unix/ioctls-tmpl.c: Likewise.
17972 * sysdeps/unix/ioctls.awk: Likewise.
17973 * sysdeps/unix/mk-local_lim.c: Likewise.
17974 * sysdeps/unix/snarf-ioctls: Likewise.
17976 2012-03-19 Richard Henderson <rth@twiddle.net>
17978 * sysdeps/i386/fpu/fenv_private.h: New file.
17979 * sysdeps/i386/fpu/math_private.h: Use it.
17980 (math_opt_barrier, math_force_eval): Remove.
17981 (libc_feholdexcept_setround_53bit): Remove.
17982 (libc_feupdateenv_53bit): Remove.
17983 * sysdeps/x86_64/fpu/math_private.h: Likewise.
17984 (math_opt_barrier, math_force_eval): Remove.
17985 (libc_feholdexcept): Remove.
17986 (libc_feholdexcept_setround): Remove.
17987 (libc_fetestexcept, libc_fesetenv): Remove.
17988 (libc_feupdateenv_test): Remove.
17989 (libc_feupdateenv, libc_feholdsetround): Remove.
17990 (libc_feresetround): Remove.
17992 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
17993 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
17995 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
17996 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
17997 (libc_feupdateenv_testl): New.
17998 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
17999 (libc_feupdateenv_testf): New.
18000 (libc_feupdateenv): Use libc_feupdateenv_test.
18001 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
18002 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
18004 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
18005 (libc_feholdsetroundf, libc_feholdsetroundl): New.
18006 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
18007 (libc_feresetround_noex): New.
18008 (libc_feresetround_noexf): New.
18009 (libc_feresetround_noexl): New.
18010 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
18011 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
18012 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
18013 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
18015 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
18016 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
18018 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
18019 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
18020 SET_RESTORE_ROUND_NOEX.
18021 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
18022 SET_RESTORE_ROUND_NOEXF.
18023 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
18024 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
18025 (libc_feholdsetroundf): New.
18026 (libc_feresetround, libc_feresetroundf): New.
18028 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
18029 (libc_feholdexcept_setround_53bit): Convert from macro to function.
18030 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
18032 * sysdeps/generic/math_private.h: Include <fenv.h>.
18033 (default_libc_feholdexcept): New.
18034 (default_libc_feholdexcept_setround): New.
18035 (default_libc_fesetenv, default_libc_feupdateenv): New.
18036 (libc_feholdexcept): Only define if undefined.
18037 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
18038 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
18039 (libc_feholdexcept_setroundl): Likewise.
18040 (libc_feholdexcept_setround_53bit): Likewise.
18041 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
18042 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
18043 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
18044 (libc_feupdateenv_53bit): Likewise.
18045 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
18046 (libc_feholdexcept): Convert from macro to inline function.
18047 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
18048 (libc_fesetenv, libc_feupdateenv): Likewise.
18050 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
18051 not previously defined.
18052 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
18053 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
18054 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
18055 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
18056 * sysdeps/ieee754/flt-32/math_private.h: New file.
18057 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
18058 math_private.h below SET_FLOAT_WORD.
18059 (__isnan, __isinf_ns, __finite): Remove.
18060 (__isnanf, __isinf_nsf, __finitef): Remove.
18062 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
18064 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18066 2012-03-17 David S. Miller <davem@davemloft.net>
18069 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
18072 2012-03-16 David S. Miller <davem@davemloft.net>
18074 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
18078 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
18080 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
18081 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
18082 sysdep_routines when subdir is sysvipc.
18083 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
18084 __getshmlba helper.
18086 * sysdeps/sparc/fpu/libm-test/ulps: Update.
18088 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
18090 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
18093 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
18095 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
18096 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
18097 (__lround): Renamed to ...
18098 (__llround): This. Replace long int with long long int.
18099 Define lround functions as aliases of llround functions.
18100 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
18102 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
18104 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
18105 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
18106 adresses to uintptr_t. Replace "long int" and "unsigned long
18107 int" with "greg_t" on va_arg.
18109 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
18111 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
18112 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
18114 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
18115 Move e_machine check before EI_CLASS check. Handle x32
18116 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
18117 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
18118 SKIP_EM_IA_64 and include
18119 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
18121 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
18122 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
18123 (add_system_dir): New macro.
18125 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
18126 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
18128 2012-03-16 Joseph Myers <joseph@codesourcery.com>
18139 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
18141 * math/w_j0f.c (j0f): Likewise.
18143 * math/w_j0l.c (__j0l): Likewise.
18145 * math/w_j1.c (j1): Likewise.
18147 * math/w_j1f.c (j1f): Likewise.
18149 * math/w_j1l.c (__j1l): Likewise.
18151 * math/w_jn.c (jn): Likewise.
18153 * math/w_jnf.c (jnf): Likewise.
18155 * math/w_jnl.c (__jnl): Likewise.
18157 * math/libm-test.inc (j0_test): Add more tests.
18158 (j1_test): Likewise.
18159 (jn_test): Likewise. Add trailing semicolon to existing test.
18160 (y0_test): Likewise.
18161 (y1_test): Likewise.
18162 * sysdeps/i386/fpu/libm-test-ulps: Update.
18163 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18167 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
18168 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
18169 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
18170 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
18171 (__tanl): Set errno for infinite argument.
18172 * sysdeps/i386/fpu/mptan.c: Remove.
18173 * sysdeps/i386/fpu/s_tan.S: Likewise.
18174 * sysdeps/i386/fpu/s_tanl.S: Likewise.
18175 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
18176 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
18177 * math/libm-test.inc (tan_test): Add more tests and enable more
18178 tests for double and long double.
18179 * sysdeps/i386/fpu/libm-test-ulps: Update.
18180 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18182 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
18184 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
18185 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
18187 2012-03-16 Roland McGrath <roland@hack.frob.com>
18189 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
18190 * configure.in: Use it for both main tree and add-ons.
18191 * configure: Regenerated.
18193 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
18195 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
18197 2012-03-16 Joseph Myers <joseph@codesourcery.com>
18199 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
18203 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
18204 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
18205 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
18206 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
18207 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
18209 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
18210 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
18211 != 0 for prec == 2.
18212 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
18213 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
18214 * sysdeps/i386/fpu/s_cosl.S: Likewise.
18215 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
18216 * sysdeps/i386/fpu/s_sinl.S: Likewise.
18217 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
18218 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
18219 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
18220 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
18221 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
18222 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
18223 * math/libm-test.inc (cos_test): Add more tests and enable more
18224 tests for long double.
18225 (sin_test): Likewise.
18226 (sincos_test): Likewise.
18227 * sysdeps/i386/fpu/libm-test-ulps: Update.
18228 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18230 2012-03-16 David S. Miller <davem@davemloft.net>
18232 * sysdeps/sparc/fpu/math_private.h: New file.
18234 2012-03-15 David S. Miller <davem@davemloft.net>
18236 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
18238 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
18239 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
18241 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
18242 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
18243 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
18244 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
18245 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
18246 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
18248 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
18250 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
18251 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
18253 * sysdeps/sparc/sparc-ifunc.h: New file.
18254 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
18256 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
18257 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
18259 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
18261 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
18262 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
18263 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
18264 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
18266 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
18267 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
18268 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
18269 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
18270 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
18272 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
18274 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
18275 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
18276 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
18277 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
18278 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
18279 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
18280 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
18281 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
18282 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
18283 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
18284 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
18285 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
18286 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
18287 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
18288 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
18289 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
18290 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
18291 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
18292 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
18293 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
18294 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
18295 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
18296 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
18297 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
18299 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
18301 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
18303 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18305 2012-03-15 Andreas Jaeger <aj@suse.de>
18308 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
18309 ieee754/flt-32 implementation for sin, cos and sincos.
18310 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
18311 * sysdeps/i386/fpu/s_cosf.S: Likewise.
18312 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
18313 * sysdeps/i386/fpu/s_sinf.S: Likewise.
18314 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
18315 ieee754/flt-32 implementation for tan.
18317 * math/libm-test.inc (cos_test): Enable some large input tests for
18319 (sin_test): Likewise.
18320 (sincos_test): Likewise.
18321 (tan_test): Add tests for large input.
18323 * sysdeps/i386/fpu/libm-test-ulps: Update.
18325 2012-03-15 Andreas Jaeger <aj@suse.de>
18328 * math/libm-test.inc (cos_test): Add more test cases.
18329 (sin_test): Likewise.
18330 (sincos_test): Likewise.
18332 2012-03-15 Andreas Jaeger <aj@suse.de>
18335 * math/libm-test.inc (cos_test): Add a test case for large input
18337 (sin_test): Likewise.
18338 (sincos_test): Likewise.
18340 2012-03-15 Andreas Jaeger <aj@suse.de>,
18341 Joseph Myers <joseph@codesourcery.com>
18344 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
18345 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
18346 * sysdeps/i386/fpu/branred.c: Likewise.
18347 * sysdeps/i386/fpu/dosincos.c: Likewise.
18348 * sysdeps/i386/fpu/mpa.c: Likewise.
18349 * sysdeps/i386/fpu/s_cos.S: Likewise.
18350 * sysdeps/i386/fpu/s_sin.S: Likewise.
18351 * sysdeps/i386/fpu/s_sincos.S: Likewise.
18352 * sysdeps/i386/fpu/sincos32.c: Likewise.
18354 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
18356 (libc_feupdateenv_53bit): Define.
18357 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
18359 (libc_feupdateenv_53bit): Define.
18361 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
18362 53 bit (without extend i386 double precision).
18364 * math/libm-test.inc (sincos_test): Add tests for large input.
18368 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
18370 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
18372 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18374 2012-03-15 David S. Miller <davem@davemloft.net>
18376 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
18377 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
18378 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
18379 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
18380 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
18381 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
18382 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
18383 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
18384 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
18385 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
18386 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
18387 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
18388 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
18389 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
18390 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
18391 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
18393 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
18394 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
18396 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
18397 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
18399 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
18400 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
18402 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
18403 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
18404 fmin/fmax sysdep routines.
18405 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
18407 2012-03-14 David S. Miller <davem@davemloft.net>
18409 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
18410 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
18411 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
18412 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
18413 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
18414 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
18415 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
18416 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
18417 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
18418 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
18419 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
18420 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
18421 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
18422 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
18423 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
18424 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
18425 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
18426 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
18427 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
18428 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
18429 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
18430 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
18431 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
18432 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
18433 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
18434 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
18435 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
18436 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
18437 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
18439 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
18441 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
18442 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
18444 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
18445 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
18447 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
18448 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
18450 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
18451 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
18453 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
18454 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
18456 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
18458 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
18460 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
18462 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
18464 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
18466 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
18468 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
18469 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
18471 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
18472 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
18474 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
18475 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
18477 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
18478 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
18481 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
18484 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18486 * sysdeps/sparc/configure.in: New file.
18487 * sysdeps/sparc/configure: Generate.
18488 * configure.in (libc_cv_sparc_as_vis3): Substitute.
18489 * configure: Regenerate.
18490 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
18491 * config.make.in (have-as-vis3): New.
18492 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
18493 available use -Av9d instead of -Av9a.
18494 * sysdeps/sparc/sparc64/Makefile: Likewise.
18495 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
18496 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
18498 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
18500 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
18502 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
18504 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
18505 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
18506 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
18507 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
18508 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
18510 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
18511 fzeros/fnegs to load 0x80000000 into a float register instead of
18513 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
18515 2012-03-14 Joseph Myers <joseph@codesourcery.com>
18517 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18519 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
18520 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
18521 ($(inst_includedir)/bits/syscall.h): Remove rule.
18522 ($(objpfx)bits/syscall.d): Include instead of
18523 $(objpfx)syscall-list.d.
18524 (generated): Change syscall-list.h and syscall-list.d to
18525 bits/syscall.h and bits/syscall.d.
18527 2012-03-14 Roland McGrath <roland@hack.frob.com>
18530 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
18532 2012-03-14 Joseph Myers <joseph@codesourcery.com>
18535 * math/s_csqrt.c: Include <float.h>.
18536 (__csqrt): Scale large or subnormal inputs.
18537 * math/s_csqrtf.c: Likewise.
18538 * math/s_csqrtl.c: Likewise.
18539 * math/libm-test.inc (csqrt_test): Add more tests.
18540 * sysdeps/i386/fpu/libm-test-ulps: Update.
18541 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18544 * math/libm-test.inc (hypot_test): Add more tests.
18546 2012-03-13 David S. Miller <davem@davemloft.net>
18549 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
18550 double-precision for the calculation instead of scaling.
18552 2012-03-13 Joseph Myers <joseph@codesourcery.com>
18554 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
18555 manipulate bits before adding and subtracting TWO52[sx].
18556 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
18557 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
18559 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
18561 2012-03-13 David S. Miller <davem@davemloft.net>
18563 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
18564 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
18565 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
18566 rtld-global-offsets.h
18567 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
18569 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
18572 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
18574 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
18575 'err' in the ifdef scope in which it is actually used.
18577 * nss/nss_db/db-init.c: Include string.h
18579 2012-03-12 David S. Miller <davem@davemloft.net>
18581 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
18582 masking out of the most significant byte of random value used.
18583 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
18584 Fix coding style in previous change.
18586 * sysdeps/unix/sysv/linux/kernel-features.h
18587 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
18588 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
18590 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
18593 2012-03-11 David S. Miller <davem@davemloft.net>
18595 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
18596 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
18597 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
18598 for 'resultvar' otherwise things get truncated on 64-bit.
18600 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
18601 Fix masking out of the most significant byte of random value used.
18603 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18605 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
18607 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18609 2012-03-09 David S. Miller <davem@davemloft.net>
18611 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
18612 variables with appropriate CPP guards.
18613 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
18614 frame pointer, not the stack pointer. Correct layout comments. Fix test
18615 on resulting framesize and the management of the outregs buffer for pltexit.
18616 Preserve floating point return values across _dl_call_pltexit call.
18617 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
18618 framesize and the management of the outregs buffer for pltexit.
18619 Preserve floating point return values across _dl_call_pltexit
18621 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
18622 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
18623 (print_exit): Fix format string for return register value.
18625 2012-03-10 Joseph Myers <joseph@codesourcery.com>
18627 * sunrpc/Makefile (others): Add rpcgen.
18628 ($(objpfx)rpcgen): Remove special build rule and dependency on
18630 * sunrpc/rpcgen.c: New file.
18632 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
18635 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
18636 * stdio-common/bug-vfprintf-nargs.c: Likewise.
18637 * sysdeps/i386/crti.S: Likewise.
18638 * sysdeps/i386/crtn.S: Likewise.
18639 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
18640 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
18641 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
18642 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
18643 * sysdeps/sh/crti.S: Likewise.
18644 * sysdeps/sh/crtn.S: Likewise.
18645 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
18648 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
18650 * locale/programs/locfile-kw.gperf: Likewise.
18651 * locale/programs/charmap-kw.h: Regenerated.
18652 * locale/programs/locfile-kw.h: Likewise.
18655 * intl/plural.y: Replace FSF snail mail address with URL.
18656 * intl/plural.c: Regenerated.
18658 2012-03-09 Richard Henderson <rth@twiddle.net>
18660 * include/math_private.h: Remove file.
18661 * math/math_private.h: Move file ...
18662 * sysdeps/generic/math_private.h: ... here.
18664 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
18665 * sysdeps/powerpc/fpu/math_private.h: Likewise.
18666 * sysdeps/x86_64/fpu/math_private.h: Likewise.
18668 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
18669 and <math_private.h>.
18670 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
18671 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
18672 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
18673 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
18674 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
18675 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
18676 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
18677 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18678 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
18679 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
18680 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18681 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
18682 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
18683 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
18684 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
18685 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
18686 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
18687 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
18688 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
18689 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
18690 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18691 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
18692 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
18693 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18694 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
18695 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
18696 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
18697 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
18698 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18699 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
18700 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
18701 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
18702 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
18703 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
18704 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
18705 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
18706 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
18707 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
18708 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
18709 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
18710 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
18711 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
18712 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
18713 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
18714 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
18715 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
18716 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
18717 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
18718 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
18719 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
18720 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
18721 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
18722 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
18723 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
18724 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
18725 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
18726 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
18727 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
18728 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
18729 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
18730 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
18731 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
18732 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18733 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
18734 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
18735 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
18736 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
18737 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
18738 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
18739 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
18740 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
18741 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
18742 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
18743 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
18744 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
18745 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
18746 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
18747 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
18748 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
18749 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
18750 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
18751 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
18752 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
18753 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
18754 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
18755 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
18756 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
18757 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
18758 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
18759 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
18760 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
18761 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
18762 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
18763 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
18764 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
18765 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
18766 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
18767 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
18768 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
18769 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
18770 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
18771 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
18772 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
18773 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
18774 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
18775 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
18776 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
18777 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
18778 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
18779 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
18780 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
18781 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
18782 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
18783 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
18784 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
18785 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
18786 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
18787 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
18788 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
18789 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
18790 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
18791 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
18792 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
18793 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
18794 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
18795 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
18796 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
18797 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
18798 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
18799 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
18800 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
18801 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
18802 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
18803 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
18804 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
18805 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
18806 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
18807 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
18808 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
18809 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
18810 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
18811 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
18812 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
18813 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
18814 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
18815 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
18816 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
18817 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
18818 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
18819 * sysdeps/ieee754/k_standard.c: Likewise.
18820 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
18821 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
18822 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
18823 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
18824 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
18825 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
18826 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
18827 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
18828 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
18829 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
18830 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
18831 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
18832 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
18833 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
18834 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
18835 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
18836 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
18837 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
18838 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
18839 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
18840 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
18841 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
18842 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
18843 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
18844 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
18845 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
18846 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
18847 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
18848 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
18849 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
18850 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
18851 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
18852 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
18853 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
18854 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
18855 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
18856 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
18857 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
18858 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
18859 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
18860 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
18861 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
18862 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
18863 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
18864 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
18865 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
18866 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
18867 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
18868 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
18869 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
18870 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
18871 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
18872 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
18873 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
18874 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
18875 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
18876 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
18877 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
18878 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
18879 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
18880 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
18881 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
18882 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
18883 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
18884 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
18885 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
18886 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
18887 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
18888 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
18889 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
18890 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
18891 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
18892 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
18893 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
18894 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
18895 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
18896 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
18897 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
18898 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
18899 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
18900 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
18901 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
18902 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
18903 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
18904 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
18905 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
18906 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
18907 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
18908 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
18909 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
18910 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
18911 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
18912 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
18913 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
18914 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
18915 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
18916 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
18917 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
18918 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
18919 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
18920 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
18921 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
18922 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
18923 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
18924 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
18925 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
18926 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
18927 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
18928 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
18929 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
18930 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
18931 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
18932 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
18933 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
18934 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
18935 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
18936 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
18937 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
18938 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
18939 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
18940 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
18941 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
18942 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
18943 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
18944 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
18945 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
18946 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
18947 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
18948 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
18949 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
18950 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
18951 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
18952 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
18953 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
18954 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
18955 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
18956 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
18957 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
18958 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
18959 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
18960 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
18961 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
18962 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
18963 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
18964 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
18965 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
18966 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
18967 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
18968 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
18969 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
18970 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
18971 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
18972 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
18973 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
18974 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
18975 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
18976 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
18977 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
18978 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
18979 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
18980 * sysdeps/ieee754/s_lib_version.c: Likewise.
18981 * sysdeps/ieee754/s_matherr.c: Likewise.
18982 * sysdeps/ieee754/s_signgam.c: Likewise.
18983 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
18984 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
18985 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
18986 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
18987 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
18988 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
18989 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
18990 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
18991 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
18992 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
18993 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
18994 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
18995 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
18996 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
18997 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
18998 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
18999 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
19000 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
19001 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
19002 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
19003 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
19005 2012-03-09 Joseph Myers <joseph@codesourcery.com>
19007 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
19008 * sunrpc/rpc_main.c: Likewise.
19009 * sunrpc/rpc_svcout.c: Likewise.
19011 2012-03-09 David S. Miller <davem@davemloft.net>
19013 * include/math_private.h: New file.
19015 2012-03-09 Joseph Myers <joseph@codesourcery.com>
19017 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
19018 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
19019 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
19020 from <bits/socket_type.h>.
19021 (enum __socket_type): Don't define here.
19022 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
19023 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19024 bits/socket_type.h.
19027 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
19028 checking __USE_GNU.
19030 * Makerules ($(inst_includedir)/%.h): New rule.
19031 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
19032 (install-others): Remove variable setting.
19033 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
19035 2012-03-08 Richard Henderson <rth@twiddle.net>
19037 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
19038 from macro to inline function; merge with the
19039 !__LIBC_INTERNAL_MATH_INLINES version.
19040 (__ieee754_sqrtf): Likewise.
19042 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
19043 to inline function.
19044 (__rintf, __floor, __floorf): Likewise.
19046 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
19047 macro to inline function.
19048 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
19050 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
19051 not <math/math_private.h>.
19053 2012-03-08 David S. Miller <davem@davemloft.net>
19055 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
19057 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
19059 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
19061 * resolv/gai_misc.c (handle_requests): Fix struct timespec
19063 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
19064 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
19066 2012-03-08 Ulrich Drepper <drepper@gmail.com>
19068 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
19069 be defined individually, they must be defined as a block. Define
19070 S for printing a string instead of hidint the different by using a
19071 macro for adding the 'l'.
19072 * stdio-common/tst-fphex-wide.c: Adjust.
19074 2012-03-07 Marek Polacek <polacek@redhat.com>
19076 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
19078 2012-03-08 Marek Polacek <polacek@redhat.com>
19081 * stdio-common/Makefile (tests): Add tst-fphex-wide.
19082 * stdio-common/tst-fphex.c: Define a few macros to make the
19083 test reusable. Use them.
19084 * stdio-common/tst-fphex-wide.c: New file.
19086 2012-03-08 Joseph Myers <joseph@codesourcery.com>
19089 * manual/macros.texi (gnusystems): New macro.
19090 (nongnusystems): Likewise.
19091 (gnulinuxhurdsystems): Likewise.
19092 (gnuhurdsystems): Likewise..
19093 (gnulinuxsystems): Likewise.
19094 * manual/charset.texi: Use new macros or @theglibc{} to refer to
19095 variants of the GNU system, not "GNU system".
19096 * manual/conf.texi: Likewise.
19097 * manual/errno.texi: Likewise. Update example of errno macro
19099 * manual/filesys.texi: Likewise.
19100 (getumask): Document as specific to GNU/Hurd.
19101 * manual/install.texi: Likewise. Reword some references to
19103 * manual/intro.texi: Likewise.
19104 * manual/io.texi: Likewise.
19105 (File Name Portability): Detail which constraints are inapplicable
19106 to all GNU systems and which are only inapplicable to GNU/Hurd.
19107 * manual/job.texi: Likewise.
19108 * manual/llio.texi: Likewise.
19109 (O_NOCTTY): Document as present on GNU/Linux.
19110 * manual/maint.texi: Likewise.
19111 * manual/memory.texi: Likewise.
19112 * manual/pattern.texi: Likewise.
19113 * manual/pipe.texi: Likewise.
19114 * manual/process.texi: Likewise.
19115 * manual/resource.texi: Likewise.
19116 (RUSAGE_CHILDREN): Remove statement about specifying a particular
19118 * manual/setjmp.texi: Likewise.
19119 * manual/signal.texi: Likewise.
19120 * manual/startup.texi: Likewise.
19121 * manual/stdio.texi: Likewise.
19122 * manual/terminal.texi: Likewise.
19123 (ONLCR): Document as POSIX.
19124 (OXTABS): Document availability on GNU/Linux as XTABS.
19125 (ONOEOT): Document availability separately from other bits.
19126 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
19127 * manual/time.texi: Likewise.
19128 * manual/users.texi: Likewise.
19129 * INSTALL: Regenerated.
19130 * sysdeps/gnu/errlist.c: Regenerated.
19132 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
19133 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
19134 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
19136 * configure: Regenerated.
19138 2012-03-07 Joseph Myers <joseph@codesourcery.com>
19140 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
19141 default includes instead of AC_HEADER_CHECK.
19142 * sysdeps/i386/configure: Regenerated.
19145 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
19146 * math/s_cacoshf.c (__cacoshf): Likewise.
19147 * math/s_cacoshl.c (__cacoshl): Likewise.
19148 * math/s_casinh.c (__casinh): Set signs of result from argument.
19149 * math/s_casinhf.c (__casinhf): Likewise.
19150 * math/s_casinhl.c (__casinhl): Likewise.
19151 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
19152 (casinh_test): Add more tests.
19153 * sysdeps/i386/fpu/libm-test-ulps: Update.
19154 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19156 2012-03-07 Ulrich Drepper <drepper@gmail.com>
19158 * po/zh_TW.po: Update from translation team.
19160 * login/Makefile (distribute): Remove variable.
19161 * catgets/Makefile: Likewise.
19162 * mach/Makefile: Likewise.
19163 * malloc/Makefile: Likewise.
19164 * misc/Makefile: Likewise.
19165 * iconv/Makefile: Likewise.
19166 * nscd/Makefile: Likewise.
19167 * hurd/Makefile: Likewise.
19168 * manual/Makefile: Likewise.
19169 * locale/Makefile: Likewise.
19170 * intl/Makefile: Likewise.
19171 * conform/Makefile: Likewise.
19172 * nss/Makefile: Likewise.
19173 * time/Makefile: Likewise.
19174 * soft-fp/Makefile: Likewise.
19175 * dirent/Makefile: Likewise.
19176 * gmon/Makefile: Likewise.
19177 * po/Makefile: Likewise.
19178 * rt/Makefile: Likewise.
19179 * socket/Makefile: Likewise.
19180 * math/Makefile: Likewise.
19181 * signal/Makefile: Likewise.
19182 * debug/Makefile: Likewise.
19183 * elf/Makefile: Likewise.
19184 * timezone/Makefile: Likewise.
19185 * stdlib/Makefile: Likewise.
19186 * iconvdata/Makefile: Likewise.
19187 * sunrpc/Makefile: Likewise.
19188 * io/Makefile: Likewise.
19189 * argp/Makefile: Likewise.
19190 * inet/Makefile: Likewise.
19191 * hesiod/Makefile: Likewise.
19192 * grp/Makefile: Likewise.
19193 * csu/Makefile: Likewise.
19194 * wctype/Makefile: Likewise.
19195 * crypt/Makefile: Likewise.
19196 * libio/Makefile: Likewise.
19197 * string/Makefile: Likewise.
19198 * nis/Makefile: Likewise.
19199 * resolv/Makefile: Likewise.
19200 * stdio-common/Makefile: Likewise.
19201 * wcsmbs/Makefile: Likewise.
19202 * dlfcn/Makefile: Likewise.
19203 * posix/Makefile: Likewise.
19206 * timezone/Makefile: Don't install timezone files, just the programs
19209 2012-03-06 Ulrich Drepper <drepper@gmail.com>
19211 * nss/databases.def: Add missing gshadow entry.
19213 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
19215 2012-03-06 Marek Polacek <polacek@redhat.com>
19218 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
19219 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
19220 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
19221 * stdio-common/tst-long-dbl-fphex.c: New file.
19223 2012-03-06 David S. Miller <davem@davemloft.net>
19225 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
19226 (set_obp_int): New function.
19227 (get_obp_int): New function.
19228 (__get_clockfreq_via_dev_openprom): Likewise.
19229 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
19230 Avoid unused variable warnings on 'val' and use builtin_expect.
19231 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
19233 (INLINE_CLONE_SYSCALL): Likewise.
19235 2012-03-05 David S. Miller <davem@davemloft.net>
19237 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19239 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
19241 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19243 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
19244 only for |x| >= 40.
19245 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
19247 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
19249 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
19250 Replace gettimeofday with __vdso_gettimeofday.
19252 * sysdeps/unix/sysv/linux/x86_64/init-first.c
19253 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
19254 __vdso_clock_gettime and __vdso_getcpu.
19256 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
19257 time with __vdso_time.
19259 2012-03-05 Joseph Myers <joseph@codesourcery.com>
19261 * manual/lang.texi (size_t): Note types to which size_t may be
19262 equivalent with the GNU C Library, but do not describe when
19263 differences between them are significant.
19265 2012-03-05 Andreas Jaeger <aj@suse.de>
19267 * sysdeps/i386/fpu/libm-test-ulps: Update.
19269 2012-03-05 Joseph Myers <joseph@codesourcery.com>
19272 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
19273 (__ieee754_pow): Save and restore rounding mode and use
19274 round-to-nearest for main computations.
19275 * math/libm-test.inc (pow_test_tonearest): New function.
19276 (pow_test_towardzero): Likewise.
19277 (pow_test_downward): Likewise.
19278 (pow_test_upward): Likewise.
19279 (main): Call the new functions.
19280 * sysdeps/i386/fpu/libm-test-ulps: Update.
19281 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19284 * math/libm-test.inc (cosh_test_tonearest): New function.
19285 (cosh_test_towardzero): Likewise.
19286 (cosh_test_downward): Likewise.
19287 (cosh_test_upward): Likewise.
19288 (sinh_test_tonearest): Likewise.
19289 (sinh_test_towardzero): Likewise.
19290 (sinh_test_downward): Likewise.
19291 (sinh_test_upward): Likewise.
19292 (main): Call the new functions.
19293 * sysdeps/i386/fpu/libm-test-ulps: Update.
19294 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19296 2012-03-05 Tom de Vries <tom@codesourcery.com>
19298 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
19299 default stack guard is set in last bytes.
19300 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
19302 2012-03-05 Kees Cook <keescook@chromium.org>
19304 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
19307 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
19308 possibly allocate from heap instead of stack.
19309 * stdio-common/bug-vfprintf-nargs.c: New file.
19310 * stdio-common/Makefile (tests): Add nargs overflow test.
19312 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
19314 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19316 2012-03-03 Marek Polacek <polacek@redhat.com>
19318 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
19319 * math/math_private.h: Likewise.
19320 * stdlib/tst-strtod.c: Likewise.
19321 * sysdeps/i386/i486/bits/atomic.h: Likewise.
19322 * sysdeps/x86_64/bits/atomic.h: Likewise.
19324 2012-03-02 David S. Miller <davem@davemloft.net>
19326 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
19327 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
19328 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
19329 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
19330 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
19331 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
19332 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
19333 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
19335 2012-03-02 Roland McGrath <roland@hack.frob.com>
19338 * manual/examples/README: New file, says the example source files
19339 can be used under GPL>=2.
19340 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
19341 line containing just "*/".
19342 * manual/examples/add.c: Add copyright header (GPL>=2).
19343 * manual/examples/argp-ex1.c: Likewise.
19344 * manual/examples/argp-ex2.c: Likewise.
19345 * manual/examples/argp-ex3.c: Likewise.
19346 * manual/examples/argp-ex4.c: Likewise.
19347 * manual/examples/atexit.c: Likewise.
19348 * manual/examples/db.c: Likewise.
19349 * manual/examples/dir.c: Likewise.
19350 * manual/examples/dir2.c: Likewise.
19351 * manual/examples/execinfo.c: Likewise.
19352 * manual/examples/filecli.c: Likewise.
19353 * manual/examples/filesrv.c: Likewise.
19354 * manual/examples/fmtmsgexpl.c: Likewise.
19355 * manual/examples/genpass.c: Likewise.
19356 * manual/examples/inetcli.c: Likewise.
19357 * manual/examples/inetsrv.c: Likewise.
19358 * manual/examples/isockad.c: Likewise.
19359 * manual/examples/longopt.c: Likewise.
19360 * manual/examples/memopen.c: Likewise.
19361 * manual/examples/memstrm.c: Likewise.
19362 * manual/examples/mkfsock.c: Likewise.
19363 * manual/examples/mkisock.c: Likewise.
19364 * manual/examples/mygetpass.c: Likewise.
19365 * manual/examples/pipe.c: Likewise.
19366 * manual/examples/popen.c: Likewise.
19367 * manual/examples/rprintf.c: Likewise.
19368 * manual/examples/search.c: Likewise.
19369 * manual/examples/select.c: Likewise.
19370 * manual/examples/setjmp.c: Likewise.
19371 * manual/examples/sigh1.c: Likewise.
19372 * manual/examples/sigusr.c: Likewise.
19373 * manual/examples/stpcpy.c: Likewise.
19374 * manual/examples/strdupa.c: Likewise.
19375 * manual/examples/strftim.c: Likewise.
19376 * manual/examples/strncat.c: Likewise.
19377 * manual/examples/subopt.c: Likewise.
19378 * manual/examples/swapcontext.c: Likewise.
19379 * manual/examples/termios.c: Likewise.
19380 * manual/examples/testopt.c: Likewise.
19381 * manual/examples/testpass.c: Likewise.
19382 * manual/examples/timeval_subtract.c: Likewise.
19385 * manual/time.texi (Elapsed Time): Move timeval_subtract example
19387 * manual/timeval_subtract.c.texi: ... here, new file.
19389 2012-03-02 David S. Miller <davem@davemloft.net>
19391 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
19393 2012-03-02 Joseph Myers <joseph@codesourcery.com>
19396 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
19397 (__sin): Save and restore rounding mode and use round-to-nearest
19398 for all computations.
19399 (__cos): Save and restore rounding mode and use round-to-nearest
19400 for all computations.
19401 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
19403 (tan): Save and restore rounding mode and use round-to-nearest for
19405 * math/libm-test.inc (cos_test_tonearest): New function.
19406 (cos_test_towardzero): Likewise.
19407 (cos_test_downward): Likewise.
19408 (cos_test_upward): Likewise.
19409 (sin_test_tonearest): Likewise.
19410 (sin_test_towardzero): Likewise.
19411 (sin_test_downward): Likewise.
19412 (sin_test_upward): Likewise.
19413 (tan_test_tonearest): Likewise.
19414 (tan_test_towardzero): Likewise.
19415 (tan_test_downward): Likewise.
19416 (tan_test_upward): Likewise.
19417 (main): Call the new functions.
19418 * sysdeps/i386/fpu/libm-test-ulps: Update.
19419 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19422 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
19423 small n, then large n, before computing and testing k+n.
19424 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
19425 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
19427 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
19429 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
19430 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
19431 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
19432 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
19433 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
19434 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
19435 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
19436 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
19437 * math/libm-test.inc (scalbn_test): Add more tests.
19438 (scalbln_test): Likewise.
19440 * manual/filesys.texi (mode_t): Describe constraints on size and
19441 signedness, not exact equivalence to a particular type.
19443 (ino64_t): Likewise.
19445 (nlink_t): Likewise.
19446 (blkcnt_t): Likewise.
19447 (blkcnt64_t): Likewise.
19448 * manual/llio.texi (off_t): Likewise.
19451 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
19452 (__ieee754_exp): Save and restore rounding mode and use
19453 round-to-nearest for all computations.
19454 * math/libm-test.inc (exp_test_tonearest): New function.
19455 (exp_test_towardzero): Likewise.
19456 (exp_test_downward): Likewise.
19457 (exp_test_upward): Likewise.
19458 (main): Call the new functions.
19459 * sysdeps/i386/fpu/libm-test-ulps: Update.
19460 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19462 2012-03-01 Chris Demetriou <cgd@google.com>
19464 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
19465 have predictable order.
19467 2012-03-01 David S. Miller <davem@davemloft.net>
19469 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
19471 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
19472 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
19473 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
19474 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
19476 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
19477 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
19478 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
19479 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
19480 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
19481 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
19482 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
19483 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
19484 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
19486 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19488 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
19489 * sysdeps/sparc/fpu/libm-test-ulps: to here.
19490 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
19492 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
19493 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
19494 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
19495 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
19496 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
19497 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
19498 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
19499 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
19500 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
19501 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
19502 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
19503 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
19504 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
19505 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
19506 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
19507 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
19508 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
19509 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
19510 * sysdeps/sparc/elf/configure: Regenerated.
19512 2012-03-01 Joseph Myers <joseph@codesourcery.com>
19514 * configure.in (AS, LD): Require binutils 2.20 or later.
19515 * configure: Regenerated.
19516 * manual/install.texi (Tools for Compilation): Give binutils 2.20
19517 as required minimum version.
19518 * INSTALL: Regenerated.
19522 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
19523 before squaring exponent.
19524 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
19525 bottom long double and 27 bits of top long double before squaring
19527 * math/libm-test.inc (erfc_test): Add more tests.
19528 * sysdeps/i386/fpu/libm-test-ulps: Update.
19529 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19530 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19532 2012-03-01 Kai Tietz <ktietz@redhat.com>
19534 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
19535 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
19536 containing bit-fields.
19537 * soft-fp/extended.h (_FP_UNION_E): Likewise.
19538 * soft-fp/single.h (_FP_UNION_S): Likewise.
19539 * soft-fp/double.h (_FP_UNION_D): Likewise.
19541 2012-02-29 Joseph Myers <joseph@codesourcery.com>
19544 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
19545 not include ../strcmp.S.
19546 [USE_AS_STRNCASECMP_L]: Likewise.
19547 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
19548 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
19549 * sysdeps/i386/i686/multiarch/strncase_l-c.c
19550 (__strncasecmp_l_ia32): Define as alias to
19551 __strncasecmp_l_nonascii.
19554 * math/libm-test.inc (expm1_test): Add test for bug 5794.
19555 * sysdeps/i386/fpu/libm-test-ulps: Update.
19556 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19558 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
19559 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19561 2012-02-29 Jeff Law <law@redhat.com>
19563 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
19564 out of bounds read.
19566 2012-02-29 Marek Polacek <polacek@redhat.com>
19569 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
19570 * elf/Makefile: Add rules to run tst-unused-dep.out.
19572 2012-02-28 David S. Miller <davem@davemloft.net>
19574 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
19575 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
19576 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
19577 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
19578 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
19579 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
19581 2012-02-29 Joseph Myers <joseph@codesourcery.com>
19583 * math/libm-test.inc (llround_test): Move one test from
19584 lround_test. Use TEST_f_L in moved test.
19585 (lround_test): Move misplaced test to llround_test. Add testcase
19588 2012-02-28 Ulrich Drepper <drepper@gmail.com>
19590 * sysdeps/x86_64/fpu/e_expf.S: New file.
19591 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
19593 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
19596 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
19597 of remain_len that may cause incomplete multi-byte character and
19599 * posix/bug-regex33.c: New file.
19600 * posix/Makefile (tests): Add bug-regex33.
19602 2012-02-28 Joseph Myers <joseph@codesourcery.com>
19604 * manual/macros.texi: New file.
19605 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
19606 * manual/libc.texinfo: Include macros.texi.
19607 * manual/creatute.texi: Likewise.
19608 * manual/install.texi: Likewise.
19609 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
19610 @glibcadj{} in references to the GNU C Library.
19611 * manual/charset.texi: Likewise.
19612 * manual/conf.texi: Likewise.
19613 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
19614 when not using those macros.
19615 * manual/creature.texi: Likewise.
19616 * manual/crypt.texi: Likewise.
19617 * manual/errno.texi: Likewise.
19618 * manual/filesys.texi: Likewise.
19619 * manual/header.texi: Likewise.
19620 * manual/install.texi: Likewise.
19621 * manual/intro.texi: Likewise.
19622 * manual/io.texi: Likewise.
19623 * manual/job.texi: Likewise.
19624 * manual/lang.texi: Likewise.
19625 * manual/libc.texiinfo: Likewise.
19626 * manual/llio.texi: Likewise.
19627 * manual/locale.texi: Likewise.
19628 * manual/maint.texi: Likewise.
19629 * manual/math.texi: Likewise.
19630 * manual/memory.texi: Likewise.
19631 * manual/message.texi: Likewise.
19632 * manual/nss.texi: Likewise.
19633 * manual/pattern.texi: Likewise.
19634 * manual/process.texi: Likewise.
19635 * manual/resource.texi: Likewise.
19636 * manual/search.texi: Likewise.
19637 * manual/setjmp.texi: Likewise.
19638 * manual/signal.texi: Likewise.
19639 * manual/socket.texi: Likewise.
19640 * manual/startup.texi: Likewise.
19641 * manual/stdio.texi: Likewise.
19642 * manual/string.texi: Likewise.
19643 * manual/sysinfo.texi: Likewise.
19644 * manual/syslog.texi: Likewise.
19645 * manual/terminal.texi: Likewise.
19646 * manual/time.texi: Likewise.
19647 * manual/users.texi: Likewise.
19648 * INSTALL: Regenerated.
19649 * NOTES: Regenerated.
19650 * sysdeps/gnu/errlist.c: Regenerated.
19652 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
19654 * include/dirent.h: Include <dirstream.h> before
19657 2012-02-28 David S. Miller <davem@davemloft.net>
19659 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
19660 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
19661 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
19662 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
19664 2012-02-27 David S. Miller <davem@davemloft.net>
19666 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
19667 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
19668 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
19669 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
19671 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
19672 frame pointer instead of stack pointer relative arg slot.
19673 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
19674 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
19675 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
19677 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
19680 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
19682 2012-02-27 David S. Miller <davem@davemloft.net>
19684 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
19685 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
19686 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
19687 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
19688 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
19689 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
19690 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
19691 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
19693 2012-02-27 Joseph Myers <joseph@codesourcery.com>
19695 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
19696 later. Allow versions 5-9.
19697 * configure: Regenerated.
19698 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
19699 required minimum version and 4.6 as recommended version. Do not
19700 mention bugs in GCC 2.7 and 2.8.
19701 * INSTALL: Regenerated.
19703 2012-02-27 David S. Miller <davem@davemloft.net>
19705 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
19706 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
19707 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
19708 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
19709 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
19710 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
19711 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
19712 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
19714 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
19715 manipulate bits before adding and subtracting TWO112[sx].
19716 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
19718 2012-02-27 Roland McGrath <roland@hack.frob.com>
19721 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
19722 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
19723 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
19724 being in POSIX, because they are in 1003.1-2008.
19726 * rt/tst-aio.c: Include <fcntl.h>.
19727 * rt/tst-aio7.c: Likewise.
19728 * rt/tst-aio64.c: Likewise.
19730 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
19732 2012-02-27 Joseph Myers <joseph@codesourcery.com>
19734 * manual/install.texi (--with-headers): Describe headers as
19735 interface headers, not private headers.
19736 (Specific advice for GNU/Linux systems): Describe use of headers
19737 from "make headers_install", not private headers from older
19739 * INSTALL: Regenerated.
19740 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
19742 * sysdeps/unix/sysv/linux/configure: Regenerated.
19744 * manual/llio.texi (fclean): Remove documentation.
19746 * manual/Makefile (libc-texi-generated): New variable. Include
19748 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
19749 $(libc-texi-generated), not duplicated list of files.
19750 (version.texi, stamp-version): New rules.
19751 (realclean): Remove $(libc-texi-generated), not individual files
19752 from that list. Do not remove dir-add.texinfo.
19753 * manual/libc.texinfo: Comment out uses of edition numbers and
19754 references to printed manual. Remove last-updated dates.
19755 (EDITION): Comment out.
19757 (VERSION, UPDATED): Remove.
19758 (version.texi): Include.
19760 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
19762 * sysdeps/posix/spawni.c: Include <signal.h>.
19763 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
19764 * sysdeps/pthread/aio_fsync.c: Likewise.
19766 2012-02-26 Ulrich Drepper <drepper@gmail.com>
19768 * conform/Makefile (tests): Run only when not cross-compiling and
19769 when fast-check is not defined.
19771 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
19772 * conform/data/limits.h-data: Fixes for POSIX2008.
19773 * conform/run-conformtest.sh: Run all tests.
19774 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
19776 * include/bits/dlfcn.h: Likewise.
19777 * include/langinfo.h: Likewise.
19778 * include/monetary.h: Likewise.
19779 * include/sys/poll.h: Likewise.
19781 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
19783 * posix/spawn.h: Define __need_sigset_t.
19784 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
19785 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
19786 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
19787 to get sigevent_t only.
19788 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
19789 only for __USE_GNU.
19790 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
19791 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
19792 process_vm_writev only for __USE_GNU.
19793 * termios/termios.h: Declare tcgetsid also for POSIX2008.
19795 * conform/Makefile: For now ignore errors from run-conformtest.
19796 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
19797 POSIX to avoid namespace pollution. Don't prepend headers.
19798 * conform/data/aio.h-data: Fixes for POSIX testing.
19799 * conform/data/fcntl.h-data: Likewise.
19800 * conform/data/glob.h-data: Likewise.
19801 * conform/data/grp.h-data: Likewise.
19802 * conform/data/pthread.h-data: Likewise.
19803 * conform/data/pwd.h-data: Likewise.
19804 * conform/data/signal.h-data: Likewise.
19805 * conform/data/spawn.h-data: Likewise.
19806 * conform/data/stdio.h-data: Likewise.
19807 * conform/data/stdlib.h-data: Likewise.
19808 * conform/data/stropts.h-data: Likewise.
19809 * conform/data/sys/mman.h-data: Likewise.
19810 * conform/data/sys/stat.h-data: Likewise.
19811 * conform/data/sys/types.h-data: Likewise.
19812 * conform/data/sys/wait.h-data: Likewise.
19813 * conform/data/time.h-data: Likewise.
19814 * conform/data/unistd.h-data: Likewise.
19815 * conform/data/utime.h-data: Likewise.
19817 * io/sys/stat.h: fchmod was always in POSIX.
19818 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
19819 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
19820 * rt/aio.h: Define __need_timespec before including <time.h>.
19821 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
19822 struct. Add forward declaration of pthread_attr_t and use it in
19824 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
19825 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
19826 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
19827 always remove CLK_TCK definition.
19829 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
19831 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
19833 2012-02-25 Ulrich Drepper <drepper@gmail.com>
19835 * conform/run-conformtest.sh: New file.
19836 * conform/Makefile: Run run-conformtest for tests.
19837 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
19840 * conform/data/uchar.h-data: New file.
19841 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
19842 * conform/data/arpa/inet.h-data: Likewise.
19843 * conform/data/assert.h-data: Likewise.
19844 * conform/data/complex.h-data: Likewise.
19845 * conform/data/cpio.h-data: Likewise.
19846 * conform/data/ctype.h-data: Likewise.
19847 * conform/data/dirent.h-data: Likewise.
19848 * conform/data/dlfcn.h-data: Likewise.
19849 * conform/data/errno.h-data: Likewise.
19850 * conform/data/fcntl.h-data: Likewise.
19851 * conform/data/float.h-data: Likewise.
19852 * conform/data/fmtmsg.h-data: Likewise.
19853 * conform/data/fnmatch.h-data: Likewise.
19854 * conform/data/ftw.h-data: Likewise.
19855 * conform/data/glob.h-data: Likewise.
19856 * conform/data/grp.h-data: Likewise.
19857 * conform/data/iconv.h-data: Likewise.
19858 * conform/data/inttypes.h-data: Likewise.
19859 * conform/data/langinfo.h-data: Likewise.
19860 * conform/data/libgen.h-data: Likewise.
19861 * conform/data/limits.h-data: Likewise.
19862 * conform/data/locale.h-data: Likewise.
19863 * conform/data/math.h-data: Likewise.
19864 * conform/data/monetary.h-data: Likewise.
19865 * conform/data/mqueue.h-data: Likewise.
19866 * conform/data/ndbm.h-data: Likewise.
19867 * conform/data/net/if.h-data: Likewise.
19868 * conform/data/netdb.h-data: Likewise.
19869 * conform/data/netinet/in.h-data: Likewise.
19870 * conform/data/nl_types.h-data: Likewise.
19871 * conform/data/poll.h-data: Likewise.
19872 * conform/data/pthread.h-data: Likewise.
19873 * conform/data/pwd.h-data: Likewise.
19874 * conform/data/regex.h-data: Likewise.
19875 * conform/data/sched.h-data: Likewise.
19876 * conform/data/search.h-data: Likewise.
19877 * conform/data/semaphore.h-data: Likewise.
19878 * conform/data/setjmp.h-data: Likewise.
19879 * conform/data/signal.h-data: Likewise.
19880 * conform/data/spawn.h-data: Likewise.
19881 * conform/data/stdarg.h-data: Likewise.
19882 * conform/data/stdio.h-data: Likewise.
19883 * conform/data/stdlib.h-data: Likewise.
19884 * conform/data/string.h-data: Likewise.
19885 * conform/data/strings.h-data: Likewise.
19886 * conform/data/stropts.h-data: Likewise.
19887 * conform/data/sys/ipc.h-data: Likewise.
19888 * conform/data/sys/mman.h-data: Likewise.
19889 * conform/data/sys/msg.h-data: Likewise.
19890 * conform/data/sys/resource.h-data: Likewise.
19891 * conform/data/sys/select.h-data: Likewise.
19892 * conform/data/sys/sem.h-data: Likewise.
19893 * conform/data/sys/shm.h-data: Likewise.
19894 * conform/data/sys/socket.h-data: Likewise.
19895 * conform/data/sys/stat.h-data: Likewise.
19896 * conform/data/sys/statvfs.h-data: Likewise.
19897 * conform/data/sys/time.h-data: Likewise.
19898 * conform/data/sys/timeb.h-data: Likewise.
19899 * conform/data/sys/times.h-data: Likewise.
19900 * conform/data/sys/types.h-data: Likewise.
19901 * conform/data/sys/uio.h-data: Likewise.
19902 * conform/data/sys/un.h-data: Likewise.
19903 * conform/data/sys/utsname.h-data: Likewise.
19904 * conform/data/sys/wait.h-data: Likewise.
19905 * conform/data/syslog.h-data: Likewise.
19906 * conform/data/tar.h-data: Likewise.
19907 * conform/data/termios.h-data: Likewise.
19908 * conform/data/utime.h-data: Likewise.
19909 * conform/data/utmpx.h-data: Likewise.
19910 * conform/data/varargs.h-data: Likewise.
19911 * conform/data/wchar.h-data: Likewise.
19912 * conform/data/wctype.h-data: Likewise.
19913 * conform/data/wordexp.h-data: Likewise.
19915 * include/stropts.h: New file.
19916 * include/uchar.h: New file.
19917 * include/aio.h: Changes to allow conformtest.pl to use the headers.
19918 * include/assert.h: Likewise.
19919 * include/ctype.h: Likewise.
19920 * include/dirent.h: Likewise.
19921 * include/dlfcn.h: Likewise.
19922 * include/fcntl.h: Likewise.
19923 * include/fnmatch.h: Likewise.
19924 * include/glob.h: Likewise.
19925 * include/grp.h: Likewise.
19926 * include/libio.h: Likewise.
19927 * include/locale.h: Likewise.
19928 * include/math.h: Likewise.
19929 * include/net/if.h: Likewise.
19930 * include/netdb.h: Likewise.
19931 * include/netinet/in.h: Likewise.
19932 * include/pthread.h: Likewise.
19933 * include/pwd.h: Likewise.
19934 * include/regex.h: Likewise.
19935 * include/sched.h: Likewise.
19936 * include/search.h: Likewise.
19937 * include/setjmp.h: Likewise.
19938 * include/signal.h: Likewise.
19939 * include/stdio.h: Likewise.
19940 * include/stdlib.h: Likewise.
19941 * include/string.h: Likewise.
19942 * include/sys/cdefs.h: Likewise.
19943 * include/sys/mman.h: Likewise.
19944 * include/sys/msg.h: Likewise.
19945 * include/sys/resource.h: Likewise.
19946 * include/sys/select.h: Likewise.
19947 * include/sys/socket.h: Likewise.
19948 * include/sys/stat.h: Likewise.
19949 * include/sys/statvfs.h: Likewise.
19950 * include/sys/time.h: Likewise.
19951 * include/sys/times.h: Likewise.
19952 * include/sys/uio.h: Likewise.
19953 * include/sys/utsname.h: Likewise.
19954 * include/sys/wait.h: Likewise.
19955 * include/termios.h: Likewise.
19956 * include/time.h: Likewise.
19957 * include/ulimit.h: Likewise.
19958 * include/unistd.h: Likewise.
19959 * include/utime.h: Likewise.
19960 * include/wchar.h: Likewise.
19961 * include/wctype.h: Likewise.
19962 * include/wordexp.h: Likewise.
19964 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
19966 * time/time.h: TIME_UTC must be a macro.
19967 Make timespec_get available for ISO C11 only as well.
19969 2012-02-24 Ulrich Drepper <drepper@gmail.com>
19971 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
19972 Reported by Peng Haitao <penght@cn.fujitsu.com>.
19974 2012-02-24 Joseph Myers <joseph@codesourcery.com>
19976 * configure.in: Use -o not -a in test for unsupported multi-arch.
19978 2012-02-24 Joseph Myers <joseph@codesourcery.com>
19980 * manual/texinfo.tex: Update to version 2012-01-19.16.
19982 2012-02-24 Joseph Myers <joseph@codesourcery.com>
19984 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
19986 2012-02-24 Roland McGrath <roland@hack.frob.com>
19989 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
19990 * manual/fdl-1.3.texi: New file.
19991 * manual/fdl-1.1.texi: File removed.
19994 * manual/libc.texinfo (FDL_VERSION): New @set.
19995 Use it for mention of FDL in cover text.
19996 (Documentation License): Use it in @include file name.
19998 2012-02-22 Joseph Myers <joseph@codesourcery.com>
19999 Roland McGrath <roland@hack.frob.com>
20002 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
20003 not LONG_LONG_MAX and LONG_LONG_MIN.
20004 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
20005 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
20007 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
20009 2012-02-22 Joseph Myers <joseph@codesourcery.com>
20013 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
20014 manipulate bits before adding and subtracting TWO23[sx].
20015 * math/libm-test.inc (nearbyint_test): Add more tests.
20017 2012-02-22 Joseph Myers <joseph@codesourcery.com>
20020 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
20021 bits before adding and subtracting TWO23[sx].
20022 * math/libm-test.inc (rint_test): Add more tests.
20023 (rint_test_tonearest): Likewise.
20024 (rint_test_towardzero): Likewise.
20025 (rint_test_downward): Likewise.
20026 (rint_test_upward: Likewise.
20028 2012-02-22 Joseph Myers <joseph@codesourcery.com>
20031 * include/stdc-predef.h: New file. Extracted from features.h.
20032 * include/features.h: Include stdc-predef.h.
20033 * Makefile (headers): Add stdc-predef.h.
20034 * CONFORMANCE (Compiler limitations): Update.
20036 2012-02-22 Joseph Myers <joseph@codesourcery.com>
20038 * manual/libc.texinfo (VERSION, UPDATED): Revert.
20040 2012-02-21 David S. Miller <davem@davemloft.net>
20042 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
20043 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
20045 2012-02-20 David S. Miller <davem@davemloft.net>
20047 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
20048 using a normal save/restore sequence, rather than allocating a
20049 dummy stack frame just to store a frame pointer and restore.
20050 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
20052 2012-02-21 Joseph Myers <joseph@codesourcery.com>
20054 * manual/install.texi: Fix stray word in line-wrapped comment.
20056 2012-02-20 David S. Miller <davem@davemloft.net>
20058 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
20059 both binutils and gcc support GOTDATA.
20061 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
20062 "rd %pc" in the PIC register setup sequences.
20064 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
20065 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
20066 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
20067 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
20068 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
20069 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
20070 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
20071 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
20072 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
20073 (SYSCALL_ERROR_HANDLER): Likewise.
20074 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
20075 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
20076 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
20077 (SYSCALL_ERROR_HANDLER): Likewise.
20079 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
20080 (HAVE_GCC_GOTDATA): New.
20081 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
20082 relocation support in both binutils and gcc.
20083 * sysdeps/sparc/elf/configure: Regenerate.
20085 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
20086 * sysdeps/sparc/sparc32/elf/configure: Delete.
20087 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
20088 * sysdeps/sparc/sparc64/elf/configure: Delete.
20089 * sysdeps/sparc/elf/configure.in: New file.
20090 * sysdeps/sparc/elf/configure: Generate.
20092 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
20093 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
20094 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
20095 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
20096 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
20098 2012-02-21 Joseph Myers <joseph@codesourcery.com>
20100 * manual/install.texi: Do not mention specific glibc version
20102 * manual/libc.texinfo (VERSION, UPDATED): Update.
20103 (@copying): Use @copyright{} and range of years.
20105 2012-02-21 Joseph Myers <joseph@codesourcery.com>
20108 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
20109 [crti.S not in sysdirs] (generated): Do not append.
20110 [crti.S not in sysdirs] (omit-deps): Likewise.
20111 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
20112 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
20113 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
20114 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
20115 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
20117 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
20118 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
20119 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
20120 * csu/defs.awk: Remove file.
20121 * sysdeps/generic/initfini.c: Likewise.
20122 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
20124 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
20127 2012-02-20 Joseph Myers <joseph@codesourcery.com>
20129 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
20130 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
20131 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
20132 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
20133 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
20134 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
20136 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
20137 (__EPOLL_PACKED): Define to empty if not defined by
20139 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
20140 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20143 2012-02-20 Joseph Myers <joseph@codesourcery.com>
20145 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
20146 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
20147 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
20148 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
20150 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
20151 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20154 2012-02-20 Joseph Myers <joseph@codesourcery.com>
20156 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
20158 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20159 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
20160 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
20161 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20163 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
20165 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
20166 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
20168 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
20170 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
20171 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
20173 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
20175 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
20178 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
20180 * math/w_acos.c: Use non-signaling floating-point comparisons.
20181 * math/w_acosf.c: Likewise.
20182 * math/w_acosh.c: Likewise.
20183 * math/w_acoshf.c: Likewise.
20184 * math/w_acoshl.c: Likewise.
20185 * math/w_acosl.c: Likewise.
20186 * math/w_asin.c: Likewise.
20187 * math/w_asinf.c: Likewise.
20188 * math/w_asinl.c: Likewise.
20189 * math/w_atanh.c: Likewise.
20190 * math/w_atanhf.c: Likewise.
20191 * math/w_atanhl.c: Likewise.
20192 * math/w_exp2.c: Likewise.
20193 * math/w_exp2f.c: Likewise.
20194 * math/w_exp2l.c: Likewise.
20195 * math/w_j0.c: Likewise.
20196 * math/w_j0f.c: Likewise.
20197 * math/w_j0l.c: Likewise.
20198 * math/w_j1.c: Likewise.
20199 * math/w_j1f.c: Likewise.
20200 * math/w_j1l.c: Likewise.
20201 * math/w_jn.c: Likewise.
20202 * math/w_jnf.c: Likewise.
20203 * math/w_log.c: Likewise.
20204 * math/w_log10.c: Likewise.
20205 * math/w_log10f.c: Likewise.
20206 * math/w_log10l.c: Likewise.
20207 * math/w_log2.c: Likewise.
20208 * math/w_log2f.c: Likewise.
20209 * math/w_log2l.c: Likewise.
20210 * math/w_logf.c: Likewise.
20211 * math/w_logl.c: Likewise.
20212 * math/w_sqrt.c: Likewise.
20213 * math/w_sqrtf.c: Likewise.
20214 * math/w_sqrtl.c: Likewise.
20215 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
20216 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
20217 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
20218 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
20219 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
20221 2012-02-19 Joseph Myers <joseph@codesourcery.com>
20224 * manual/string.texi (strnlen): Use correct parameter name in
20225 equivalent expression.
20227 2012-02-19 Joseph Myers <joseph@codesourcery.com>
20230 * manual/users.texi (seteuid): Consistently use neweuid for
20233 2012-02-19 Joseph Myers <joseph@codesourcery.com>
20236 * manual/nss.texi (Services in the NSS configuration): Correct
20237 list of services in example configuration file.
20239 2012-02-19 Nick Bowler <nbowler@draconx.ca>
20242 * manual/arith.texi: Remove statements about negative zero
20243 behaving identically to zero.
20245 2012-02-18 Joseph Myers <joseph@codesourcery.com>
20248 * manual/install.texi: Do not document upgrading from libc5.
20250 2012-02-18 Joseph Myers <joseph@codesourcery.com>
20253 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
20255 2012-02-18 David S. Miller <davem@davemloft.net>
20257 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
20258 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
20259 %o7 across the call.
20260 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
20262 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
20263 SETUP_PIC_REG_LEAF.
20264 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
20265 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
20266 * sysdeps/sparc/crtn.S: Likewise.
20268 2012-02-17 Ulrich Drepper <drepper@gmail.com>
20270 * aout/Makefile: Remove.
20272 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
20275 * manual/examples/argp-ex1.c (main): Format definition in GNU
20277 * manual/examples/argp-ex2.c (main): Likewise.
20278 * manual/examples/argp-ex3.c (main): Likewise.
20279 * manual/examples/argp-ex4.c (main): Likewise.
20280 * manual/examples/longopt.c (main): Use new-style prototype
20282 * manual/examples/strncat.c (main): Specify return type and use
20283 (void) for arguments.
20284 * manual/examples/subopt.c (main): Use char **argv argument.
20286 2012-02-17 Joseph Myers <joseph@codesourcery.com>
20289 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
20292 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
20295 * manual/string.texi (strchr): Change when strchrnul is
20298 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
20301 * manual/locale.texi (setlocale): Document LOCPATH.
20303 2012-02-17 Joseph Myers <joseph@codesourcery.com>
20306 * manual/process.texi (execle): Move @dots{} before last argument.
20308 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
20311 * manual/charset.texi (Generic Charset Conversion): Fix typo
20312 (LC_TYPE -> LC_CTYPE).
20314 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
20317 * manual/arith.texi (scalbn): Use @var{} on parameter names.
20318 (scalbnf): Likewise.
20319 (scalbnl): Likewise.
20320 (scalbln): Likewise.
20321 (scalblnf): Likewise.
20322 (scalblnl): Likewise.
20323 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
20324 (vwarnx): Likewise.
20327 * manual/filesys.texi (telldir): Use braces around return type.
20328 * manual/llio.texi (mmap): Add space after comma.
20329 (mmap64): Likewise.
20330 * manual/math.texi (jn): Use @var{} on parameter names.
20336 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
20338 * manual/resource.texi (ulimit): Use @dots{} instead of literal
20340 (sched_get_priority_min): Remove semicolon on @deftypefun line.
20341 (sched_get_priority_max): Likewise.
20342 * manual/signal.texi (sigvec): Add space after comma.
20343 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
20345 (if_indextoname): Likewise.
20346 (if_freenameindex): Likewise.
20347 (sendto): Use ',' instead of '.' in prototype.
20348 * manual/startup.texi (syscall): Use @dots{} instead of literal
20350 * manual/stdio.texi (__fpending): Separate initial words of
20351 paragraph from @deftypefun line.
20352 * manual/syslog.texi (syslog): Use @dots{} instead of literal
20354 (vsyslog): Use @var{} on parameter names.
20355 * manual/terminal.texi (stty): Use @var{} on parameter names.
20356 * manual/users.texi (getutmp): Use @var{} on parameter names.
20357 (getutmpx): Likewise.
20359 2012-02-17 Joseph Myers <joseph@codesourcery.com>
20362 * manual/stdio.texi (fopen): Fix typos in description of
20365 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
20368 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
20369 get clock_id definition.
20371 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
20374 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
20375 (madvise): Cast every argument to void on its own.
20377 2012-02-17 Joseph Myers <joseph@codesourcery.com>
20380 * manual/startup.texi (Exit Status): Fix typo.
20382 2012-02-17 Joseph Myers <joseph@codesourcery.com>
20385 * manual/examples/argp-ex1.c: Include <stdlib.h>.
20386 * manual/examples/argp-ex2.c: Likewise.
20387 * manual/examples/argp-ex3.c: Likewise.
20389 2012-02-16 Richard Henderson <rth@redhat.com>
20391 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
20392 * sysdeps/s390/s390-32/initfini.c: Remove.
20393 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
20394 * sysdeps/s390/s390-64/initfini.c: Remove.
20396 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20398 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
20399 compiler output for sysdeps/generic/initfini.c.
20400 * sysdeps/sh/elf/initfini.c: Remove file.
20402 2012-02-16 David S. Miller <davem@davemloft.net>
20405 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
20407 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
20408 * sysdeps/sparc/crti.S: New file.
20409 * sysdeps/sparc/crtn.S: New file.
20410 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
20411 * sysdeps/sparc/sparc64/Makefile: Likewise.
20413 2012-02-15 Mike Frysinger <vapier@gentoo.org>
20416 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
20418 2012-02-15 Roland McGrath <roland@hack.frob.com>
20421 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
20423 * mach/devstream.c (cookie_io_functions_t): Macro removed.
20424 (write, read, close): Likewise.
20425 Patch by Aurelien Jarno <aurelien@aurel32.net>.
20427 2012-02-15 Joseph Myers <joseph@codesourcery.com>
20429 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
20430 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
20431 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
20432 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
20434 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
20435 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20438 2012-02-14 Marek Polacek <polacek@redhat.com>
20440 * sysdeps/x86_64/crti.S: New file.
20441 * sysdeps/x86_64/crtn.S: New file.
20442 * sysdeps/x86_64/elf/initfini.c: Remove file.
20444 2012-02-13 Joseph Myers <joseph@codesourcery.com>
20446 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
20447 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
20448 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
20449 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
20451 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
20452 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20455 2012-02-13 Joseph Myers <joseph@codesourcery.com>
20457 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
20458 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
20459 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
20460 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
20462 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
20463 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20466 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
20468 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
20469 __feraiseexcept instead of feraiseexcept.
20471 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
20472 nanosleep invocations.
20473 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
20474 strings, and add error checking for a nanosleep invocations.
20476 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
20478 Replace FSF snail mail address with URLs, as per GNU coding standards.
20479 Most of the snail mail addresses were wrong anyway, and omitting
20480 them makes the source code easier to maintain. Almost all of the
20481 changes are to license notices and to locale LC_IDENTIFICATION
20482 addresses, except for this one:
20483 * manual/libc.texinfo: In "Published by", give the FSF's URL,
20484 not its snail mail address.
20486 2012-02-09 Richard Henderson <rth@twiddle.net>
20488 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
20489 of kernel-features.h.
20491 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
20493 2012-02-08 Marek Polacek <polacek@redhat.com>
20495 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
20496 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
20497 * sysdeps/gnu/_G_config.h: Likewise.
20498 * sysdeps/generic/_G_config.h: Likewise.
20500 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
20502 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
20504 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20506 * sysdeps/powerpc/powerpc32/crti.S: New file.
20507 * sysdeps/powerpc/powerpc32/crtn.S: New file.
20508 * sysdeps/powerpc/powerpc64/crti.S: New file.
20509 * sysdeps/powerpc/powerpc64/crtn.S: New file.
20511 * Makeconfig (have-initfini): Don't set.
20512 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
20513 * configure.in (nopic_initfini): Don't substitute.
20514 * config.h.in (HAVE_INITFINI): Don't #undef.
20515 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
20516 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
20518 2012-02-08 Joseph Myers <joseph@codesourcery.com>
20520 Support crti.S and crtn.S provided directly by architectures.
20521 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
20522 [crti.S in sysdirs] (omit-deps): Likewise.
20523 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
20524 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
20525 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
20526 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
20527 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
20528 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
20529 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
20530 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
20531 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
20532 compiler output for sysdeps/generic/initfini.c.
20533 * sysdeps/i386/elf/Makefile: Remove file.
20534 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
20536 2012-02-07 Marek Polacek <polacek@redhat.com>
20538 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
20539 * sysdeps/gnu/_G_config.h: Likewise.
20540 * sysdeps/mach/hurd/_G_config.h: Likewise.
20542 2012-02-07 Marek Polacek <polacek@redhat.com>
20544 * math/Makefile (tests): Add tst-CMPLX2.
20545 * math/tst-CMPLX2.c: New file.
20547 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
20549 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
20551 * math/libm-test.inc (jn_test): Add missing L suffix.
20553 2012-02-06 Marek Polacek <polacek@redhat.com>
20555 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
20556 * sysdeps/i386/fpu/e_powf.S: Likewise.
20557 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
20558 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
20559 * sysdeps/i386/fpu/e_acosh.S: Likewise.
20560 * sysdeps/i386/fpu/e_pow.S: Likewise.
20561 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
20562 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
20563 * sysdeps/i386/fpu/s_expm1.S: Likewise.
20564 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
20565 * sysdeps/i386/fpu/e_log2.S: Likewise.
20566 * sysdeps/i386/fpu/e_log2l.S: Likewise.
20567 * sysdeps/i386/fpu/e_scalb.S: Likewise.
20568 * sysdeps/i386/fpu/e_powl.S: Likewise.
20569 * sysdeps/i386/fpu/s_log1p.S: Likewise.
20570 * sysdeps/i386/fpu/e_log10f.S: Likewise.
20571 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
20572 * sysdeps/i386/fpu/e_logl.S: Likewise.
20573 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
20574 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
20575 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
20576 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
20577 * sysdeps/i386/fpu/e_log2f.S: Likewise.
20578 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
20579 * sysdeps/i386/fpu/e_log.S: Likewise.
20580 * sysdeps/i386/fpu/s_cexp.S: Likewise.
20581 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
20582 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
20583 * sysdeps/i386/fpu/e_logf.S: Likewise.
20584 * sysdeps/i386/fpu/e_log10l.S: Likewise.
20585 * sysdeps/i386/fpu/e_atanh.S: Likewise.
20586 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
20587 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
20588 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
20589 * sysdeps/i386/fpu/e_log10.S: Likewise.
20590 * sysdeps/i386/fpu/s_frexp.S: Likewise.
20591 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
20592 * sysdeps/i386/fpu/s_asinh.S: Likewise.
20593 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
20594 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
20595 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
20596 * sysdeps/i386/asm-syntax.h: Likewise.
20597 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
20598 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
20599 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
20600 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
20601 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
20602 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
20603 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
20604 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
20605 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
20606 * sysdeps/powerpc/sysdep.h: Likewise.
20607 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
20608 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
20610 2012-02-06 Joseph Myers <joseph@codesourcery.com>
20613 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
20615 2012-02-06 Joseph Myers <joseph@codesourcery.com>
20617 * sysdeps/i386/sysdep.h: Include <features.h>.
20618 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
20621 2012-02-05 Joseph Myers <joseph@codesourcery.com>
20623 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
20625 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
20628 2012-02-03 Joseph Myers <joseph@codesourcery.com>
20630 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
20631 (SETUP_PIC_REG): Use GET_PC_THUNK.
20632 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
20635 2012-02-03 Joseph Myers <joseph@codesourcery.com>
20637 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
20638 for non-PIC compilation.
20639 (SETUP_PIC_REG): Add .p2align directive.
20640 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
20641 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
20642 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
20643 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
20644 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
20645 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
20646 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
20647 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
20648 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
20649 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
20650 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
20651 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
20652 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
20653 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
20654 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
20655 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
20656 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
20657 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
20658 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
20659 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
20660 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
20661 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
20662 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
20663 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
20664 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
20665 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
20666 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
20667 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
20668 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
20669 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
20670 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
20671 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
20672 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
20673 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
20674 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
20675 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
20676 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
20677 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
20678 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
20679 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
20680 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
20682 2012-02-03 Joseph Myers <joseph@codesourcery.com>
20684 * math/tst-CMPLX.c: Include <stdio.h>.
20686 2012-01-31 Joseph Myers <joseph@codesourcery.com>
20688 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
20690 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
20691 * sysdeps/sparc/bits/mathdef.h: Likewise.
20693 2012-01-31 Marek Polacek <polacek@redhat.com>
20695 * libio/libio.h: Don't define _PARAMS.
20696 * locale/programs/config.h: Don't define PARAMS.
20697 * stdlib/strtol_l.c: Likewise.
20698 (__strtol_l): Remove PARAMS from the prototype.
20700 2012-01-31 Ulrich Drepper <drepper@gmail.com>
20702 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
20703 names. Just use the correct names. Remove unnecessary wrapper
20705 * malloc/arena.c: Likewise.
20706 * malloc/hooks.c: Likewise.
20708 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
20709 ARENA_TEST says not to. Simplify test for creation of a new arena.
20710 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
20712 2012-01-30 Ulrich Drepper <drepper@gmail.com>
20714 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
20716 (update_get_addr): New function.
20717 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
20718 GET_ADDR_MODULE parameter.
20720 2012-01-30 Joseph Myers <joseph@codesourcery.com>
20722 * crypt/cert.c: Remove __STDC__ conditionals.
20723 * crypt/crypt-entry.c: Likewise.
20724 * crypt/crypt_util.c: Likewise.
20725 * libio/filedoalloc.c: Likewise.
20726 * libio/fileops.c: Likewise.
20727 * libio/genops.c: Likewise.
20728 * libio/iofclose.c: Likewise.
20729 * libio/iofdopen.c: Likewise.
20730 * libio/iofopen.c: Likewise.
20731 * libio/iofopen64.c: Likewise.
20732 * libio/iogetdelim.c: Likewise.
20733 * libio/iopopen.c: Likewise.
20734 * libio/obprintf.c: Likewise.
20735 * libio/oldfileops.c: Likewise.
20736 * libio/oldiofclose.c: Likewise.
20737 * libio/oldiofdopen.c: Likewise.
20738 * libio/oldiofopen.c: Likewise.
20739 * libio/oldiopopen.c: Likewise.
20740 * libio/wfiledoalloc.c: Likewise.
20741 * libio/wgenops.c: Likewise.
20742 * locale/programs/xmalloc.c: Likewise.
20743 * misc/syslog.c: Likewise.
20744 * stdio-common/xbug.c: Likewise.
20745 * string/memchr.c: Likewise.
20746 * string/memcmp.c: Likewise.
20747 * string/memrchr.c: Likewise.
20748 * string/rawmemchr.c: Likewise.
20749 * sysdeps/posix/getcwd.c: Likewise.
20750 * time/strftime_l.c: Likewise.
20752 2012-01-30 Joseph Myers <joseph@codesourcery.com>
20754 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
20755 * config.make.in (config-cflags-sse2avx): Define.
20756 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
20759 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
20761 * scripts/config.guess: Update from upstream config git repository.
20762 * scripts/config.sub: Likewise.
20764 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
20766 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
20768 (R_TILEPRO_*, R_TILEGX_*): New macros.
20770 * scripts/firstversions.awk: Fix bug in version range handling.
20772 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
20774 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
20776 * include/sys/epoll.h: New file.
20777 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
20780 2012-01-28 Ulrich Drepper <drepper@gmail.com>
20782 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
20783 Avoid unnecessary __WORDSIZE == 64 test.
20784 (fmaxf): Use VEX format if possible.
20789 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
20790 * math/math_private.h: Remove libc_fegetround* and
20792 * sysdeps/i386/configure.in: Check for -msse2avx.
20793 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
20794 also if SSE2AVX is defined.
20795 Remove libc_fegetround* and libc_fesetround*.
20796 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
20797 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
20798 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
20800 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
20801 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
20802 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
20803 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
20804 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
20806 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
20808 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20810 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
20812 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
20814 2012-01-27 Ulrich Drepper <drepper@gmail.com>
20817 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
20819 * Makeconfig (libm): Define.
20820 * elf/Makefile: Add rules to build and run tst-relsort1.
20821 * elf/tst-relsort1.c: New file.
20822 * elf/tst-relsort1mod1.c: New file.
20823 * elf/tst-relsort1mod2.c: New file.
20825 2012-01-27 Joseph Myers <joseph@codesourcery.com>
20827 * math/s_ldexp.c: Remove __STDC__ conditionals.
20828 * math/s_ldexpf.c: Likewise.
20829 * math/s_ldexpl.c: Likewise.
20830 * math/s_nextafter.c: Likewise.
20831 * math/s_nexttowardf.c: Likewise.
20832 * math/s_significand.c: Likewise.
20833 * math/s_significandf.c: Likewise.
20834 * math/s_significandl.c: Likewise.
20835 * math/w_jnl.c: Likewise.
20836 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
20837 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
20838 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
20839 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
20840 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
20841 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
20842 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
20843 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
20844 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
20845 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
20846 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
20847 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
20848 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
20849 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
20850 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
20851 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
20852 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
20853 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
20854 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
20855 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
20856 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
20857 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
20858 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
20859 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
20860 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
20861 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
20862 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
20863 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
20864 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
20865 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
20866 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
20867 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
20868 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
20869 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
20870 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
20871 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
20872 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
20873 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
20874 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
20875 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
20876 * sysdeps/ieee754/k_standard.c: Likewise.
20877 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
20878 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
20879 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
20880 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
20881 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
20882 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
20883 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
20884 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
20885 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
20886 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
20887 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
20888 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
20889 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
20890 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
20891 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
20892 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
20893 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
20894 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
20895 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
20896 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
20897 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
20898 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
20899 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
20900 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
20901 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
20902 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
20903 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
20904 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
20905 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
20906 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
20907 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
20908 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
20909 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
20910 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
20911 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
20912 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
20913 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
20914 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
20915 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
20916 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
20917 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
20918 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
20919 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
20920 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
20921 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
20922 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
20923 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
20924 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
20925 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
20926 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
20927 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
20928 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
20929 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
20930 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
20931 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
20932 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
20933 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
20934 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
20935 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
20936 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
20937 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
20938 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
20939 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
20940 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
20941 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
20942 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
20943 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
20944 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
20945 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
20946 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
20947 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
20948 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
20949 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
20950 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
20951 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
20952 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
20953 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
20954 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
20955 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
20956 * sysdeps/ieee754/s_matherr.c: Likewise.
20957 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
20958 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
20959 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
20960 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
20962 2012-01-26 Joseph Myers <joseph@codesourcery.com>
20964 * crypt/md5.h: Remove __STDC__ conditionals.
20965 * libio/libioP.h: Likewise.
20966 * locale/programs/config.h: Likewise.
20967 * sysdeps/generic/sysdep.h: Likewise.
20968 * sysdeps/i386/asm-syntax.h: Likewise.
20969 * sysdeps/s390/asm-syntax.h: Likewise.
20970 * sysdeps/unix/sysdep.h: Likewise.
20971 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
20972 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
20974 2012-01-26 Joseph Myers <joseph@codesourcery.com>
20976 * libio/libio.h: Remove __STDC__ conditionals.
20977 * malloc/obstack.h: Likewise.
20978 * math/complex.h: Likewise.
20979 * math/math.h: Likewise.
20980 * sysdeps/generic/_G_config.h: Likewise.
20981 * sysdeps/gnu/_G_config.h: Likewise.
20982 * sysdeps/mach/hurd/_G_config.h: Likewise.
20983 * sysdeps/powerpc/bits/mathdef.h: Likewise.
20984 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
20985 * sysdeps/sparc/bits/mathdef.h: Likewise.
20987 2012-01-26 Ulrich Drepper <drepper@gmail.com>
20990 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
20991 Clean up HAS_* macros.
20992 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
20993 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
20995 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
20997 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
20998 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
20999 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
21000 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
21001 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
21003 2012-01-25 Joseph Myers <joseph@codesourcery.com>
21005 * elf/tst-unique3.cc (gets): Remove declaration.
21006 * elf/tst-unique3lib.cc (gets): Likewise.
21007 * elf/tst-unique3lib2.cc (gets): Likewise.
21008 * elf/tst-unique4.cc (gets): Likewise.
21010 2012-01-24 Ulrich Drepper <drepper@gmail.com>
21012 * include/stdio.h: Add C++ protection. Add gets declarations and
21014 * debug/tst-chk1.c: Don't declare gets here.
21015 * stdio-common/tst-gets.c: Likewise.
21017 2012-01-24 Joseph Myers <joseph@codesourcery.com>
21019 * posix/glob: Remove directory.
21021 2012-01-24 Joseph Myers <joseph@codesourcery.com>
21023 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
21025 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
21027 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
21028 of the non-standard EPFNOSUPPORT.
21030 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
21032 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
21033 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
21034 ANYWHERE set to 1 only on KERN_NO_SPACE error.
21036 2012-01-21 Ulrich Drepper <drepper@gmail.com>
21038 * wcsmbs/uchar.h: Test __STDC_VERSION__.
21040 2012-01-20 Ulrich Drepper <drepper@gmail.com>
21042 * nscd/aicache.c (addhstaiX): Do not cache negative results of
21044 * nscd/grpcache.c (cache_addgr): Likewise.
21045 * nscd/hstcache.c (cache_addhst): Likewise.
21046 * nscd/initgrcache.c (addinitgroupsX): Likewise.
21047 * nscd/pwdcache.c (cache_addpw): Likewise.
21048 * nscd/servicescache.c (cache_addserv): Likewise.
21050 2012-01-16 Ulrich Drepper <drepper@gmail.com>
21052 * malloc/malloc.c: Various cleanups.
21053 * malloc/hooks.c: Likewise.
21055 * stdlib/Makefile (tests): Add bug-fmtmsg1.
21056 * stdlib/bug-fmtmsg1.c: New file.
21058 * stdlib/fmtmsg.c (init): Add missing unlock.
21059 Patch by Peng Haitao <penght@cn.fujitsu.com>.
21061 2012-01-12 Marek Polacek <polacek@redhat.com>
21063 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
21066 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
21068 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
21069 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
21070 macro to ensure uniqueness of label name.
21071 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
21072 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
21074 2012-01-11 Ulrich Drepper <drepper@gmail.com>
21076 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
21078 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
21079 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
21080 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
21081 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
21083 2012-01-10 Ulrich Drepper <drepper@gmail.com>
21085 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
21087 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
21088 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
21089 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
21091 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
21093 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
21094 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
21095 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
21096 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
21098 * math/bits/math-finite.h: Add ldexp support.
21100 2012-01-10 Marek Polacek <polacek@redhat.com>
21102 * locale/programs/localedef.h (show_archive_content): Add noreturn
21105 2012-01-09 Ulrich Drepper <drepper@gmail.com>
21107 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
21109 2012-01-08 Ulrich Drepper <drepper@gmail.com>
21111 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
21113 * io/Makefile (headers): Add bits/poll2.h.
21115 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
21117 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
21118 typo #include statement.
21120 2012-01-08 Ulrich Drepper <drepper@gmail.com>
21122 * include/sys/cdefs.h: Define __attribute_alloc_size.
21123 * catgets/gencat.c: Add alloc_size attribute and apply consistently
21124 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
21125 * elf/pldd.c: Likewise.
21126 * iconv/iconv_charmap.c: Likewise.
21127 * iconv/iconvconfig.c: Likewise.
21128 * iconv/strtab.c: Likewise.
21129 * locale/programs/locale.c: Likewise.
21130 * locale/programs/localedef.h: Likewise.
21131 * locale/programs/simple-hash.c: Likewise.
21132 * nscd/nscd.h: Likewise.
21133 * nss/makedb.c: Likewise.
21134 * sysdeps/generic/ldconfig.h: Likewise.
21135 * locale/programs/localedef.c: Remove xmalloc prototype.
21136 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
21138 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
21140 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
21143 2012-01-08 Ulrich Drepper <drepper@gmail.com>
21145 * math/Makefile (tests): Add tst-CMPLX.
21146 * math/tst-CMPLX.c: New file.
21148 * math/complex.h (CMPLXL): Fix typo.
21150 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
21151 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
21153 * debug/tst-chk1.c: Add poll and ppoll tests.
21154 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
21155 * include/sys/poll.h: Add hidden proto for ppoll.
21156 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
21157 * sysdeps/mach/hurd/ppoll.c: Likewise.
21158 * io/ppoll.c: Likewise.
21159 * debug/poll_chk.c: New file.
21160 * debug/ppoll_chk.c: New file.
21161 * include/bits/poll2.h: New file.
21162 * io/bits/poll2.h: New file.
21165 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
21167 * configure.in: static is always set to yes. Remove.
21168 * config.make.in: Don't set build-static.
21169 * Makeconfig: Remove use of build-static.
21170 * dlfcn/Makefile: Likewise.
21171 * elf/Makefile: Likewise.
21172 * math/Makefile: Likewise.
21173 * misc/Makefile: Likewise.
21174 * nptl/Makefile: Likewise.
21175 * sysdeps/mach/hurd/Makefile: Likewise.
21177 * configure.in: PWD_P is not used anymore.
21178 * config.make.in: Remove PWD_P entry.
21180 * configure.in: Remove last remnants of RANLIB.
21181 No need to check for signed size_t anymore.
21182 Don't set libc_commonpagesize and libc_relro_required here for Alpha
21184 Remove __builtin_expect test because we require at least gcc 3.4.
21185 * aclocal.m4: Likewise.
21187 * wcsmbs/mbrtoc16.c: Implement using towc function.
21188 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
21189 * wcsmbs/wcsmbsload.c: Likewise.
21190 * iconv/gconv_simple.c: Likewise.
21191 * iconv/gconv_int.h: Likewise.
21192 * iconv/gconv_builtin.h: Likewise.
21193 * iconv/iconv_prog.c: Remove CHAR16 handling.
21195 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
21197 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
21199 * configure.in: Remove --with-elf and --enable-bounded options.
21200 Dont set base_machine for ia64. More non-ELF conditions removed.
21201 Remove testing and setting of leading underscore information.
21202 * config.make.in (build-bounded): Set to no.
21203 * config.h.in: Remove NO_UNDERSCORES entry.
21204 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
21206 * csu/start.c: Remove !NO_UNDERSCORE code.
21207 * locale/localeinfo.h: Likewise.
21208 * sysdeps/generic/machine-gmon.h: Likewise.
21209 * sysdeps/generic/sysdep.h: Likewise.
21210 * sysdeps/i386/sysdep.h: Likewise.
21211 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
21212 * sysdeps/mach/sysdep.h: Likewise.
21213 * sysdeps/s390/s390-32/sysdep.h: Likewise.
21214 * sysdeps/s390/s390-64/sysdep.h: Likewise.
21215 * sysdeps/sh/sysdep.h: Likewise.
21216 * sysdeps/sparc/sparc32/alloca.S: Likewise.
21217 * sysdeps/unix/i386/sysdep.S: Likewise.
21218 * sysdeps/unix/sparc/start.c: Likewise.
21219 * sysdeps/unix/sparc/sysdep.S: Likewise.
21220 * sysdeps/unix/sparc/sysdep.h: Likewise.
21221 * sysdeps/unix/start.c: Likewise.
21222 * sysdeps/unix/x86_64/sysdep.S: Likewise.
21223 * sysdeps/x86_64/sysdep.h: Likewise.
21225 2012-01-07 Ulrich Drepper <drepper@gmail.com>
21228 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
21230 * argp/argp-fmtstream.h: Use const instead __const.
21231 * argp/argp.h: Likewise.
21232 * assert/assert.h: Likewise.
21233 * bits/fenv.h: Likewise.
21234 * bits/sched.h: Likewise.
21235 * bits/sigset.h: Likewise.
21236 * bits/sigthread.h: Likewise.
21237 * catgets/nl_types.h: Likewise.
21238 * conform/data/pthread.h-data: Likewise.
21239 * crypt/crypt-private.h: Likewise.
21240 * crypt/crypt.h: Likewise.
21241 * crypt/crypt_util.c: Likewise.
21242 * ctype/ctype.h: Likewise.
21243 * debug/execinfo.h: Likewise.
21244 * debug/mbsnrtowcs_chk.c: Likewise.
21245 * debug/mbsrtowcs_chk.c: Likewise.
21246 * debug/wcsnrtombs_chk.c: Likewise.
21247 * debug/wcsrtombs_chk.c: Likewise.
21248 * debug/wcstombs_chk.c: Likewise.
21249 * dirent/dirent.h: Likewise.
21250 * dlfcn/dlfcn.h: Likewise.
21251 * elf/neededtest4.c: Likewise.
21252 * grp/grp.h: Likewise.
21253 * gshadow/gshadow.h: Likewise.
21254 * iconv/gconv.h: Likewise.
21255 * iconv/gconv_int.h: Likewise.
21256 * iconv/gconv_simple.c: Likewise.
21257 * iconv/iconv.h: Likewise.
21258 * iconv/loop.c: Likewise.
21259 * iconv/skeleton.c: Likewise.
21260 * include/aio.h: Likewise.
21261 * include/aliases.h: Likewise.
21262 * include/argz.h: Likewise.
21263 * include/arpa/inet.h: Likewise.
21264 * include/assert.h: Likewise.
21265 * include/dirent.h: Likewise.
21266 * include/dlfcn.h: Likewise.
21267 * include/execinfo.h: Likewise.
21268 * include/fcntl.h: Likewise.
21269 * include/fenv.h: Likewise.
21270 * include/glob.h: Likewise.
21271 * include/grp.h: Likewise.
21272 * include/libintl.h: Likewise.
21273 * include/mntent.h: Likewise.
21274 * include/netdb.h: Likewise.
21275 * include/pwd.h: Likewise.
21276 * include/rpc/netdb.h: Likewise.
21277 * include/sched.h: Likewise.
21278 * include/search.h: Likewise.
21279 * include/shadow.h: Likewise.
21280 * include/signal.h: Likewise.
21281 * include/stdio.h: Likewise.
21282 * include/stdlib.h: Likewise.
21283 * include/string.h: Likewise.
21284 * include/sys/socket.h: Likewise.
21285 * include/sys/stat.h: Likewise.
21286 * include/sys/statfs.h: Likewise.
21287 * include/sys/statvfs.h: Likewise.
21288 * include/sys/syslog.h: Likewise.
21289 * include/sys/time.h: Likewise.
21290 * include/sys/uio.h: Likewise.
21291 * include/time.h: Likewise.
21292 * include/unistd.h: Likewise.
21293 * include/utmp.h: Likewise.
21294 * include/wchar.h: Likewise.
21295 * include/wctype.h: Likewise.
21296 * inet/aliases.h: Likewise.
21297 * inet/arpa/inet.h: Likewise.
21298 * inet/netinet/ether.h: Likewise.
21299 * inet/netinet/in.h: Likewise.
21300 * intl/libintl.h: Likewise.
21301 * io/bits/fcntl2.h: Likewise.
21302 * io/fcntl.h: Likewise.
21303 * io/ftw.h: Likewise.
21304 * io/sys/poll.h: Likewise.
21305 * io/sys/stat.h: Likewise.
21306 * io/sys/statfs.h: Likewise.
21307 * io/sys/statvfs.h: Likewise.
21308 * io/utime.h: Likewise.
21309 * libio/bits/stdio.h: Likewise.
21310 * libio/bits/stdio2.h: Likewise.
21311 * libio/libio.h: Likewise.
21312 * libio/libioP.h: Likewise.
21313 * libio/stdio.h: Likewise.
21314 * locale/lc-ctype.c: Likewise.
21315 * locale/locale.h: Likewise.
21316 * login/utmp.h: Likewise.
21317 * malloc/arena.c: Likewise.
21318 * malloc/malloc.c: Likewise.
21319 * malloc/malloc.h: Likewise.
21320 * malloc/mcheck.c: Likewise.
21321 * malloc/mtrace.c: Likewise.
21322 * math/bits/mathcalls.h: Likewise.
21323 * math/fenv.h: Likewise.
21324 * math/math_private.h: Likewise.
21325 * misc/bits/error.h: Likewise.
21326 * misc/bits/syslog.h: Likewise.
21327 * misc/err.h: Likewise.
21328 * misc/error.h: Likewise.
21329 * misc/fstab.h: Likewise.
21330 * misc/mntent.h: Likewise.
21331 * misc/regexp.h: Likewise.
21332 * misc/search.h: Likewise.
21333 * misc/sgtty.h: Likewise.
21334 * misc/sys/mman.h: Likewise.
21335 * misc/sys/syslog.h: Likewise.
21336 * misc/sys/uio.h: Likewise.
21337 * misc/sys/xattr.h: Likewise.
21338 * misc/ttyent.h: Likewise.
21339 * nis/rpcsvc/ypclnt.h: Likewise.
21340 * nss/nss.h: Likewise.
21341 * posix/bits/unistd.h: Likewise.
21342 * posix/fnmatch.h: Likewise.
21343 * posix/glob.h: Likewise.
21344 * posix/sched.h: Likewise.
21345 * posix/spawn.h: Likewise.
21346 * posix/sys/wait.h: Likewise.
21347 * posix/unistd.h: Likewise.
21348 * posix/wordexp.h: Likewise.
21349 * pwd/pwd.h: Likewise.
21350 * resolv/netdb.h: Likewise.
21351 * resource/sys/resource.h: Likewise.
21352 * rt/aio.h: Likewise.
21353 * rt/bits/mqueue2.h: Likewise.
21354 * rt/mqueue.h: Likewise.
21355 * shadow/shadow.h: Likewise.
21356 * signal/signal.h: Likewise.
21357 * socket/send.c: Likewise.
21358 * socket/sendto.c: Likewise.
21359 * socket/sys/socket.h: Likewise.
21360 * stdio-common/printf.h: Likewise.
21361 * stdlib/bits/stdlib.h: Likewise.
21362 * stdlib/fmtmsg.h: Likewise.
21363 * stdlib/monetary.h: Likewise.
21364 * stdlib/stdlib.h: Likewise.
21365 * stdlib/ucontext.h: Likewise.
21366 * streams/stropts.h: Likewise.
21367 * string/argz.h: Likewise.
21368 * string/bits/string2.h: Likewise.
21369 * string/string.h: Likewise.
21370 * string/strings.h: Likewise.
21371 * sunrpc/rpc/auth.h: Likewise.
21372 * sunrpc/rpc/auth_des.h: Likewise.
21373 * sunrpc/rpc/clnt.h: Likewise.
21374 * sunrpc/rpc/netdb.h: Likewise.
21375 * sunrpc/rpc/pmap_clnt.h: Likewise.
21376 * sunrpc/rpc/xdr.h: Likewise.
21377 * sysdeps/generic/inttypes.h: Likewise.
21378 * sysdeps/generic/net/if.h: Likewise.
21379 * sysdeps/generic/sys/swap.h: Likewise.
21380 * sysdeps/gnu/net/if.h: Likewise.
21381 * sysdeps/gnu/utmpx.h: Likewise.
21382 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
21383 * sysdeps/i386/i486/bits/string.h: Likewise.
21384 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
21385 * sysdeps/s390/bits/string.h: Likewise.
21386 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
21387 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
21388 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
21389 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
21390 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
21391 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
21392 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
21393 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
21394 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
21395 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
21396 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
21397 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
21398 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
21399 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
21400 * sysdeps/unix/sysv/linux/readv.c: Likewise.
21401 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
21402 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
21403 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
21404 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
21405 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
21406 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
21407 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
21408 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
21409 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
21410 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
21411 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
21412 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
21413 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
21414 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
21415 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
21416 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
21417 * sysvipc/sys/ipc.h: Likewise.
21418 * sysvipc/sys/msg.h: Likewise.
21419 * sysvipc/sys/sem.h: Likewise.
21420 * sysvipc/sys/shm.h: Likewise.
21421 * termios/termios.h: Likewise.
21422 * time/sys/time.h: Likewise.
21423 * time/time.h: Likewise.
21424 * wcsmbs/bits/wchar2.h: Likewise.
21425 * wcsmbs/uchar.h: Likewise.
21426 * wcsmbs/wchar.h: Likewise.
21427 * wctype/wctype.h: Likewise.
21430 * Makeconfig: Remove all but ELF support including AIX support.
21431 * Makerules: Likewise.
21432 * config.h.in: Likewise.
21433 * config.make.in: Likewise.
21434 * configure: Likewise.
21435 * configure.in: Likewise.
21436 * csu/Makefile: Likewise.
21437 * csu/version.c: Likewise.
21438 * debug/Makefile: Likewise.
21439 * dlfcn/Makefile: Likewise.
21440 * elf/Makefile: Likewise.
21441 * extra-lib.mk: Likewise.
21442 * iconv/Makefile: Likewise.
21443 * include/libc-symbols.h: Likewise.
21444 * include/shlib-compat.h: Likewise.
21445 * resolv/Makefile: Likewise.
21446 * resolv/res_libc.c: Likewise.
21447 * rt/Makefile: Likewise.
21448 * sysdeps/i386/asm-syntax.h: Likewise.
21449 * sysdeps/i386/sysdep.h: Likewise.
21450 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
21451 * sysdeps/mach/sysdep.h: Likewise.
21452 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
21453 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
21454 * sysdeps/s390/asm-syntax.h: Likewise.
21455 * sysdeps/s390/s390-32/sysdep.h: Likewise.
21456 * sysdeps/s390/s390-64/sysdep.h: Likewise.
21457 * sysdeps/sh/sysdep.h: Likewise.
21458 * sysdeps/unix/sparc/sysdep.h: Likewise.
21459 * sysdeps/wordsize-32/divdi3.c: Likewise.
21460 * sysdeps/x86_64/sysdep.h: Likewise.
21462 * argp/Versions: Remove _argp_unlock_xxx.
21465 * abilist/ld.abilist: Update. Adjust for removal of tls option.
21466 * abilist/libBrokenLocale.abilist: Likewise.
21467 * abilist/libanl.abilist: Likewise.
21468 * abilist/libc.abilist: Likewise.
21469 * abilist/libcrypt.abilist: Likewise.
21470 * abilist/libdl.abilist: Likewise.
21471 * abilist/libm.abilist: Likewise.
21472 * abilist/libnsl.abilist: Likewise.
21473 * abilist/libpthread.abilist: Likewise.
21474 * abilist/libresolv.abilist: Likewise.
21475 * abilist/librt.abilist: Likewise.
21476 * abilist/libthread_db.abilist: Likewise.
21477 * abilist/libutil.abilist: Likewise.
21478 * abilist/libnss_db.abilist: New file.
21480 * scripts/abilist.awk: Add support for indirect functions.
21482 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
21484 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
21486 * shlib-versions: Remove entries for ports architectures.
21488 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
21490 * elf/stackguard-macros.h: Remove support for IA-64.
21491 * elf/tst-auditmod1.c: Likewise.
21492 * sysdeps/generic/ldsodefs.h: Likewise.
21494 * sysdeps/unix/sysv/linux/configure.in: Ports should define
21495 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
21499 * configure.in: Remove --enable-omitfp support.
21501 * config.make.in: Likewise.
21502 * Makeconfig: Likewise.
21503 * manual/install.texi: Likewise.
21505 In case anyone cares, the IA-64 architecture could move to ports.
21506 * sysdeps/ia64/*: Removed.
21507 * sysdeps/unix/sysv/linux/ia64/*: Removed.
21508 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
21511 * configure.in: Remove entries for unsupported architectures.
21514 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
21515 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
21517 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
21518 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
21519 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
21520 fall back to using wcrtomb.
21521 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
21522 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
21524 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
21525 * wcsmbs/tst-c16c32-1.c: New file.
21527 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
21530 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
21532 * elf/tst-unique3.cc: Add explicit declaration of gets.
21533 * elf/tst-unique3lib.cc: Likewise.
21534 * elf/tst-unique3lib2.cc: Likewise.
21535 * elf/tst-unique4.cc: Likewise.
21537 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
21539 2012-01-06 Joseph Myers <joseph@codesourcery.com>
21542 * assert/assert.h (static_assert): Don't define for C++.
21543 * libio/stdio.h (gets): Do declare for C++ <= C++11.
21544 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
21546 2012-01-03 Ulrich Drepper <drepper@gmail.com>
21548 * iconv/loop.c (single loop): Fix assertion in storing of
21551 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
21553 2012-01-01 Ulrich Drepper <drepper@gmail.com>
21555 * posix/getconf.c: Update copyright year.
21556 * nss/getent.c: Likewise.
21557 * nss/makedb.c: Likewise.
21558 * iconv/iconvconfig.c: Likewise.
21559 * iconv/iconv_prog.c: Likewise.
21560 * elf/ldconfig.c: Likewise.
21561 * elf/pldd.c: Likewise.
21562 * elf/sotruss.ksh: Likewise.
21563 * catgets/gencat.c: Likewise.
21564 * csu/version.c: Likewise.
21565 * elf/ldd.bash.in: Likewise.
21566 * elf/sprof.c (print_version): Likewise.
21567 * locale/programs/locale.c: Likewise.
21568 * locale/programs/localedef.c: Likewise.
21569 * login/programs/pt_chown.c: Likewise.
21570 * nscd/nscd.c (print_version): Likewise.
21571 * debug/xtrace.sh: Likewise.
21572 * malloc/memusage.sh: Likewise.
21573 * malloc/mtrace.pl: Likewise.
21574 * debug/catchsegv.sh: Likewise.
21576 2011-12-30 Jakub Jelinek <jakub@redhat.com>
21578 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
21581 2011-12-24 Ulrich Drepper <drepper@gmail.com>
21584 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
21585 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
21587 * iconv/gconv_int.h: Likewise.
21588 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
21589 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
21590 from libc for GLIBC_2.16.
21591 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
21592 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
21593 * wcsmbs/uchar.h: Really define mbstate_t.
21594 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
21595 * wcsmbs/c16rtomb.c: New file.
21596 * wcsmbs/mbrtoc16.c: New file.
21597 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
21598 for C/POSIX locale.
21599 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
21600 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
21602 * wcsmbs/wchar.h: Add missing __restrict.
21604 2011-12-23 Ulrich Drepper <drepper@gmail.com>
21607 * time/Makefile (routines): Add timespec_get.
21608 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
21609 * time/time.h: Define TIME_UTC and declare timespec_get. Define
21610 timespec for ISO C11.
21611 * time/timespec_get.c: New file.
21612 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
21613 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
21616 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
21617 * stdlib/stdlib.h: Declare aligned_alloc.
21618 * Versions.def: Add GLIBC_2.16 for libc.
21619 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
21622 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
21625 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
21629 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
21632 * assert/assert.h (static_assert): Define.
21634 * version.h: Update for 2.16 development version.
21637 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
21640 * version.h (RELEASE): Bump for 2.15 release.
21641 * include/features.h (__GLIBC_MINOR__): Bump to 15.
21643 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
21644 Patch by Marek Polacek <mpolacek@redhat.com>.
21646 * bits/byteswap.h: Protect long long constants with __extension__.
21647 * sysdeps/i386/bits/byteswap.h: Likewise.
21648 * sysdeps/ia64/bits/byteswap.h: Likewise.
21649 * sysdeps/s390/bits/byteswap.h: Likewise.
21650 * sysdeps/x86_64/bits/byteswap.h: Likewise.
21652 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21655 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
21656 destination buffer.
21657 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
21659 2011-12-23 Marek Polacek <polacek@redhat.com>
21661 * elf/dl-addr.c (determine_info): Add inline keyword.
21662 * elf/tst-auditmod4b.c (check_avx): Likewise.
21663 * elf/tst-auditmod6b.c (check_avx): Likewise.
21664 * elf/tst-auditmod6c.c (check_avx): Likewise.
21665 * elf/tst-auditmod7b.c (check_avx): Likewise.
21667 2011-12-23 Ulrich Drepper <drepper@gmail.com>
21669 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
21672 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21675 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
21676 processing for last bytes.
21678 2011-08-06 Bruno Haible <bruno@clisp.org>
21681 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
21682 U+0385, not to U+1FEE.
21685 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
21686 entry for U+00A5 U+0301.
21688 2011-12-22 Ulrich Drepper <drepper@gmail.com>
21691 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
21692 buffer for the output is too small.
21694 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
21698 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
21699 SSE flags if possible.
21701 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21704 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
21705 processing for last bytes.
21707 2011-12-22 Joseph Myers <joseph@codesourcery.com>
21709 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
21710 (syscall-list-default-options, syscall-list-default-condition)
21711 (syscall-list-includes): Define.
21712 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
21713 list of ABIs and options and #if conditions for each ABI. Do not
21714 handle common syscalls between ABIs specially.
21715 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
21717 (syscall-list-variants, syscall-list-32bit-options)
21718 (syscall-list-32bit-condition, syscall-list-64bit-options)
21719 (syscall-list-64bit-condition): Define.
21720 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
21721 (syscall-list-variants, syscall-list-32bit-options)
21722 (syscall-list-32bit-condition, syscall-list-64bit-options)
21723 (syscall-list-64bit-condition): Define.
21724 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
21726 (syscall-list-variants, syscall-list-32bit-options)
21727 (syscall-list-32bit-condition, syscall-list-64bit-options)
21728 (syscall-list-64bit-condition): Define.
21729 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
21731 (syscall-list-variants, syscall-list-32bit-options)
21732 (syscall-list-32bit-condition, syscall-list-64bit-options)
21733 (syscall-list-64bit-condition): Define.
21735 2011-12-22 Ulrich Drepper <drepper@gmail.com>
21737 * locale/iso-639.def: Add brx entry.
21740 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
21741 Proposed by Mariusz_Cukr <marcukr@op.pl>.
21743 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
21744 __feraiseexcept_renamed.
21746 2011-12-21 Ulrich Drepper <drepper@gmail.com>
21749 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
21750 EPOLLET with unsigned values.
21751 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
21752 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
21754 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
21755 to large cancellation.
21756 * math/s_cacoshf.c: Likewise.
21757 * math/s_cacoshl.c: Likewise.
21759 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
21763 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
21764 * math/s_cacoshf.c: Likewise.
21765 * math/s_cacoshl.c: Likewise.
21767 2011-12-21 Ulrich Drepper <drepper@gmail.com>
21770 * iconv/gconv.h: Define __GCONV_SWAP.
21771 * iconvdata/unicode.c: The swap bit must be stored in __flags.
21772 * iconvdata/utf-16.c: Likewise.
21773 * iconvdata/utf-32.c: Likewise.
21775 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
21778 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
21779 numerator after shifting it by one limb.
21781 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
21783 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
21784 under [__USE_EXTERN_INLINES].
21786 2011-12-17 Ulrich Drepper <drepper@gmail.com>
21789 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
21791 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21793 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
21794 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
21796 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
21797 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
21798 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
21799 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
21800 for strncasecmp/strncasecmp_l compilation.
21801 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
21802 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
21804 2011-12-08 Marek Polacek <mpolacek@redhat.com>
21807 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
21810 2011-12-17 Ulrich Drepper <drepper@gmail.com>
21813 * time/tzfile.c (__tzfile_read): Check values from file header.
21815 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
21817 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
21818 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
21819 * powerpc/powerpc32/dl-start.S: Likewise.
21820 * powerpc/powerpc32/elf/start.S: Likewise.
21821 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
21822 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
21823 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
21824 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
21825 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
21826 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
21827 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
21828 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
21829 * powerpc/powerpc32/fpu/s_round.S: Likewise.
21830 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
21831 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
21832 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
21833 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
21834 * powerpc/powerpc32/memset.S: Likewise.
21835 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
21836 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
21837 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
21838 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
21839 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
21840 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
21841 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
21842 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
21843 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
21844 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
21845 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
21846 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
21847 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
21849 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21851 * math/libm-test.inc: Added more nearbyint tests.
21852 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
21853 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
21854 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
21855 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
21857 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
21859 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
21862 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21864 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
21865 Add wcscpy-ssse3 wcscpy-c.
21866 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
21867 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
21868 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
21869 * sysdeps/x86_64/wcschr.S: New file.
21870 * sysdeps/x86_64/wcsrchr.S: New file.
21871 * string/test-strcmp.c: Remove checking of wcscmp function for
21873 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
21874 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
21875 wcsrchr-sse2 wcsrchr-c.
21876 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
21877 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
21878 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
21879 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
21880 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
21881 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
21882 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
21883 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
21884 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
21885 * wcsmbc/wcschr.c (WCSCHR): New macro.
21887 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21889 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
21890 * wcsmbs/test-wcsrchr.c: New file.
21891 * string/test-strrchr.c: Add wcsrchr support.
21893 * wcsmbs/test-wcscpy.c: New file.
21894 * string/test-strcpy.c: Add wcscpy support.
21897 2011-12-10 Ulrich Drepper <drepper@gmail.com>
21899 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
21902 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
21905 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
21907 2011-12-04 Ulrich Drepper <drepper@gmail.com>
21909 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
21910 Minor optimizations.
21912 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
21913 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
21914 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
21916 2011-12-03 Ulrich Drepper <drepper@gmail.com>
21918 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
21919 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
21920 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
21921 for gcc to avoid warnings.
21922 * inet/Makefile (tests): Add tst-checks.
21923 * inet/tst-checks.c: New file.
21925 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
21928 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
21931 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
21932 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
21934 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
21936 2011-12-02 Ulrich Drepper <drepper@gmail.com>
21938 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
21941 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
21943 2011-11-29 Joseph Myers <joseph@codesourcery.com>
21945 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
21946 conditional on GCC version.
21947 (__arch_compare_and_exchange_val_8_acq)
21948 (__arch_compare_and_exchange_val_16_acq)
21949 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
21950 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
21951 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
21953 2011-12-02 Joseph Myers <joseph@codesourcery.com>
21955 * sysdeps/sh/backtrace.c: New file.
21957 2011-12-02 Andreas Schwab <schwab@redhat.com>
21959 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
21962 2011-12-01 Andreas Schwab <schwab@redhat.com>
21964 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
21965 falling back to utime.
21967 2011-11-30 Andreas Schwab <schwab@redhat.com>
21969 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
21970 expectations for float.
21972 2011-11-29 Andreas Schwab <schwab@redhat.com>
21974 * locale/weight.h (findidx): Add parameter len.
21975 * locale/weightwc.h (findidx): Likewise.
21976 * posix/fnmatch_loop.c (FCT): Adjust caller.
21977 * posix/regcomp.c (build_equiv_class): Likewise.
21978 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
21979 * posix/regexec.c (check_node_accept_bytes): Likewise.
21980 * string/strcoll_l.c (STRCOLL): Likewise.
21981 * string/strxfrm_l.c (STRXFRM): Likewise.
21983 2011-11-17 Ulrich Drepper <drepper@gmail.com>
21985 * Makefile.in: Remove CVSOPT handling.
21986 * configure.in: Remove use of AC_REVISION.
21987 * iconvdata/Makefile (distribute): No need to filter out CVS.
21988 * scripts/list-sources.sh: Remove CVS, subversion and monotone
21991 2011-11-16 Andreas Schwab <schwab@redhat.com>
21993 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
21994 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
21995 [USE_AS_STRNCASECMP_L]: Likewise.
21996 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
21997 NO_TLS_DIRECT_SEG_REFS.
21998 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
21999 Fix argument offsets for non-PIC.
22000 [USE_AS_STRNCASECMP_L]: Likewise.
22001 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
22002 NO_TLS_DIRECT_SEG_REFS.
22004 2011-11-15 Ulrich Drepper <drepper@gmail.com>
22006 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
22008 * locale/loadlocale.c (_nl_load_locale): Likewise.
22010 2011-11-15 Andreas Schwab <schwab@redhat.com>
22012 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
22013 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
22014 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
22015 (SYSCALL_GETTIME): Set errno on error.
22017 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
22018 count references to noai6ai_cached.
22020 2011-11-15 Ulrich Drepper <drepper@gmail.com>
22022 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
22024 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
22025 FD_CLOEXEC for /proc/self/maps.
22027 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
22028 FD_CLOEXEC for /proc/meminfo.
22030 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
22033 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
22034 FD_CLOEXEC for given file.
22036 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
22038 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
22039 FD_CLOEXEC for /etc/hosts.
22040 (_gethtent): Likewise.
22042 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
22044 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
22045 cancellation and set FD_CLOEXEC for /etc/netgroup.
22047 * nss/nss_files/files-key.c (search): Don't allow cancellation when
22048 reading /etc/publickey.
22050 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
22051 allow cancellation when reading /etc/group.
22053 * nss/nss_files/files-alias.c (internal_setent): Don't allow
22055 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
22057 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
22058 when using data file.
22060 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
22062 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
22063 (write_nis_obj): Use "c" and "e" in fopen.
22065 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
22067 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
22069 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
22071 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
22073 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
22076 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
22078 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
22080 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
22082 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
22083 file parsing and set FD_CLOEXEC.
22085 2011-11-14 Ulrich Drepper <drepper@gmail.com>
22087 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
22089 2011-11-14 Andreas Schwab <schwab@redhat.com>
22091 * malloc/arena.c (arena_get2): Don't call reused_arena when
22092 _int_new_arena failed.
22094 2011-11-14 Ulrich Drepper <drepper@gmail.com>
22096 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
22097 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
22098 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
22099 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
22100 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
22101 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
22102 to compile strcasecmp and strncasecmp.
22103 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
22104 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
22106 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
22108 2011-11-13 Ulrich Drepper <drepper@gmail.com>
22110 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
22111 locale-defines.sym to gen-as-const-headers.
22112 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
22113 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
22114 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
22115 to compile strcasecmp and strncasecmp.
22116 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
22117 strcasecmp_l and strncasecmp_l.
22118 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
22119 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
22120 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
22121 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
22122 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
22123 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
22124 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
22125 * sysdeps/i386/i686/multiarch/strncase.S: New file.
22126 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
22127 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
22128 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
22130 2011-11-12 Ulrich Drepper <drepper@gmail.com>
22132 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
22133 result of SYSDEP_GETTIME_CPU to retval.
22134 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
22135 parameter list to macro. Remove trailing semicolon. Adjust users.
22137 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
22140 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
22142 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
22144 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
22145 from unused variable.
22147 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
22149 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
22152 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
22155 * sunrpc/rpc_prot.c (rejected): Fix case value.
22157 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
22158 unsigned long long int to avoid warnings in shift.
22160 * posix/regex_internal.c (re_string_reconstruct): Actually use result
22162 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
22165 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
22166 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
22167 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
22169 * nis/nis_table.c (nis_list): Use variable of correct type for
22170 result of __follow_path call.
22172 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22174 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
22175 of math functions ceil, trunc, floor, round, and sqrt, when
22176 avaliable on the platform.
22177 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
22179 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
22180 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
22181 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
22183 2011-10-30 Marek Polacek <mpolacek@redhat.com>
22185 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
22186 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
22188 2011-11-11 Roland McGrath <roland@hack.frob.com>
22190 * include/unistd.h: Fix __readlink return type.
22191 Reported by Chris Metcalf <cmetcalf@tilera.com>.
22193 2011-11-11 Ulrich Drepper <drepper@gmail.com>
22195 * stdlib/ucontext.h: Undo last change for makecontext.
22197 2011-11-11 Andreas Schwab <schwab@redhat.com>
22199 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
22201 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
22202 * setjmp/setjmp.h: Mark functions as non-leaf.
22203 * setjmp/bits/setjmp2.h: Likewise.
22204 * stdlib/ucontext.h: Likewise.
22206 2011-11-10 Andreas Schwab <schwab@redhat.com>
22208 * malloc/arena.c (_int_new_arena): Don't increment narenas.
22209 (reused_arena): Don't check arena limit.
22210 (arena_get2): Atomically check arena limit.
22212 2011-11-08 Ulrich Drepper <drepper@gmail.com>
22214 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
22215 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
22217 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
22220 2011-11-07 Andreas Schwab <schwab@redhat.com>
22222 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
22223 handler when locking.
22225 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
22226 Fix size of allocated buffer.
22228 2011-11-04 Andreas Schwab <schwab@redhat.com>
22231 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
22232 declarations for long double functions.
22233 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
22235 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
22237 2011-11-03 Andreas Schwab <schwab@redhat.com>
22239 * nscd/nscd.c (main): Don't start AVC thread until credentials are
22242 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
22245 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
22247 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
22249 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
22251 * include/alloca.h (stackinfo_alloca_round): Define.
22252 (extend_alloca): Use it.
22253 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
22254 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
22257 * scripts/check-local-headers.sh: Ignore libaudit.h.
22259 * nscd/Makefile (extra-objs): Make recursively expanded.
22261 2011-11-01 Ulrich Drepper <drepper@gmail.com>
22263 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
22264 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
22266 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
22267 * posix/tst-rfc3484-2.c: Likewise.
22268 * posix/tst-rfc3484-3.c: Likewise.
22270 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
22272 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
22274 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
22275 process_vm_writev from libc using GLIBC_2.15 version.
22277 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
22279 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
22281 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
22284 2011-10-31 Ulrich Drepper <drepper@gmail.com>
22287 * nss/getent.c (initgroups_keys): Show error message in case no group
22290 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
22291 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
22292 __bump_nl_timestamp.
22293 * nscd/connections (nscd_init): When host database is served open
22294 netlink socket and request notification about configuration changes.
22295 (main_loop_poll): Track netlink file descriptor and bump timestamp
22296 in case data becomes available.
22297 (main_loop_epoll): Likewise.
22298 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
22299 (database_pers_head): Add extra_data fileds.
22300 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
22301 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
22302 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
22304 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
22305 in6ai data, call __free_in6ai.
22306 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
22307 Add -DHAVE_NETLINK.
22308 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
22309 interface information. Reuse previous data if netlink timestamp
22311 (__bump_nl_timestamp): New function.
22312 (__free_in6ai): New function.
22314 2011-10-30 Ulrich Drepper <drepper@gmail.com>
22316 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
22317 close_not_cancel_no_status here.
22318 (__check_pf): Reorganize code a bit to not call close twice if OOM.
22320 2011-10-29 Ulrich Drepper <drepper@gmail.com>
22323 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
22326 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
22327 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
22328 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
22330 2011-07-03 Andreas Jaeger <aj@suse.de>
22333 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
22334 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
22335 * math/libm-test.inc (sin_test): Add test case.
22337 2011-10-29 Ulrich Drepper <drepper@gmail.com>
22340 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
22341 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
22343 * elf/chroot_canon.c (chroot_canon): Cleanups.
22345 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
22348 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
22349 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
22351 * string/test-strchr.c: Make usable for strchrnul testing.
22352 * string/test-strchrnul.c: New file.
22353 * string/Makefile (strop-tests): Add strchrnul.
22355 * po/it.po: Update from translation team.
22356 * po/es.po: Likewise.
22358 2011-10-28 Ulrich Drepper <drepper@gmail.com>
22360 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
22361 the three constants needed as parameters. Drop the others.
22362 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
22363 __m128i_strloadu_tolower.
22364 Create and initialize variable zero and use it in all the places
22365 where _mm_setzero_si128 was used.
22367 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
22368 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
22369 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
22370 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
22372 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
22373 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
22374 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
22375 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
22376 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
22377 __mpranred, __mptan.
22378 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
22379 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
22380 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
22381 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
22382 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
22383 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
22384 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
22385 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
22386 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
22388 2011-10-28 Andreas Schwab <schwab@redhat.com>
22390 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
22391 redefine if SHARED.
22392 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
22394 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
22395 wide char related routines to wcsmbs subdir.
22397 2011-10-27 Andreas Schwab <schwab@redhat.com>
22400 * misc/sys/cdefs.h (__THROWNL): Define.
22401 * posix/unistd.h: Use __THREADNL instead of __THREAD
22402 for memory synchronization functions.
22404 2011-10-26 Roland McGrath <roland@hack.frob.com>
22407 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
22409 * manual/stdio.texi (Obstack Streams): Node removed.
22411 2011-10-26 Andreas Schwab <schwab@redhat.com>
22413 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
22414 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
22415 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
22417 * math/math_private.h (math_force_eval): Allow non-addressable
22419 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
22421 2011-10-25 Ulrich Drepper <drepper@gmail.com>
22423 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
22424 file is not needed.
22426 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
22427 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
22428 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
22429 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
22430 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
22431 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
22432 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
22433 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
22435 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
22436 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
22437 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
22438 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
22439 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
22440 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
22441 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
22442 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
22443 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
22444 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
22445 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
22446 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
22447 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
22448 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
22449 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
22450 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
22451 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
22452 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
22453 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
22455 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
22456 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
22458 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
22459 place. Use VEX encoding when compiling for AVX.
22461 2011-10-25 Andreas Schwab <schwab@redhat.com>
22463 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
22464 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
22466 * string/test-strchr.c (do_test): Don't generate NUL bytes.
22468 2011-10-25 Ulrich Drepper <drepper@gmail.com>
22470 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
22471 useless if() expression.
22472 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
22473 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
22474 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
22475 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
22476 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
22477 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
22478 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
22479 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
22480 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
22481 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
22482 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
22483 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
22484 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
22485 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
22486 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
22487 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
22488 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
22489 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
22490 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
22492 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
22494 2011-10-25 Andreas Schwab <schwab@redhat.com>
22496 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
22498 * elf/dl-fini.c (_dl_sort_fini): Likewise.
22500 2011-10-25 Ulrich Drepper <drepper@gmail.com>
22502 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
22503 .text section. Avoid duplicate constants.
22504 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
22505 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22506 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
22507 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22508 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22509 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22510 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22511 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22512 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
22513 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
22514 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
22515 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
22516 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
22517 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
22518 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
22519 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
22520 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
22521 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
22522 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22523 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22524 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
22525 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
22526 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
22527 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
22528 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
22529 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
22530 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
22531 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
22532 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
22533 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
22534 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
22535 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
22536 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
22537 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
22538 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
22539 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
22540 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
22541 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
22542 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
22543 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
22544 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
22545 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
22546 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
22547 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
22548 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
22550 2011-10-24 Ulrich Drepper <drepper@gmail.com>
22552 * sysdeps/x86_64/dla.h: Move to ...
22553 * sysdeps/x86_64/fpu/dla.h: ...here.
22554 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
22555 situations. Use __builtin_fma only for gcc 4.6 and up.
22557 * config.make.in: Add have-mfma4 entry.
22558 * configure.in: Substitute libc_cv_cc_fma4.
22559 * math/Makefile (dbl-only-routines): Add sincostab.
22560 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
22561 Use __sincostab not sincos.
22562 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
22564 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22565 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22566 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22567 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
22569 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
22570 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
22571 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
22572 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
22574 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
22575 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
22577 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
22578 define aliases when function name is a macro.
22579 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
22580 sysdeps/ieee754/dbl-64/sincos.tbl.
22581 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
22582 fma4-enabled routines.
22583 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
22584 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
22585 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
22586 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
22587 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
22588 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
22589 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
22590 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
22591 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
22592 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
22593 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
22594 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
22595 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
22596 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
22597 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
22598 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
22599 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
22600 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
22601 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
22602 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
22603 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
22604 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
22605 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
22606 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
22607 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
22608 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
22609 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
22610 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
22611 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
22612 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
22614 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
22616 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22617 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22618 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22619 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22620 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22621 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22622 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22623 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22625 2011-10-24 Andreas Schwab <schwab@redhat.com>
22627 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
22629 2011-10-23 Ulrich Drepper <drepper@gmail.com>
22631 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
22633 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
22635 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
22637 * string/strnlen.c: Don't define STRNLEN, reverse logic.
22638 Remove unused variable magic_bits.
22639 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
22641 * string/strnlen.c: Define and use STRNLEN macro.
22642 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
22643 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
22644 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
22645 * wcsmbs/wcslen.c: Define and use WCSLEN.
22646 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
22647 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
22648 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
22649 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
22650 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
22651 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
22652 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
22654 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22656 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22657 strnlen-sse2-no-bsf.
22658 Rename strlen-no-bsf to strlen-sse2-no-bsf.
22659 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
22660 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
22661 Add strnlen support.
22662 (USE_AS_STRNLEN): New macro.
22663 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
22664 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
22665 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
22666 * sysdeps/x86_64/wcslen.S: New file.
22668 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
22670 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
22671 XMM-moves are used for copying on small sizes.
22673 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22675 * wcsmbs/Makefile (strop-tests): Add wcschr.
22676 * wcsmbs/test-wcschr.c: New file.
22677 * string/test-strchr.c: Update.
22678 Add wcschr support.
22681 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22683 * wcsmbs/Makefile (strop-tests): Add wcslen.
22684 * wcsmbs/test-wcslen.c: New file.
22685 * string/test-strlen.c: Update.
22686 Add wcslen support.
22689 2011-10-23 Ulrich Drepper <drepper@gmail.com>
22691 * po/it.po: Update from translation team.
22693 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22695 * sysdeps/x86_64/wcscmp.S: Update.
22696 Fix wrong comparison semantics.
22697 wcscmp shall use signed comparison not unsigned.
22698 Don't use substraction to avoid overflow bug.
22699 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
22700 * wcsmbc/wcscmp.c: Likewise.
22701 * string/test-strcmp.c: Likewise.
22702 Add new tests to check cases with negative values.
22704 2011-10-23 Ulrich Drepper <drepper@gmail.com>
22706 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
22707 * sysdeps/x86_64/dla.h: ...here. New file.
22708 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
22709 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22710 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22711 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22712 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22713 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22714 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22715 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22716 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22718 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
22720 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
22721 __ynl_finite aliases.
22723 2011-10-22 Ulrich Drepper <drepper@gmail.com>
22725 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22727 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
22729 [DLA_FMA] (EMULV): Use DLA_FMA.
22730 [DLA_FMA] (MUL12): Use EMULV.
22731 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
22732 that are not needed.
22733 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22734 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22735 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22736 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22737 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22738 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22739 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22741 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
22743 * math/s_nan.c: Undef __nan.
22744 * math/s_nanf.c: Undef __nanf.
22745 * math/s_nanl.c: Undef __nanl.
22746 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
22749 2011-10-22 Ulrich Drepper <drepper@gmail.com>
22751 * math/s_catan.c: Add branch predictions.
22752 * math/s_catanf.c: Likewise.
22753 * math/s_catanh.c: Likewise.
22754 * math/s_catanhf.c: Likewise.
22755 * math/s_catanhl.c: Likewise.
22756 * math/s_catanl.c: Likewise.
22757 * math/s_cexp.c: Likewise.
22758 * math/s_cexpf.c: Likewise.
22759 * math/s_cexpl.c: Likewise.
22760 * math/s_clog.c: Likewise.
22761 * math/s_clog10.c: Likewise.
22762 * math/s_clog10f.c: Likewise.
22763 * math/s_clog10l.c: Likewise.
22764 * math/s_clogf.c: Likewise.
22765 * math/s_clogl.c: Likewise.
22766 * math/s_csqrt.c: Likewise.
22767 * math/s_csqrtf.c: Likewise.
22768 * math/s_csqrtl.c: Likewise.
22769 * math/s_ctanf.c: Likewise.
22770 * math/s_ctanh.c: Likewise.
22771 * math/s_ctanhf.c: Likewise.
22772 * math/s_ctanhl.c: Likewise.
22773 * math/s_ctanl.c: Likewise.
22775 * math/math_private.h: Define __nan, __nanf, __nanl.
22776 * math/s_cacosh.c: Include <math_private.h>.
22777 * math/s_cacoshl.c: Likewise.
22778 * math/s_casinh.c: Likewise.
22779 * math/s_casinhf.c: Likewise.
22780 * math/s_casinhl.c: Likewise.
22781 * math/s_ccos.c: Rely entire on ccosh.
22782 * math/s_ccosf.c: Rely entire on ccoshf.
22783 * math/s_ccosl.c: Rely entirely on ccoshl.
22784 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
22785 Remove tests for FE_INVALID.
22786 * math/s_ccoshf.c: Likewise.
22787 * math/s_ccoshl.c: Likewise.
22788 * math/s_csin.c: Likewise.
22789 * math/s_csinf.c: Likewise.
22790 * math/s_csinh.c Likewise.
22791 * math/s_csinhf.c: Likewise.
22792 * math/s_csinhl.c: Likewise.
22793 * math/s_csinl.c: Likewise.
22794 * math/s_ctan.c: Likewise.
22795 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
22796 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
22797 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
22799 2011-10-21 Ulrich Drepper <drepper@gmail.com>
22801 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
22802 compilation problems.
22804 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
22807 2011-10-20 Ulrich Drepper <drepper@gmail.com>
22809 * sysdeps/i386/configure.in: Test for -mfma4 option.
22810 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
22811 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
22812 COMMON_CPUID_INDEX_80000001.
22813 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
22814 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
22815 use it if FMA3 is not supported.
22816 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
22818 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
22819 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
22821 2011-10-20 Andreas Schwab <schwab@redhat.com>
22824 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
22825 it would create a cycle with a link time dependency.
22827 2011-10-19 Ulrich Drepper <drepper@gmail.com>
22829 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
22831 * string/Makefile (strop-tests): Add rawmemchr.
22832 * string/test-rawmemchr.c: New file.
22834 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
22835 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
22836 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
22837 when compiling str{,n}casecmp and when AVX is available. Hook up
22838 new optimized code in initializers.
22840 2011-10-19 Andreas Schwab <schwab@redhat.com>
22842 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
22843 __feraiseexcept instead of feraiseexcept.
22845 2011-10-18 Ulrich Drepper <drepper@gmail.com>
22847 * math/math_private.h: Define defaults for libc_fetestexcept and
22849 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
22850 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
22851 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
22852 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
22853 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
22854 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
22855 libc_fetestexcept and libc_feupdateenv.
22857 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
22858 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
22859 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
22860 * sysdeps/x86_64/fpu/math_private.h: Define special version of
22861 libc_feholdexcept_setround.
22863 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
22864 Add s_nearbyint-c and s_nearbyintf-c.
22865 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
22866 nearbyintf inlines.
22867 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
22868 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
22869 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
22870 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
22872 * math/math_private.h: Define defaults for libc_fegetround,
22873 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
22874 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
22875 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
22876 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
22877 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
22878 standard functions.
22879 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
22880 Remove comments and hacks for old compiler versions.
22881 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
22882 libc_fegetround, libc_fesetround, libc_feholdexcept, and
22883 libc_feholdexceptl.
22885 2011-10-18 Andreas Schwab <schwab@redhat.com>
22887 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
22888 (__feraiseexcept_renamed): Add __NTH.
22889 (feraiseexcept): Add __NTH. Rename local variables to fix
22890 namespace violations.
22892 2011-10-17 Ulrich Drepper <drepper@gmail.com>
22894 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
22896 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
22898 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
22899 recently added interfaces.
22900 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
22902 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
22903 about macro parameter expansion.
22905 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
22906 __NO_MATH_INLINES is defined. Cleanups.
22908 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
22909 and __floorf is target has SSE4.1.
22910 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
22911 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
22912 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
22913 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
22915 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
22917 (floorf): Likewise.
22919 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
22921 2011-10-17 Andreas Schwab <schwab@redhat.com>
22923 * misc/sys/cdefs.h: Fix last change.
22925 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
22928 2011-10-16 Ulrich Drepper <drepper@gmail.com>
22930 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
22932 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
22933 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
22934 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
22935 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
22936 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
22937 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
22938 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
22939 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
22940 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
22941 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
22942 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
22943 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
22944 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
22945 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
22946 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
22947 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
22948 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
22949 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
22950 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
22951 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
22952 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
22953 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
22955 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
22956 ceil, ceilf, floor, floorf.
22958 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
22959 Perform IRELATIVE relocations last.
22961 * elf/do-rel.h: Add another parameter nrelative, replacing the
22962 local variable with the same name. Change name of the function
22963 to end in Rel or Rela (uppercase).
22964 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
22965 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
22966 elf_dynamic_do_##reloc function.
22968 2011-10-15 Ulrich Drepper <drepper@gmail.com>
22970 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
22971 is sufficient, at least on modern CPUs.
22973 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
22975 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
22976 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
22978 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
22980 * math/bits/math-finite.h: Add entries for exp.
22981 * math/e_expl.c: Add __*_finite alias.
22982 * sysdeps/i386/fpu/e_exp.S: Likewise.
22983 * sysdeps/i386/fpu/e_expf.S: Likewise.
22984 * sysdeps/i386/fpu/e_expl.c: Likewise.
22985 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22986 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
22987 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
22988 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
22989 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
22990 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
22991 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
22993 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
22994 is sufficient, at least on modern CPUs.
22996 * ctype/ctype-info.c (__ctype_init): Define.
22997 * include/ctype.h (__ctype_init): Declare.
22998 (__ctype_b_loc): The variable is always initialized.
22999 (__ctype_toupper_loc): Likewise.
23000 (__ctype_tolower_loc): Likewise.
23001 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
23002 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
23004 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
23006 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
23008 * configure.in: Also look in $cxxmachine/include for C++ system
23011 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23013 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
23014 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
23015 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
23016 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
23017 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
23018 (USE_AS_WMEMCMP): New macro.
23020 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
23021 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
23022 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
23023 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
23024 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23025 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
23026 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
23027 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
23028 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
23029 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
23030 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
23031 (USE_AS_WMEMCMP): New macro.
23032 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
23033 * sysdeps/string/test-memcmp.c: Update.
23034 Fix simple_wmemcmp.
23036 * wcsmbs/wmemcmp.c: Update.
23037 (WMEMCMP): New macro.
23040 2011-10-12 Andreas Jaeger <aj@suse.de>
23043 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
23045 2011-10-15 Ulrich Drepper <drepper@gmail.com>
23047 * libio/iofwide.c (do_length): Avoid warning.
23049 * ctype/ctype.h (__isctype_f): Add missing __THROW.
23051 2011-10-14 Ulrich Drepper <drepper@gmail.com>
23053 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
23055 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
23056 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
23057 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
23058 * sysdeps/i386/i686/fpu/e_log.S: New file.
23059 * sysdeps/i386/i686/fpu/e_logf.S: New file.
23060 * sysdeps/i386/i686/fpu/e_logl.S: New file.
23062 * ctype/ctype.h: Add support for inlined isXXX functions when
23063 compiling C++ code.
23065 2011-10-14 Andreas Schwab <schwab@redhat.com>
23067 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23069 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
23071 2011-10-13 Roland McGrath <roland@hack.frob.com>
23074 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
23076 2011-10-13 Andreas Schwab <schwab@redhat.com>
23078 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
23079 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
23082 * sysdeps/x86_64/memrchr.S: Check for zero size.
23084 * string/stratcliff.c: Add memrchr tests.
23086 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23088 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23089 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
23090 rawmemchr-sse2 rawmemchr-sse2-bsf.
23091 * sysdeps/i386/i686/multiarch/memchr.S: New file.
23092 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
23093 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
23094 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
23095 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
23096 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
23097 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
23098 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
23099 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
23100 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
23101 * string/memrchr.c (MEMRCHR): New macro.
23103 2011-10-12 Ulrich Drepper <drepper@gmail.com>
23105 Add integration with gcc's -ffinite-math-only and optimize wrapper
23107 * Versions.def: Define GLIBC_2.15 version for libm.
23108 * math/Makefile (headers): Add bits/math-finite.h.
23109 * math/bits/math-finite.h: New file.
23110 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
23111 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
23112 * math/e_acoshl.c: Add __*_finite alias.
23113 * math/e_acosl.c: Likewise.
23114 * math/e_asinl.c: Likewise.
23115 * math/e_atan2l.c: Likewise.
23116 * math/e_atanhl.c: Likewise.
23117 * math/e_coshl.c: Likewise.
23118 * math/e_exp10.c: Likewise.
23119 * math/e_exp10f.c: Likewise.
23120 * math/e_exp10l.c: Likewise.
23121 * math/e_exp2l.c: Likewise.
23122 * math/e_fmodl.c: Likewise.
23123 * math/e_gammal_r.c: Likewise.
23124 * math/e_hypotl.c: Likewise.
23125 * math/e_j0l.c: Likewise.
23126 * math/e_j1l.c: Likewise.
23127 * math/e_jnl.c: Likewise.
23128 * math/e_lgammal_r.c: Likewise.
23129 * math/e_log10l.c: Likewise.
23130 * math/e_log2l.c: Likewise.
23131 * math/e_logl.c: Likewise.
23132 * math/e_powl.c: Likewise.
23133 * math/e_sinhl.c: Likewise.
23134 * math/e_sqrtl.c: Likewise.
23135 * math/e_scalb.c: Completely rewritten and optimized.
23136 * math/e_scalbf.c: Likewise.
23137 * math/e_scalbl.c: Likewise.
23138 * math/w_acos.c: Likewise.
23139 * math/w_acosf.c: Likewise.
23140 * math/w_acosl.c: Likewise.
23141 * math/w_acosh.c: Likewise.
23142 * math/w_acoshf.c: Likewise.
23143 * math/w_acoshl.c: Likewise.
23144 * math/w_asin.c: Likewise.
23145 * math/w_asinf.c: Likewise.
23146 * math/w_asinl.c: Likewise.
23147 * math/w_atan2.c: Likewise.
23148 * math/w_atan2f.c: Likewise.
23149 * math/w_atan2l.c: Likewise.
23150 * math/w_atanh.c: Likewise.
23151 * math/w_atanhf.c: Likewise.
23152 * math/w_atanhl.c: Likewise.
23153 * math/w_exp10.c: Likewise.
23154 * math/w_exp10f.c: Likewise.
23155 * math/w_exp10l.c: Likewise.
23156 * math/w_fmod.c: Likewise.
23157 * math/w_fmodf.c: Likewise.
23158 * math/w_fmodl.c: Likewise.
23159 * math/w_j0.c: Likewise.
23160 * math/w_j0f.c: Likewise.
23161 * math/w_j0l.c: Likewise.
23162 * math/w_j1.c: Likewise.
23163 * math/w_j1f.c: Likewise.
23164 * math/w_j1l.c: Likewise.
23165 * math/w_jn.c: Likewise.
23166 * math/w_jnf.c: Likewise.
23167 * math/w_log.c: Likewise.
23168 * math/w_logf.c: Likewise.
23169 * math/w_logl.c: Likewise.
23170 * math/w_log10.c: Likewise.
23171 * math/w_log10f.c: Likewise.
23172 * math/w_log10l.c: Likewise.
23173 * math/w_log2.c: Likewise.
23174 * math/w_log2f.c: Likewise.
23175 * math/w_log2l.c: Likewise.
23176 * math/w_pow.c: Likewise.
23177 * math/w_powf.c: Likewise.
23178 * math/w_powl.c: Likewise.
23179 * math/w_remainder.c: Likewise.
23180 * math/w_remainderf.c: Likewise.
23181 * math/w_remainderl.c: Likewise.
23182 * math/w_scalb.c: Likewise.
23183 * math/w_scalbf.c: Likewise.
23184 * math/w_scalbl.c: Likewise.
23185 * math/w_sqrt.c: Likewise.
23186 * math/w_sqrtf.c: Likewise.
23187 * math/w_sqrtl.c: Likewise.
23188 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
23189 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
23191 * math/math_private.h: Declare __kernel_standard_f.
23192 * math/w_cosh.c: Remove cruft and optimize a bit.
23193 * math/w_coshf.c: Likewise.
23194 * math/w_coshl.c: Likewise.
23195 * math/w_exp2.c: Likewise.
23196 * math/w_exp2f.c: Likewise.
23197 * math/w_exp2l.c: Likewise.
23198 * math/w_hypot.c: Likewise.
23199 * math/w_hypotf.c: Likewise.
23200 * math/w_hypotl.c: Likewise.
23201 * math/w_lgamma.c: Likewise.
23202 * math/w_lgamma_r.c: Likewise.
23203 * math/w_lgammaf.c: Likewise.
23204 * math/w_lgammaf_r.c: Likewise.
23205 * math/w_lgammal.c: Likewise.
23206 * math/w_lgammal_r.c: Likewise.
23207 * math/w_sinh.c: Likewise.
23208 * math/w_sinhf.c: Likewise.
23209 * math/w_sinhl.c: Likewise.
23210 * math/w_tgamma.c: Likewise.
23211 * math/w_tgammaf.c: Likewise.
23212 * math/w_tgammal.c: Likewise.
23213 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
23214 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
23215 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
23216 Minor optimizations. Pretty printing. Remove cruft.
23217 * sysdeps/i386/fpu/e_acosf.S: Likewise.
23218 * sysdeps/i386/fpu/e_acosh.S: Likewise.
23219 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
23220 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
23221 * sysdeps/i386/fpu/e_acosl.c: Likewise.
23222 * sysdeps/i386/fpu/e_asin.S: Likewise.
23223 * sysdeps/i386/fpu/e_asinf.S: Likewise.
23224 * sysdeps/i386/fpu/e_atan2.S: Likewise.
23225 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
23226 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
23227 * sysdeps/i386/fpu/e_atanh.S: Likewise.
23228 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
23229 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
23230 * sysdeps/i386/fpu/e_exp10.S: Likewise.
23231 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
23232 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
23233 * sysdeps/i386/fpu/e_exp2.S: Likewise.
23234 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
23235 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
23236 * sysdeps/i386/fpu/e_fmod.S: Likewise.
23237 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
23238 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
23239 * sysdeps/i386/fpu/e_hypot.S: Likewise.
23240 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
23241 * sysdeps/i386/fpu/e_log.S: Likewise.
23242 * sysdeps/i386/fpu/e_log10.S: Likewise.
23243 * sysdeps/i386/fpu/e_log10f.S: Likewise.
23244 * sysdeps/i386/fpu/e_log10l.S: Likewise.
23245 * sysdeps/i386/fpu/e_log2.S: Likewise.
23246 * sysdeps/i386/fpu/e_log2f.S: Likewise.
23247 * sysdeps/i386/fpu/e_log2l.S: Likewise.
23248 * sysdeps/i386/fpu/e_logf.S: Likewise.
23249 * sysdeps/i386/fpu/e_logl.S: Likewise.
23250 * sysdeps/i386/fpu/e_pow.S: Likewise.
23251 * sysdeps/i386/fpu/e_powf.S: Likewise.
23252 * sysdeps/i386/fpu/e_powl.S: Likewise.
23253 * sysdeps/i386/fpu/e_remainder.S: Likewise.
23254 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
23255 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
23256 * sysdeps/i386/fpu/e_scalb.S: Likewise.
23257 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
23258 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
23259 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
23260 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
23261 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
23262 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
23263 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
23264 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23265 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
23266 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
23267 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
23268 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
23269 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
23270 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
23271 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
23272 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
23273 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
23274 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23275 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
23276 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
23277 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23278 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
23279 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
23280 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
23281 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23282 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
23283 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
23284 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
23285 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
23286 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
23287 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
23288 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
23289 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
23290 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
23291 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
23292 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
23293 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
23294 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
23295 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
23296 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
23297 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
23298 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
23299 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
23300 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
23301 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
23302 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
23303 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
23304 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
23305 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
23306 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
23307 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
23308 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
23309 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
23310 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
23311 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
23312 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
23313 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
23314 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
23315 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
23316 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
23317 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
23318 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
23319 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
23320 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
23321 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
23322 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
23323 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
23324 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
23325 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
23326 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
23327 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
23328 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
23329 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
23330 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
23331 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
23332 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
23333 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
23334 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
23335 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
23336 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
23337 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
23338 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
23339 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
23340 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
23341 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
23342 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
23343 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
23344 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
23345 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
23346 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
23347 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
23348 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
23349 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
23350 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
23351 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
23352 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
23353 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
23354 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
23355 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
23356 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
23357 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
23358 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
23359 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
23360 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
23361 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
23362 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
23363 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
23364 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
23365 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
23366 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
23367 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
23368 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
23369 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
23370 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
23371 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
23372 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
23373 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
23374 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
23375 (__isnanf): Likewise.
23376 (__isinf_ns): Likewise.
23377 (__isinf_nsf): Likewise.
23378 (__finite): Likewise.
23379 (__finitef): Likewise.
23380 (__ieee754_sqrt): Define as macro.
23381 (__ieee754_sqrtf): Define as macro.
23382 (__ieee754_sqrtl): Define as macro.
23383 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
23385 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
23386 __FINITE_MATH_ONLY__ consistent.
23387 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
23389 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
23391 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
23394 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
23396 2011-10-09 Ulrich Drepper <drepper@gmail.com>
23398 * po/ja.po: Update from translation team.
23400 2011-10-08 Roland McGrath <roland@hack.frob.com>
23402 * locale/programs/locarchive.c (prepare_address_space): New function.
23403 (create_archive, enlarge_archive, open_archive): Use it.
23405 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
23406 inside [SHARED], where it is used.
23408 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
23410 * nss/getent.c (netgroup_keys): Remove unused variable.
23411 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
23413 2011-10-08 Ulrich Drepper <drepper@gmail.com>
23415 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
23416 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
23417 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
23418 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
23419 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
23420 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
23421 * math/Makefile (libm-calls): Add s_isinf_ns.
23422 * math/divtc3.c: Use __isinf_nsl instead of isinf.
23423 * math/multc3.c: Likewise.
23424 * math/s_casin.c: Likewise.
23425 * math/s_casinf.c: Likewise.
23426 * math/s_casinl.c: Likewise.
23427 * math/s_ccos.c: Likewise.
23428 * math/s_ccosf.c: Likewise.
23429 * math/s_ccosl.c: Likewise.
23430 * math/s_ctan.c: Likewise.
23431 * math/s_ctanf.c: Likewise.
23432 * math/s_ctanh.c: Likewise.
23433 * math/s_ctanhf.c: Likewise.
23434 * math/s_ctanhl.c: Likewise.
23435 * math/s_ctanl.c: Likewise.
23436 * math/w_fmod.c: Likewise.
23437 * math/w_fmodf.c: Likewise.
23438 * math/w_fmodl.c: Likewise.
23439 * math/w_remainder.c: Likewise.
23440 * math/w_remainderf.c: Likewise.
23441 * math/w_remainderl.c: Likewise.
23442 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
23443 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
23444 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
23445 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
23446 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
23447 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
23448 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
23449 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
23451 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
23453 * stdio-common/printf_fphex.c: Likewise.
23454 * stdio-common/printf_size.c: Likewise.
23456 * math/e_exp10.c: Include math_private.h using <...> not "...".
23457 * math/e_exp10f.c: Likewise.
23458 * math/e_exp10l.c: Likewise.
23459 * math/e_exp2l.c: Likewise.
23460 * math/e_j0l.c: Likewise.
23461 * math/e_j1l.c: Likewise.
23462 * math/e_jnl.c: Likewise.
23463 * math/e_lgammal_r.c: Likewise.
23464 * math/e_rem_pio2l.c: Likewise.
23465 * math/e_scalb.c: Likewise.
23466 * math/e_scalbf.c: Likewise.
23467 * math/e_scalbl.c: Likewise.
23468 * math/k_cosl.c: Likewise.
23469 * math/k_sinl.c: Likewise.
23470 * math/k_tanl.c: Likewise.
23471 * math/s_cacoshf.c: Likewise.
23472 * math/s_catan.c: Likewise.
23473 * math/s_catanf.c: Likewise.
23474 * math/s_catanh.c: Likewise.
23475 * math/s_catanhf.c: Likewise.
23476 * math/s_catanhl.c: Likewise.
23477 * math/s_catanl.c: Likewise.
23478 * math/s_ccosh.c: Likewise.
23479 * math/s_ccoshf.c: Likewise.
23480 * math/s_ccoshl.c: Likewise.
23481 * math/s_cexp.c: Likewise.
23482 * math/s_cexpf.c: Likewise.
23483 * math/s_cexpl.c: Likewise.
23484 * math/s_clog.c: Likewise.
23485 * math/s_clog10.c: Likewise.
23486 * math/s_clog10f.c: Likewise.
23487 * math/s_clog10l.c: Likewise.
23488 * math/s_clogf.c: Likewise.
23489 * math/s_clogl.c: Likewise.
23490 * math/s_csin.c: Likewise.
23491 * math/s_csinf.c: Likewise.
23492 * math/s_csinh.c: Likewise.
23493 * math/s_csinhf.c: Likewise.
23494 * math/s_csinhl.c: Likewise.
23495 * math/s_csinl.c: Likewise.
23496 * math/s_csqrt.c: Likewise.
23497 * math/s_csqrtf.c: Likewise.
23498 * math/s_csqrtl.c: Likewise.
23499 * math/s_ctan.c: Likewise.
23500 * math/s_ctanf.c: Likewise.
23501 * math/s_ctanh.c: Likewise.
23502 * math/s_ctanhf.c: Likewise.
23503 * math/s_ctanhl.c: Likewise.
23504 * math/s_ctanl.c: Likewise.
23505 * math/s_ldexp.c: Likewise.
23506 * math/s_ldexpf.c: Likewise.
23507 * math/s_ldexpl.c: Likewise.
23508 * math/s_significand.c: Likewise.
23509 * math/s_significandf.c: Likewise.
23510 * math/s_significandl.c: Likewise.
23511 * math/w_acos.c: Likewise.
23512 * math/w_acosf.c: Likewise.
23513 * math/w_acosh.c: Likewise.
23514 * math/w_acoshf.c: Likewise.
23515 * math/w_acoshl.c: Likewise.
23516 * math/w_acosl.c: Likewise.
23517 * math/w_asin.c: Likewise.
23518 * math/w_asinf.c: Likewise.
23519 * math/w_asinl.c: Likewise.
23520 * math/w_atan2.c: Likewise.
23521 * math/w_atan2f.c: Likewise.
23522 * math/w_atan2l.c: Likewise.
23523 * math/w_atanh.c: Likewise.
23524 * math/w_atanhf.c: Likewise.
23525 * math/w_atanhl.c: Likewise.
23526 * math/w_cosh.c: Likewise.
23527 * math/w_coshf.c: Likewise.
23528 * math/w_coshl.c: Likewise.
23529 * math/w_dremf.c: Likewise.
23530 * math/w_exp10.c: Likewise.
23531 * math/w_exp10f.c: Likewise.
23532 * math/w_exp10l.c: Likewise.
23533 * math/w_exp2.c: Likewise.
23534 * math/w_exp2f.c: Likewise.
23535 * math/w_fmod.c: Likewise.
23536 * math/w_fmodf.c: Likewise.
23537 * math/w_fmodl.c: Likewise.
23538 * math/w_hypot.c: Likewise.
23539 * math/w_hypotf.c: Likewise.
23540 * math/w_hypotl.c: Likewise.
23541 * math/w_j0.c: Likewise.
23542 * math/w_j0f.c: Likewise.
23543 * math/w_j0l.c: Likewise.
23544 * math/w_j1.c: Likewise.
23545 * math/w_j1f.c: Likewise.
23546 * math/w_j1l.c: Likewise.
23547 * math/w_jn.c: Likewise.
23548 * math/w_jnf.c: Likewise.
23549 * math/w_jnl.c: Likewise.
23550 * math/w_lgamma.c: Likewise.
23551 * math/w_lgamma_r.c: Likewise.
23552 * math/w_lgammaf.c: Likewise.
23553 * math/w_lgammaf_r.c: Likewise.
23554 * math/w_lgammal.c: Likewise.
23555 * math/w_lgammal_r.c: Likewise.
23556 * math/w_log.c: Likewise.
23557 * math/w_log10.c: Likewise.
23558 * math/w_log10f.c: Likewise.
23559 * math/w_log10l.c: Likewise.
23560 * math/w_log2.c: Likewise.
23561 * math/w_log2f.c: Likewise.
23562 * math/w_log2l.c: Likewise.
23563 * math/w_logf.c: Likewise.
23564 * math/w_logl.c: Likewise.
23565 * math/w_pow.c: Likewise.
23566 * math/w_powf.c: Likewise.
23567 * math/w_powl.c: Likewise.
23568 * math/w_remainder.c: Likewise.
23569 * math/w_remainderf.c: Likewise.
23570 * math/w_remainderl.c: Likewise.
23571 * math/w_scalb.c: Likewise.
23572 * math/w_scalbf.c: Likewise.
23573 * math/w_scalbl.c: Likewise.
23574 * math/w_sinh.c: Likewise.
23575 * math/w_sinhf.c: Likewise.
23576 * math/w_sinhl.c: Likewise.
23577 * math/w_sqrt.c: Likewise.
23578 * math/w_sqrtf.c: Likewise.
23579 * math/w_sqrtl.c: Likewise.
23580 * math/w_tgamma.c: Likewise.
23581 * math/w_tgammaf.c: Likewise.
23582 * math/w_tgammal.c: Likewise.
23584 * po/ja.po: Update from translation team.
23586 2011-09-29 Andreas Jaeger <aj@suse.de>
23589 * sunrpc/netname.c (netname2host): Fix logic.
23593 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
23595 * math/w_remainder.c (__remainder): Likewise.
23596 * math/w_remainderf.c (__remainderf): Likewise.
23597 * math/libm-test.inc (remainder_test): Add test cases.
23599 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23601 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
23604 2011-10-07 Ulrich Drepper <drepper@gmail.com>
23606 * string/test-memcmp.c: Avoid unncessary #defines.
23607 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
23609 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23611 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
23612 Use new sse2 version for core i3 - i7 as it's faster
23613 than sse42 version.
23614 (bit_Prefer_PMINUB_for_stringop): New.
23615 * sysdeps/x86_64/rawmemchr.S: Update.
23616 Replace with faster SSE2 version.
23617 * sysdeps/x86_64/memrchr.S: New file.
23618 * sysdeps/x86_64/memchr.S: Update.
23619 Replace with faster SSE2 version.
23621 2011-09-12 Marek Polacek <mpolacek@redhat.com>
23623 * elf/dl-load.c (lose): Add cast to avoid warning.
23625 2011-10-07 Ulrich Drepper <drepper@gmail.com>
23627 * po/ca.po: Update from translation team.
23629 * inet/getnetgrent_r.c: Hook up nscd.
23630 * nscd/Makefile (routines): Add nscd_netgroup.
23631 (nscd-modules): Add netgroupcache.
23632 (CFLAGS-netgroupcache.c): Define.
23633 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
23634 (cache_search): Add const to second parameter.
23635 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
23637 (dbs): Add netgrdb entry.
23638 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
23639 (verify_persistent_db): Handle netgrdb.
23640 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
23641 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
23643 (netgroup_response_header): Define.
23644 (innetgroup_response_header): Define.
23645 (datahead): Add netgroup_response_header and innetgroup_response_header
23647 * nscd/nscd.conf: Add entries for netgroup cache.
23648 * nscd/nscd.h (dbtype): Add netgrdb.
23649 (_PATH_NSCD_NETGROUP_DB): Define.
23650 (netgroup_iov_disabled): Declare.
23651 (xmalloc, xcalloc, xrealloc): Move declarations here.
23652 (cache_search): Adjust prototype.
23653 Add netgroup-related prototypes.
23654 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
23655 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
23656 (__nscd_innetgr): Declare.
23657 * nscd/selinux.c (perms): Use access_vector_t as element type and
23658 add netgroup-related initializers.
23659 * nscd/netgroupcache.c: New file.
23660 * nscd/nscd_netgroup.c: New file.
23661 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
23662 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
23663 For four parameters use innetgr.
23664 * nss/nss_files/files-init.c: Add definition and callback for netgr.
23665 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
23666 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
23667 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
23669 * nscd/connections.c (register_traced_file): Don't register file
23670 for disabled databases.
23672 2011-10-06 Ulrich Drepper <drepper@gmail.com>
23674 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
23676 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
23677 from tree and freeing node.
23679 2011-09-25 Jiri Olsa <jolsa@redhat.com>
23681 * nss/nsswitch.c (__nss_database_lookup): Handle
23682 nss_parse_service_list out of memory case.
23684 2011-09-15 Jiri Olsa <jolsa@redhat.com>
23686 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
23687 out of memory case.
23689 2011-10-04 Andreas Schwab <schwab@redhat.com>
23691 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
23692 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
23694 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
23695 elf_machine_rela, elf_machine_lazy_rel.
23696 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
23697 (ELF_DYNAMIC_DO_REL): Likewise.
23698 (ELF_DYNAMIC_DO_RELA): Likewise.
23699 (ELF_DYNAMIC_RELOCATE): Likewise.
23700 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
23701 to ELF_DYNAMIC_DO_REL.
23702 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
23703 (dl_main): In trace mode always set __RTLD_NOIFUNC.
23704 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
23706 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
23707 skip_ifunc, don't call ifunc function if non-zero.
23708 (elf_machine_rela): Likewise.
23709 (elf_machine_lazy_rel): Likewise.
23710 (elf_machine_lazy_rela): Likewise.
23711 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
23712 (elf_machine_lazy_rel): Likewise.
23713 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
23715 (elf_machine_lazy_rel): Likewise.
23716 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
23718 (elf_machine_lazy_rel): Likewise.
23719 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
23720 (elf_machine_lazy_rel): Likewise.
23721 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
23722 (elf_machine_lazy_rel): Likewise.
23723 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
23724 (elf_machine_lazy_rel): Likewise.
23725 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
23726 (elf_machine_lazy_rel): Likewise.
23727 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
23728 (elf_machine_lazy_rel): Likewise.
23729 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
23730 (elf_machine_lazy_rel): Likewise.
23732 2011-09-28 Ulrich Drepper <drepper@gmail.com>
23734 * nss/nss_files/files-init.c (_nss_files_init): Use static
23735 initialization for all the *_traced_file variables.
23737 2011-09-28 Andreas Schwab <schwab@redhat.com>
23739 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23741 2011-09-27 Roland McGrath <roland@hack.frob.com>
23744 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
23746 2011-09-27 Andreas Schwab <schwab@redhat.com>
23748 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
23749 Reread the line before reparsing it.
23751 2011-09-26 Andreas Schwab <schwab@redhat.com>
23753 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
23755 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
23756 Maxim Kuvyrkov <maxim@codesourcery.com>
23757 Joseph Myers <joseph@codesourcery.com>
23759 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
23760 if needed for __stack_chk_guard.
23762 2011-09-19 Roland McGrath <roland@hack.frob.com>
23764 * sysdeps/posix/spawni.c (script_execute): Always define it.
23765 It will be optimized away if unused.
23766 (maybe_script_execute): New function.
23767 (__spawni): Call it.
23769 * Makerules: Don't include tls.make.
23770 (config-tls): Always set to thread.
23771 * tls.make.c: File removed.
23773 2011-09-19 Mike Frysinger <vapier@gentoo.org>
23775 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
23776 * config.make.in (CPPFLAGS-config): New substituted variable.
23778 2011-09-15 Ulrich Drepper <drepper@gmail.com>
23780 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
23783 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
23784 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
23786 2011-09-15 Roland McGrath <roland@hack.frob.com>
23788 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
23789 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
23790 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
23791 (CALL_FAIL): Likewise.
23792 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
23793 (CALL_FAIL): Macro removed.
23794 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
23796 2011-09-15 Ulrich Drepper <drepper@gmail.com>
23798 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
23799 for __FINITE_MATH_ONLY__ == 1.
23801 2011-09-15 Andreas Schwab <schwab@redhat.com>
23803 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
23804 __ieee754_sqrt instead of sqrt.
23805 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
23806 __ieee754_sqrtf instead of sqrtf.
23807 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
23808 __floorf instead of floorf.
23809 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
23810 __floorf, __truncf instead of floorf, truncf.
23812 2011-09-14 Ulrich Drepper <drepper@gmail.com>
23814 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
23816 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
23817 __extern_always_inline.
23818 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
23821 2011-09-14 Andreas Schwab <schwab@redhat.com>
23823 * elf/rtld.c (dl_main): Also relocate in dependency order when
23824 doing symbol dependency testing.
23826 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
23828 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
23829 Always define `refsym'.
23831 2011-09-13 Andreas Schwab <schwab@redhat.com>
23833 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
23834 (__FD_ELT): Renamed from __FDELT.
23835 * misc/bits/select2.h (__FD_ELT): Likewise.
23836 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
23837 __FD_MASK instead of __FDELT, __FDMASK.
23838 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
23840 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
23843 * elf/Makefile (gen-ldd): Fix pattern.
23845 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
23846 (init_tls): Likewise.
23848 2011-09-12 Ulrich Drepper <drepper@gmail.com>
23850 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
23852 2011-09-12 Andreas Schwab <schwab@redhat.com>
23854 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
23855 `struct cmsghdr *' instead of `void *'.
23856 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
23859 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
23861 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
23863 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
23864 ldd_rewrite_script.
23866 2011-09-11 Ulrich Drepper <drepper@gmail.com>
23868 * configure.in: Remove --with-tls option.
23869 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
23870 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
23871 out in case it is missing.
23872 * sysdeps/ia64/elf/configure.in: Likewise.
23873 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
23874 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
23875 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
23876 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
23877 * sysdeps/sh/elf/configure.in: Likewise.
23878 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
23879 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
23880 * sysdeps/x86_64/elf/configure.in: Likewise.
23881 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
23882 * sysdeps/mach/hurd/tls.h: Likewise.
23885 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
23888 * configure.in: Fix use of AC_INIT.
23890 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
23892 2011-09-10 Ulrich Drepper <drepper@gmail.com>
23894 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
23896 * malloc/hooks.c: Likewise.
23899 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
23900 variables statically.
23901 (narenas): Initialize.
23902 (list_lock): Initialize.
23903 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
23904 initializtion of main_arena and list_lock. Small cleanups.
23905 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
23906 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
23907 Add initializers to main_arena and mp_.
23908 (malloc_state): Remove pagesize member. Change all users to use
23911 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
23912 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
23913 is always initialized.
23915 * malloc/malloc.c: Removed unused configurations and dead code.
23916 * malloc/arena.c: Likewise.
23917 * malloc/hooks.c: Likewise.
23918 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
23920 * include/tls.h: Removed. USE___THREAD must always be defined.
23921 * bits/libc-tsd.h: Don't handle !USE___THREAD.
23922 * elf/dl-libc.c: Likewise.
23923 * elf/dl-tsd.c: Likewise.
23924 * include/errno.h: Likewise.
23925 * include/netdb.h: Likewise.
23926 * include/resolv.h: Likewise.
23927 * inet/herrno-loc.c: Likewise.
23928 * inet/herrno.c: Likewise.
23929 * malloc/arena.c: Likewise.
23930 * malloc/hooks.c: Likewise.
23931 * malloc/malloc.c: Likewise.
23932 * resolv/res-state.c: Likewise.
23933 * resolv/res_libc.c: Likewise.
23934 * sysdeps/i386/dl-machine.h: Likewise.
23935 * sysdeps/ia64/dl-machine.h: Likewise.
23936 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
23937 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
23938 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
23939 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
23940 * sysdeps/sh/dl-machine.h: Likewise.
23941 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
23942 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
23943 * sysdeps/unix/i386/sysdep.S: Likewise.
23944 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
23945 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
23946 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
23947 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
23948 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
23949 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
23950 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
23951 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
23952 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23953 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
23954 * sysdeps/unix/x86_64/sysdep.S: Likewise.
23955 * sysdeps/x86_64/dl-machine.h: Likewise.
23956 * tls.make.c: Likewise.
23958 * configure.in: Remove --with-__thread option. Make tests for
23959 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
23960 tls_model attribute fail if no support is available. Remove
23962 * Makeconfig: Adjust for dropped configure option. All features are
23964 * Makerules: Likewise.
23965 * Versions.def: Likewise.
23966 * argp/argp-fmtstream.c: Likewise.
23967 * argp/argp-fmtstream.h: Likewise.
23968 * argp/argp-help.c: Likewise.
23969 * assert/assert.c: Likewise.
23970 * config.h.in: Likewise.
23971 * config.make.in: Likewise.
23972 * configure: Likewise.
23973 * configure.in: Likewise.
23974 * csu/Versions: Likewise.
23975 * csu/init.c: Likewise.
23976 * elf/tst-audit2.c: Likewise.
23977 * elf/tst-tls10.c: Likewise.
23978 * elf/tst-tls10.h: Likewise.
23979 * elf/tst-tls11.c: Likewise.
23980 * elf/tst-tls12.c: Likewise.
23981 * elf/tst-tls14.c: Likewise.
23982 * elf/tst-tlsmod11.c: Likewise.
23983 * elf/tst-tlsmod12.c: Likewise.
23984 * elf/tst-tlsmod13.c: Likewise.
23985 * elf/tst-tlsmod13a.c: Likewise.
23986 * elf/tst-tlsmod14a.c: Likewise.
23987 * elf/tst-tlsmod15b.c: Likewise.
23988 * elf/tst-tlsmod16a.c: Likewise.
23989 * elf/tst-tlsmod16b.c: Likewise.
23990 * elf/tst-tlsmod7.c: Likewise.
23991 * elf/tst-tlsmod8.c: Likewise.
23992 * elf/tst-tlsmod9.c: Likewise.
23993 * gmon/gmon.c: Likewise.
23994 * grp/fgetgrent_r.c: Likewise.
23995 * grp/putgrent.c: Likewise.
23996 * hurd/fopenport.c: Likewise.
23997 * include/libc-symbols.h: Likewise.
23998 * include/tls.h: Likewise.
23999 * intl/gettextP.h: Likewise.
24000 * intl/loadinfo.h: Likewise.
24001 * locale/global-locale.c: Likewise.
24002 * locale/localeinfo.h: Likewise.
24003 * mach/devstream.c: Likewise.
24004 * malloc/arena.c: Likewise.
24005 * malloc/set-freeres.c: Likewise.
24006 * misc/err.c: Likewise.
24007 * misc/getttyent.c: Likewise.
24008 * misc/mntent_r.c: Likewise.
24009 * posix/getopt.c: Likewise.
24010 * posix/wordexp.c: Likewise.
24011 * pwd/fgetpwent_r.c: Likewise.
24012 * resolv/Versions: Likewise.
24013 * resolv/res_hconf.c: Likewise.
24014 * shadow/fgetspent_r.c: Likewise.
24015 * shadow/putspent.c: Likewise.
24016 * stdio-common/printf_fphex.c: Likewise.
24017 * stdio-common/tmpfile.c: Likewise.
24018 * stdlib/abort.c: Likewise.
24019 * stdlib/fmtmsg.c: Likewise.
24020 * sunrpc/auth_unix.c: Likewise.
24021 * sunrpc/clnt_perr.c: Likewise.
24022 * sunrpc/clnt_tcp.c: Likewise.
24023 * sunrpc/clnt_udp.c: Likewise.
24024 * sunrpc/clnt_unix.c: Likewise.
24025 * sunrpc/openchild.c: Likewise.
24026 * sunrpc/svc_simple.c: Likewise.
24027 * sunrpc/svc_tcp.c: Likewise.
24028 * sunrpc/svc_udp.c: Likewise.
24029 * sunrpc/svc_unix.c: Likewise.
24030 * sunrpc/xdr.c: Likewise.
24031 * sunrpc/xdr_array.c: Likewise.
24032 * sunrpc/xdr_rec.c: Likewise.
24033 * sunrpc/xdr_ref.c: Likewise.
24034 * sunrpc/xdr_stdio.c: Likewise.
24036 2011-09-09 Ulrich Drepper <drepper@gmail.com>
24038 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
24040 2011-07-03 Andreas Jaeger <aj@suse.de>
24042 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
24043 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
24044 regenerate with gen-libm-tests.pl.
24046 2010-05-12 Petr Baudis <pasky@suse.cz>
24049 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
24050 around j0() zero points by switching to j1().
24051 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
24052 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
24053 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
24054 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
24056 2011-09-09 Ulrich Drepper <drepper@gmail.com>
24058 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
24060 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
24062 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
24063 Patch in part by Pavel Roskin <proski@gnu.org>.
24066 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
24068 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
24069 Free memory block if necessary.
24072 * libio/genops.c (INTDEF): For string streams the _lock pointer can
24073 be NULL. Don't lock in this case.
24075 2011-09-09 Roland McGrath <roland@hack.frob.com>
24077 * elf/elf.h (ELFOSABI_GNU): New macro.
24078 (ELFOSABI_LINUX): Define to that.
24080 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
24082 * string/strncat.c (strncat): Undef the symbol in case it has been
24083 defined in bits/string.h.
24085 2011-09-09 Ulrich Drepper <drepper@gmail.com>
24087 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
24089 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
24092 2011-08-17 Andreas Jaeger <aj@suse.de>
24094 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
24096 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
24097 Ian Lance Taylor <iant@google.com>
24099 * math/libm-test.inc (lround_test): New testcase.
24100 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
24102 2011-09-08 Ulrich Drepper <drepper@gmail.com>
24104 * Makefile: Remove support for automatic cvs check-ins.
24105 * Makerules: Likewise.
24106 * config.make.in: Likewise.
24107 * configure.in: Likewise.
24108 * intl/Makefile: Likewise.
24109 * locale/Makefile: Likewise.
24110 * po/Makefile: Likewise.
24111 * posix/Makefile: Likewise.
24112 * sysdeps/gnu/Makefile: Likewise.
24113 * sysdeps/mach/hurd/Makefile: Likewise.
24114 * sysdeps/sparc/sparc32/Makefile: Likewise.
24117 * posix/Makefile (bug-regex32-ENV): Define.
24118 Patch by John Stanley <jpsinthemix@verizon.net>.
24120 * misc/Makefile (headers): Add bits/select2.h.
24121 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
24122 * misc/bits/select2.h: New file.
24123 * include/bits/select2.h: New file.
24124 * debug/Makefile (routines): Add fdelt_chk.
24125 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
24126 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
24128 * debug/fdelt_chk.c: New file.
24130 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
24131 * wcsmbs/test-wmemcmp.c: Likewise.
24132 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
24133 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
24135 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24137 * string/Makefile (strop-tests): Add memcmp.
24138 * string/test-wmemcmp.c: New file.
24139 * string/test-memcmp.c: Add wmemcmp support.
24141 2011-09-08 Roland McGrath <roland@hack.frob.com>
24144 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
24147 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
24148 garbage value in a __mach_port_mod_refs call in the cases of the
24149 task-self and thread-self ports.
24151 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
24153 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
24155 2011-09-08 Andreas Schwab <schwab@redhat.com>
24157 * elf/dl-load.c (lose): Check for non-null L.
24159 2011-09-07 Ulrich Drepper <drepper@gmail.com>
24161 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
24163 * elf/dl-libc.c (dlerror_run): Pass back error code from
24167 * elf/dl-load.c (lose): Free l_origin if it is valid.
24169 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
24171 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
24172 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
24173 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
24174 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
24175 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
24176 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
24178 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24180 * sysdeps/powerpc/fpu/e_hypot.c: New file.
24181 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
24182 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
24183 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
24184 * sysdeps/powerpc/fpu/k_cosf.c: New file.
24185 * sysdeps/powerpc/fpu/k_sinf.c: New file.
24186 * sysdeps/powerpc/fpu/s_cosf.c: New file.
24187 * sysdeps/powerpc/fpu/s_sinf.c: New file.
24188 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
24189 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
24191 2011-08-15 Alan Modra <amodra@gmail.com>
24194 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
24195 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
24196 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
24197 ppc_mcount to static-only-routines.
24198 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
24200 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
24201 __mcount_internal with usual JUMPTARGET. Remove useless nop.
24203 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
24205 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
24206 for finite and infinity parameters.
24208 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
24210 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
24211 and add nop instructions for throughput optimization.
24212 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
24214 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
24216 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
24217 aligned copy for power7 with vector-scalar instructions.
24218 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
24220 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
24222 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
24225 2011-09-07 Andreas Schwab <schwab@redhat.com>
24228 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
24231 2011-09-07 Ulrich Drepper <drepper@gmail.com>
24233 * sysdeps/unix/sysv/linux/x86_64/init-first.c
24234 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
24235 syscall wrapper around clock_gettime in __vdso_clock_gettime.
24236 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
24239 2011-09-06 Ulrich Drepper <drepper@gmail.com>
24241 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
24242 Forgot to demangle the pointer.
24244 * sysdeps/i386/sysdep.h: Define atom_text_section.
24245 * sysdeps/x86_64/sysdep.h: Likewise.
24246 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
24247 section with atom_text_section.
24248 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
24249 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
24250 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
24251 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
24252 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
24254 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
24255 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
24256 already be defined. Change to take two parameters and don't assign
24257 result to variable. Adjust all users.
24258 Define INTERNAL_GETTIME if not already defined.
24259 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
24261 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
24262 HAVE_CLOCK_GETTIME_VSYSCALL.
24263 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
24265 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
24266 gettimeofday vsyscall, just use time.
24268 2011-09-06 Andreas Schwab <schwab@redhat.com>
24270 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
24273 2011-09-06 Ulrich Drepper <drepper@gmail.com>
24275 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
24277 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
24279 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
24280 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
24281 syscall if possible.
24283 2011-09-05 Ulrich Drepper <drepper@gmail.com>
24285 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
24286 e_ident. Don't pass to find_mapsXX.
24287 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
24289 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24291 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24292 strchr-sse2-no-bsf strrchr-sse2-no-bsf
24293 * sysdeps/x86_64/multiarch/strchr.S: Update.
24294 Check bit_slow_BSF bit.
24295 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
24296 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
24297 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
24299 2011-09-05 Ulrich Drepper <drepper@gmail.com>
24302 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
24304 (tryshell): Define.
24305 (__spawni): Change last parameter to be flag. Test
24306 SPAWN_XFLAGS_USE_PATH flag to use path or not.
24307 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
24308 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
24309 * posix/spawni.c: Likewise.
24310 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
24311 * posix/spawnp.c: Likewise. Change normal version to use
24312 SPAWN_XFLAGS_USE_PATH.
24313 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
24314 SPAWN_XFLAGS_TRY_SHELL.
24317 * posix/glob.h: Remove gcc 1.x support.
24320 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
24322 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24324 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24325 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
24327 * sysdeps/i386/i686/multiarch/strchr.S: New file.
24328 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
24329 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
24330 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
24331 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
24332 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
24334 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24336 * sysdeps/x86_64/wcscmp.S: New file.
24338 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
24339 wcscmp-c wcscmp-sse2
24340 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
24341 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
24342 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
24343 * wcsmbs/wcscmp.c: Allow renaming.
24345 2011-09-05 David S. Miller <davem@davemloft.net>
24347 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
24348 stack slot, rather than the struct return pointer slot.
24349 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
24350 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
24351 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
24352 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
24354 2011-09-05 Ulrich Drepper <drepper@gmail.com>
24356 * po/ja.po: Update from translation team.
24359 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
24360 kernel in 64-bit binaries.
24362 2011-09-01 David S. Miller <davem@davemloft.net>
24364 * elf/elf.h (HWCAP_SPARC_*): Move to..
24365 * sysdeps/sparc/sysdep.h: this new file and add new values.
24366 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
24367 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
24368 _DL_HWCAP_COUNT to 24.
24369 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
24371 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
24372 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
24373 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
24374 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
24375 instead of magic constants.
24376 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
24378 2011-08-31 David S. Miller <davem@davemloft.net>
24380 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
24381 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
24382 Reimplement to do errno handling inline.
24383 (SYSCALL_ERROR_HANDLER): New macro.
24384 (__SYSCALL_STRING): Do not do errno handling in asm.
24385 (__CLONE_SYSCALL_STRING): Delete.
24386 (__INTERNAL_SYSCALL_STRING): Delete.
24387 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
24388 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
24389 (PSEUDO): Reimplement to do errno handling inline.
24390 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
24391 (SYSCALL_ERROR_HANDLER): New macro.
24392 (__SYSCALL_STRING): Do not do errno handling in asm.
24393 (__CLONE_SYSCALL_STRING): Delete.
24394 (__INTERNAL_SYSCALL_STRING): Delete.
24395 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
24396 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
24398 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
24399 (inline_syscall*): Add 'err' argument.
24400 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
24401 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
24402 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
24403 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
24405 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
24406 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
24408 2011-08-30 Andreas Schwab <schwab@redhat.com>
24410 * elf/rtld.c (dl_main): Relocate objects in dependency order.
24412 2011-08-29 Jiri Olsa <jolsa@redhat.com>
24414 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
24417 2011-08-24 David S. Miller <davem@davemloft.net>
24419 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
24421 2011-08-24 Andreas Schwab <schwab@redhat.com>
24423 * elf/Makefile: Add rules to build and run unload8 test.
24424 * elf/unload8.c: New file.
24425 * elf/unload8mod1.c: New file.
24426 * elf/unload8mod1x.c: New file.
24427 * elf/unload8mod2.c: New file.
24428 * elf/unload8mod3.c: New file.
24430 * elf/dl-close.c (_dl_close_worker): Reset private search list if
24433 2011-08-23 David S. Miller <davem@davemloft.net>
24435 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
24436 subtract stack bias.
24437 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
24438 %sp not %fp in calculations.
24439 (_JMPBUF_UNWINDS_ADJ): Likewise.
24441 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
24442 (aio_suspend): Call it to force an exception region around the
24443 AIO_MISC_WAIT() invocation.
24445 2011-08-23 Andreas Schwab <schwab@redhat.com>
24447 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
24450 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
24452 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
24454 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
24455 and <dl-machine.h>.
24456 (Elf64_FuncDesc): Remove.
24458 2011-08-22 David S. Miller <davem@davemloft.net>
24460 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
24461 sigaltstack check, add missing cfi directives.
24462 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
24463 missing cfi directives, and sigaltstack handling.
24465 2011-08-16 Andreas Schwab <schwab@redhat.com>
24468 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
24469 object is seen twice.
24470 * elf/dl-fini.c (_dl_sort_fini): Likewise.
24472 * elf/Makefile (distribute): Add tst-initorder2.c.
24473 (tests): Add tst-initorder2.
24474 (modules-names): Add tst-initorder2a tst-initorder2b
24475 tst-initorder2c tst-initorder2d. Add rules to build them.
24476 ($(objpfx)tst-initorder2.out): New rule.
24477 * elf/tst-initorder2.c: New file.
24478 * elf/tst-initorder2.exp: New file.
24480 2011-08-22 Andreas Schwab <schwab@redhat.com>
24482 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
24484 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
24485 dependencies back to end of function.
24487 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
24488 $(elfobjdir)/ld.so.
24490 2011-08-21 Ulrich Drepper <drepper@gmail.com>
24492 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
24493 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
24494 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
24495 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
24496 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
24497 of __vdso_gettimeofday.
24498 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
24499 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
24501 (_libc_vdso_platform_setup): Remove initialization of
24502 __vdso_gettimeofday and __vdso_time.
24504 2011-08-20 Ulrich Drepper <drepper@gmail.com>
24506 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
24507 and fgetc_unlocked.
24508 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
24511 * elf/dl-open.c (add_to_global): Report additions to the global scope
24512 for LD_DEBUG=scopes.
24513 (dl_open_worker): Also print scope of newly loaded dependencies.
24514 (_dl_show_scope): Indicate if there is no scope.
24517 * stdio-common/Makefile (tests): Add bug24.
24518 * stdio-common/bug24.c: New file.
24520 2011-08-19 Andreas Jaeger <aj@suse.de>
24523 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
24524 non-existant file when using close-on-exec mode.
24526 2011-08-20 Ulrich Drepper <drepper@gmail.com>
24528 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
24529 the very first instruction.
24531 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
24532 the CFI state in the end.
24533 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
24534 inclusion of dl-trampoline.h.
24535 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
24537 2011-08-19 Andreas Schwab <schwab@redhat.com>
24539 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
24540 expectations for long double.
24542 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
24543 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
24545 2011-08-14 David S. Miller <davem@davemloft.net>
24547 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
24548 artificual limit depends upon the system page size.
24550 2011-08-17 Ulrich Drepper <drepper@gmail.com>
24552 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
24553 * resolv/Makefile: Define CFLAGS-libresolv.
24555 2011-08-17 Andreas Schwab <schwab@redhat.com>
24557 * nss/makedb.c (compute_tables): Make variables used in nested
24560 2011-08-17 Ulrich Drepper <drepper@gmail.com>
24562 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
24563 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
24564 if buffer was too small.
24566 * elf/pldd.c (main): Attach to all threads in the process.
24567 Rewrite /proc handling to use *at functions.
24569 2011-08-16 Ulrich Drepper <drepper@gmail.com>
24571 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
24572 specifies first scope to show.
24573 (dl_open_worker): Update callers. Move printing scope of new
24574 object to before the relocation.
24575 * elf/rtld.c (dl_main): Update _dl_show_scope call.
24576 * sysdeps/generic/ldsodefs.h: Update declaration.
24578 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
24579 string for the scope number.
24581 2011-08-14 Ulrich Drepper <drepper@gmail.com>
24583 * nscd/servicescache.c (cache_addserv): Make sure written is always
24586 2011-08-14 Roland McGrath <roland@hack.frob.com>
24588 * sysdeps/i386/i486/bits/atomic.h
24589 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
24590 statement expression, so as to suppress "set but not used" warning.
24591 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
24593 * string/strncat.c (STRNCAT): Use prototype definition.
24595 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
24596 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
24598 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
24599 (localedef-modules): Add localedef.
24600 (locale-modules): Add locale.
24602 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
24603 * elf/rtld.c (dl_main): Invert order of assignment in last change,
24604 to avoid a warning.
24606 2011-08-14 David S. Miller <davem@davemloft.net>
24608 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
24609 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
24611 2011-08-13 Ulrich Drepper <drepper@gmail.com>
24613 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
24614 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
24615 * elf/rtld.c (dl_main): Set l_name of vDSO.
24616 Call _dl_show_scope when DL_DEBUG_SCOPES.
24617 (process_dl_debug): Recognize scopes flag and also set it for all.
24618 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
24619 Declare _dl_show_scope.
24621 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
24622 (do_dlopen): Pass caller_dlopen to dl_open.
24623 (__libc_dlopen_mode): Initialize caller_dlopen.
24625 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
24626 of libc. Make tolower call locale-independent. Optimize a bit by
24627 using isdigit instead of isalnum.
24628 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
24630 2011-08-12 Ulrich Drepper <drepper@gmail.com>
24632 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
24633 was a dependency or dynamically loaded.
24635 2011-08-11 Ulrich Drepper <drepper@gmail.com>
24637 * intl/l10nflist.c: Allow architecture-specific pop function.
24638 * sysdeps/x86_64/l10nflist.c: New file.
24640 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
24643 2011-08-10 Andreas Schwab <schwab@redhat.com>
24645 * include/dirent.h: Add libc_hidden_proto for scandirat and
24646 scandirat64. Don't declare __scandirat64.
24647 * dirent/scandirat.c: Add libc_hidden_def.
24648 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
24649 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
24651 2011-08-10 David S. Miller <davem@davemloft.net>
24653 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
24655 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
24656 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
24657 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
24659 2011-08-09 Ulrich Drepper <drepper@gmail.com>
24661 * Versions.def [libc]: Add GLIBC_2.15.
24662 * dirent/Makefile (routines): Add scandirat and scandirat64.
24663 * dirent/Versions [libc]: Export scandirat and scandirat64 for
24665 * dirent/dirent.h: Declare scandirat and scandirat64.
24666 * dirent/scandirat.c: New file.
24667 * dirent/scandirat64.c: New file.
24668 * sysdeps/wordsize-64/scandirat.c: New file.
24669 * sysdeps/wordsize-64/scandirat64.c: New file.
24670 * dirent/opendir.c: Define opendirat.
24671 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
24673 * dirent/scandir64.c: Adjust for scandir.c change.
24674 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
24675 __scandirat64, and __scandir_cancel_handler.
24676 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
24677 additional parameter and use openat instead of open (outside of ld.so).
24678 Add new __opendir as wrapper around __opendirat.
24679 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
24680 here without requiring old scandirat implementation.
24682 2011-08-08 Ulrich Drepper <drepper@gmail.com>
24684 * dirent/scandir.c (cancel_handler): Renamed to
24685 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
24686 defined. Adjust users.
24687 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
24688 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
24690 2011-08-04 Ulrich Drepper <drepper@gmail.com>
24692 * string/test-string.h (IMPL): Use __STRING to expand name and then
24695 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
24698 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24700 * string/Makefile: Update.
24701 (strop-tests): Append strncat.
24702 * string/test-wcscmp.c: New file.
24703 New comprehensive test for wcscmp.
24704 * string/test-strcmp.c: Update.
24705 (WIDE): New define.
24707 2011-07-22 Andreas Schwab <schwab@redhat.com>
24709 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
24712 2011-07-26 Andreas Schwab <schwab@redhat.com>
24714 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
24715 encoding to ACE if AI_IDN.
24717 2011-08-01 Jakub Jelinek <jakub@redhat.com>
24719 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
24720 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
24722 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24724 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
24725 Fix overflow bug in strncat.
24726 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
24728 * string/test-strncat.c: Update.
24729 Add new tests for checking overflow bugs.
24731 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24733 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24734 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
24735 * sysdeps/i386/i686/multiarch/strcat.S: New file.
24736 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
24737 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
24738 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
24739 * sysdeps/i386/i686/multiarch/strncat.S: New file.
24740 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
24741 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
24743 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
24744 (USE_AS_STRCAT): Define.
24745 Add strcat and strncat support.
24746 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
24748 2011-07-25 Andreas Schwab <schwab@redhat.com>
24750 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
24751 __n bigger than INT_MAX+1.
24752 (__strncmp_g): Likewise.
24754 2011-07-23 Ulrich Drepper <drepper@gmail.com>
24756 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
24757 * libio/stido.h: Likewise.
24759 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
24761 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
24764 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
24765 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
24766 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
24767 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
24768 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
24771 * scripts/test-installation.pl: Don't expect libnss_test1 to be
24774 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
24776 (_dl_x86_64_save_sse): Likewise.
24778 2011-07-22 Ulrich Drepper <drepper@gmail.com>
24780 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
24782 (_dl_x86_64_save_sse): Likewise.
24784 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
24786 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
24788 2011-07-21 Andreas Schwab <schwab@redhat.com>
24790 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
24792 (_dl_x86_64_save_sse): Use correct AVX check.
24794 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24796 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
24797 bug in strncpy/strncat.
24798 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
24800 2011-07-21 Ulrich Drepper <drepper@gmail.com>
24802 * string/tester.c (test_strcat): Add tests for different alignments
24803 of source and destination.
24804 (test_strncat): Likewise.
24806 2011-07-20 Ulrich Drepper <drepper@gmail.com>
24809 * posix/glob.c (glob): Check passed in values before using them in
24810 expressions to avoid some overflows.
24811 (glob_in_dir): Likewise.
24814 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
24815 check for AVX enablement so that we don't crash with old kernels and
24817 * elf/tst-audit4.c: Add same checks here.
24818 * elf/tst-audit6.c: Likewise.
24820 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
24822 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
24824 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
24826 2011-07-20 Ulrich Drepper <drepper@gmail.com>
24828 * po/cs.po: Update from translation team.
24829 * po/bg.po: Likewise.
24831 2011-07-12 Marek Polacek <mpolacek@redhat.com>
24833 * misc/sys/cdefs.h: Add support for const attribute.
24834 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
24835 to gnu_dev_{major,minor,makedev} functions.
24837 2011-07-20 Marek Polacek <mpolacek@redhat.com>
24839 * intl/dcigettext.c (get_output_charset): Add missing bracket.
24841 2011-07-20 Andreas Schwab <schwab@redhat.com>
24843 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
24846 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24848 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
24849 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
24850 register in order to avoid conflicts with the soft frame pointer
24851 being held in r11 when necessary.
24852 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
24853 (INTERNAL_VSYSCALL_NCS): Likewise.
24855 2011-07-14 Marek Polacek <mpolacek@redhat.com>
24857 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
24858 * elf/dl-fini.c (_dl_fini): Adjust caller.
24859 * elf/dl-close.c (_dl_close_worker): Likewise.
24860 * sysdeps/generic/ldsodefs.h: Adjust declaration.
24862 2011-07-15 Marek Polacek <mpolacek@redhat.com>
24864 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
24865 "aux_cache->nlibs < 0".
24867 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
24868 in the reload-count case.
24870 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24872 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24873 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
24874 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
24875 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
24876 * sysdeps/x86_64/multiarch/strcat.S: New file.
24877 * sysdeps/x86_64/multiarch/strncat.S: New file.
24878 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
24879 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
24880 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
24881 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
24882 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
24883 (USE_AS_STRCAT): Define.
24884 Add strcat and strncat support.
24885 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
24886 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
24887 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
24888 * string/strncat.c: Update.
24889 (USE_AS_STRNCAT): Define.
24890 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24891 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
24893 * sysdeps/x86_64/multiarch/init-arch.h
24894 (bit_Prefer_PMINUB_for_stringop): New.
24895 (index_Prefer_PMINUB_for_stringop): Likewise.
24896 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
24897 bit_Prefer_PMINUB_for_stringop.
24899 2011-07-19 Ulrich Drepper <drepper@gmail.com>
24901 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
24903 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
24904 of casting of buffer.
24905 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
24906 buffer32 and buffer64.
24907 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
24908 writes instead of casting of buffer.
24909 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
24911 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
24914 2011-07-19 Andreas Schwab <schwab@redhat.com>
24916 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
24918 2011-07-19 Ulrich Drepper <drepper@gmail.com>
24920 * nscd/nscd.c (termination_handler): Don't do anything for a database
24921 if it has not yet been initialized.
24923 2011-07-18 Ulrich Drepper <drepper@gmail.com>
24925 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
24927 2011-07-15 Marek Polacek <mpolacek@redhat.com>
24929 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
24931 2011-07-18 Ulrich Drepper <drepper@gmail.com>
24933 * po/nl.po: Update from translation team.
24934 * po/sv.po: Likewise.
24936 2011-07-16 Roland McGrath <roland@hack.frob.com>
24938 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
24939 now disallowed by GCC.
24941 * configure.in (use-default-link): Default to yes if a test -shared
24942 link meets our qualifications.
24943 * configure: Regenerated.
24945 * config.make.in (output-format): New variable.
24946 * configure.in: Check for ld --print-output-format support.
24947 * configure: Regenerated.
24948 * Makerules ($(common-objpfx)format.lds)
24949 [$(output-format) != unknown]: Just use $(output-format),
24950 instead of the linker-script munging.
24952 2011-07-14 Roland McGrath <roland@hack.frob.com>
24954 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
24955 of $(common-objpfx)shlib.lds.
24956 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
24958 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
24959 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
24961 * configure.in (-z relro check): Adjust test code to add a large
24962 writable data section after it.
24963 * configure: Regenerated.
24965 2011-07-11 Roland McGrath <roland@hack.frob.com>
24967 * configure.in (-z relro check): Fix test code to make the variable
24969 * configure: Regenerated.
24971 2011-07-11 Ulrich Drepper <drepper@gmail.com>
24973 * nscd/nscd.h (struct traced_file): Define.
24974 (struct database_dyn): Remove inotify_descr, reset_res, and filename
24975 elements. Add traced_files.
24976 (inotify_fd): Declare.
24977 (register_traced_file): Declare.
24978 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
24979 (inotify_fd): Export.
24980 (resolv_conf_descr): Remove.
24981 (nscd_init): Move inotify descriptor creation to main.
24982 Don't register files for notification here.
24983 (register_traced_file): New function.
24984 (invalidate_cache): Don't use reset_res to determine whether to call
24985 res_init, go through the list of registered files.
24986 (main_loop_poll): The inotify descriptors are now stored in the
24987 structures for the traced files.
24988 (main_loop_epoll): Likewise
24989 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
24990 to __nss_disable_nscd.
24991 * nscd/cache.c (prune_cache): There is no single inotify descriptor
24992 for a database anymore. Check the records for all the registered
24994 * nss/Makefile (libnss_files-routines): Add files-init.
24995 (libnss_db-routines): Add db-init.
24996 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
24997 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
24998 * nss/nss_db/db-init.c: New file.
24999 * nss/nss_files/files-init.c: New file.
25000 * nss/nsswitch.c (nss_load_library): New function. Broken out of
25001 __nss_lookup_function.
25002 (__nss_lookup_function): Call nss_load_library.
25003 (nss_load_all_libraries): New function.
25004 (__nss_disable_nscd): Take parameter with callback function for files
25005 to register. Set is_nscd. Load all the DSOs for the NSS modules
25006 used for the cached services.
25007 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
25008 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
25009 options for features to all the files in nscd.
25011 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
25013 2011-07-10 Roland McGrath <roland@hack.frob.com>
25015 * csu/elf-init.c (__libc_csu_init): Comment typo.
25017 2011-07-09 Ulrich Drepper <drepper@gmail.com>
25019 * po/pl.po: Update from translation team.
25020 * po/ja.po: Likewise.
25021 * po/ru.po: Likewise.
25022 * po/ko.po: Likewise.
25023 * po/fr.po: Likewise.
25025 2011-07-09 Roland McGrath <roland@hack.frob.com>
25027 * configure.in (.ctors/.dtors header and trailer check):
25028 Use an empirical test on a built program.
25029 * configure: Regenerated.
25031 * configure.in (-z relro check): Use an empirical test on a built DSO.
25032 Detect, but do not require, on ia64.
25033 * configure: Regenerated.
25035 * configure.in (READELF): Find it with AC_CHECK_TOOL.
25036 Update tests that use readelf to use $READELF instead.
25037 * configure: Regenerated.
25039 2011-07-08 Ulrich Drepper <drepper@gmail.com>
25041 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
25042 if the result is not used.
25044 2011-07-05 Andreas Jaeger <aj@suse.de>
25047 * stdlib/tst-strtod.c: Add testcase.
25049 2011-07-07 Ulrich Drepper <drepper@gmail.com>
25051 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
25052 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
25053 The latter has a higher limit. Take additional parameter to pass to
25055 (__pathconf): Pass file to __statfs_link_max.
25056 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
25058 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
25062 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
25063 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
25065 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
25066 (__statfs_filesize_max): Likewise.
25067 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
25069 2011-07-05 Andreas Jaeger <aj@suse.de>
25071 * resolv/res_comp.c (dn_skipname): Remove unused variable.
25073 2011-07-06 Marek Polacek <mpolacek@redhat.com>
25075 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
25077 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
25080 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
25082 * Makefile (strop-tests): Add strncat.
25083 * string/test-strncat.c: New file.
25085 2011-06-30 Marek Polacek <mpolacek@redhat.com>
25087 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
25089 2011-06-21 Andreas Jaeger <aj@suse.de>
25091 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
25092 Copy rule from iconvdata/Makefile.
25094 2011-07-06 Ulrich Drepper <drepper@gmail.com>
25097 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
25098 but no long options are defined, just return 'W'.
25100 2011-06-22 Marek Polacek <mpolacek@redhat.com>
25103 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
25105 2011-07-06 Ulrich Drepper <drepper@gmail.com>
25107 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
25109 (innetgr): Likewise.
25111 2011-07-05 Roland McGrath <roland@hack.frob.com>
25113 * config.make.in (install_root): Default to $(DESTDIR).
25115 2011-07-05 Ulrich Drepper <drepper@gmail.com>
25117 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
25119 2011-07-02 Roland McGrath <roland@hack.frob.com>
25121 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
25123 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
25124 containing directory rather than embedding absolute directory names.
25126 * scripts/check-local-headers.sh: Rewritten using awk.
25127 Match by word, not by line. Print error messages for matches.
25128 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
25130 * Makerules [shlib-lds-flags empty]:
25131 ($(common-objpfx)libc_pic.opts): New target.
25132 ($(common-objpfx)libc_pic.os.clean): New target.
25133 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
25135 * config.make.in (OBJCOPY): New variable.
25136 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
25137 * configure: Regenerated.
25139 * config.make.in (use-default-link): New variable.
25140 * configure.in (use_default_link): Grok --with-default-link to set it.
25141 * configure: Regenerated.
25142 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
25143 (shlib-lds, shlib-lds-flags): Define to empty.
25145 * Makerules (shlib-lds): New variable.
25146 (shlib-lds-flags): New variable.
25147 (build-shlib, build-moduile, build-module-asneeded): Use it.
25148 ($(common-objpfx)libc.so): Use $(shlib-lds).
25149 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
25150 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
25152 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
25153 DT_FLAGS/DT_FLAGS_1 with zero flags.
25155 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
25156 linker script munging.
25158 2011-07-02 Ulrich Drepper <drepper@gmail.com>
25160 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
25162 * crypt/sha512.c (sha512_process_block): Perform total addition using
25163 128-bit if possible.
25164 (__sha512_finish_ctx): Likewise.
25165 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
25167 * crypt/sha256.c (SWAP64): Define.
25168 (sha256_process_block): Perform total addition using 64-bit if
25170 (__sha256_finish_ctx): Likewise.
25172 2011-07-01 Ulrich Drepper <drepper@gmail.com>
25174 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
25175 * nscd/initgrcache.c (addinitgroupsX): Likewise.
25176 * nscd/hstcache.c (cache_addhst): Likewise.
25177 * nscd/grpcache.c (cache_addgr): Likewise.
25178 * nscd/aicache.c (addhstaiX): Likewise
25179 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
25181 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
25183 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
25184 * nscd/initgrcache.c (addinitgroupsX): Likewise.
25185 * nscd/hstcache.c (cache_addhst): Likewise.
25186 * nscd/grpcache.c (cache_addgr): Likewise.
25187 * nscd/aicache.c (addhstaiX): Likewise
25189 2011-07-01 Andreas Schwab <schwab@redhat.com>
25191 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
25192 domain only when needed.
25194 2011-06-30 Andreas Schwab <schwab@redhat.com>
25196 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
25197 is always restored.
25199 2011-06-29 Ulrich Drepper <drepper@gmail.com>
25201 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
25202 are re-adding the entry.
25203 * nscd/servicescache.c (cache_addserv): Likewise.
25205 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
25207 * sysdeps/generic/dl-irel.h: fix protection against multiple
25209 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
25211 2011-06-28 Ulrich Drepper <drepper@gmail.com>
25214 * malloc/memusage.sh: Fix quoting in message.
25215 * debug/xtrace.sh: Likewise.
25217 * configure.in: Remove support for --experimental-malloc option, make
25219 * config.make.in: Likewise.
25220 * malloc/Makefile: Likewise.
25222 2011-06-27 Andreas Schwab <schwab@redhat.com>
25224 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
25225 two-byte characters.
25227 2011-06-27 Roland McGrath <roland@hack.frob.com>
25229 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
25230 AC_CACHE_CHECK invocation.
25231 * configure: Regenerated.
25233 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
25235 2011-06-27 Ulrich Drepper <drepper@gmail.com>
25238 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
25239 bit from old_res_options.
25241 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
25243 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
25244 value type for setfct.
25246 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
25248 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
25249 __gettimeofday instead of gettimeofday.
25251 2011-06-26 Ulrich Drepper <drepper@gmail.com>
25253 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
25255 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
25257 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
25259 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
25262 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
25264 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25265 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
25266 strcpy-sse2-unaligned strncpy-sse2-unaligned
25267 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
25268 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
25269 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
25270 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
25271 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
25272 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
25273 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
25274 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
25275 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
25276 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
25277 (STRCPY): Support SSE2 and SSSE3 versions.
25279 2011-06-24 Ulrich Drepper <drepper@gmail.com>
25282 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
25283 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
25284 kernels which artificially limit size of requests.
25286 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
25288 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25289 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
25290 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
25291 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
25292 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
25293 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
25294 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
25295 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
25296 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
25297 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
25298 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
25299 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
25300 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
25301 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
25302 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
25303 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25304 Enable unaligned load optimization for Intel Core i3, i5 and i7
25306 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
25308 (index_Fast_Unaligned_Load): Define.
25309 (HAS_FAST_UNALIGNED_LOAD): Define.
25311 2011-06-23 Marek Polacek <mpolacek@redhat.com>
25313 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
25315 2011-06-22 Ulrich Drepper <drepper@gmail.com>
25318 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
25319 until it is clear that the information is realy needed.
25320 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
25322 2011-06-22 Andreas Schwab <schwab@redhat.com>
25324 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
25326 2011-06-22 Ulrich Drepper <drepper@gmail.com>
25328 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
25329 /sys/devices/system/cpu/online if it is usable.
25331 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
25332 reading the information from the /proc filesystem to once a second.
25334 2011-06-21 Andreas Jaeger <aj@suse.de>
25336 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
25337 NULL after inclusion of kernel headers.
25339 2011-06-21 Ulrich Drepper <drepper@gmail.com>
25341 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
25342 calls to internal_setent.
25345 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
25346 addresses using gethostbyname4_r ignore IPv4 addresses.
25348 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
25349 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
25351 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
25353 2011-06-20 David S. Miller <davem@davemloft.net>
25355 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
25357 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
25359 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
25360 (elf_irel): Use it.
25361 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
25362 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
25363 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
25364 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
25365 * sysdeps/x86_64/dl-irel.h: Likewise.
25367 * elf/dl-runtime.c: Use elf_ifunc_invoke.
25368 * elf/dl-sym.c: Likewise.
25370 2011-06-15 Ulrich Drepper <drepper@gmail.com>
25372 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
25373 need to dereference resplen2.
25375 2011-06-14 Andreas Schwab <schwab@redhat.com>
25377 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
25379 2011-06-15 Ulrich Drepper <drepper@gmail.com>
25381 * Makeconfig: Define vardbdir and inst_vardbdir.
25382 * nss/Makefile: Add rules to install db-Makefile.
25384 * nss/nss_db/db-XXX.c: Cleanup.
25386 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
25387 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
25389 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
25390 * nss/makedb.c: Implement -g option to specify that value strings
25391 are generated and should not be added to table iterated over for
25393 * nss/nss_db/db-initgroups.c: New file.
25395 * nss/getent.c: Add support for initgroups lookups through getgrouplist
25398 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
25399 (internal_getgrouplist): Adjust to name change.
25400 Update use_initgroups_entry if this is not the first call.
25401 * nss/databases.def: Add initgroups entry.
25403 * nss/makedb.c (compute_tables): Check result of multiple hash table
25404 sizes to minimize maximum chain length.
25406 2011-06-14 Ulrich Drepper <drepper@gmail.com>
25408 * Versions.def: Add entry for libnss_db.
25409 * shlib-versions: Likewise.
25410 * nss/Makefile: Add rules to build libnss_db.
25411 * nss/Versions: Add libnss_db information. Organize libnss_files
25413 * nss/db-Makefile: Add gshadow support. Change rules for the new
25414 makedb progra. Some minor improvements to generate smaller files.
25415 * nss/nss_db/nss_db.h: Move NSS database header data structures to
25417 * nss/makedb.c: ...here.
25418 Improve database format to be smaller and require less memory at
25420 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
25422 * nss/nss_db/db-netgrp.c: Likewise.
25423 * nss/nss_db/db-open.c: Likewise.
25424 * nss/nss_files/flies-XXX.x: Adjust comments.
25425 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
25426 * nss/nss_files/files-grp.c: Likewise.
25427 * nss/nss_files/files-hosts.c: Likewise.
25428 * nss/nss_files/files-network.c: Likewise.
25429 * nss/nss_files/files-proto.c: Likewise.
25430 * nss/nss_files/files-pwd.c: Likewise.
25431 * nss/nss_files/files-rpc.c: Likewise.
25432 * nss/nss_files/files-service.c: Likewise.
25433 * nss/nss_files/files-sgrp.c: Likewise.
25434 * nss/nss_files/files-spwd.c: Likewise.
25435 * nss/nss_db/db-alias.c: Removed.
25436 * nss/nss_db/dummy-db.h: Removed.
25438 2011-06-02 Ulrich Drepper <drepper@gmail.com>
25440 * nss/makedb.c: Rewritten to not use database library.
25441 * nss/Makefile: Update to build new makedb program.
25443 2011-06-14 Andreas Jaeger <aj@suse.de>
25445 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
25446 memset declaration.
25448 2011-06-10 Andreas Schwab <schwab@redhat.com>
25450 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
25453 2011-06-10 Roland McGrath <roland@hack.frob.com>
25455 * Makerules (shlib.lds): Fail if the linker script comes out empty.
25456 * elf/Makefile ($(objpfx)ld.so): Likewise.
25458 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
25459 Don't list ld.so twice in dependencies.
25461 * posix/bug-regex31.c: Include <stdlib.h>.
25463 * nscd/hstcache.c (cache_addhst): Remove unused variable.
25465 * nis/nss_compat/compat-spwd.c
25466 (getspent_next_nss_netgr): Remove unused variable.
25467 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
25469 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
25470 nonmembers" output to use the right array.
25472 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
25474 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
25476 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
25477 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
25478 * catgets/gencat.c (read_input_file): Likewise.
25479 * locale/programs/locarchive.c (enlarge_archive): Likewise.
25481 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
25482 variable definition inside #if's controlling its use.
25484 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
25486 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
25488 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
25490 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
25493 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
25495 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
25496 * configure: Regenerated.
25498 * Makerules: Revert last change.
25499 * elf/Makefile: Likewise.
25501 2011-06-09 Roland McGrath <roland@hack.frob.com>
25503 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
25504 * elf/Makefile ($(objpfx)librtld.os): Likewise.
25505 (reloc-link): Likewise.
25507 2011-06-09 Ulrich Drepper <drepper@gmail.com>
25509 * elf/Makefile: Add rules to build pldd.
25510 * elf/pldd.c: New file.
25511 * elf/pldd-xx.c: New file.
25513 2011-06-07 Ulrich Drepper <drepper@gmail.com>
25515 * version.h: Update for 2.15 development version.
25517 2011-06-07 David S. Miller <davem@davemloft.net>
25519 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
25521 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
25522 elf_machine_lazy_rel): Likewise.
25523 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
25524 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
25525 elf_machine_lazy_rel): Likewise.
25526 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
25527 dl_hwcap via passed in argument.
25528 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
25531 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25533 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
25535 2011-06-06 Roland McGrath <roland@hack.frob.com>
25538 * manual/fdl-1.1.texi: New file, verbatim from:
25539 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
25540 * manual/lgpl-2.1.texi: New file, verbatim from:
25541 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
25542 * manual/Makefile (licenses): New variable, list those new file names.
25544 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
25546 * manual/fdl.texi: File removed.
25547 * manual/lesser.texi: File removed.
25548 * manual/libc.texinfo (Copying, Documentation License):
25549 Use new @include file names, put @appendix directive before @include.
25551 2011-06-04 Jakub Jelinek <jakub@redhat.com>
25554 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
25555 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
25556 (mq_open): Add __NTH.
25558 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
25560 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25561 Assume Intel Core i3/i5/i7 processor if AVX is available.
25563 2011-05-31 Ulrich Drepper <drepper@gmail.com>
25565 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
25568 2011-05-31 Andreas Schwab <schwab@redhat.com>
25570 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
25571 memory. Use alloca_account. Fix memory leak when retrying.
25573 2011-05-31 Ulrich Drepper <drepper@gmail.com>
25575 * version.h (RELEASE): Bump for 2.14 release.
25576 * include/features.h (__GLIBC_MINOR__): Bump to 14.
25578 * config.make.in (RANLIB): Remove entry.
25580 2011-05-30 Ulrich Drepper <drepper@gmail.com>
25582 * po/Makefile (po-sed-cmd): Add ksh to extensions.
25583 (libc.pot): Work around missing support for .ksh extension in xgettext.
25586 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
25587 if both request failed.
25588 (send_dg): In case of server errors clear resplen or *resplen2.
25591 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
25592 when there are multiple maps.
25593 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
25594 (_dl_fini): Remove test here.
25596 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
25598 2011-05-29 Ulrich Drepper <drepper@gmail.com>
25601 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
25602 bit from old_res_options.
25603 (gaih_inet): Likewise.
25606 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
25609 * resolv/res_init.c (res_setoptions): Make the code more compact.
25612 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
25616 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
25618 * malloc/malloc.h: Mark malloc hook variables as deprecated.
25621 * malloc/malloc.h: Declare malloc hook variables as volatile.
25623 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
25627 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
25628 raise in the comment.
25629 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
25630 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
25631 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
25633 2011-05-28 Ulrich Drepper <drepper@gmail.com>
25636 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
25637 grow the buffers more if it already has to be sufficient.
25638 (build_wcs_upper_buffer): Likewise.
25639 * posix/regexec.c (check_matching): Likewise.
25640 (clean_state_log_if_needed): Likewise.
25641 (extend_buffers): Don't enlarge buffers beyond size of the input
25643 Patches mostly by Emil Wojak <emil@wojak.eu>.
25644 * posix/bug-regex32.c: New file.
25645 * posix/Makefile (tests): Add bug-regex32.
25647 * locale/findlocale.c (_nl_find_locale): Return right away if
25648 _nl_explode_name failed.
25649 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
25651 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
25653 * debug/xtrace.sh: Unify messages.
25654 * malloc/memusage.sh: Likewise.
25657 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
25658 time symbol from vDSO. Substitute with vsyscall if not available.
25659 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
25662 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
25663 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
25664 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
25665 Add sendmmsg and internal_sendmmsg.
25666 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
25667 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
25668 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
25670 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
25671 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
25672 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
25674 2011-05-27 Ulrich Drepper <drepper@gmail.com>
25677 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
25678 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
25680 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
25684 * iconvdata/Makefile (tests): Add bug-iconv9.
25685 * iconvdata/bug-iconv9.c: New file.
25687 2011-05-27 Andreas Schwab <schwab@redhat.com>
25690 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
25692 2011-05-25 Jakub Jelinek <jakub@redhat.com>
25694 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
25695 (struct user_regs_struct): Change intcs field back to cs.
25697 2011-05-25 Ulrich Drepper <drepper@gmail.com>
25699 * po/ja.po: Update from translation team.
25701 2011-05-23 Ulrich Drepper <drepper@gmail.com>
25704 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
25705 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
25707 2011-05-20 Andreas Schwab <schwab@redhat.com>
25709 * stdlib/longlong.h: Update from GCC.
25711 2011-05-23 Andreas Schwab <schwab@redhat.com>
25713 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
25715 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
25716 Add parameter name.
25717 (__sysconf): Pass it down.
25719 2011-05-22 Ulrich Drepper <drepper@gmail.com>
25722 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
25724 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
25725 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
25726 add in in __libc_use_alloca calls. Adjust callers.
25727 (glob): Use malloc in some situations.
25729 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
25730 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
25733 2011-05-21 Ulrich Drepper <drepper@gmail.com>
25735 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
25736 and CLOCK_BOOTTIME_ALARM.
25739 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
25742 * string/_strerror.c (__strerror_r): Print negative errors as signed
25746 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
25747 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
25748 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
25750 * configure.in: Fix typo in redirection and correct removal of test
25751 files in two cases.
25754 * locale/setlocale.c (new_composite_name): Fix test to check for
25755 identical name of all categories.
25758 * libio/filedoalloc.c (local_isatty): New function.
25759 (_IO_file_doallocate): Use local_isatty.
25760 * stdio-common/perror.c (perror): In case a new stream is used
25761 forward the stream error.
25762 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
25765 2011-05-20 Ulrich Drepper <drepper@gmail.com>
25768 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
25770 * include/alloca.h (extend_alloca_account): Define.
25773 * posix/regex.h: Fix comments with documentation of user-accessible
25774 fields after compilation and describe correct free'ing of pattern
25775 after re_compile_pattern.
25776 Patch by Reuben Thomas <rrt@sc3d.org>.
25778 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
25780 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
25781 and -mno-altivec to prevent the compiler from using Altivec and/or
25782 VSX instructions when the corresponding registers are not available.
25784 2011-05-19 Andreas Schwab <schwab@redhat.com>
25786 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
25788 2011-05-19 Ulrich Drepper <drepper@gmail.com>
25790 * libio/freopen.c (freopen): Use __dup2, not dup2.
25791 * libio/freopen64.c (freopen64): Likewise.
25793 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
25796 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
25797 * math/Makefile (tests): Add test-powl.
25798 (CFLAGS-test-powl.c): Define.
25799 * math/test-powl.c: New file.
25801 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
25803 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
25805 2011-05-17 Ulrich Drepper <drepper@gmail.com>
25808 * iconvdata/gb18030.c: Update to GB18020-2005.
25810 2011-05-16 Ulrich Drepper <drepper@gmail.com>
25812 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
25813 RE_SYNTAX_POSIX_AWK): Update to match recent development.
25814 Patch by Aharon Robbins <arnold@skeeve.com>.
25817 * stdlib/putenv.c (putenv): Don't always create copy of the variable
25821 * misc/pselect.c (__pselect): Handle timeout value errors hidden
25822 through underflows.
25825 * misc/error.c (error_at_line): Ensure file_name and old_file_name
25826 point to strings before performing equality test for error_one_per_line
25830 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
25833 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
25834 (struct user_fpregs_struct): Avoid __uint*_t types.
25837 * malloc/mtrace.c (tr_where): Add additional parameter to point to
25838 symbol info. Use it instead of calling _dl_addr locally.
25839 (lock_and_info): New function.
25840 (tr_freehook): Call lock_and_info and pass symbol info as additional
25841 parameter to tr_where.
25842 (tr_mallochook): Likewise.
25843 (tr_reallochook): Likewise.
25844 (tr_memalignhook): Likewise.
25846 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
25847 used and couldn't be at all thread-safe.
25849 2011-05-15 Ulrich Drepper <drepper@gmail.com>
25851 * libio/freopen.c (freopen): Don't close old file descriptor
25852 before the new one is opened. Instead dup the new file descriptor
25853 to the old one after the new stream is created.
25854 * libio/freopen64.c (freopen64): Likewise.
25855 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
25856 * libio/fileops.c (_IO_new_file_close_it): Handle new
25857 _IO_FLAGS2_NOCLOSE flag.
25858 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
25859 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
25860 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
25861 _IO_FLAGS2_NOCLOSE flag.
25862 * include/unistd.h: Add hidden_proto for dup3.
25863 Define __have_dup3.
25864 * io/dup3.c: Define hidden symbol.
25865 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
25868 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
25869 when an incomplete long option is used.
25870 * posix/tst-getopt_long1.c: New file.
25871 * posix/Makefile (tests): Add tst-getopt_long1.
25874 * scripts/config.guess: Update from autoconf-2.68.
25875 * scripts/config.sub: Likewise.
25878 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
25880 (has_cpuclock): ...this. New function.
25881 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
25882 macro here based on has_cpuclock code.
25885 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25886 First byte (not low byte) is now always NUL.
25887 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
25889 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25890 Use non-cancelable interfaces.
25893 * locale/iso-639.def: Add entry for Sorani.
25896 * include/stdlib.h: Move include protection to the right place.
25897 Define abort_msg_s. Declare __abort_msg with it.
25898 * stdlib/abort.c (__abort_msg): Adjust type.
25899 * assert/assert.c (__assert_fail_base): New function. Majority
25900 of code from __assert_fail. Allocate memory for __abort_msg with
25902 (__assert_fail): Now call __assert_fail_base.
25903 * assert/assert-perr.c: Remove bulk of implementation. Use
25904 __assert_fail_base.
25905 * include/assert.hL Declare __assert_fail_base.
25906 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
25908 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
25910 2011-05-14 Ulrich Drepper <drepper@gmail.com>
25914 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
25915 until all modules are registered in the DTV.
25916 * elf/Makefile: Add rules to build and run tst-tls19.
25917 * elf/tst-tls19.c: New file.
25918 * elf/tst-tls19mod1.c: New file.
25919 * elf/tst-tls19mod2.c: New file.
25920 * elf/tst-tls19mod3.c: New file.
25921 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
25924 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
25928 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
25929 two-byte sequence errors.
25930 * iconvdata/Makefile (tests): Add bug-iconv8.
25931 * iconvdata/bug-iconv8.c: New file.
25934 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
25937 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
25940 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
25941 (dummy_getcfa): New function.
25942 (init): Get _Unwind_GetCFA address, use dummy if not found.
25943 (backtrace_helper): In recursion check, also check whether CFA changes.
25944 (__backtrace): Completely initialize arg.
25946 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
25947 storing incomplete byte sequence in state object. Avoid testing for
25948 guaranteed too small input if we know there is enough data available.
25950 2011-05-11 Andreas Schwab <schwab@redhat.com>
25952 * Makeconfig (+link-pie): Indent.
25953 * Rules (binaries-pie): Define if $(have-fpie) and
25955 (binaries-shared): Also filter out $(binaries-pie).
25956 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
25957 * nscd/Makefile (others-pie): Add nscd.
25958 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
25959 ($(objpfx)nscd): Remove command override.
25960 * login/Makefile (others-pie): Add pt_chown.
25961 ($(objpfx)pt_chown): Remove command override.
25962 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
25963 remove command overrides.
25965 2011-05-13 Ulrich Drepper <drepper@gmail.com>
25967 * libio/tst_putwc.c: Fix error messages.
25970 * libio/fileops.c (_IO_new_file_close_it): Always flush when
25971 currently writing and seek to current position when not.
25972 * libio/Makefile (tests): Add bug-fclose1.
25973 * libio/bug-fclose1.c: New file.
25975 2011-05-12 Ulrich Drepper <drepper@gmail.com>
25978 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
25979 don't set DF_1_NODELETE here.
25980 (do_lookup_x): When entering new entry test for copy relocation
25981 and if necessary set DF_1_NODELETE flag.
25982 * elf/tst-unique4.cc: New file.
25983 * elf/tst-unique4.h: New file.
25984 * elf/tst-unique4lib.cc: New file.
25985 * elf/Makefile: Add rules to build and run tst-unique4.
25986 Patch by Piotr Bury <pbury@goahead.com>.
25988 2011-05-11 Ulrich Drepper <drepper@gmail.com>
25991 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
25994 * misc/mntent_r.c (addmntent): Flush the stream after the output
25997 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
25998 (is_trusted_path_normalize): Skip initial colon. Append slash
25999 to empty buffer. Duplicate is_trusted_path code but allow
26000 constructed patch to be prefix.
26001 (is_dst): Allow $ORIGIN followed by /.
26002 (_dl_dst_substitute): Correct clearing of check_for_trusted.
26003 Correct testing of result of is_trusted_path_normalize
26004 (decompose_rpath): Fix warning.
26006 2011-05-10 Ulrich Drepper <drepper@gmail.com>
26009 * grp/initgroups.c (internal_getgrouplist): When we found the service
26010 list through the initgroups entry in nsswitch.conf do not always
26011 continue on a successful lookup. Don't always use the
26012 __nss_group_database value if it is set.
26013 * nss/nsswitch.conf (initgroups): Change action for successful db
26014 lookup to continue for compatibility.
26016 2011-05-09 Ulrich Drepper <drepper@gmail.com>
26019 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
26021 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
26023 * iconvdata/tst-tables.sh: Likewise.
26024 * iconvdata/cp770.c: New file.
26025 * iconvdata/cp771.c: New file.
26026 * iconvdata/cp772.c: New file.
26027 * iconvdata/cp773.c: New file.
26028 * iconvdata/cp774.c: New file.
26029 * iconvdata/testdata/CP770: New file.
26030 * iconvdata/testdata/CP770..UTF8: New file.
26031 * iconvdata/testdata/CP771: New file.
26032 * iconvdata/testdata/CP771..UTF8: New file.
26033 * iconvdata/testdata/CP772: New file.
26034 * iconvdata/testdata/CP772..UTF8: New file.
26035 * iconvdata/testdata/CP773: New file.
26036 * iconvdata/testdata/CP773..UTF8: New file.
26037 * iconvdata/testdata/CP774: New file.
26038 * iconvdata/testdata/CP774..UTF8: New file.
26040 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
26042 * iconvdata/gen-8bit-gap.sh: Likewise.
26043 * iconvdata/gen-8bit.sh: Likewise.
26045 * locale/iso-639.def: Add ary entry.
26048 * locale/C-translit.h.in: Add U20A1 transliteration.
26051 * locale/iso-639.def: Add wae entry.
26052 Patch by Kevin Bortis <bortis@translate-wae.ch>.
26055 * locale/programs/localedef.c (construct_output_path): Use ssize_t
26059 * locale/C-translit.h.in: Add entry for U20B9.
26060 Patch by pravin.d.s@gmail.com.
26062 2011-05-08 Ulrich Drepper <drepper@gmail.com>
26065 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
26066 ENAMETOOLONG use generic getcwd.
26067 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
26068 in rtld. Use *stat64.
26069 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
26070 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
26071 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
26072 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
26073 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
26074 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
26075 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
26076 __fstatat64 macros.
26077 * include/dirent.h: Add libc_hidden_proto for rewinddir.
26078 * dirent/rewinddir.c: Add libc_hidden_def.
26079 * sysdeps/mach/hurd/rewinddir.c: Likewise.
26080 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
26082 * include/dirent.h (__alloc_dir): Add flags parameter.
26083 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
26084 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
26086 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
26087 from fdopendir if O_CLOEXEC is already set.
26089 2011-03-15 Alan Modra <amodra@gmail.com>
26091 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
26092 l_tls_firstbyte_offset non-zero. Save padding offset in
26093 l_tls_firstbyte_offset for later use.
26094 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
26095 freeing static tls block.
26097 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
26099 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
26100 where #ifdef was intended. The intent is to prevent ARG_MAX from
26101 being defined by the kernel headers.
26103 2011-05-07 Ulrich Drepper <drepper@gmail.com>
26106 * resolv/resolv.h: Define RES_NOTLDQUERY.
26107 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
26108 no-tld-query and set RES_NOTLDQUERY.
26109 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
26110 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
26111 modern BIND to search name as TLD unless forbidden.
26113 2011-05-07 Petr Baudis <pasky@suse.cz>
26114 Ulrich Drepper <drepper@gmail.com>
26117 * elf/dl-load.c (fillin_rpath): Move trusted path check...
26118 (is_trusted_path): ...to here.
26119 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
26120 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
26121 using is_trusted_path_normalize() in setuid scripts.
26123 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
26125 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
26126 __BEGIN/__END_DECLS.
26128 2011-05-06 Ulrich Drepper <drepper@gmail.com>
26130 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
26131 NSS_STATUS_NOTFOUND if no record was found.
26133 2011-05-05 Andreas Schwab <schwab@redhat.com>
26135 * sunrpc/Makefile (headers): Add rpc/netdb.h.
26136 (headers-not-in-tirpc): Remove rpc/netdb.h
26137 * resolv/netdb.h: Revert last change.
26139 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
26141 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
26142 circular dependency between libgcc.a and libc.a.
26144 2011-05-05 Andreas Schwab <schwab@redhat.com>
26146 * resolv/netdb.h: Don't include <rpc/netdb.h>.
26147 * nis/Makefile: Don't install rpcsvc/*.
26148 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
26149 instead of <rpc/types.h>.
26150 (MAXHOSTNAMELEN): Define.
26152 2011-05-03 Andreas Schwab <schwab@redhat.com>
26154 * elf/ldconfig.c (add_dir): Don't crash on empty path.
26156 2011-04-28 Maciej Babinski <mbabinski@google.com>
26159 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
26160 gethostbyname4_r when IPv6 results are possible.
26162 2011-05-02 Ulrich Drepper <drepper@gmail.com>
26165 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
26166 _PC_PIPE_BUF handling.
26168 2011-04-30 Bruno Haible <bruno@clisp.org>
26171 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
26172 * resolv/netdb.h (getnameinfo): Change type of flags parameter
26174 * inet/getnameinfo.c (getnameinfo): Likewise.
26176 2011-04-29 Ulrich Drepper <drepper@gmail.com>
26178 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
26179 to groups setting in database lookup.
26180 * nss/nsswitch.conf: Add initgroups entry.
26182 2011-04-22 Ulrich Drepper <drepper@gmail.com>
26185 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
26187 Patch by Eric Blake <eblake@redhat.com>.
26189 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
26191 * sunrpc/Makefile (need-export-routines): Add svc_run.
26192 (routines): Remove svc_run.
26193 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
26194 * sunrpc/clnt_perr.c (clnt_perrno): Export.
26195 * sunrpc/svc_run.c (svc_run): Likewise.
26196 * sunrpc/svc_udp.c (svcudp_create): Likewise.
26198 2011-04-21 Ulrich Drepper <drepper@gmail.com>
26200 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
26201 problem in reallocation in last patch.
26203 2011-04-20 Ulrich Drepper <drepper@gmail.com>
26205 * sunrpc/Makefile: Move inclusion of Rules.
26207 2011-04-19 Ulrich Drepper <drepper@gmail.com>
26209 * nss/nss_files/files-initgroups.c: New file.
26210 * nss/Makefile (libnss_files-routines): Add files-initgroups.
26211 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
26212 _nss_files_initgroups_dyn.
26214 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
26216 * elf/elf.h (R_ARM_IRELATIVE): Define.
26218 2011-04-19 Ulrich Drepper <drepper@gmail.com>
26220 * po/ru.po: Update from translation team.
26222 2011-04-17 Ulrich Drepper <drepper@gmail.com>
26224 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
26227 2011-02-06 Mike Frysinger <vapier@gentoo.org>
26230 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
26231 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
26232 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
26233 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
26234 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
26236 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
26238 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
26240 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
26241 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
26242 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
26244 2011-04-17 Ulrich Drepper <drepper@gmail.com>
26247 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
26249 * stdlib/bug-getcontext.c: New file.
26250 * stdlib/Makefile: Add rules to build and run bug-getcontext.
26252 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26254 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
26255 instructions into .machine "z9-109".
26256 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
26257 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
26259 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26261 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
26262 between environment variables and auxiliary vector.
26264 2011-04-16 Ulrich Drepper <drepper@gmail.com>
26266 * Makefile: Add rules to build linkobj/libc.so.
26267 * include/libc-symbols.h: Define libc_hidden_nolink.
26268 * include/rpc/auth.h: Mark functions which are to be hidden.
26269 * include/rpc/auth_des.h: Likewise.
26270 * include/rpc/auth_unix.h: Likewise.
26271 * include/rpc/clnt.h: Likewise.
26272 * include/rpc/des_crypt.h: Likewise.
26273 * include/rpc/key_prot.h: Likewise.
26274 * include/rpc/pmap_clnt.h: Likewise.
26275 * include/rpc/pmap_prot.h: Likewise.
26276 * include/rpc/pmap_rmt.h: Likewise.
26277 * include/rpc/rpc_msg.h: Likewise.
26278 * include/rpc/svc.h: Likewise.
26279 * include/rpc/svc_auth.h: Likewise.
26280 * include/rpc/xdr.h: Likewise.
26281 * nis/Makefile: Link all DSOs against linkobj/libc.so.
26282 * nss/Makefile: Likewise.
26283 * sunrpc/Makefile: Don't install headers. Build library with normal
26284 entry points. Don't build rpcinfo. Link RPC tests appropriately.
26285 * sunrpc/auth_des.c: Hide exported symbols by default, export some
26286 for the compat linking library. Remove use of INTDEF/INTUSE.
26287 * sunrpc/auth_none.c: Likewise.
26288 * sunrpc/auth_unix.c: Likewise.
26289 * sunrpc/authdes_prot.c: Likewise.
26290 * sunrpc/authuxprot.c: Likewise.
26291 * sunrpc/clnt_gen.c: Likewise.
26292 * sunrpc/clnt_perr.c: Likewise.
26293 * sunrpc/clnt_raw.c: Likewise.
26294 * sunrpc/clnt_simp.c: Likewise.
26295 * sunrpc/clnt_tcp.c: Likewise.
26296 * sunrpc/clnt_udp.c: Likewise.
26297 * sunrpc/clnt_unix.c: Likewise.
26298 * sunrpc/des_crypt.c: Likewise.
26299 * sunrpc/des_soft.c: Likewise.
26300 * sunrpc/get_myaddr.c: Likewise.
26301 * sunrpc/key_call.c: Likewise.
26302 * sunrpc/key_prot.c: Likewise.
26303 * sunrpc/netname.c: Likewise.
26304 * sunrpc/pm_getmaps.c: Likewise.
26305 * sunrpc/pm_getport.c: Likewise.
26306 * sunrpc/pmap_clnt.c: Likewise.
26307 * sunrpc/pmap_prot.c: Likewise.
26308 * sunrpc/pmap_prot2.c: Likewise.
26309 * sunrpc/pmap_rmt.c: Likewise.
26310 * sunrpc/publickey.c: Likewise.
26311 * sunrpc/rpc_cmsg.c: Likewise.
26312 * sunrpc/rpc_common.c: Likewise.
26313 * sunrpc/rpc_dtable.c: Likewise.
26314 * sunrpc/rpc_prot.c: Likewise.
26315 * sunrpc/rpc_thread.c: Likewise.
26316 * sunrpc/rtime.c: Likewise.
26317 * sunrpc/svc.c: Likewise.
26318 * sunrpc/svc_auth.c: Likewise.
26319 * sunrpc/svc_authux.c: Likewise.
26320 * sunrpc/svc_raw.c: Likewise.
26321 * sunrpc/svc_run.c: Likewise.
26322 * sunrpc/svc_simple.c: Likewise.
26323 * sunrpc/svc_tcp.c: Likewise.
26324 * sunrpc/svc_udp.c: Likewise.
26325 * sunrpc/svc_unix.c: Likewise.
26326 * sunrpc/svcauth_des.c: Likewise.
26327 * sunrpc/xcrypt.c: Likewise.
26328 * sunrpc/xdr.c: Likewise.
26329 * sunrpc/xdr_array.c: Likewise.
26330 * sunrpc/xdr_float.c: Likewise.
26331 * sunrpc/xdr_intXX_t.c: Likewise.
26332 * sunrpc/xdr_mem.c: Likewise.
26333 * sunrpc/xdr_rec.c: Likewise.
26334 * sunrpc/xdr_ref.c: Likewise.
26335 * sunrpc/xdr_sizeof.c: Likewise.
26336 * sunrpc/xdr_stdio.c: Likewise.
26338 2011-04-10 Ulrich Drepper <drepper@gmail.com>
26341 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
26342 * sysdeps/ia64/dl-tls.h: Likewise.
26343 * sysdeps/powerpc/dl-tls.h: Likewise.
26344 * sysdeps/s390/dl-tls.h: Likewise.
26345 * sysdeps/sh/dl-tls.h: Likewise.
26346 * sysdeps/sparc/dl-tls.h: Likewise.
26347 * sysdeps/x86_64/dl-tls.h: Likewise.
26348 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
26350 2011-03-14 Andreas Schwab <schwab@redhat.com>
26352 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
26353 rpath element also skip the following colon.
26354 (expand_dynamic_string_token): Add is_path parameter and pass
26355 down to DL_DST_REQUIRED and _dl_dst_substitute.
26356 (decompose_rpath): Call expand_dynamic_string_token with
26357 non-zero is_path. Ignore empty rpaths.
26358 (_dl_map_object_from_fd): Call expand_dynamic_string_token
26361 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
26363 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
26366 2011-04-09 Ulrich Drepper <drepper@gmail.com>
26369 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
26370 Patch by Filipe David Manana <fdmanana@apache.org>.
26372 2011-04-07 Andreas Schwab <schwab@redhat.com>
26374 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
26375 Maintain aligned stack.
26376 (CHECK_RSP): Remove unused macro.
26378 2011-04-03 Ulrich Drepper <drepper@gmail.com>
26380 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
26381 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
26383 2011-04-02 Ulrich Drepper <drepper@gmail.com>
26385 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
26387 * include/features.h: Mention __USE_XOPEN2K8 in comment.
26389 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
26392 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
26393 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
26394 * sysdeps/x86_64/memmove.c: New file.
26395 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
26396 (memcpy): Renamed to ...
26397 (__new_memcpy): This.
26398 (memcpy): Provide GLIBC_2_14 memcpy.
26399 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
26400 (memcpy): Provide GLIBC_2_2_5 memcpy.
26402 2011-04-01 Ulrich Drepper <drepper@gmail.com>
26405 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
26407 2011-03-30 Andreas Schwab <schwab@redhat.com>
26409 * misc/syncfs.c: New file.
26410 * misc/Makefile (routines): Add syncfs.
26411 * posix/unistd.h: Declare syncfs.
26412 * sysdeps/unix/syscalls.list: Add syncfs.
26414 2011-04-01 Andreas Schwab <schwab@redhat.com>
26416 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
26418 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
26419 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
26420 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
26421 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
26422 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26423 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
26424 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
26426 2011-04-01 Ulrich Drepper <drepper@gmail.com>
26428 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
26429 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
26430 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
26431 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
26432 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
26433 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26434 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
26436 * io/Makefile: Compile fallocate.c, fallocate64.c, and
26437 sync_file_range.c with -fexceptions.
26438 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
26439 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
26440 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
26441 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
26442 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
26443 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
26444 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
26445 sync_file_range as cancellation point
26446 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
26447 now a wrapper around __call_sync_file_range with cancellation handling.
26448 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
26449 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
26450 function name to __call_sync_file_range.
26451 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
26452 Add call_sync_file_range.
26454 2011-04-01 Andreas Schwab <schwab@redhat.com>
26456 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26459 2011-04-01 Ulrich Drepper <drepper@gmail.com>
26461 * iconv/iconv.h: Fix typo in comment.
26462 * io/fcntl.h: Likewise.
26463 * libio/stdio.h: Likewise.
26464 * posix/spawn.h: Likewise.
26465 * posix/unistd.h: Likewise.
26466 * stdlib/stdlib.h: Likewise.
26467 * time/time.h: Likewise.
26468 * wcsmbs/wchar.h: Likewise.
26470 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
26471 open_by_handle): Add.
26472 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
26473 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
26474 Augment a few comments.
26475 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
26476 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
26477 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
26478 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26479 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
26480 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
26483 * io/fcntl.h (AT_EMPTY_PATH): Define.
26485 2011-03-30 Ulrich Drepper <drepper@gmail.com>
26487 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
26488 * sysdeps/unix/sysv/linux/bits/time.h: New file.
26489 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
26491 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
26492 * Versions.def: Add GLIBC_2.14.
26493 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
26496 2011-03-22 Ulrich Drepper <drepper@gmail.com>
26498 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
26500 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
26502 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
26505 * string/test-strncmp.c (do_page_test): New function.
26506 (check2): Likewise.
26507 (test_main): Call check2.
26508 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
26510 2011-03-20 Ulrich Drepper <drepper@gmail.com>
26513 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
26514 Handle cache information in CPU leaf 4.
26515 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
26517 2011-03-18 Ulrich Drepper <drepper@gmail.com>
26520 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
26521 character representation.
26522 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
26524 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
26526 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
26527 END(__isnan) to END(__isnanf) to match function entry point/label
26528 EALIGN(__isnanf,...).
26530 2011-03-10 Jakub Jelinek <jakub@redhat.com>
26532 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
26534 2011-03-10 Ulrich Drepper <drepper@gmail.com>
26537 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
26538 copy from the symbol referenced in the relocation to initialize the
26540 Patch by Piotr Bury <pbury@goahead.com>.
26541 * elf/Makefile: Add rules to build and tst-unique3.
26542 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
26543 * elf/tst-unique3.cc: New file.
26544 * elf/tst-unique3.h: New file.
26545 * elf/tst-unique3lib.cc: New file.
26546 * elf/tst-unique3lib2.cc: New file.
26548 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
26550 2011-03-10 Mike Frysinger <vapier@gentoo.org>
26552 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
26553 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
26556 2011-03-06 Ulrich Drepper <drepper@gmail.com>
26558 * elf/dl-load.c (_dl_map_object): If we are looking for the first
26559 to-be-loaded object along a path to loader is ld.so.
26561 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
26562 Ulrich Drepper <drepper@gmail.com>
26564 * sysdeps/x86_64/memset.S: After aligning destination, code
26565 branches to different locations depending on the value of
26566 misalignment, when multiarch is enabled. Fix this.
26568 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
26570 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
26571 Set _x86_64_preferred_memory_instruction for AMD processsors.
26572 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26573 Set bit_Prefer_SSE_for_memop for AMD processors.
26575 2011-03-04 Ulrich Drepper <drepper@gmail.com>
26577 * libio/fmemopen.c (fmemopen): Optimize a bit.
26579 2011-03-03 Andreas Schwab <schwab@redhat.com>
26581 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
26583 2011-03-03 Roland McGrath <roland@redhat.com>
26585 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
26587 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
26589 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
26590 __bzero_ultra1 instead of __memset_ultra1.
26592 2011-02-23 Andreas Schwab <schwab@redhat.com>
26593 Ulrich Drepper <drepper@gmail.com>
26596 * include/link.h (struct link_map): Add l_orig_initfini.
26597 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
26598 returning unsuccessfully.
26599 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
26600 close of a file loaded at startup, restore the original l_initfini
26602 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
26603 list, store the pointer.
26604 * elf/Makefile ($(objpfx)noload-mem): New rule.
26605 (noload-ENV): Define.
26606 (tests): Add $(objpfx)noload-mem.
26607 * elf/noload.c: Include <memcheck.h>.
26608 (main): Call mtrace. Close all opened handles.
26610 2011-02-17 Andreas Schwab <schwab@redhat.com>
26613 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
26614 dependencies are missing.
26616 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
26618 Fix __if_freereq crash: Unlike the generic version which uses free,
26620 * sysdeps/mach/hurd/ifreq.h: New file.
26622 2011-01-27 Petr Baudis <pasky@suse.cz>
26623 Ulrich Drepper <drepper@gmail.com>
26626 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
26627 to extend_alloca().
26628 * stdio-common/bug23.c: New file.
26629 * stdio-common/Makefile (tests): Add bug23.
26631 2010-09-28 Andreas Schwab <schwab@redhat.com>
26632 Ulrich Drepper <drepper@gmail.com>
26635 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
26636 before performing relro protection. At old place add assertion
26637 to make sure nothing changed.
26639 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
26640 Glauber de Oliveira Costa <glommer@gmail.com>
26642 * elf/elf.h: Add new ARM TLS relocs.
26644 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
26646 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
26647 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
26649 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
26651 * sysdeps/wordsize-64/tst-writev.c: New file.
26653 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
26655 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
26656 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
26657 insns in _dl_start to prevent a TOC reference before relocs are
26660 2011-02-15 Ulrich Drepper <drepper@gmail.com>
26663 * Makeconfig: Remove RANLIB definition.
26664 * Makerules: Don't use RANLIB.
26665 * aclocal.m4: Remove ranlib test.
26666 * configure.in: No need to check for ranlib.
26667 * elf/rtld-Rules: Don't use RANLIB.
26669 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
26671 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
26673 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
26674 inclusion protection macro.
26676 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
26677 SIGRTMIN and SIGRTMAX and print information in that case only when
26678 SIGRTMIN is defined.
26680 2011-02-11 Jakub Jelinek <jakub@redhat.com>
26682 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
26683 arginfo fn returning -1.
26685 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
26686 and thousands string is zero terminated.
26688 2011-02-03 Andreas Schwab <schwab@redhat.com>
26690 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
26691 sysdeps/unix/sysv/linux/bits/socket.h.
26693 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
26695 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
26696 (__CPU_COUNT): Remove old macros.
26697 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
26698 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
26699 (__CPU_ALLOC, __CPU_FREE): Add macros.
26700 (__sched_cpualloc, __sched_cpufree): Add declarations.
26702 2011-02-05 Ulrich Drepper <drepper@gmail.com>
26704 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
26705 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
26706 * nscd/aicache.c (addhstaiX): Return timeout of added value.
26707 (readdhstai): Return value of addhstaiX call.
26708 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
26709 (addgrbyX): Return value returned by cache_addgr.
26710 (readdgrbyname): Return value returned by addgrbyX.
26711 (readdgrbygid): Likewise.
26712 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
26713 (addpwbyX): Return value returned by cache_addpw.
26714 (readdpwbyname): Return value returned by addhstbyX.
26715 (readdpwbyuid): Likewise.
26716 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
26717 (addservbyX): Return value returned by cache_addserv.
26718 (readdservbyname): Return value returned by addservbyX:
26719 (readdservbyport): Likewise.
26720 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
26721 (addhstbyX): Return value returned by cache_addhst.
26722 (readdhstbyname): Return value returned by addhstbyX.
26723 (readdhstbyaddr): Likewise.
26724 (readdhstbynamev6): Likewise.
26725 (readdhstbyaddrv6): Likewise.
26726 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
26727 (readdinitgroups): Return value returned by addinitgroupsX.
26728 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
26729 (prune_cache): Keep track of timeout value of re-added entries.
26730 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
26731 * nscd/nscd.h: Adjust prototypes of readd* functions.
26733 2011-02-04 Roland McGrath <roland@redhat.com>
26735 * nis/nis_server.c (nis_servstate): Use the right name for 0.
26736 (nis_stats): Likewise.
26737 * nis/nis_modify.c (nis_modify): Likewise.
26738 * nis/nis_remove.c (nis_remove): Likewise.
26739 * nis/nis_add.c (nis_add): Likewise.
26741 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
26743 * posix/fnmatch_loop.c: Add some consts.
26745 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
26747 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
26750 * config.make.in (config-cflags-novzeroupper): Define.
26751 * configure.in: Substitute libc_cv_cc_novzeroupper.
26752 * elf/Makefile (AVX-CFLAGS): Define.
26753 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
26754 (CFLAGS-tst-auditmod4a.c): Likewise.
26755 (CFLAGS-tst-auditmod4b.c): Likewise.
26756 (CFLAGS-tst-auditmod6b.c): Likewise.
26757 (CFLAGS-tst-auditmod6c.c): Likewise.
26758 (CFLAGS-tst-auditmod7b.c): Likewise.
26759 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
26761 2011-02-02 Ulrich Drepper <drepper@gmail.com>
26763 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
26764 function to the callback.
26765 Patch partly by Jiri Olsa <jolsa@redhat.com>.
26767 2011-02-02 Andreas Schwab <schwab@redhat.com>
26769 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
26772 2011-01-19 Ulrich Drepper <drepper@gmail.com>
26775 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
26777 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
26779 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
26782 * elf/Makefile: Add rules to build and run new test.
26783 * elf/tst-initorder.c: New file.
26784 * elf/tst-initorder.exp: New file.
26785 * elf/tst-initordera1.c: New file.
26786 * elf/tst-initordera2.c: New file.
26787 * elf/tst-initordera3.c: New file.
26788 * elf/tst-initordera4.c: New file.
26789 * elf/tst-initorderb1.c: New file.
26790 * elf/tst-initorderb2.c: New file.
26791 * elf/tst-order-a1.c: New file.
26792 * elf/tst-order-a2.c: New file.
26793 * elf/tst-order-a3.c: New file.
26794 * elf/tst-order-a4.c: New file.
26795 * elf/tst-order-b1.c: New file.
26796 * elf/tst-order-b2.c: New file.
26797 * elf/tst-order-main.c: New file.
26798 New test case by George Gensure <werkt0@gmail.com>.
26800 2010-10-01 Andreas Schwab <schwab@redhat.com>
26802 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
26803 decoding ACE if AI_CANONIDN.
26805 2011-01-18 Ulrich Drepper <drepper@gmail.com>
26807 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
26809 2011-01-17 Ulrich Drepper <drepper@gmail.com>
26811 * version.h (RELEASE): Bump for 2.13 release.
26812 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
26814 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
26816 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
26818 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
26819 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
26820 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
26821 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
26822 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
26823 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
26825 * posix/getconf.c: Update copyright year.
26826 * catgets/gencat.c: Likewise.
26827 * csu/version.c: Likewise.
26828 * debug/catchsegv.sh: Likewise.
26829 * debug/xtrace.sh: Likewise.
26830 * elf/ldconfig.c: Likewise.
26831 * elf/ldd.bash.in: Likewise.
26832 * elf/sprof.c (print_version): Likewise.
26833 * iconv/iconv_prog.c: Likewise.
26834 * iconv/iconvconfig.c: Likewise.
26835 * locale/programs/locale.c: Likewise.
26836 * locale/programs/localedef.c: Likewise.
26837 * malloc/memusage.sh: Likewise.
26838 * malloc/mtrace.pl: Likewise.
26839 * nscd/nscd.c (print_version): Likewise.
26840 * nss/getent.c: Likewise.
26842 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
26843 PF_CAIF, and PF_ALG.
26844 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
26846 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
26848 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
26849 (modules-names): Use them.
26850 (ifunc-test-modules, ifunc-pie-tests): Define.
26851 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
26852 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
26853 (test-extras): Likewise.
26854 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
26855 $(compile-command.c).
26856 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
26857 (all-built-dso): Define.
26858 (check-textrel.out, check-execstack.out): Depend on it.
26860 * configure.in: Don't override --enable-multi-arch.
26862 2011-01-15 Ulrich Drepper <drepper@gmail.com>
26865 * nscd/hstcache.c (tryagain): Define.
26866 (cache_addhst): Return tryagain not notfound for temporary errors.
26867 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
26870 2011-01-14 Ulrich Drepper <drepper@gmail.com>
26873 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
26874 to make the syscall.
26875 * sysdeps/unix/sysv/linux/setgroups.c: New file.
26878 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
26879 and fall back to matching as normal character if the string ends before
26880 the matching ']' is found. This is what POSIX requires.
26881 * posix/testfnm.c: Adjust test result.
26882 * posix/globtest.sh: Adjust test result. Add new test.
26883 * posix/tst-fnmatch.input: Likewise.
26884 * posix/tst-fnmatch2.c: Add new test.
26886 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
26888 * elf/Makefile (check-execstack): Revert last change. Depend on
26890 (check-execstack.h): New target.
26891 (generated): Add check-execstack.h.
26892 * elf/check-execstack.c: Include "check-execstack.h".
26893 (main): Revert last change.
26894 (handle_file): Return zero if GNU_STACK is absent and
26895 DEFAULT_STACK_PERMS doesn't include PF_X.
26897 2011-01-13 Ulrich Drepper <drepper@gmail.com>
26899 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
26900 in child fails because the descriptor is already closed.
26901 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
26902 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
26903 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
26906 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
26910 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
26911 temporary buffer used to handle multi lookups locally.
26912 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
26914 2011-01-12 Ulrich Drepper <drepper@gmail.com>
26916 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
26919 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
26921 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
26922 alignment for SSE2.
26924 2011-01-12 Ulrich Drepper <drepper@gmail.com>
26927 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
26928 characters. When rounding increased number of integer digits recompute
26930 * stdio-common/tst-grouping.c: New file.
26931 * stdio-common/Makefile: Add rules to build and run tst-grouping.
26933 2011-01-09 Ulrich Drepper <drepper@gmail.com>
26935 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
26936 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
26938 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
26940 * bits/select.h: Likewise.
26942 2011-01-08 Ulrich Drepper <drepper@gmail.com>
26944 * po/ja.po: Update from translation team.
26946 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
26949 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
26950 implementation just like for lxstat, fxstatat, et al.
26952 2010-12-27 Jim Meyering <meyering@redhat.com>
26955 * posix/regexec.c (build_trtable): Return failure indication upon
26956 calloc failure. Otherwise, re_search_internal could infloop on OOM.
26958 2010-12-25 Ulrich Drepper <drepper@gmail.com>
26961 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
26962 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
26963 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
26964 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
26967 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
26970 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
26971 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
26973 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
26975 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
26976 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
26977 script has SORT_BY_INIT_PRIORITY.
26978 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
26979 NO_CTORS_DTORS_SECTIONS is defined.
26980 * elf/soinit.c: Likewise.
26981 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
26982 NO_CTORS_DTORS_SECTIONS is defined.
26983 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
26984 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
26985 * sysdeps/sh/init-first.c: Likewise.
26986 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
26988 2010-12-24 Ulrich Drepper <drepper@gmail.com>
26990 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
26991 always use the slow path.
26993 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
26995 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
26996 similar rule which adds the sysdep directories to the header search in
26997 order to pick up the correct platform stackinfo.h.
26998 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
26999 perform test if it is, otherwise return successfully without testing.
27000 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
27001 DEFAULT_STACK_PERMS define in stackinfo.h.
27002 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
27003 defined in stackinfo.h.
27004 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
27005 DEFAULT_STACK_PERMS defined in stackinfo.h.
27006 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
27007 * sysdeps/ia64/stackinfo.h: Likewise.
27008 * sysdeps/s390/stackinfo.h: Likewise.
27009 * sysdeps/sh/stackinfo.h: Likewise.
27010 * sysdeps/sparc/stackinfo.h: Likewise.
27011 * sysdeps/x86_64/stackinfo.h: Likewise.
27012 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
27013 PF_X for powerpc64. Retain PF_X for powerpc32.
27015 2010-12-19 Ulrich Drepper <drepper@gmail.com>
27017 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
27019 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
27020 GETDENTS_64BIT_ALIGNED.
27022 2010-12-14 Ulrich Drepper <dreper@gmail.com>
27024 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
27026 2010-12-10 Andreas Schwab <schwab@redhat.com>
27028 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
27031 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
27032 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
27034 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
27035 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
27037 2010-12-09 Ulrich Drepper <drepper@gmail.com>
27040 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
27043 2010-12-09 Jakub Jelinek <jakub@redhat.com>
27045 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
27047 2010-12-03 Ulrich Drepper <drepper@gmail.com>
27049 * po/it.po: Update from translation team.
27051 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
27053 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
27056 2010-11-30 Ulrich Drepper <drepper@gmail.com>
27058 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
27060 2010-11-24 Andreas Schwab <schwab@redhat.com>
27062 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
27064 (gaih_getanswer_slice): Likewise.
27066 2010-10-20 Jakub Jelinek <jakub@redhat.com>
27068 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
27070 2010-05-31 Petr Baudis <pasky@suse.cz>
27073 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
27074 silently even in the chroot mode.
27076 2010-11-22 Ulrich Drepper <drepper@gmail.com>
27078 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
27079 last patch a bit. Pretty printing
27081 2010-05-31 Petr Baudis <pasky@suse.cz>
27084 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
27085 initialization of skip_initgroups_dyn.
27087 2010-11-19 Ulrich Drepper <drepper@gmail.com>
27089 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
27090 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
27092 2010-11-16 Ulrich Drepper <drepper@gmail.com>
27094 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
27096 2010-11-11 Andreas Schwab <schwab@redhat.com>
27098 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
27099 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
27100 (tst-fnmatch-ENV): Set MALLOC_TRACE.
27101 ($(objpfx)tst-fnmatch-mem): New rule.
27102 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
27103 * posix/tst-fnmatch.c (main): Call mtrace.
27105 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
27107 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27108 Support Intel processor model 6 and model 0x2c.
27110 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
27112 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
27115 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
27118 * string/test-strncasecmp.c (check_result): New function.
27119 (do_one_test): Use it.
27120 (check1): New function.
27121 (test_main): Use it.
27122 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
27123 Support strcasecmp and strncasecmp.
27125 2010-11-08 Ulrich Drepper <drepper@gmail.com>
27128 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
27129 * sysdeps/x86_64/bits/byteswap.h: Likewise.
27131 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
27133 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
27135 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27137 * sysdeps/x86_64/multiarch/bzero.S: New file.
27138 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
27139 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
27140 * sysdeps/x86_64/multiarch/memset.S: New file.
27141 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
27142 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27143 Set bit_Prefer_SSE_for_memop for Intel processors.
27144 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
27146 (index_Prefer_SSE_for_memop): Define.
27147 (HAS_PREFER_SSE_FOR_MEMOP): Define.
27149 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
27151 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
27152 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
27154 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
27157 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
27158 (__x86_64_raw_data_cache_size_half): Likewise.
27159 (__x86_64_raw_shared_cache_size): Likewise.
27160 (__x86_64_raw_shared_cache_size_half): Likewise.
27162 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
27163 (__x86_64_raw_data_cache_size_half): Likewise.
27164 (__x86_64_raw_shared_cache_size): Likewise.
27165 (__x86_64_raw_shared_cache_size_half): Likewise.
27166 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
27167 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
27168 and __x86_64_raw_shared_cache_size_half. Round
27169 __x86_64_data_cache_size_half, __x86_64_data_cache_size
27170 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
27171 to multiple of 256 bytes.
27173 2010-11-03 Ulrich Drepper <drepper@gmail.com>
27176 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
27177 of inacessible symlinks. Verify result of symlink before returning it.
27178 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
27179 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
27181 2010-10-28 Erich Ritz <erichritz@gmail.com>
27183 * math/math.h (isinf): Fix typo in comment.
27185 2010-11-01 Ulrich Drepper <drepper@gmail.com>
27187 * po/da.po: Update from translation team.
27189 2010-10-26 Ulrich Drepper <drepper@gmail.com>
27191 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
27192 is added to the list.
27194 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27195 Ulrich Drepper <drepper@gmail.com>
27197 * elf/dl-object.c (_dl_new_object): Don't append the new object to
27198 the global list here. Move code to...
27199 (_dl_add_to_namespace_list): ...here. New function.
27200 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
27201 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
27202 * elf/dl-load.c (lose): Don't remove the element from the list.
27203 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
27204 (_dl_map_object): Likewise.
27206 2010-10-25 Ulrich Drepper <drepper@gmail.com>
27209 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
27210 into all bytes of SSE register.
27211 Patch by Richard Li <richardpku@gmail.com>.
27213 2010-10-24 Ulrich Drepper <drepper@gmail.com>
27216 * malloc/malloc.c (_int_free): Fill correct number of bytes when
27219 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
27221 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
27222 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
27223 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
27224 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
27225 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
27227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
27229 2010-10-22 Andreas Schwab <schwab@redhat.com>
27231 * include/dlfcn.h (__RTLD_SECURE): Define.
27232 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
27233 mode & __RTLD_SECURE instead.
27234 (open_path): Rename preloaded parameter to secure.
27235 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
27236 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
27237 * elf/dl-deps.c (openaux): Likewise.
27238 * elf/rtld.c (struct map_args): Remove is_preloaded.
27239 (map_doit): Don't use it.
27240 (dl_main): Likewise.
27241 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
27242 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
27244 2010-09-09 Andreas Schwab <schwab@redhat.com>
27246 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
27247 (sysd-rules-targets): Remove duplicates.
27248 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
27249 rtld-%.$o dependency.
27251 2010-10-18 Andreas Schwab <schwab@redhat.com>
27253 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
27254 _dl_map_object do it.
27256 2010-10-19 Ulrich Drepper <drepper@gmail.com>
27258 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
27259 fast fma builtins, define the macros in the C99 standard.
27260 (FP_FAST_FMAF): Likewise.
27261 (FP_FAST_FMAL): Likewise.
27262 * sysdeps/x86_64/bits/mathdef.h: Likewise.
27264 * bits/mathdef.h: Update copyright year.
27265 * sysdeps/powerpc/bits/mathdef.h: Likewise.
27267 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
27269 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
27270 builtins, define the macros in the C99 standard.
27271 (FP_FAST_FMAF): Likewise.
27272 (FP_FAST_FMAL): Likewise.
27273 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
27275 (FP_FAST_FMAF): Likewise.
27277 2010-10-15 Jakub Jelinek <jakub@redhat.com>
27280 * math/libm-test.inc (fma_test): Some new testcases.
27281 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
27282 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
27283 y and infinite z. Do multiplication by C already in long double.
27284 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
27285 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
27286 y and infinite z. Do bitwise or of inexact bit into u.d.
27287 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
27288 * sysdeps/i386/fpu/s_fmaf.S: Removed.
27289 * sysdeps/i386/fpu/s_fma.S: Removed.
27290 * sysdeps/i386/fpu/s_fmal.S: Removed.
27292 2010-10-16 Jakub Jelinek <jakub@redhat.com>
27295 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
27296 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
27297 computation is not scheduled after fetestexcept. Fix value
27298 of minimum denormal long double.
27300 2010-10-14 Jakub Jelinek <jakub@redhat.com>
27303 * math/libm-test.inc (fma_test): Add some more tests.
27304 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
27307 2010-10-15 Andreas Schwab <schwab@redhat.com>
27309 * scripts/data/localplt-s390-linux-gnu.data: New file.
27310 * scripts/data/localplt-s390x-linux-gnu.data: New file.
27312 2010-10-13 Jakub Jelinek <jakub@redhat.com>
27315 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
27316 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
27318 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
27320 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
27321 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
27322 if one of x and y is very large and the other is subnormal.
27323 * sysdeps/s390/fpu/s_fmaf.c: New file.
27324 * sysdeps/s390/fpu/s_fma.c: New file.
27325 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
27326 * sysdeps/powerpc/fpu/s_fma.S: New file.
27327 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
27328 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
27329 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
27331 2010-10-12 Jakub Jelinek <jakub@redhat.com>
27334 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
27336 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
27337 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
27338 * sysdeps/i386/i686/multiarch/s_fma.c: Include
27339 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
27340 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
27341 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
27342 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
27344 2010-10-12 Ulrich Drepper <drepper@redhat.com>
27347 * posix/regcomp.c (parse_branch): One more memory leak plugged.
27348 * posix/bug-regex31.input: Add test case.
27350 2010-10-11 Ulrich Drepper <drepper@gmail.com>
27352 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
27353 * posix/bug-regex31.input: New file.
27356 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
27357 (parse_sub_exp): Fix last change, use postorder.
27359 * posix/bug-regex31.c: New file.
27360 * posix/Makefile: Add rules to build and run bug-regex31.
27362 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
27365 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
27368 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
27369 to have entries in sys_siglist.
27372 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
27375 2010-10-07 Jakub Jelinek <jakub@redhat.com>
27378 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
27379 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
27380 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
27381 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
27382 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
27383 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
27384 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
27385 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
27386 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
27387 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
27388 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
27389 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
27390 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
27391 * math/ftestexcept.c (fetestexcept): Likewise.
27392 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
27393 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
27394 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
27395 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
27396 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
27397 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
27398 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
27400 2010-10-11 Ulrich Drepper <drepper@gmail.com>
27403 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
27406 2010-10-06 Ulrich Drepper <drepper@gmail.com>
27408 * string/bug-strstr1.c: New file.
27409 * string/Makefile: Add rules to build and run bug-strstr1.
27411 2010-10-05 Eric Blake <eblake@redhat.com>
27414 * string/str-two-way.h (two_way_long_needle): Always clear memory
27415 when skipping input due to the shift table.
27417 2010-10-03 Ulrich Drepper <drepper@gmail.com>
27420 * malloc/mcheck.c: Handle large requests.
27423 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
27424 for strncmp and strncasecmp.
27425 * string/stratcliff.c: Add tests for strcmp and strncmp.
27426 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
27428 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
27430 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
27433 2010-09-30 Andreas Jaeger <aj@suse.de>
27435 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
27436 (CGROUP_SUPER_MAGIC): Define.
27437 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
27438 Handle btrfs and cgroup file systems.
27439 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
27442 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
27444 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
27445 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
27447 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27450 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
27451 trying to locate the ELF header.
27453 2010-09-27 Andreas Schwab <schwab@redhat.com>
27456 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
27457 Mask out sign-bit copies when constructing f_fsid.
27459 2010-09-24 Petr Baudis <pasky@suse.cz>
27461 * debug/stack_chk_fail_local.c: Add missing licence exception.
27462 * debug/warning-nop.c: Likewise.
27464 2010-09-15 Joseph Myers <joseph@codesourcery.com>
27466 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
27467 implementing getdents64 using getdents syscall, set d_type if
27468 __ASSUME_GETDENTS32_D_TYPE.
27470 2010-09-16 Andreas Schwab <schwab@redhat.com>
27472 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
27473 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
27475 2010-09-21 Ulrich Drepper <drepper@redhat.com>
27478 * posix/unistd.h: Undo change of feature selection for ftruncate from
27481 2010-09-20 Ulrich Drepper <drepper@redhat.com>
27483 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
27486 2010-09-20 Andreas Schwab <schwab@redhat.com>
27488 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
27490 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
27492 2010-09-14 Andreas Schwab <schwab@redhat.com>
27494 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
27495 variables after CHECK_SP call.
27496 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
27498 2010-09-13 Andreas Schwab <schwab@redhat.com>
27499 Ulrich Drepper <drepper@redhat.com>
27501 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
27502 re-relocationg ld.so.
27503 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
27504 _dl_init_paths call.
27505 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
27508 2010-09-14 Ulrich Drepper <drepper@redhat.com>
27510 * resolv/res_init.c (__res_vinit): Count the default server we added.
27512 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
27513 Ulrich Drepper <drepper@redhat.com>
27516 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
27517 (____longjmp_chk): Use %ebx for saving value across system call.
27520 2010-09-06 Andreas Schwab <schwab@redhat.com>
27522 * manual/Makefile: Don't mix pattern rules with normal rules.
27524 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
27526 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
27528 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
27529 * libio/iofopncook.c (_IO_cookie_init): Likewise.
27530 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
27531 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
27532 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
27535 2010-09-04 Ulrich Drepper <drepper@redhat.com>
27538 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
27539 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
27541 2010-09-02 Ulrich Drepper <drepper@redhat.com>
27543 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
27544 * sysdeps/x86_64/addmul_1.S: Likewise.
27545 * sysdeps/x86_64/lshift.S: Likewise.
27546 * sysdeps/x86_64/mul_1.S: Likewise.
27547 * sysdeps/x86_64/rshift.S: Likewise.
27548 * sysdeps/x86_64/sub_n.S: Likewise.
27549 * sysdeps/x86_64/submul_1.S: Likewise.
27551 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
27553 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
27554 Define __sched_param instead of SCHED_* and sched_param when
27555 <bits/sched.h> is included with __need_schedparam defined.
27556 * bits/sched.h [__need_schedparam]
27557 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
27558 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
27559 (__defined_schedparam): Define to 1.
27560 (__sched_param): New structure, identical to sched_param.
27561 (__need_schedparam): Undefine.
27563 2010-08-31 Mike Frysinger <vapier@gentoo.org>
27565 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
27566 (epoll_create1): Declare.
27568 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
27570 2010-08-31 Andreas Schwab <schwab@redhat.com>
27573 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
27574 shifting retval into place.
27576 2010-09-01 Ulrich Drepper <drepper@redhat.com>
27578 * nis/rpcsvc/nis.h: Update copyright notice.
27579 * nis/rpcsvc/nis.x: Likewise.
27580 * nis/rpcsvc/nis_callback.h: Likewise.
27581 * nis/rpcsvc/nis_callback.x: Likewise.
27582 * nis/rpcsvc/nis_object.x: Likewise.
27583 * nis/rpcsvc/nis_tags.h: Likewise.
27584 * nis/rpcsvc/yp.h: Likewise.
27585 * nis/rpcsvc/yp.x: Likewise.
27586 * nis/rpcsvc/ypupd.h: Likewise.
27587 * nis/yp_xdr.c: Likewise.
27588 * nis/ypupdate_xdr.c: Likewise.
27590 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
27591 mainly the body of pmap_getport. Add parameters to specify timeouts.
27592 (pmap_getport): Use __libc_rpc_getport.
27593 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
27594 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
27595 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
27597 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
27599 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
27602 2010-08-27 Roland McGrath <roland@redhat.com>
27604 * sysdeps/i386/i686/multiarch/Makefile
27605 (CFLAGS-varshift.c): New variable.
27607 2010-08-27 Ulrich Drepper <drepper@redhat.com>
27609 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
27610 * sysdeps/i386/i686/multiarch/varshift.c: New file.
27612 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
27614 * sysdeps/x86_64/strlen.S: Minimal code improvement.
27616 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
27618 * sysdeps/x86_64/strlen.S: Unroll the loop.
27619 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27620 strlen-sse2 strlen-sse2-bsf.
27621 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
27622 __strlen_no_bsf if bit_Slow_BSF is set.
27623 (__strlen_sse42): Removed.
27624 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
27625 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
27627 2010-08-25 Roland McGrath <roland@redhat.com>
27629 * sysdeps/x86_64/multiarch/varshift.S: File removed.
27630 * sysdeps/x86_64/multiarch/varshift.c: New file.
27631 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
27632 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
27633 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
27634 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
27636 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
27638 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27639 strlen-sse2 strlen-sse2-bsf.
27640 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
27641 __strlen_sse2_bsf if bit_Slow_BSF is unset.
27642 (__strlen_sse2): Removed.
27643 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
27644 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
27645 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
27646 bit_Slow_BSF for Atom.
27647 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
27648 (index_Slow_BSF): Define.
27649 (HAS_SLOW_BSF): Define.
27651 2010-08-25 Ulrich Drepper <drepper@redhat.com>
27654 * resolv/res_init.c (__res_vinit): When no server address at all
27655 is given default to loopback.
27657 2010-08-24 Roland McGrath <roland@redhat.com>
27659 * configure.in: Remove config-name.h generation.
27660 * configure: Regenerated.
27661 * config-name.in: File removed.
27662 * scripts/config-uname.sh: New file.
27663 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
27664 ($(objdir)config-name.h): New target.
27666 * sunrpc/rpc_parse.h: Avoid nested comment.
27668 2010-08-24 Richard Henderson <rth@redhat.com>
27669 Ulrich Drepper <drepper@redhat.com>
27670 H.J. Lu <hongjiu.lu@intel.com>
27672 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
27673 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
27674 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
27675 Replace _mm_srli_si128 with __m128i_shift_right. Replace
27676 _mm_alignr_epi8 with _mm_loadu_si128.
27677 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
27678 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
27679 (__m128i_shift_right): Removed.
27680 * sysdeps/i386/i686/multiarch/varshift.h: New file.
27681 * sysdeps/i386/i686/multiarch/varshift.S: New file.
27682 * sysdeps/x86_64/multiarch/varshift.h: New file.
27683 * sysdeps/x86_64/multiarch/varshift.S: New file.
27685 2010-08-21 Mike Frysinger <vapier@gentoo.org>
27687 * configure.in: Move assembler checks to before sysdep dir checking.
27689 2010-08-20 Petr Baudis <pasky@suse.cz>
27691 * LICENSES: Sync the sunrpc license.
27693 2010-08-19 Ulrich Drepper <drepper@redhat.com>
27695 * sunrpc/auth_des.c: Update copyright notice once again.
27696 * sunrpc/auth_none.c: Likewise.
27697 * sunrpc/auth_unix.c: Likewise.
27698 * sunrpc/authdes_prot.c: Likewise.
27699 * sunrpc/authuxprot.c: Likewise.
27700 * sunrpc/bindrsvprt.c: Likewise.
27701 * sunrpc/clnt_gen.c: Likewise.
27702 * sunrpc/clnt_perr.c: Likewise.
27703 * sunrpc/clnt_raw.c: Likewise.
27704 * sunrpc/clnt_simp.c: Likewise.
27705 * sunrpc/clnt_tcp.c: Likewise.
27706 * sunrpc/clnt_udp.c: Likewise.
27707 * sunrpc/clnt_unix.c: Likewise.
27708 * sunrpc/des_crypt.c: Likewise.
27709 * sunrpc/des_soft.c: Likewise.
27710 * sunrpc/get_myaddr.c: Likewise.
27711 * sunrpc/getrpcport.c: Likewise.
27712 * sunrpc/key_call.c: Likewise.
27713 * sunrpc/key_prot.c: Likewise.
27714 * sunrpc/openchild.c: Likewise.
27715 * sunrpc/pm_getmaps.c: Likewise.
27716 * sunrpc/pm_getport.c: Likewise.
27717 * sunrpc/pmap_clnt.c: Likewise.
27718 * sunrpc/pmap_prot.c: Likewise.
27719 * sunrpc/pmap_prot2.c: Likewise.
27720 * sunrpc/pmap_rmt.c: Likewise.
27721 * sunrpc/rpc/auth.h: Likewise.
27722 * sunrpc/rpc/auth_unix.h: Likewise.
27723 * sunrpc/rpc/clnt.h: Likewise.
27724 * sunrpc/rpc/des_crypt.h: Likewise.
27725 * sunrpc/rpc/key_prot.h: Likewise.
27726 * sunrpc/rpc/netdb.h: Likewise.
27727 * sunrpc/rpc/pmap_clnt.h: Likewise.
27728 * sunrpc/rpc/pmap_prot.h: Likewise.
27729 * sunrpc/rpc/pmap_rmt.h: Likewise.
27730 * sunrpc/rpc/rpc.h: Likewise.
27731 * sunrpc/rpc/rpc_des.h: Likewise.
27732 * sunrpc/rpc/rpc_msg.h: Likewise.
27733 * sunrpc/rpc/svc.h: Likewise.
27734 * sunrpc/rpc/svc_auth.h: Likewise.
27735 * sunrpc/rpc/types.h: Likewise.
27736 * sunrpc/rpc/xdr.h: Likewise.
27737 * sunrpc/rpc_clntout.c: Likewise.
27738 * sunrpc/rpc_cmsg.c: Likewise.
27739 * sunrpc/rpc_common.c: Likewise.
27740 * sunrpc/rpc_cout.c: Likewise.
27741 * sunrpc/rpc_dtable.c: Likewise.
27742 * sunrpc/rpc_hout.c: Likewise.
27743 * sunrpc/rpc_main.c: Likewise.
27744 * sunrpc/rpc_parse.c: Likewise.
27745 * sunrpc/rpc_parse.h: Likewise.
27746 * sunrpc/rpc_prot.c: Likewise.
27747 * sunrpc/rpc_sample.c: Likewise.
27748 * sunrpc/rpc_scan.c: Likewise.
27749 * sunrpc/rpc_scan.h: Likewise.
27750 * sunrpc/rpc_svcout.c: Likewise.
27751 * sunrpc/rpc_tblout.c: Likewise.
27752 * sunrpc/rpc_util.c: Likewise.
27753 * sunrpc/rpc_util.h: Likewise.
27754 * sunrpc/rpcinfo.c: Likewise.
27755 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
27756 * sunrpc/rpcsvc/key_prot.x: Likewise.
27757 * sunrpc/rpcsvc/klm_prot.x: Likewise.
27758 * sunrpc/rpcsvc/mount.x: Likewise.
27759 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
27760 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
27761 * sunrpc/rpcsvc/rex.x: Likewise.
27762 * sunrpc/rpcsvc/rstat.x: Likewise.
27763 * sunrpc/rpcsvc/rusers.x: Likewise.
27764 * sunrpc/rpcsvc/sm_inter.x: Likewise.
27765 * sunrpc/rpcsvc/spray.x: Likewise.
27766 * sunrpc/rpcsvc/yppasswd.x: Likewise.
27767 * sunrpc/rtime.c: Likewise.
27768 * sunrpc/svc.c: Likewise.
27769 * sunrpc/svc_auth.c: Likewise.
27770 * sunrpc/svc_authux.c: Likewise.
27771 * sunrpc/svc_raw.c: Likewise.
27772 * sunrpc/svc_run.c: Likewise.
27773 * sunrpc/svc_simple.c: Likewise.
27774 * sunrpc/svc_tcp.c: Likewise.
27775 * sunrpc/svc_udp.c: Likewise.
27776 * sunrpc/svc_unix.c: Likewise.
27777 * sunrpc/svcauth_des.c: Likewise.
27778 * sunrpc/xcrypt.c: Likewise.
27779 * sunrpc/xdr.c: Likewise.
27780 * sunrpc/xdr_array.c: Likewise.
27781 * sunrpc/xdr_float.c: Likewise.
27782 * sunrpc/xdr_mem.c: Likewise.
27783 * sunrpc/xdr_rec.c: Likewise.
27784 * sunrpc/xdr_ref.c: Likewise.
27785 * sunrpc/xdr_sizeof.c: Likewise.
27786 * sunrpc/xdr_stdio.c: Likewise.
27788 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
27791 2010-08-19 Andreas Schwab <schwab@redhat.com>
27793 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
27795 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
27797 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
27798 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
27799 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
27800 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
27801 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
27802 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
27803 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
27804 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
27805 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
27806 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
27807 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
27808 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
27809 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
27810 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
27812 2010-07-26 Anton Blanchard <anton@samba.org>
27814 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
27815 * malloc/arena.c (heap_trim): Likewise.
27817 2010-08-16 Ulrich Drepper <drepper@redhat.com>
27819 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
27821 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
27822 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
27824 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
27826 * sysdeps/i386/elf/Makefile: New file.
27828 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
27830 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
27831 from fanotify_init.
27832 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
27833 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
27835 2010-08-15 Ulrich Drepper <drepper@redhat.com>
27837 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
27839 * sysdeps/multiarch/strcmp.S: Likewise.
27841 2010-08-14 Ulrich Drepper <drepper@redhat.com>
27843 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
27844 strncase_l-nonascii.
27845 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
27846 Add strncase_l-ssse3.
27847 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
27848 * sysdeps/x86_64/strcmp.S: Likewise.
27849 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
27850 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
27851 * sysdeps/x86_64/strncase.S: New file.
27852 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
27853 * sysdeps/x86_64/strncase_l.S: New file.
27854 * string/Makefile (strop-tests): Add strncasecmp.
27855 * string/test-strncasecmp.c: New file.
27857 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
27860 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
27861 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
27863 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
27865 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
27867 2010-08-12 Ulrich Drepper <drepper@redhat.com>
27869 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
27870 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
27871 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
27873 2010-05-01 Alan Modra <amodra@gmail.com>
27875 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
27876 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
27877 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
27878 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
27879 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
27880 tidying. Don't tail-call __sigjmp_save for static lib.
27881 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
27883 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
27884 (CALL_MCOUNT): Add eh info, and nop after bl.
27885 (TAIL_CALL_SYSCALL_ERROR): New macro.
27886 (PSEUDO_RET): Use it.
27887 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
27888 Correct save location of integer regs and cr.
27889 (_dl_profile_resolve): Correct cr save location. Delete nops
27890 after bl when SHARED. Reduce cfi size a little by better
27891 placement of cfi directives.
27892 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
27893 make a stack frame. Instead use parm save area as a temp.
27894 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
27895 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
27896 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
27897 Don't make a stack frame for parent, use parm save area.
27898 Increase child stack frame to 112 bytes. Don't save unused reg,
27899 and adjust reg usage. Set up cfi on error recovery and
27900 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
27901 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
27902 (__makecontext): Add dummy nop after jump to exit.
27903 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
27904 Use correct parm save area and cr save, reduce stack frame.
27905 Correct cfi for possible PSEUDO_RET frame setup.
27906 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
27907 Branch to local label emitted by PSEUDO_RET rather than
27910 2010-08-12 Andreas Schwab <schwab@redhat.com>
27913 * locale/programs/locale.c (print_assignment): New function.
27914 (show_locale_vars): Use it.
27916 2010-08-11 Ulrich Drepper <drepper@redhat.com>
27918 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
27920 (struct statfs64): Likewise.
27921 (_STATFS_F_FLAGS): Define.
27922 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
27923 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
27924 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
27925 (ST_VALID): Define locally.
27926 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
27927 __statvfs_getflags, use the provided value.
27928 * sysdeps/unix/sysv/linux/kernel-features.h: Define
27929 __ASSUME_STATFS_F_FLAGS.
27931 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
27933 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
27934 Add sys/fanotify.h.
27935 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
27936 fanotify_mask for GLIBC_2.13.
27937 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
27938 fanotify_init and fanotify_mark.
27939 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
27940 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
27942 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
27944 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
27945 prlimit64 for GLIBC_2.13.
27946 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
27948 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
27950 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
27951 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
27952 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
27953 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
27954 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
27956 * sysdeps/unix/sysv/linux/prlimit.c: New file.
27959 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
27960 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
27962 * nss/Makefile: Add rules to build and run tst-nss-test1.
27963 * shlib-versions: Add entry for libnss_test1.
27964 * nss/nss_test1.c: New file.
27965 * nss/tst-nss-test1.c: New file.
27967 * nss/nsswitch.c (__nss_database_custom): Define new variable.
27968 (__nss_configure_lookup): Set appropriate entry in
27969 __nss_configure_lookup to true.
27970 * nss/nsswitch.h: Define enum with indeces of databases in
27971 databases and __nss_database_custom arrays. Declare
27972 __nss_database_custom.
27973 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
27974 to avoid using nscd when custom rules are installed.
27975 * nss/getXXbyYY_r.c: Likewise.
27976 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
27978 * nss/nss_files/files-parse.c: Whitespace fixes.
27980 2010-08-09 Ulrich Drepper <drepper@redhat.com>
27983 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
27984 * posix/fnmatch_loop.c: Likewise.
27986 2010-07-17 Andi Kleen <ak@linux.intel.com>
27988 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
27989 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
27990 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
27991 * Versions.def [GLIBC_2.13]: Add.
27993 2010-08-06 Ulrich Drepper <drepper@redhat.com>
27995 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
27996 Also fail if tpwd after pwuid call is NULL.
27998 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
28000 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
28001 when converting to ms.
28003 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
28005 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
28006 EOPNOTSUPP errors with ENOTTY.
28007 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
28008 EOPNOTSUPP errors with ENOTTY.
28010 2010-07-31 Ulrich Drepper <drepper@redhat.com>
28012 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
28013 Add strcasecmp_l-ssse3.
28014 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
28016 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
28017 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
28018 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
28020 2010-07-30 Ulrich Drepper <drepper@redhat.com>
28022 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
28024 * string/Makefile (strop-tests): Add strcasecmp.
28025 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
28026 strcasecmp_l-nonascii.
28027 (gen-as-const-headers): Add locale-defines.sym.
28028 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
28029 * sysdeps/x86_64/strcasecmp.S: New file.
28030 * sysdeps/x86_64/strcasecmp_l.S: New file.
28031 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
28032 * sysdeps/x86_64/locale-defines.sym: New file.
28033 * string/test-strcasecmp.c: New file.
28035 * string/test-strcasestr.c: Test both ends of the range of characters.
28036 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
28038 2010-07-29 Roland McGrath <roland@redhat.com>
28041 * manual/locale.texi (Yes-or-No Questions): Fix example code.
28043 2010-07-27 Ulrich Drepper <drepper@redhat.com>
28045 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
28048 2010-07-27 Andreas Schwab <schwab@redhat.com>
28050 * manual/memory.texi (Malloc Tunable Parameters): Document
28053 2010-07-26 Roland McGrath <roland@redhat.com>
28056 * configure.in (-fgnu89-inline check): Set and substitute
28057 gnu89_inline, not libc_cv_gnu89_inline.
28058 * configure: Regenerated.
28059 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
28061 2010-07-26 Ulrich Drepper <drepper@redhat.com>
28063 * string/test-strnlen.c: New file.
28064 * string/Makefile (strop-tests): Add strnlen.
28065 * string/tester.c (test_strnlen): Add a few more test cases.
28066 * string/tst-strlen.c: Better error reporting.
28068 * sysdeps/x86_64/strnlen.S: New file.
28070 2010-07-24 Ulrich Drepper <drepper@redhat.com>
28072 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
28073 lower-latency instructions.
28075 2010-07-23 Ulrich Drepper <drepper@redhat.com>
28077 * string/test-strcasestr.c: New file.
28078 * string/test-strstr.c: New file.
28079 * string/Makefile (strop-tests): Add strstr and strcasestr.
28080 * string/str-two-way.h: Don't undefine MAX.
28081 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
28083 2010-07-21 Andreas Schwab <schwab@redhat.com>
28085 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28086 strcasestr-nonascii.
28087 (CFLAGS-strcasestr-nonascii.c): Define.
28088 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
28089 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
28090 Remove unused attribute.
28092 2010-07-20 Roland McGrath <roland@redhat.com>
28094 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
28095 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
28096 ld.so.cache was broken. With it, there is no way to disable dsocaps
28097 like LD_HWCAP_MASK can disable hwcaps.
28099 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
28101 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
28103 2010-07-16 Ulrich Drepper <drepper@redhat.com>
28105 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
28106 call in strcasestr.
28107 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
28108 __strcasestr_sse42_nonascii.
28109 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
28110 strcasestr-nonascii.c.
28111 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
28113 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
28115 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
28116 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
28117 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
28118 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
28120 2010-07-09 Ulrich Drepper <drepper@redhat.com>
28122 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
28125 2010-07-06 Andreas Schwab <schwab@redhat.com>
28128 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
28131 2010-07-06 Ulrich Drepper <drepper@redhat.com>
28133 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
28134 _PC_PIPE_BUF using F_GETPIPE_SZ.
28136 2010-07-05 Roland McGrath <roland@redhat.com>
28138 * manual/arith.texi (Rounding Functions): Fix rint description
28139 implicit in round description.
28141 2010-07-02 Ulrich Drepper <drepper@redhat.com>
28143 * elf/Makefile: Fix linking for a few tests to make recent linker
28146 2010-06-30 Andreas Schwab <schwab@redhat.com>
28148 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
28149 $(common-objpfx)libc_nonshared.a.
28151 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
28153 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
28154 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
28155 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
28156 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
28157 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
28158 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
28159 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
28160 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
28161 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
28162 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
28163 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
28164 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
28165 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
28166 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
28167 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
28168 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
28169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
28170 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
28171 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
28172 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
28173 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
28174 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
28175 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
28176 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
28177 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
28178 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
28179 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
28180 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
28181 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
28182 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
28183 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
28184 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
28185 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
28186 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
28187 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
28188 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
28189 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
28190 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
28191 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
28192 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
28193 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
28194 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
28195 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
28196 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
28197 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
28198 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
28199 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
28200 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
28202 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
28204 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
28205 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
28206 * string/memmove.c (memmove): Renamed to ...
28207 (MEMMOVE): ...this. Default to memmove.
28208 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
28209 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
28211 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28212 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
28213 mempcpy-ssse3-back memmove-ssse3-back.
28214 * sysdeps/x86_64/multiarch/bcopy.S: New file .
28215 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
28216 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
28217 * sysdeps/x86_64/multiarch/memcpy.S: New file.
28218 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
28219 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
28220 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
28221 * sysdeps/x86_64/multiarch/memmove.c: New file.
28222 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
28223 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
28224 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
28225 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
28226 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
28227 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
28229 (index_Fast_Copy_Backward): Define.
28230 (HAS_ARCH_FEATURE): Define.
28231 (HAS_FAST_REP_STRING): Define.
28232 (HAS_FAST_COPY_BACKWARD): Define.
28234 2010-06-21 Andreas Schwab <schwab@redhat.com>
28236 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
28237 Restore proper fallback handling.
28239 2010-06-19 Ulrich Drepper <drepper@redhat.com>
28242 * posix/group_member.c (__group_member): Correct checking loop.
28244 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
28245 OOM in getpwuid_r correctly. Return error number when the caller
28246 should return, otherwise -1.
28247 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
28248 call returning > 0 value.
28249 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
28251 2010-06-07 Andreas Schwab <schwab@redhat.com>
28253 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
28254 libc_nonshared.a from targets in modules-names.
28256 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
28258 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
28261 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
28263 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
28264 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
28265 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
28266 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
28268 2010-06-02 Andreas Schwab <schwab@redhat.com>
28270 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
28272 2010-06-14 Ulrich Drepper <drepper@redhat.com>
28274 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
28276 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
28277 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
28278 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
28279 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
28280 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
28281 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
28283 2010-06-14 Roland McGrath <roland@redhat.com>
28285 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
28287 2010-06-07 Jakub Jelinek <jakub@redhat.com>
28289 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
28290 __REDIRECT followed by __THROW.
28291 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
28292 * posix/getopt.h (getopt): Likewise.
28294 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
28296 * hurd/lookup-at.c (__file_name_lookup_at): Accept
28297 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
28298 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
28300 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
28301 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
28303 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
28305 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
28307 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
28310 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28311 Properly check family and model.
28313 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
28315 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
28317 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
28319 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
28321 2010-05-21 Ulrich Drepper <drepper@redhat.com>
28323 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
28326 2010-05-19 Andreas Schwab <schwab@redhat.com>
28328 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
28331 2010-05-21 Andreas Schwab <schwab@redhat.com>
28333 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
28334 and internal_recvmmsg.
28335 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
28336 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
28337 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
28338 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
28340 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
28341 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
28342 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
28344 2010-05-20 Andreas Schwab <schwab@redhat.com>
28346 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
28348 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
28350 POWER7 optimizations.
28351 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
28352 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
28354 2010-05-19 Ulrich Drepper <drepper@redhat.com>
28356 * version.h: Update for 2.13 development version.
28358 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
28360 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
28361 exceptions. Return 0.
28363 2010-05-07 Roland McGrath <roland@redhat.com>
28365 * elf/ldconfig.c (main): Add a const.
28367 2010-05-06 Ulrich Drepper <drepper@redhat.com>
28369 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
28370 (args_options): Add no-idn option.
28371 (ahosts_keys_int): Add idn_flags to ai_flags.
28372 (parse_option): Handle 'i' option to clear idn_flags.
28374 * malloc/malloc.c (_int_free): Possible race in the most recently
28375 added check. Only act on the data if no current modification
28378 See ChangeLog.17 for earlier changes.