1 2013-05-02 David S. Miller <davem@davemloft.net>
3 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
7 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
9 2013-05-01 Roland McGrath <roland@hack.frob.com>
11 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
13 2013-05-01 Richard Smith <richard@metafoo.co.uk>
16 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
17 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
18 Use __attribute__ ((__gnu_inline__)).
19 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
20 Don't use __attribute__ ((__gnu_inline__)).
22 2013-05-01 Joseph Myers <joseph@codesourcery.com>
25 * math/s_catan.c (__catan): Handle small real or imaginary part of
26 input specially to avoid spurious underflow.
27 * math/s_catanf.c (__catanf): Likewise.
28 * math/s_catanh.c (__catanh): Likewise.
29 * math/s_catanhf.c (__catanhf): Likewise.
30 * math/s_catanhl.c (__catanhl): Likewise.
31 * math/s_catanl.c (__catanl): Likewise.
32 * math/libm-test.inc (catan_test): Add more tests.
33 (catanh_test): Likewise.
34 * sysdeps/i386/fpu/libm-test-ulps: Update.
35 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41 2013-04-30 Joseph Myers <joseph@codesourcery.com>
44 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
45 accurately for denominator in atan2.
46 * math/s_catanf.c (__catanf): Likewise.
47 * math/s_catanh.c (__catanh): Likewise.
48 * math/s_catanhf.c (__catanhf): Likewise.
49 * math/s_catanhl.c (__catanhl): Likewise.
50 * math/s_catanl.c (__catanl): Likewise.
51 * math/libm-test.inc (catan_test): Add more tests.
52 (catanh_test): Likewise.
53 * sysdeps/i386/fpu/libm-test-ulps: Update.
54 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
58 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
60 * benchtests/Makefile (bench): Remove slow benchmarks.
61 * benchtests/atan-inputs: Add slow benchmark inputs.
62 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
63 (BENCH_FUNC): Accept variant offset.
65 * benchtests/bench-skeleton.c (main): Run benchmark for each
67 * benchtests/cos-inputs: Add slow benchmark inputs.
68 * benchtests/exp-inputs: Likewise.
69 * benchtests/pow-inputs: Likewise.
70 * benchtests/sin-inputs: Likewise.
71 * benchtests/slowatan-inputs: Remove.
72 * benchtests/slowatan.c: Remove.
73 * benchtests/slowcos-inputs: Remove.
74 * benchtests/slowcos.c: Remove.
75 * benchtests/slowexp-inputs: Remove.
76 * benchtests/slowexp.c: Remove.
77 * benchtests/slowpow-inputs: Remove.
78 * benchtests/slowpow.c: Remove.
79 * benchtests/slowsin-inputs: Remove.
80 * benchtests/slowsin.c: Remove.
81 * benchtests/slowtan-inputs: Remove.
82 * benchtests/slowtan.c: Remove.
83 * benchtests/tan-inputs: Add slow benchmark inputs.
84 * scripts/bench.pl: Parse comments and directives.
86 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
88 ($(objpfx)bench-%.c): Remove *-ITER.
89 * benchtests/bench-modf.c: Remove definition of ITER.
90 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
91 (main): Loop for DURATION seconds instead of fixed number of
93 * scripts/bench.pl: Don't expect iterations in parameters.
95 2013-04-29 Roland McGrath <roland@hack.frob.com>
97 * io/fchdir.c (__fchdir): Renamed from fchdir.
98 (fchdir): Define as weak alias.
100 2013-04-29 Joseph Myers <joseph@codesourcery.com>
102 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
103 (ERRNO_EDOM): Likewise.
104 (ERRNO_ERANGE): Likewise.
105 (noErrnoTests): New variable.
106 (init_max_error): Set errno to 0.
107 (test_single_errno): New function.
108 (test_errno): Likewise.
109 (check_float_internal): Call test_errno. Set errno to 0.
110 (check_complex): Refer to errno tests in comment.
111 (check_int): Call test_errno. Set errno to 0.
112 (check_long): Likewise.
113 (check_bool): Likewise.
114 (check_longlong): Likewise.
115 (cos_test): Use ERRNO_* flags for errno tests instead of
117 (expm1_test): Likewise.
118 (fmod_test): Likewise.
119 (ilogb_test): Likewise.
120 (lgamma_test): Likewise.
121 (pow_test): Likewise.
122 (remainder_test): Likewise.
123 (sin_test): Likewise.
124 (tan_test): Likewise.
126 (initialize): Set errno to 0.
127 (main): Print number of errno tests.
128 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
130 2013-04-29 Andreas Jaeger <aj@suse.de>
133 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
137 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
138 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
142 * stdlib/random.c (__initstate): Return NULL if
146 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
147 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
150 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
152 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
154 2013-04-29 Joseph Myers <joseph@codesourcery.com>
156 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
158 (casin_test): Likewise.
159 (casinh_test): Likewise.
161 2013-04-27 Joseph Myers <joseph@codesourcery.com>
164 * math/s_catan.c (__catan): Handle arguments with large real or
165 imaginary part separately without squaring.
166 * math/s_catanf.c (__catanf): Likewise.
167 * math/s_catanh.c (__catanh): Likewise.
168 * math/s_catanhf.c (__catanhf): Likewise.
169 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
171 (__catanhl): Handle arguments with large real or imaginary part
172 separately without squaring.
173 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
175 (__catanl): Handle arguments with large real or imaginary part
176 separately without squaring.
177 * math/libm-test.inc (catan_test): Add more tests.
178 (catanh_test): Likewise.
179 * sysdeps/i386/fpu/libm-test-ulps: Update.
180 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
182 2013-04-27 Andreas Jaeger <aj@suse.de>
185 * stdlib/stdlib.h: Update guards for qecvt.
186 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
189 2013-04-27 Allan McRae <allan@archlinux.org>
191 * sysdeps/i386/fpu/libm-test-ulps: Update.
193 2013-04-26 Joseph Myers <joseph@codesourcery.com>
196 * math/s_catan.c: Include <float.h>.
197 (__catan): Ensure underflow exception occurs for underflowed
199 * math/s_catanf.c: Include <float.h>.
200 (__catanf): Ensure underflow exception occurs for underflowed
202 * math/s_catanh.c: Include <float.h>.
203 (__catanh): Ensure underflow exception occurs for underflowed
205 * math/s_catanhf.c: Include <float.h>.
206 (__catanhf): Ensure underflow exception occurs for underflowed
208 * math/s_catanhl.c: Include <float.h>.
209 (__catanhl): Ensure underflow exception occurs for underflowed
211 * math/s_catanl.c: Include <float.h>.
212 (__catanl): Ensure underflow exception occurs for underflowed
214 * math/libm-test.inc (catan_test): Add more tests.
215 (catanh_test): Likewise.
218 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
220 * math/s_ccoshf.c (__ccoshf): Likewise.
221 * math/s_ccoshl.c (__ccoshl): Likewise.
222 * math/s_csin.c (__csin): Likewise.
223 * math/s_csinf.c (__csinf): Likewise.
224 * math/s_csinh.c (__csinh): Likewise.
225 * math/s_csinhf.c (__csinhf): Likewise.
226 * math/s_csinhl.c (__csinhl): Likewise.
227 * math/s_csinl.c (__csinl): Likewise.
228 * math/libm-test.inc (ccos_test): Add more tests.
229 (ccosh_test): Likewise.
230 (csin_test): Likewise.
231 (csinh_test): Likewise.
233 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
235 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
236 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
237 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
238 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
239 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
240 powerpc/power5+/fpu folders.
241 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
244 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
246 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
248 2013-04-25 Joseph Myers <joseph@codesourcery.com>
250 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
251 additions to variable.
252 [$(config-machine) = x86_64] (modules-names): Likewise.
253 ($(objpfx)tst-audit3): Remove dependency.
254 ($(objpfx)tst-audit3.out): Likewise.
255 ($(objpfx)tst-audit4): Likewise.
256 ($(objpfx)tst-audit4.out): Likewise.
257 ($(objpfx)tst-audit5): Likewise.
258 ($(objpfx)tst-audit5.out): Likewise.
259 ($(objpfx)tst-audit6): Likewise.
260 ($(objpfx)tst-audit6.out): Likewise.
261 ($(objpfx)tst-audit7): Likewise.
262 ($(objpfx)tst-audit7.out): Likewise.
263 (tst-audit3-ENV): Remove variable.
264 (tst-audit4-ENV): Likewise.
265 (tst-audit5-ENV): Likewise.
266 (tst-audit6-ENV): Likewise.
267 (tst-audit7-ENV): Likewise.
268 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
269 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
270 addition to variable.
271 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
272 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
273 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
274 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
275 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
276 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
277 tst-audit3, tst-audit4 and tst-audit5.
278 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
279 tst-audit6 and tst-audit7.
280 [$(subdir) = elf] (modules-names): Add audit modules for those
282 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
283 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
284 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
285 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
286 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
287 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
288 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
289 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
290 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
291 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
292 [$(subdir) = elf] (tst-audit3-ENV): New variable.
293 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
294 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
295 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
296 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
297 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
299 [$(subdir) = elf && $(config-cflags-avx) = yes]
300 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
301 [$(subdir) = elf && $(config-cflags-avx) = yes]
302 (CFLAGS-tst-auditmod4a.c): Likewise.
303 [$(subdir) = elf && $(config-cflags-avx) = yes]
304 (CFLAGS-tst-auditmod4b.c): Likewise.
305 [$(subdir) = elf && $(config-cflags-avx) = yes]
306 (CFLAGS-tst-auditmod6b.c): Likewise.
307 [$(subdir) = elf && $(config-cflags-avx) = yes]
308 (CFLAGS-tst-auditmod6c.c): Likewise.
309 [$(subdir) = elf && $(config-cflags-avx) = yes]
310 (CFLAGS-tst-auditmod7b.c): Likewise.
311 * elf/tst-audit3.c: Move to ...
312 * sysdeps/x86_64/tst-audit3.c: ... here.
313 * elf/tst-audit4.c: Move to ...
314 * sysdeps/x86_64/tst-audit4.c: ... here.
315 * elf/tst-audit5.c: Move to ...
316 * sysdeps/x86_64/tst-audit5.c: ... here.
317 * elf/tst-audit6.c: Move to ...
318 * sysdeps/x86_64/tst-audit6.c: ... here.
319 * elf/tst-audit7.c: Move to ...
320 * sysdeps/x86_64/tst-audit7.c: ... here.
321 * elf/tst-auditmod3a.c: Move to ...
322 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
323 * elf/tst-auditmod3b.c: Move to ...
324 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
325 * elf/tst-auditmod4a.c: Move to ...
326 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
327 * elf/tst-auditmod4b.c: Move to ...
328 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
329 * elf/tst-auditmod5a.c: Move to ...
330 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
331 * elf/tst-auditmod5b.c: Move to ...
332 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
333 * elf/tst-auditmod6a.c: Move to ...
334 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
335 * elf/tst-auditmod6b.c: Move to ...
336 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
337 * elf/tst-auditmod6c.c: Move to ...
338 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
339 * elf/tst-auditmod7a.c: Move to ...
340 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
341 * elf/tst-auditmod7b.c: Move to ...
342 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
344 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
347 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
348 define unconditionally.
349 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
350 define unconditionally.
351 (INT8_C, INT16_C, etc.): Likewise.
353 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
355 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
356 __ehdr_start with hidden visibility.
358 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
360 2013-04-24 Carlos O'Donell <carlos@redhat.com>
362 * math/libm-test.inc (cos_test): Use accurate hex constants.
363 (sincost_test): Likewise.
365 2013-04-24 Joseph Myers <joseph@codesourcery.com>
367 * math/libm-test.inc (catan_test): Add more tests.
368 (catanh_test): Likewise.
370 * math/s_catanf.c (__catanf): Use suffixed floating-point
372 * math/s_catanhf.c (__catanhf): Likewise.
373 * math/s_catanhl.c (__catanhl): Likewise.
374 * math/s_catanl.c (__catanl): Likewise.
377 * math/s_catan.c (__catan): Calculate imaginary part of result
378 with log1p not log unless computing log of number close to 0.
379 * math/s_catanf.c (__catanf): Likewise.
380 * math/s_catanl.c (__catanl): Likewise.
381 * math/s_catanh.c (__catanh): Calculate real part of result with
382 log1p not log unless computing log of number close to 0.
383 * math/s_catanhf.c (__catanhf): Likewise.
384 * math/s_catanhl.c (__catanhl): Likewise.
385 * math/libm-test.inc (catan_test): Add more tests.
386 (catanh_test): Likewise.
387 * sysdeps/i386/fpu/libm-test-ulps: Update.
388 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
390 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
392 * benchtests/Makefile: Mention files in which fast and slow
393 paths of math functions are implemented.
395 2013-04-23 Roland McGrath <roland@hack.frob.com>
397 * sysdeps/posix/timespec_get.c: New file.
399 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
401 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
403 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
405 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
406 powerpc/power5/fpu folders.
407 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
408 * benchtests/Makefile: Add modf testcase.
409 * benchtests/bench-modf.c: New file: Benchmark test for mo
411 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
414 * time/Makefile (tests): Add tst-strptime-whitespace.
415 * time/strptime_l.c (get_number): Use ISSPACE.
416 (__strptime_internal): Likewise.
417 * time/tst-strptime-whitespace.c: New test case.
419 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
421 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
423 (_nss_files_init): Set it here.
425 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
427 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
428 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
431 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
433 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
435 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
437 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
440 2013-04-21 David S. Miller <davem@davemloft.net>
442 * po/ru.po: Update Russion translation from translation project.
444 2013-04-17 Adam Conrad <adconrad@0c3.net>
446 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
449 2013-04-17 Carlos O'Donell <carlos@redhat.com>
451 * configure.in: Remove i386 configure warning. Remove i386 case.
452 * configure: Regenerate.
453 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
454 Add example to error message.
455 * sysdeps/i386/configure: Regenerate.
457 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
459 * benchtests/Makefile (bench): Add cos, tan, slowcos and
461 * benchtests/cos-inputs: New file.
462 * benchtests/slowcos-inputs: New file.
463 * benchtests/slowcos.c: New file.
464 * benchtests/slowtan-inputs: New file.
465 * benchtests/slowtan.c: New file.
466 * benchtests/tan-inputs: New file.
468 2013-04-16 Roland McGrath <roland@hack.frob.com>
470 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
473 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
475 * benchtests/Makefile: Include cppflags-iterator.mk to add
476 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
478 * Makefile.in (bench-clean): New target.
479 * benchtests/Makefile (bench-clean): Likewise.
481 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
483 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
485 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
487 * stdio-common/tstdiomisc.c: Fix coding-style violation.
489 2013-04-15 Andreas Schwab <schwab@suse.de>
491 * nscd/grpcache.c (cache_addgr): Properly check for short write.
492 * nscd/initgrcache.c (addinitgroupsX): Likewise.
493 * nscd/pwdcache.c (cache_addpw): Likewise.
494 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
497 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
499 * benchtests/Makefile (bench): Write all output to
500 bench-out.tmp together.
502 2013-04-15 Andreas Schwab <schwab@suse.de>
504 * nscd/nscd.c (main): Don't fork again after closing files.
506 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
508 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
510 * benchtests/Rules (bench-deps): Collect dependencies into a
511 single variable. Add Makefile to dependencies.
512 ($(objpfx)bench-%.c): Depend on bench-deps.
514 2013-04-12 Roland McGrath <roland@hack.frob.com>
515 Xavier Roche <roche+kml2@exalead.com>
518 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
519 just that it's a file descriptor.
520 * manual/llio.texi (Synchronizing AIO Operations): Update description
521 for EBADF error from aio_fsync.
523 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
525 * Rules (bench): Move target definition...
526 * benchtests/Makefile: ... here.
528 2013-04-11 Carlos O'Donell <carlos@redhat.com>
530 * math/libm-test.inc (cos_test): Fix PI/2 test.
531 (sincos_test): Likewise.
532 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
533 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
535 2013-04-11 Andreas Schwab <schwab@suse.de>
538 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
539 accept exponent character only when digits were seen.
540 * stdio-common/Makefile (tests): Add bug26.
541 * stdio-common/bug26.c: New file.
544 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
547 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
549 * Makeconfig (rtld-prefix): Define built linker prefix.
550 * Rules (run-bench): Use it.
551 * math/Makefile (run-regen-ulps): Likewise.
553 * Rules (bench): Remove eval.
555 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
556 Roland McGrath <roland@hack.frob.com>
557 Ondrej Bilka <neleai@seznam.cz>
560 * time/getdate.c: Include ctype.h and alloca.h.
561 (__getdate_r): Trim leading and trailing spaces of input.
562 * time/tst-getdate.c (tests): Add tests with leading and
565 2013-04-08 Roland McGrath <roland@hack.frob.com>
568 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
569 when computing value.
571 2013-04-06 Carlos O'Donell <carlos@redhat.com>
573 * math/README.libm-test (How can I generate "libm-test-ulps"?):
574 Use testrun.sh to run libm tests.
577 * elf/dl-open.c (dl_open_worker): memset all of seen array.
579 2013-04-06 Marko Myllynen <myllynen@redhat.com>
582 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
584 2013-04-06 Carlos O'Donell <carlos@redhat.com>
586 * Makefile.in (regen-ulps): New target.
587 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
588 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
589 [ifneq (no,$(PERL)] (regen-ulps): New target.
590 [ifeq (no,$(PERL)] (regen-ulps): New target.
591 * math/libm-test.inc (ulps_file_name): Define.
592 (output_dir): New variable.
593 (options): Add "output-dir" option.
594 (parse_opt): Handle 'o' case.
595 (main): If output_dir is non-NULL use it as a prefix
597 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
599 2013-04-06 Carlos O'Donell <carlos@redhat.com>
602 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
603 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
604 fail configure if __sync_val_compare_and_swap is not inlined.
605 * sysdeps/i386/configure: Regenerate.
606 * configure.in: Build for i686 when configured for i386.
607 * configure: Regenerate.
608 * README: Remove i386 reference.
610 2013-04-06 Carlos O'Donell <carlos@redhat.com>
612 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
613 * sysdeps/s390/s390-64/sysdep.h: Likewise.
615 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
617 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
618 (lmsnanval): New variables.
619 (F): Add conversion tests.
620 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
621 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
623 * stdio-common/tstdiomisc.c (F): Properly collect individual
627 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
628 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
629 Instead, use input NaN values or generate a qNaN by arithmetic
630 operation. Also fix bugs to comply with the standard.
631 * math/libm-test.inc (remainder_test): Add more tests.
634 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
635 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
636 input NaN values or generate a qNaN by arithmetic operation.
638 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
641 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
644 2013-04-03 Joseph Myers <joseph@codesourcery.com>
647 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
649 * math/s_cexpf.c (__cexpf): Likewise.
650 * math/s_cexpl.c (__cexpl): Likewise.
651 * math/libm-test.inc (cexp_test): Add more tests.
653 2013-04-03 Andreas Schwab <schwab@suse.de>
656 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
657 order arrays from heap if bigger than alloca cutoff.
659 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
661 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
662 (SNAN_TESTS_double): Refer to GCC PR56831.
663 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
666 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
668 * Rules (bench): Move bench.out after the run is complete.
670 * Rules (bench): Echo currently running benchmark.
672 * benchtests/Makefile (bench): Add atan and slowatan.
673 * benchtests/atan-inputs: New file.
674 * benchtests/slowatan-inputs: New file.
675 * benchtests/slowatan.c: New file.
677 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
678 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
682 * sysdeps/unix/sysv/linux/kernel-features.h
683 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
684 __ASSUME_XFS_RESTRICTED_CHOWN.
685 * sysdeps/unix/sysv/linux/pathconf.c
686 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
687 Save and restore errno.
689 2013-04-02 Joseph Myers <joseph@codesourcery.com>
692 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
693 arguments using __kernel_casinh.
694 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
695 arguments using __kernel_casinhf.
696 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
697 arguments using __kernel_casinhl.
698 * math/libm-test.inc (cacosh_test): Add more tests.
699 * sysdeps/i386/fpu/libm-test-ulps: Update.
700 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
702 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
704 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
705 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
707 * bench/Makefile (bench): Add sin and slowsin.
708 * benchtests/sin-inputs: New file.
709 * benchtests/slowsin-inputs: New file.
710 * benchtests/slowsin.c: New file.
712 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
713 (bench): Add slowexp and slowpow.
714 (exp-ITER): Increase iterations.
715 (pow-ITER): Likewise.
716 * benchtests/exp-inputs: Change input.
717 * benchtests/pow-inputs: Likewise.
718 * benchtests/slowexp-inputs: New file.
719 * benchtests/slowexp.c: New file.
720 * benchtests/slowpow-inputs: New file.
721 * benchtests/slowpow.c: New file.
723 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
725 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
727 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
728 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
729 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
730 * benchtests/Makefile: Add rint benchtest.
731 * benchtests/rint-inputs: Input for rint benchtest.
733 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
735 * Versions.def (libm): Add GLIBC_2.18.
736 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
737 hidden libm prototypes.
738 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
739 * math/Makefile (libm-calls): Add s_issignaling.
740 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
741 __issignalingf, __issignalingl. Adjust all libm.abilist files.
742 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
744 * math/math.h [__USE_GNU] (issignaling): New macro.
745 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
746 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
747 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
748 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
749 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
750 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
751 * manual/arith.texi (issignaling): New section.
752 * manual/libm-err-tab.pl (@all_functions): Update comment.
753 * math/gen-libm-test.pl (parse_args): Apply special handling for
755 * math/libm-test.inc (print_float, issignaling_test): New
757 (check_float_internal): Add issignaling checks.
758 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
760 * sysdeps/powerpc/math-tests.h: New file.
761 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
763 * math/test-snan.c (TEST_FUNC): Likewise.
765 2013-03-30 David S. Miller <davem@davemloft.net>
767 * po/de.po: Update from translation team.
769 2013-03-30 Joseph Myers <joseph@codesourcery.com>
772 * math/k_casinh.c (__kernel_casinh): Handle arguments with
773 imaginary part less than 1.0 and real part less than 0.5
775 * math/k_casinhf.c (__kernel_casinhf): Likewise.
776 * math/k_casinhl.c (__kernel_casinhl): Likewise.
777 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
778 (cacos_test): Add more tests.
779 (casin_test): Likewise.
780 (casinh_test): Likewise.
781 * sysdeps/i386/fpu/libm-test-ulps: Update.
782 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
784 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
786 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
789 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
790 (__pow_mp): Replace ONE and MONE with their values.
791 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
792 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
793 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
794 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
795 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
796 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
798 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
800 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
801 (__pow_mp): Replace ZERO and MZERO with their values.
802 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
803 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
804 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
805 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
806 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
807 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
810 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
812 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
814 2013-03-28 Roland McGrath <roland@hack.frob.com>
816 * include/stdlib.h [!SHARED] (__call_tls_dtors):
817 Declare with __attribute__ ((weak)).
818 * stdlib/exit.c (__libc_atexit) [!SHARED]:
819 Call __call_tls_dtors only if it's not NULL.
821 2013-03-28 Roland McGrath <roland@hack.frob.com>
823 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
824 didn't do it already, then set _dl_phdr and _dl_phnum based on the
825 magic __ehdr_start linker symbol if it's defined.
826 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
827 them up here if it was already done.
829 * elf/dl-support.c (_dl_phdr): Make pointer to const.
830 (_dl_aux_init): Use const in cast when setting it.
831 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
832 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
833 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
835 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
837 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
838 * csu/libc-tls.c: Nor here.
839 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
841 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
842 (__libc_message): Never call vsyslog.
844 2013-03-28 Alan Modra <amodra@gmail.com>
846 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
848 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
851 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
854 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
856 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
858 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
861 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
862 Don't add gid passed as argument.
864 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
866 2013-03-27 Joseph Myers <joseph@codesourcery.com>
869 * math/k_casinh.c (__kernel_casinh): Handle arguments with
870 imaginary part between 1.0 and 1.5 and real part less than 0.5
872 * math/k_casinhf.c (__kernel_casinhf): Likewise.
873 * math/k_casinhl.c (__kernel_casinhl): Likewise.
874 * math/libm-test.inc (cacos_test): Add more tests.
875 (casin_test): Likewise.
876 (casinh_test): Likewise.
877 * sysdeps/i386/fpu/libm-test-ulps: Update.
878 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
880 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
882 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
886 (__dbl_mp): Likewise.
887 (add_magnitudes): Likewise.
888 (sub_magnitudes): Likewise.
896 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
898 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
899 (__dubcos): Likewise.
900 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
901 (__ieee754_acos): Likewise.
902 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
903 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
905 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
906 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
909 (checkint): Likewise.
910 * sysdeps/ieee754/dbl-64/e_remainder.c
911 (__ieee754_remainder): Likewise.
912 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
913 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
915 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
917 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
918 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
919 MANTISSA_STORE_T to store computations on mantissa. Use
920 macros for rounding and division.
922 (__dbl_mp): Likewise.
923 (add_magnitudes): Likewise.
924 (sub_magnitudes): Likewise.
927 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
928 powers of two in terms of TWOPOW macro.
929 (mp_no): Make type of mantissa as MANTISSA_T.
930 [!RADIXI]: Define RADIXI.
931 [!TWO52]: Define TWO52.
932 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
934 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
936 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
937 llroundl symbol when building for PPC32.
939 2013-03-24 Mark H Weaver <mhw@netris.org>
941 * manual/arith.texi (Normalization Functions): Fix prototypes for
942 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
944 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
947 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
948 high value to check if expl overflow.
949 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
950 to check for underflow and overflow.
951 * math/libm-test.inc: Add exp test.
953 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
956 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
959 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
961 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
964 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
966 * math/gen-libm-test.pl (parse_args, special_functions): Properly
967 wrap blocks consisting of several statements.
969 * sysdeps/generic/math-tests.h: New file.
970 * sysdeps/i386/fpu/math-tests.h: Likewise.
971 * math/test-snan.c: Include it.
972 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
974 2013-03-21 Joseph Myers <joseph@codesourcery.com>
977 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
978 (__ieee754_j0l): Do not improve calculations using cos of twice
979 input for inputs above LDBL_MAX / 2.0L.
980 (__ieee754_y0l): Likewise.
981 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
982 (__ieee754_j1l): Do not improve calculations using cos of twice
983 input for inputs above LDBL_MAX / 2.0L.
984 (__ieee754_y1l): Likewise.
985 * math/libm-test.inc (j0_test): Add another test.
989 * sysdeps/i386/fpu/libm-test-ulps: Update.
991 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
993 * Rules ($(objpfx)bench-%.c): Include code from a C source
996 2013-03-21 Joseph Myers <joseph@codesourcery.com>
999 * math/k_casinh.c (__kernel_casinh): Handle arguments with
1000 imaginary part 1.0 and real part less than 0.5 specially.
1001 * math/k_casinhf.c (__kernel_casinhf): Likewise.
1002 * math/k_casinhl.c (__kernel_casinhl): Likewise.
1003 * math/libm-test.inc (cacos_test): Add more tests.
1004 (casin_test): Likewise.
1005 (casinh_test): Likewise.
1006 * sysdeps/i386/fpu/libm-test-ulps: Update.
1007 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1009 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1011 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
1012 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
1014 2013-03-20 Joseph Myers <joseph@codesourcery.com>
1016 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
1017 * config.make.in (config-cflags-sse4): Remove variable.
1018 (config-cflags-avx): Likewise.
1019 (config-cflags-sse2avx): Likewise.
1020 (config-cflags-novzeroupper): Likewise.
1021 (config-asflags-i686): Likewise.
1022 (have-mfma4): Likewise.
1023 (have-as-vis3): Likewise.
1025 * configure.in (MIG): Do not AC_SUBST.
1026 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
1027 (libc_cv_cc_sse4): Do not AC_SUBST.
1028 (libc_cv_cc_avx): Likewise.
1029 (libc_cv_cc_sse2avx): Likewise.
1030 (libc_cv_cc_novzeroupper): Likewise.
1031 (libc_cv_cc_fma4): Likewise.
1032 (libc_cv_as_i686): Likewise.
1033 (libc_cv_sparc_as_vis3): Likewise.
1034 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
1036 (config-asflags-i686): Likewise.
1037 (config-cflags-avx): Likewise.
1038 (config-cflags-sse2avx): Likewise.
1039 (have-mfma4): Likewise.
1040 (config-cflags-novzeroupper): Likewise.
1041 * sysdeps/mach/configure.in (MIG): Likewise.
1042 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
1043 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
1045 (config-cflags-avx): Likewise.
1046 (config-cflags-sse2avx): Likewise.
1047 (have-mfma4): Likewise.
1048 (config-cflags-novzeroupper): Likewise.
1049 * configure: Regenerated.
1050 * sysdeps/i386/configure: Likewise.
1051 * sysdeps/mach/configure: Likewise.
1052 * sysdeps/sparc/configure: Likewise.
1053 * sysdeps/x86_64/configure: Likewise.
1055 2013-03-20 Roland McGrath <roland@hack.frob.com>
1058 * locale/programs/localedef.c (options): Put N_ translation marker
1059 on argument names, not just descriptions.
1061 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1063 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
1065 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
1068 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
1070 2013-03-19 Roland McGrath <roland@hack.frob.com>
1072 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
1073 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
1074 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
1075 [!BEFORE_ABORT] (before_abort): New function.
1076 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
1077 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
1078 (writev_for_fatal): New function.
1079 (WRITEV_FOR_FATAL): New macro; call that.
1080 (backtrace_and_maps): New function.
1081 (BEFORE_ABORT): New macro; call that.
1082 (struct str_list): Type removed.
1083 (__libc_message, __libc_fatal): Functions removed.
1084 Include <sysdeps/posix/libc_fatal.c> instead.
1086 2013-03-19 Joseph Myers <joseph@codesourcery.com>
1088 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
1090 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
1093 2013-03-19 Andreas Schwab <schwab@suse.de>
1095 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
1096 * sysdeps/gnu/configure: Regenerate.
1098 * configure.in: Substitute libc_cv_rtlddir.
1099 * configure: Regenerate.
1100 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
1101 * Makeconfig (rtlddir, inst_rtlddir): New variables.
1102 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
1103 * elf/Makefile (install-others, CFLAGS-interp.c)
1104 (ldso_install, common-ldd-rewrite): Likewise.
1105 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
1106 $(inst_slibdir)/$(rtld-installed-name).
1107 * scripts/rellns-sh: Add -p option.
1108 * Makerules (make-shlib-link): Use rellns-sh to get relative name
1111 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1113 * manual/nptl.texi: Renamed to ...
1114 * manual/threads.texi: ... this.
1115 * manual/Makefile (chapters): Update.
1117 2013-03-18 Roland McGrath <roland@hack.frob.com>
1120 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
1121 on argument names, not just descriptions.
1122 * malloc/memusagestat.c (options): Likewise.
1123 * nss/getent.c (options): Likewise.
1125 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
1128 * iconv/iconv_prog.c (options): Put N_ translation marker
1129 on argument names, not just descriptions.
1130 * iconv/iconvconfig.c (options): Likewise.
1132 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
1134 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
1135 implementation which is faster on all x86_64 architectures.
1136 Tested on AMD, Intel Nehalem, SNB, IVB.
1137 * sysdeps/x86_64/strnlen.S: Likewise.
1139 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
1140 Remove all multiarch strlen and strnlen versions.
1141 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
1142 Remove strlen and strnlen related parts.
1144 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
1146 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
1148 * sysdeps/x86_64/multiarch/strlen.S: Remove.
1149 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
1150 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
1151 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
1152 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
1153 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
1155 2013-03-17 Carlos O'Donell <carlos@redhat.com>
1157 * manual/memory.texi (Malloc Tunable Parameters):
1158 Sort parameters alphabetically. Add comments for missing entries.
1160 2013-03-17 David S. Miller <davem@davemloft.net>
1162 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1164 2013-03-16 Joseph Myers <joseph@codesourcery.com>
1167 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
1168 for arguments at most half maximum finite value.
1169 * math/libm-test.inc (j0_test): Add more tests.
1170 (j1_test): Likewise.
1171 (y0_test): Likewise.
1172 (y1_test): Likewise.
1173 * sysdeps/i386/fpu/libm-test-ulps: Update.
1174 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1177 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
1178 1 / x and functions P and Q for arguments above 0x1p256L.
1179 (__ieee754_y0l): Likewise.
1180 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
1181 (__ieee754_y1l): Likewise.
1182 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
1183 (j1_test): Likewise.
1184 (y0_test): Likewise.
1185 (y1_test): Likewise.
1187 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
1189 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
1192 2013-03-15 Roland McGrath <roland@hack.frob.com>
1194 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
1195 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
1196 zero since it's initialized to EXEC_PAGESIZE.
1198 * sysdeps/unix/sysv/linux/ldsodefs.h
1199 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
1200 * sysdeps/generic/ldsodefs.h: ... here.
1202 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
1204 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
1206 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
1208 * math/test-snan.c: Renamed from
1209 sysdeps/powerpc/fpu/test-powerpc-snan.c.
1210 * math/Makefile (tests): Add test-snan.
1211 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
1214 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
1215 SUFFIX. Initialize qNaN_var with __builtin_nan family of
1217 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
1218 __builtin_nan family of functions.
1219 * math/libm-test.inc (initialize): Initialize qnan_value with
1220 __builtin_nan family of functions.
1221 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
1223 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
1225 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
1226 storage class. Initialize qNaN_var and sNaN_var with
1227 __builtin_nan and __builtin_nans families of functions,
1230 * math/libm-test.inc (acosh_test): Also test with qNaN input.
1231 (sqrt_test): Remove duplicate test with qNaN input.
1232 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
1233 (round_test, signbit_test, significand_test): Note missing +/-Inf
1234 as well as qNaN tests.
1236 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
1237 qNaN_var. Fix a few strings, too.
1238 * math/libm-test.inc (nan_value): Rename to qnan_value.
1239 * math/gen-libm-test.pl (%beautify): Adjust to that.
1240 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
1241 * math/test-misc.c (main): Likewise.
1242 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
1243 to __qnan_bytes, and __qnan_union, respectively.
1244 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
1246 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
1247 and lqnanval, respectively.
1248 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
1249 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
1250 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
1251 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
1253 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
1254 * math/test-misc.c (main) [__x86_64__]: Enable test for long
1257 * math/test-misc.c (main): Fix copy'n'pastos.
1258 * misc/tst-efgcvt.c (special): Likewise.
1260 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
1261 Remove declarations.
1263 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1265 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
1266 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
1267 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
1268 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
1270 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1272 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
1273 macro to return vdso values correctly in IFUNC implementations.
1274 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
1275 Optimization by using IFUNC.
1277 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1278 Richard Henderson <rth@redhat.com>
1279 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1281 * Makefile.in (bench): New target.
1282 * NEWS: Mention the benchmark framework.
1283 * Rules (bench): Likewise.
1284 (binaries-bench): Generate binaries for functions to
1286 * benchtests/Makefile: New makefile for benchmark tests.
1287 * benchtests/bench-skeleton.c: New skeleton file for benchmark
1289 * benchtests/exp-inputs: New input file for EXP function.
1290 * benchtests/pow-inputs: New input file for POW function.
1291 * scripts/bench.pl: New script to generate source files for
1294 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1296 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
1297 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
1298 computations on mantissa. Use macros for rounding and
1301 (__dbl_mp): Likewise.
1302 (add_magnitudes): Likewise.
1303 (sub_magnitudes): Likewise.
1306 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
1307 powers of two in terms of TWOPOW macro.
1308 (mp_no): Make type of mantissa as MANTISSA_T.
1309 [!RADIXI]: Define RADIXI.
1310 [!TWO52]: Define TWO52.
1311 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
1313 * manual/nptl.texi (cindex): Modify threads to pthreads.
1315 2013-03-15 Joseph Myers <joseph@codesourcery.com>
1317 * sysdeps/x86_64/preconfigure: Regenerated.
1319 2013-03-14 Joseph Myers <joseph@codesourcery.com>
1322 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
1324 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
1325 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
1327 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
1328 * math/libm-test.inc (j0_test): Do not allow one spurious
1329 underflow exception.
1330 (y1_test): Likewise.
1332 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
1334 * manual/Makefile (chapters): Add nptl.
1335 * manual/debug.texi (Debugging Support): Add link to Threads
1337 * manual/nptl.texi: New file.
1339 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
1341 2013-03-14 Petr Baudis <pasky@ucw.cz>
1343 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
1344 for non-NULL pointer before the memory validity test. Pointed
1345 out by Holger Brunck <holger.brunck@keymile.com>.
1347 2013-03-13 Andreas Schwab <schwab@suse.de>
1349 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
1352 2013-03-13 Joseph Myers <joseph@codesourcery.com>
1354 * timezone/zic.c: Update from tzcode 2013b.
1356 2013-03-12 Carlos O'Donell <carlos@redhat.com>
1358 * manual/install.texi (Configuring and compiling):
1359 Mention i686 and i586.
1360 * INSTALL: Regenerate.
1362 2013-03-12 Roland McGrath <roland@hack.frob.com>
1364 * sysdeps/init_array/elf-init.c: New file.
1366 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
1367 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
1369 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
1370 __gmon_start__ as global, but as static with a .preinit_array pointer.
1371 * sysdeps/init_array/gmon-start.c: New file. Use that.
1372 * sysdeps/init_array/crti.S: New file, empty except for comments.
1373 * sysdeps/init_array/crtn.S: Likewise.
1375 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
1377 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
1379 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1380 Remove Prefer_SSE_for_memop.
1381 * sysdeps/x86_64/multiarch/init-arch.h: Remove
1382 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
1383 HAS_PREFER_SSE_FOR_MEMOP.
1384 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
1386 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1387 Remove bzero, memset ifunc support.
1388 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
1389 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
1390 * sysdeps/x86_64/multiarch/memset.S: Likewise.
1391 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1393 2013-03-11 Andreas Schwab <schwab@suse.de>
1396 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
1398 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
1399 (GLIBC_2.16): Remove pthread_atfork.
1401 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
1403 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
1404 (ptestcases.h): Likewise.
1406 2013-03-08 Roland McGrath <roland@hack.frob.com>
1408 * Makeconfig ($(common-objpfx)config.status): Depend on
1409 sysdeps/*/preconfigure{,.in} too.
1411 2013-03-08 Joseph Myers <joseph@codesourcery.com>
1413 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
1414 (__free_hook): Use void * instead of __malloc_ptr_t.
1415 (__malloc_hook): Likewise.
1416 (__realloc_hook): Likewise.
1417 (__memalign_hook): Likewise.
1418 (__after_morecore_hook): Likewise.
1419 * malloc/arena.c (save_malloc_hook): Likewise.
1420 (save_free_hook): Likewise.
1421 * malloc/hooks.c (malloc_hook_ini): Likewise.
1422 (realloc_hook_ini): Likewise.
1423 (memalign_hook_ini): Likewise.
1424 * malloc/malloc.c (malloc_hook_ini): Likewise.
1425 (realloc_hook_ini): Likewise.
1426 (memalign_hook_ini): Likewise.
1427 (__free_hook): Likewise.
1428 (__malloc_hook): Likewise.
1429 (__realloc_hook): Likewise.
1430 (__memalign_hook): Likewise.
1431 (__libc_malloc): Likewise.
1432 (__libc_free): Likewise.
1433 (__libc_realloc): Likewise.
1434 (__libc_memalign): Likewise.
1435 (__libc_valloc): Likewise.
1436 (__libc_pvalloc): Likewise.
1437 (__libc_calloc): Likewise.
1438 (__posix_memalign): Likewise.
1439 * malloc/morecore.c (__sbrk): Likewise.
1440 (__default_morecore): Likewise.
1442 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
1444 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
1445 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
1448 * malloc/malloc.h (__malloc_size_t): Remove macro.
1449 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
1451 (old_memalign_hook): Likewise.
1452 (old_realloc_hook): Likewise.
1453 (struct hdr): Likewise.
1455 (mallochook): Likewise.
1456 (memalignhook): Likewise.
1457 (reallochook): Likewise.
1458 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
1459 (tr_old_realloc_hook): Likewise.
1460 (tr_old_memalign_hook): Likewise.
1461 (tr_mallochook): Likewise.
1462 (tr_reallochook): Likewise.
1463 (tr_memalignhook): Likewise.
1465 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1467 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
1468 default_ldbl_pack and using as default implementation.
1469 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
1471 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
1472 redundant definition.
1473 (ldbl_insert_mantissa): Likewise.
1474 (ldbl_canonicalize): Likewise.
1475 (ldbl_nearbyint): Likewise.
1476 (ldbl_pack): Rename to ldbl_pack_ppc.
1477 (ldbl_unpack): Rename to ldbl_unpack_ppc.
1478 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
1479 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
1481 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
1483 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
1484 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
1485 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
1486 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
1487 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
1488 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
1489 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
1490 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
1492 2013-03-07 Andreas Jaeger <aj@suse.de>
1494 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1497 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
1499 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
1500 Include mpa.h and declare __MPEXP.
1501 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
1502 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
1503 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
1504 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
1505 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
1506 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
1507 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
1509 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
1510 (__slowpow): Use long double EXPL and LOGL functions to
1512 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
1513 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
1514 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
1515 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
1516 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
1517 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
1519 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
1520 intermediate variable to calculate exponent.
1522 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
1526 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
1527 [!NO__SQR]: Define __sqr.
1528 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
1529 and NO__SQR. Remove all code except __mul and __sqr. Include
1530 sysdeps/ieee754/dbl-64/mpa.c.
1531 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
1534 * posix/Makefile (tests): Add tst-pathconf.
1535 * posix/tst-pathconf.c: New test case.
1536 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
1538 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
1540 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
1542 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
1544 2013-03-06 Andreas Jaeger <aj@suse.de>
1546 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
1547 definition via __MAP_ANONYMOUS.
1549 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
1550 it's not part of Linux headers.
1552 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
1553 (MAP_HUGE_MASK): Define.
1555 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
1557 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
1558 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
1560 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
1561 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
1563 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
1564 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
1566 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
1568 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
1569 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
1570 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
1571 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
1572 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
1573 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
1575 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
1578 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
1579 Handle f2fs and efivarfs.
1581 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
1584 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
1585 (EFIVARFS_MAGIC): Add.
1586 (F2FS_LINK_MAX): Add.
1588 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
1590 * stdio-common/vfprintf.c: Replace __builtin_expect with
1593 2013-03-06 Joseph Myers <joseph@codesourcery.com>
1596 * sysdeps/generic/bp-sym.h: Remove file.
1597 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
1598 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
1599 <bp-sym.h> and <bp-asm.h>.
1600 (__longjmp): Don't use BP_SYM.
1601 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
1603 (memcpy): Don't use BP_SYM.
1604 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
1605 <bp-sym.h> and <bp-asm.h>.
1606 (memcpy): Don't use BP_SYM.
1607 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
1609 (memcpy): Don't use BP_SYM.
1610 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
1612 (memset): Don't use BP_SYM.
1613 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1614 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1615 (__bzero): Don't use BP_SYM.
1616 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1617 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1618 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
1619 <bp-sym.h> and <bp-asm.h>.
1620 (memcmp): Don't use BP_SYM. Remove comment about bounded
1622 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
1623 <bp-sym.h> and <bp-asm.h>.
1624 (memcpy): Don't use BP_SYM.
1625 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
1626 <bp-sym.h> and <bp-asm.h>.
1627 (memset): Don't use BP_SYM.
1628 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1629 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1630 (__bzero): Don't use BP_SYM.
1631 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1632 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1633 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
1634 <bp-sym.h> and <bp-asm.h>.
1635 (strncmp): Don't use BP_SYM. Remove comment about bounded
1637 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
1638 <bp-sym.h> and <bp-asm.h>.
1639 (memcpy): Don't use BP_SYM.
1640 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
1641 <bp-sym.h> and <bp-asm.h>.
1642 (memset): Don't use BP_SYM.
1643 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1644 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1645 (__bzero): Don't use BP_SYM.
1646 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1647 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1648 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
1649 <bp-sym.h> and <bp-asm.h>.
1650 (__memchr): Don't use BP_SYM.
1651 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
1652 <bp-sym.h> and <bp-asm.h>.
1653 (memcmp): Don't use BP_SYM. Remove comment about bounded
1655 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
1656 <bp-sym.h> and <bp-asm.h>.
1657 (memcpy): Don't use BP_SYM.
1658 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
1659 <bp-sym.h> and <bp-asm.h>.
1660 (__mempcpy): Don't use BP_SYM.
1661 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
1662 <bp-sym.h> and <bp-asm.h>.
1663 (__memrchr): Don't use BP_SYM.
1664 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
1665 <bp-sym.h> and <bp-asm.h>.
1666 (memset): Don't use BP_SYM.
1667 (__bzero): Likewise.
1668 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
1669 <bp-sym.h> and <bp-asm.h>.
1670 (__rawmemchr): Don't use BP_SYM.
1671 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
1672 <bp-sym.h> and <bp-asm.h>.
1673 (__STRCMP): Don't use BP_SYM.
1674 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
1675 <bp-sym.h> and <bp-asm.h>.
1676 (strchr): Don't use BP_SYM.
1677 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
1678 <bp-sym.h> and <bp-asm.h>.
1679 (__strchrnul): Don't use BP_SYM.
1680 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
1681 <bp-sym.h> and <bp-asm.h>.
1682 (strlen): Don't use BP_SYM.
1683 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
1684 <bp-sym.h> and <bp-asm.h>.
1685 (strncmp): Don't use BP_SYM. Remove comment about bounded
1687 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
1688 <bp-sym.h> and <bp-asm.h>.
1689 (__strnlen): Don't use BP_SYM.
1690 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
1691 <bp-sym.h> and <bp-asm.h>.
1692 (__GI__setjmp): Don't use BP_SYM.
1693 (_setjmp): Likewise.
1694 (__sigsetjmp): Likewise.
1695 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
1696 (L(start_addresses)): Don't use BP_SYM.
1698 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
1700 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
1701 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
1702 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1703 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1704 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
1706 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
1707 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
1708 about bounded pointers.
1709 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
1710 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
1711 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
1713 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
1714 about bounded pointers. Remove GKM FIXME comments.
1715 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
1716 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
1718 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
1719 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
1720 Remove GKM FIXME comments.
1721 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1722 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1723 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
1725 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
1726 about bounded pointers. Remove GKM FIXME comment.
1727 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
1729 (strncmp): Don't use BP_SYM. Remove comment about bounded
1731 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
1732 <bp-sym.h> and <bp-asm.h>.
1733 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
1734 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
1735 <bp-sym.h> and <bp-asm.h>.
1736 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
1739 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
1741 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
1744 2013-03-05 David S. Miller <davem@davemloft.net>
1746 * po/es.po: Update from translation team.
1748 2013-03-05 Andreas Jaeger <aj@suse.de>
1750 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
1751 <bits/mman-linux.h>.
1752 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
1754 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
1755 <bits/mman-linux.h> to end of file.
1756 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
1758 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
1759 <bits/mman-linux.h> to end of file.
1760 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
1762 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
1763 <bits/mman-linux.h> to end of file.
1765 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
1766 (MCL_CURRENT, MCL_FUTURE): Define here.
1768 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1771 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
1773 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
1775 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1777 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
1778 fourth parameter needed for rt_sigprocmask syscall.
1779 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
1780 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
1781 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
1782 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
1783 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
1784 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
1786 2013-03-04 Joseph Myers <joseph@codesourcery.com>
1789 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
1790 comment about bounded pointers.
1791 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
1792 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
1794 2013-03-04 Andreas Jaeger <aj@suse.de>
1796 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
1799 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
1800 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
1801 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
1802 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
1803 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
1804 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
1806 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1809 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
1810 __ieee754_sqrl instead of __sqrl.
1812 2013-03-01 Joseph Myers <joseph@codesourcery.com>
1814 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
1815 * sysdeps/powerpc/fpu_control.h: ... here.
1816 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
1817 * sysdeps/powerpc/bits/fenvinline.h: ... here.
1818 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
1819 * sysdeps/powerpc/bits/mathinline.h: ... here.
1821 2013-03-01 Roland McGrath <roland@hack.frob.com>
1823 * elf/dl-hwcaps.c (_dl_important_hwcaps):
1824 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
1825 to just [NEED_DL_SYSINFO_DSO].
1826 * elf/dl-support.c: Likewise.
1827 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
1828 * elf/rtld.c (dl_main): Likewise.
1829 * elf/setup-vdso.h (setup_vdso): Likewise.
1830 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
1831 * sysdeps/unix/sysv/linux/dl-sysdep.c
1832 (_dl_discover_osversion): Likewise.
1834 2013-03-01 Carlos O'Donell <carlos@redhat.com>
1836 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
1837 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
1839 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
1841 * NEWS: Mention libm performance improvements and non-x86 PI
1844 * csu/libc-start.c (__pthread_initialize_minimal): Change
1846 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
1848 2013-02-28 Joseph Myers <joseph@codesourcery.com>
1851 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
1852 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
1853 <bp-sym.h> and <bp-asm.h>.
1854 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
1855 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
1857 (memcpy): Don't use BP_SYM.
1858 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
1860 (__mpn_add_n): Don't use BP_SYM.
1861 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
1862 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
1864 (__mpn_addmul_1): Don't use BP_SYM.
1865 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1866 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
1868 (_setjmp): Don't use BP_SYM.
1869 (__novmx_setjmp): Likewise.
1870 (__GI__setjmp): Likewise.
1871 (__vmx_setjmp): Likewise.
1872 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
1874 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
1875 (__bzero): Don't use BP_SYM.
1876 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1877 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1878 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
1879 <bp-sym.h> and <bp-asm.h>.
1880 (memcpy): Don't use BP_SYM.
1881 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
1882 <bp-sym.h> and <bp-asm.h>.
1883 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
1884 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
1885 <bp-sym.h> and <bp-asm.h>.
1886 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
1887 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
1889 (__mpn_lshift): Don't use BP_SYM.
1890 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1891 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
1893 (memset): Don't use BP_SYM.
1894 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1895 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1896 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
1898 (__mpn_mul_1): Don't use BP_SYM.
1899 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1900 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
1901 <bp-sym.h> and <bp-asm.h>.
1902 (memcmp): Don't use BP_SYM.
1903 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
1904 <bp-sym.h> and <bp-asm.h>.
1905 (memcpy): Don't use BP_SYM.
1906 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
1907 <bp-sym.h> and <bp-asm.h>.
1908 (memset): Don't use BP_SYM.
1909 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
1910 <bp-sym.h> and <bp-asm.h>.
1911 (strncmp): Don't use BP_SYM.
1912 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
1913 <bp-sym.h> and <bp-asm.h>.
1914 (memcpy): Don't use BP_SYM.
1915 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
1916 <bp-sym.h> and <bp-asm.h>.
1917 (memset): Don't use BP_SYM.
1918 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
1919 <bp-sym.h> and <bp-asm.h>.
1920 (__memchr): Don't use BP_SYM.
1921 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
1922 <bp-sym.h> and <bp-asm.h>.
1923 (memcmp): Don't use BP_SYM.
1924 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
1925 <bp-sym.h> and <bp-asm.h>.
1926 (memcpy): Don't use BP_SYM.
1927 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
1928 <bp-sym.h> and <bp-asm.h>.
1929 (__mempcpy): Don't use BP_SYM.
1930 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
1931 <bp-sym.h> and <bp-asm.h>.
1932 (__memrchr): Don't use BP_SYM.
1933 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
1934 <bp-sym.h> and <bp-asm.h>.
1935 (memset): Don't use BP_SYM.
1936 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
1937 <bp-sym.h> and <bp-asm.h>.
1938 (__rawmemchr): Don't use BP_SYM.
1939 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
1940 <bp-sym.h> and <bp-asm.h>.
1941 (__STRCMP): Don't use BP_SYM.
1942 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
1943 <bp-sym.h> and <bp-asm.h>.
1944 (strchr): Don't use BP_SYM.
1945 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
1946 <bp-sym.h> and <bp-asm.h>.
1947 (__strchrnul): Don't use BP_SYM.
1948 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
1949 <bp-sym.h> and <bp-asm.h>.
1950 (strlen): Don't use BP_SYM.
1951 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
1952 <bp-sym.h> and <bp-asm.h>.
1953 (strncmp): Don't use BP_SYM.
1954 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
1955 <bp-sym.h> and <bp-asm.h>.
1956 (__strnlen): Don't use BP_SYM.
1957 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
1959 (__mpn_rshift): Don't use BP_SYM.
1960 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1961 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
1962 <bp-sym.h> and <bp-asm.h>.
1963 (__sigsetjmp): Don't use BP_SYM.
1964 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
1965 (L(start_addresses)): Don't use BP_SYM.
1967 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
1969 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
1970 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1971 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1972 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
1974 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
1975 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
1976 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
1977 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
1979 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
1981 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
1982 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
1984 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
1986 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1987 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1988 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
1990 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
1992 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
1994 (strncmp): Don't use BP_SYM,
1995 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
1997 (__mpn_sub_n): Don't use BP_SYM.
1998 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1999 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
2001 (__mpn_submul_1): Don't use BP_SYM.
2002 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2003 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
2004 <bp-sym.h> and <bp-asm.h>.
2005 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
2006 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
2007 <bp-sym.h> and <bp-asm.h>.
2008 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
2011 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2013 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
2014 Use ZK to minimize writes to Z.
2015 (sub_magnitudes): Simplify code a bit.
2016 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
2017 Use ZK to minimize writes to Z.
2018 (sub_magnitudes): Simplify code a bit.
2020 2013-02-27 Roland McGrath <roland@hack.frob.com>
2022 * csu/gmon-start.c: Add special exception to license text.
2024 2013-02-27 Richard Henderson <rth@redhat.com>
2026 * scripts/config.guess: Update from config.git.
2027 * scripts/config.sub: Likewise.
2029 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2031 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
2033 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
2035 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
2037 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
2039 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
2041 2013-02-26 Roland McGrath <roland@hack.frob.com>
2043 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
2044 [$(build-shared = yes].
2046 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2048 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
2049 (__mul): Reduce iterations for calculating mantissa.
2051 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
2053 (__mpranred): Likewise.
2056 * malloc/memusagestat.c (main): Draw graphs for heap and stack
2057 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
2059 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
2061 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
2062 Define __attribute__.
2064 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2066 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
2068 * posix/regex_internal.h (__attribute): Remove.
2069 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
2070 (re_string_context_at): Likewise.
2071 (bitset_not): Use __attribute__ and mark function as possibly
2073 (bitset_merge): Likewise.
2074 (bitset_mask): Likewise.
2075 (re_string_char_size_at): Likewise.
2076 (re_string_wchar_at): Likewise.
2077 (re_string_elem_size_at): Likewise.
2079 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
2081 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
2085 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
2090 (__dbl_mp): Likewise.
2091 (add_magnitudes): Likewise.
2092 (sub_magnitudes): Likewise.
2096 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
2099 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
2102 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
2105 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
2106 up changes with default code.
2107 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
2110 2013-02-24 Allan McRae <allan@archlinux.org>
2112 * manual/socket.texi (The Internet Namespace): Order menu items
2113 to match that in the file.
2115 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
2116 node listing of the info page menu.
2118 2013-02-21 Joseph Myers <joseph@codesourcery.com>
2121 * sysdeps/i386/bp-asm.h: Remove file.
2122 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
2123 (PARMS): Do not use macros from bp-asm.h.
2127 (__mpn_add_n): Do not use BP_SYM
2128 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
2130 (PARMS): Do not use macros from bp-asm.h.
2133 (__mpn_addmul_1): Do not use BP_SYM
2134 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
2136 (PARMS): Do not use macros from bp-asm.h.
2138 (_setjmp): Likewise. Do not use BP_SYM.
2139 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
2141 (PARMS): Do not use macros from bp-asm.h.
2143 (setjmp): Likewise. Do not use BP_SYM.
2144 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
2146 (PARMS): Do not use macros from bp-asm.h.
2147 (__frexp): Do not use BP_SYM.
2149 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
2151 (PARMS): Do not use macros from bp-asm.h.
2152 (__frexpf): Do not use BP_SYM.
2154 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
2156 (PARMS): Do not use macros from bp-asm.h.
2157 (__frexpl): Do not use BP_SYM.
2159 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
2161 (PARMS): Do not use macros from bp-asm.h.
2162 (__remquo): Do not use BP_SYM.
2164 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
2166 (PARMS): Do not use macros from bp-asm.h.
2167 (__remquof): Do not use BP_SYM.
2168 (remquof): Likewise.
2169 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
2171 (PARMS): Do not use macros from bp-asm.h.
2172 (__remquol): Do not use BP_SYM.
2173 (remquol): Likewise.
2174 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
2176 (PARMS): Do not use macros from bp-asm.h.
2179 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
2180 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
2182 (PARMS): Do not use macros from bp-asm.h.
2183 (strlen): Do not use BP_SYM.
2184 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
2186 (PARMS): Do not use macros from bp-asm.h.
2190 (__mpn_add_n): Do not use BP_SYM.
2191 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
2193 (PARMS): Do not use macros from bp-asm.h.
2196 (__mpn_addmul_1): Do not use BP_SYM.
2197 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
2200 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
2202 (PARMS): Do not use macros from bp-asm.h.
2205 (__mpn_lshift): Do not use BP_SYM.
2206 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
2208 (PARMS): Do not use macros from bp-asm.h.
2212 (memcpy): Likewise. Do not use BP_SYM.
2213 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
2214 libc_hidden_def and weak_alias.
2215 (mempcpy): Do not use BP_SYM in weak_alias.
2216 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
2218 (PARMS): Do not use macros from bp-asm.h.
2221 [!BZERO_P] (CHR): Likewise.
2222 (memset): Likewise. Do not use BP_SYM.
2223 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
2225 (PARMS): Do not use macros from bp-asm.h.
2228 (__mpn_mul_1): Do not use BP_SYM.
2229 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
2231 (PARMS): Do not use macros from bp-asm.h.
2234 (__mpn_rshift): Do not use BP_SYM.
2235 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
2237 (PARMS): Do not use macros from bp-asm.h.
2240 (strchr): Likewise. Do not use BP_SYM.
2241 (index): Do not use BP_SYM in weak_alias.
2242 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
2244 (PARMS): Do not use macros from bp-asm.h.
2247 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
2248 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
2250 (PARMS): Do not use macros from bp-asm.h.
2251 (strlen): Do not use BP_SYM.
2252 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
2254 (PARMS): Do not use macros from bp-asm.h.
2258 (__mpn_sub_n): Do not use BP_SYM.
2259 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
2261 (PARMS): Do not use macros from bp-asm.h.
2264 (__mpn_submul_1): Do not use BP_SYM.
2265 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
2267 (PARMS): Do not use macros from bp-asm.h.
2271 (__mpn_add_n): Do not use BP_SYM.
2272 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
2275 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
2277 (PARMS): Do not use macros from bp-asm.h.
2280 (memcmp): Do not use BP_SYM.
2281 (bcmp): Do not use BP_SYM in weak_alias.
2282 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
2284 (PARMS): Do not use macros from bp-asm.h.
2288 (memcpy): Likewise. Do not use BP_SYM.
2289 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
2291 (PARMS): Do not use macros from bp-asm.h.
2295 (memmove): Likewise. Do not use BP_SYM.
2296 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
2298 (PARMS): Do not use macros from bp-asm.h.
2302 (__mempcpy): Likewise. Do not use BP_SYM.
2303 (mempcpy): Do not use BP_SYM in weak_alias.
2304 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
2306 (PARMS): Do not use macros from bp-asm.h.
2309 [!BZERO_P] (CHR): Likewise.
2310 (memset): Likewise. Do not use BP_SYM.
2311 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
2313 (PARMS): Do not use macros from bp-asm.h.
2315 (strcmp): Do not use BP_SYM.
2316 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
2318 (PARMS): Do not use macros from bp-asm.h.
2321 [USE_AS_STRTOK_R] (SAVE): Likewise.
2322 (FUNCTION): Likewise. Do not use BP_SYM.
2323 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
2325 (strtok_r): Likewise.
2326 (__GI___strtok_r): Likewise.
2327 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
2328 (PARMS): Do not use macros from bp-asm.h.
2331 (__mpn_lshift): Do not use BP_SYM.
2332 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
2333 (PARMS): Do not use macros from bp-asm.h.
2336 (__memchr): Do not use BP_SYM.
2337 (memchr): Do not use BP_SYM in weak_alias.
2338 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
2339 (PARMS): Do not use macros from bp-asm.h.
2342 (memcmp): Do not use BP_SYM.
2343 (bcmp): Do not use BP_SYM in weak_alias.
2344 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
2345 (PARMS): Do not use macros from bp-asm.h.
2348 (__mpn_mul_1): Do not use BP_SYM.
2349 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
2351 (PARMS): Do not use macros from bp-asm.h.
2354 (__rawmemchr): Do not use BP_SYM.
2355 (rawmemchr): Do not use BP_SYM in weak_alias.
2356 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
2357 (PARMS): Do not use macros from bp-asm.h.
2360 (__mpn_rshift): Do not use BP_SYM.
2361 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
2362 (PARMS): Do not use macros from bp-asm.h.
2364 (__sigsetjmp): Likewise. Do not use BP_SYM.
2365 * sysdeps/i386/start.S: Do not include "bp-sym.h".
2366 (_start): Do not use BP_SYM.
2367 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
2368 (PARMS): Do not use macros from bp-asm.h.
2371 (__stpcpy): Likewise. Do not use BP_SYM.
2372 (stpcpy): Do not use BP_SYM in weak_alias.
2373 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
2375 (PARMS): Do not use macros from bp-asm.h.
2379 (__stpncpy): Likewise. Do not use BP_SYM.
2380 (stpncpy): Do not use BP_SYM in weak_alias.
2381 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
2382 (PARMS): Do not use macros from bp-asm.h.
2385 (strchr): Likewise. Do not use BP_SYM.
2386 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
2388 (PARMS): Do not use macros from bp-asm.h.
2391 (__strchrnul): Likewise. Do not use BP_SYM.
2392 (strchrnul): Do not use BP_SYM in weak_alias.
2393 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
2395 (PARMS): Do not use macros from bp-asm.h.
2397 (strcspn): Do not use BP_SYM.
2398 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
2400 (PARMS): Do not use macros from bp-asm.h.
2403 (strpbrk): Likewise. Do not use BP_SYM.
2404 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
2406 (PARMS): Do not use macros from bp-asm.h.
2409 (strrchr): Likewise. Do not use BP_SYM.
2410 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
2411 (PARMS): Do not use macros from bp-asm.h.
2413 (strspn): Do not use BP_SYM.
2414 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
2415 (PARMS): Do not use macros from bp-asm.h.
2419 (FUNCTION): Likewise. Do not use BP_SYM.
2420 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
2422 (strtok_r): Likewise.
2423 (__GI___strtok_r): Likewise.
2424 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
2425 (PARMS): Do not use macros from bp-asm.h.
2429 (__mpn_sub_n): Do not use BP_SYM.
2430 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
2432 (PARMS): Do not use macros from bp-asm.h.
2435 (__mpn_submul_1): Do not use BP_SYM.
2436 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
2438 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
2440 (PARMS): Do not use macros from bp-asm.h.
2445 (__clone): Do not use BP_SYM.
2446 (clone): Do not use BP_SYM in weak_alias.
2447 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
2449 (PARMS): Do not use macros from bp-asm.h.
2451 (__mmap64): Do not use BP_SYM.
2452 (mmap64): Do not use BP_SYM in weak_alias.
2453 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
2454 <bp-sym.h> and <bp-asm.h>.
2455 (PARMS): Do not use macros from bp-asm.h.
2456 (__posix_fadvise64_l64): Do not use BP_SYM.
2457 * sysdeps/unix/sysv/linux/i386/semtimedop.S
2458 (PARMS): Do not use macros from bp-asm.h.
2460 (semtimedop): Do not use BP_SYM.
2461 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
2464 2013-02-21 Allan McRae <allan@archlinux.org>
2466 * manual/message.texi (Charset conversion in gettext):
2467 Move @end statement to beginning of line.
2469 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2471 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
2473 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
2476 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
2478 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
2479 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
2481 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2483 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
2484 tail-call to the resolved function if pltexit isn't needed.
2486 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2488 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
2489 or Y being zero as being unlikely.
2490 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
2493 2013-02-20 Carlos O'Donell <carlos@redhat.com>
2495 * manual/nss.texi (System Databases and Name Service Switch):
2496 Remove frobnicate @pxref.
2498 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
2500 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
2501 __attribute__ ((unused)) to __attribute__ ((__unused__)).
2503 2013-02-20 Petr Machata <pmachata@redhat.com>
2505 * elf/elf.h (R_ARM_TARGET1): New macro.
2506 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
2507 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
2508 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
2509 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
2510 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
2511 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
2512 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
2513 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
2514 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
2515 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
2516 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
2517 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
2518 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
2519 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
2520 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
2521 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
2522 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
2523 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
2524 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
2525 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
2526 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
2527 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
2528 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
2529 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
2530 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
2531 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
2532 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
2533 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
2534 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
2535 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
2536 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
2537 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
2538 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
2539 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
2540 (R_ARM_THM_GOT_BREL12): Likewise.
2541 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
2542 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
2543 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
2544 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
2545 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
2546 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
2547 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
2548 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
2549 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
2551 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
2553 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
2554 __attribute_used__ to __attribute__ ((unused)).
2556 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
2558 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
2560 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
2562 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
2564 2013-02-19 Joseph Myers <joseph@codesourcery.com>
2567 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
2569 (ENTER): Remove both macro definitions.
2571 (CHECK_BOUNDS_LOW): Likewise.
2572 (CHECK_BOUNDS_HIGH): Likewise.
2573 (CHECK_BOUNDS_BOTH): Likewise.
2574 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
2575 (RETURN_BOUNDED_POINTER): Likewise.
2576 (RETURN_NULL_BOUNDED_POINTER): Likewise.
2577 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
2578 (POP_ERRNO_LOCATION_RETURN): Likewise.
2579 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
2580 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2581 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
2583 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2584 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
2585 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
2586 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
2587 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
2588 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
2589 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
2590 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
2591 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
2592 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
2593 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
2594 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
2595 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2596 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
2598 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2599 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
2601 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2602 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
2603 * sysdeps/i386/i586/memset.S (memset): Likewise.
2604 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
2605 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2606 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
2608 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2609 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
2610 Change uses of L(2) to L(out).
2611 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
2612 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
2613 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
2614 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2615 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
2617 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2618 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
2620 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2621 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
2622 (RETURN): Do not use macro LEAVE.
2623 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
2624 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
2625 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
2626 * sysdeps/i386/i686/memset.S (memset): Likewise.
2627 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
2628 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
2629 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
2630 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
2632 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
2633 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
2634 L(1_2) and L(1_3) into L(1).
2635 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
2636 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
2637 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2638 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
2639 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
2640 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
2641 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
2642 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2643 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
2645 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
2646 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2647 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
2648 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
2649 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
2650 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
2651 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
2652 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
2653 * sysdeps/i386/strcspn.S (strcspn): Likewise.
2654 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
2655 * sysdeps/i386/strrchr.S (strrchr): Likewise.
2656 * sysdeps/i386/strspn.S (strspn): Likewise.
2657 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
2659 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
2660 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
2661 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
2662 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
2664 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
2665 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2666 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
2668 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2670 2013-02-19 Jakub Jelinek <jakub@redhat.com>
2672 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
2675 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2677 * math/atest-exp.c (exp_mpn): Remove ROUND.
2678 * math/atest-exp2.c (exp_mpn): Likewise.
2679 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
2681 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
2682 * stdlib/tst-tls-atexit-lib.c: Likewise.
2683 * stdlib/tst-tls-atexit.c: Likewise.
2685 2013-02-18 Mike Frysinger <vapier@gentoo.org>
2687 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
2688 and __attribute_alloc_size__.
2690 2013-02-18 Mike Frysinger <vapier@gentoo.org>
2692 * include/programs/xmalloc.h: Change __attribute_alloc_size to
2693 __attribute_alloc_size__.
2694 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
2695 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
2697 2013-02-18 Mike Frysinger <vapier@gentoo.org>
2699 * include/programs/xmalloc.h: New file.
2700 * catgets/gencat.c: Include it.
2701 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
2702 * elf/pldd.c: Likewise.
2703 * iconv/iconv_charmap.c: Likewise.
2704 * iconv/iconvconfig.c: Likewise.
2705 * iconv/strtab.c: Likewise.
2706 * locale/programs/locale.c: Likewise.
2707 * locale/programs/localedef.h: Likewise.
2708 * locale/programs/simple-hash.c: Likewise.
2709 * nscd/nscd.h: Likewise.
2710 * nss/makedb.c: Likewise.
2711 * sysdeps/generic/ldconfig.h: Likewise.
2713 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
2715 * Versions.def: Add GLIBC_2.18.
2716 * include/link.h (struct link_map): New member l_tls_dtor_count.
2717 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
2718 (__call_tls_dtors): Likewise.
2719 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
2720 __cxa_thread_atexit_impl.
2721 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2723 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2725 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
2727 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
2729 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
2730 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
2732 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
2734 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
2735 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
2737 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
2738 (tests): Add test case tst-tls-atexit.
2739 (modules-names): Add shared library for tst-tls-atexit.
2740 * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
2741 (GLIBC_PRIVATE): Add __call_tls_dtors.
2742 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
2744 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
2745 * stdlib/tst-tls-atexit.c: New test case.
2746 * stdlib/tst-tls-atexit-lib.c: New test case.
2748 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
2750 * elf/Versions (ld): Add _dl_find_dso_for_object.
2751 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
2752 * elf/dl-open.c (_dl_find_dso_for_object): New function.
2753 (dl_open_worker): Use _dl_find_dso_for_object.
2754 * elf/dl-sym.c (do_sym): Likewise.
2755 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
2757 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2759 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
2760 Syntactic changes only.
2761 (_dl_runtime_profile): Do a tail-call to the resolved function.
2763 2013-02-17 Joseph Myers <joseph@codesourcery.com>
2766 * sysdeps/x86_64/bp-asm.h: Remove file.
2767 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
2768 <bp-sym.h> and <bp-asm.h>.
2769 (__clone): Do not use BP_SYM.
2770 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
2771 <bp-sym.h> and <bp-asm.h>.
2772 * sysdeps/unix/x86_64/sysdep.S: Likewise.
2773 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
2775 (_setjmp): Do not use BP_SYM.
2776 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
2778 (setjmp): Do not use BP_SYM.
2779 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
2781 (mempcpy): Do not use BP_SYM in weak_alias.
2782 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
2784 (strchr): Do not use BP_SYM.
2785 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
2787 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
2788 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
2789 (_start): Do not use BP_SYM.
2790 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
2792 (strcat): Do not use BP_SYM.
2793 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
2795 (STRCMP): Do not use BP_SYM.
2796 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
2798 (STRCPY): Do not use BP_SYM.
2799 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
2801 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
2803 (FUNCTION): Do not use BP_SYM.
2804 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
2806 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
2808 2013-02-17 Andreas Jaeger <aj@suse.de>
2810 * time/Versions: Sort entries.
2811 * string/Versions: Likewise.
2812 * resolv/Versions: Likewise.
2813 * posix/Versions: Likewise.
2814 * iconv/Versions: Likewise.
2815 * elf/Versions: Likewise.
2816 * wcsmbs/Versions: Likewise.
2818 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2820 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
2821 loop termination condition.
2823 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
2824 variable to calculate EZ.
2827 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
2828 the lower precision input.
2830 2013-02-15 Joseph Myers <joseph@codesourcery.com>
2833 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
2834 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
2835 (run-via-rtld-prefix): Do not handle %-bp tests.
2836 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
2837 (all-object-suffixes): Remove .ob.
2838 (bppfx): Remove variable.
2839 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
2840 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
2841 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
2842 [$(build-bounded) = yes] (libtype.ob): Likewise.
2843 * Makerules (elide-routines.ob): Remove variable.
2844 (do-tests-clean): Do not handle *-bp.out.
2845 (common-mostlyclean): Do not handle *-bp and *-bp.out.
2846 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
2847 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
2848 (tests): Do not include $(tests-bp.out).
2849 (xtests): Do not include $(xtests-bp.out).
2850 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
2851 [$(build-bounded) = yes] ($(addprefix
2852 $(objpfx),$(binaries-bounded))): Remove rule.
2853 ($(objpfx)%-bp.out): Remove rule.
2854 * config.make.in (build-bounded): Remove variable.
2855 * crypt/Makefile [$(build-bounded) = yes]
2856 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
2857 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
2859 [$(build-bounded) = yes] (install-lib): Likewise.
2860 [$(build-bounded) = yes] (generated): Likewise.
2861 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
2863 * intl/Makefile [$(build-bounded) = yes]
2864 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
2865 * math/Makefile [$(build-bounded) = yes]
2866 ($(tests:%=$(objpfx)%-bp): Likewise.
2867 * misc/Makefile [$(build-bounded) = yes]
2868 ($(objpfx)tst-tsearch-bp): Likewise.
2869 * nptl/Makeconfig (bounded-thread-library): Remove variable.
2870 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
2872 * string/Makefile (o-objects.ob): Remove variable.
2873 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
2874 (CFLAGS-.ob): Remove variable.
2875 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
2876 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
2877 both definitions of variable.
2878 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
2879 (ASFLAGS-.ob): Remove variable.
2881 2013-02-14 Joseph Myers <joseph@codesourcery.com>
2884 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
2885 Remove __BOUNDED_POINTERS__ from condition.
2886 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
2887 * string/bits/string2.h [!__NO_STRING_INLINES &&
2888 !__BOUNDED_POINTERS__]: Likewise.
2889 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
2891 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
2892 Remove conditional code.
2893 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
2894 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
2895 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
2899 * csu/libc-start.c: Do not include <bp-sym.h>.
2900 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
2901 * elf/dl-open.c: Do not include <bp-sym.h>.
2902 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
2903 * math/fegetenv.c: Do not include <bp-sym.h>.
2904 (fegetenv): Do not use BP_SYM in versioned symbols.
2905 * nptl/sysdeps/pthread/bits/libc-lockP.h
2906 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
2908 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2909 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
2910 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2911 (__pthread_mutex_destroy): Likewise.
2912 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2913 (__pthread_mutex_lock): Likewise.
2914 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2915 (__pthread_mutex_trylock): Likewise.
2916 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2917 (__pthread_mutex_unlock): Likewise.
2918 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2919 (__pthread_mutexattr_init): Likewise.
2920 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2921 (__pthread_mutexattr_destroy): Likewise.
2922 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2923 (__pthread_mutexattr_settype): Likewise.
2924 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2925 (__pthread_rwlock_init): Likewise.
2926 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2927 (__pthread_rwlock_destroy): Likewise.
2928 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2929 (__pthread_rwlock_rdlock): Likewise.
2930 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2931 (__pthread_rwlock_tryrdlock): Likewise.
2932 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2933 (__pthread_rwlock_wrlock): Likewise.
2934 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2935 (__pthread_rwlock_trywrlock): Likewise.
2936 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2937 (__pthread_rwlock_unlock): Likewise.
2938 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2939 (__pthread_key_create): Likewise.
2940 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2941 (__pthread_setspecific): Likewise.
2942 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2943 (__pthread_getspecific): Likewise.
2944 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
2946 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2947 (_pthread_cleanup_push_defer): Likewise.
2948 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2949 (_pthread_cleanup_pop_restore): Likewise.
2950 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2951 (pthread_setcancelstate): Likewise.
2952 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
2954 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
2955 (memchr): Do not use BP_SYM in weak_alias.
2956 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
2957 (fegetenv): Do not use BP_SYM in versioned symbols.
2958 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
2959 (fesetenv): Do not use BP_SYM in versioned symbols.
2960 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
2961 (feupdateenv): Do not use BP_SYM in versioned symbols.
2962 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
2963 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
2964 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
2965 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
2966 (open64): Do not use BP_SYM in weak_alias.
2967 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
2968 (fegetenv): Do not use BP_SYM in versioned symbols.
2969 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
2970 (fesetenv): Do not use BP_SYM in versioned symbols.
2971 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
2972 (feupdateenv): Do not use BP_SYM in versioned symbols.
2973 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
2974 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
2975 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
2976 (feraiseexcept): Do not use BP_SYM in versioned symbols.
2977 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
2978 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
2979 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
2981 (__libc_start_main): Do not use BP_SYM.
2983 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
2985 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
2986 redundant return line.
2990 (sub_magnitudes): Likewise.
2996 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
3000 (sub_magnitudes): Likewise.
3007 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
3009 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
3010 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
3013 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
3014 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
3015 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
3016 of __mul for squares.
3017 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
3019 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
3021 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
3022 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
3024 2013-02-13 Joseph Myers <joseph@codesourcery.com>
3027 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
3029 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
3030 prototype or function definition. Rename ubp_* variables and
3031 parameters. Remove argv definitions conditional on
3032 [__BOUNDED_POINTERS__].
3033 * debug/backtrace.c (__backtrace): Do not use __unbounded.
3034 * elf/dl-runtime.c (_dl_fixup): Likewise.
3035 * include/set-hooks.h (RUN_HOOK): Likewise.
3036 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
3038 * string/strcpy.c (strcpy): Do not use __unbounded.
3039 * sysdeps/generic/frame.h (struct layout): Likewise.
3040 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
3041 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
3042 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
3043 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
3044 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
3045 (__backtrace): Likewise.
3046 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
3048 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
3049 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
3050 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
3052 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
3053 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
3054 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
3055 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
3056 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
3057 Do not use __unbounded.
3058 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
3059 Rename __unboundedrlimits parameter to rlimits in prototype.
3060 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
3061 Do not use __unbounded.
3062 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
3064 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
3065 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
3066 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
3067 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
3068 __ptrvalue or __unbounded.
3069 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
3070 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
3072 (__new_msgctl): Do not use __ptrvalue.
3073 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
3075 (__libc_msgrcv): Do not use __ptrvalue.
3076 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
3077 startup_info): Do not use __unbounded.
3078 (__libc_start_main): Likewise. Rename ubp_* variables and
3079 parameters. Remove argv definitions conditional on
3080 [__BOUNDED_POINTERS__].
3081 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
3083 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
3085 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
3087 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
3089 (__new_shmctl): Do not use __ptrvalue.
3090 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
3091 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
3093 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
3094 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
3095 (__libc_sigaction): Likewise.
3096 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
3097 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
3099 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
3101 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
3103 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
3105 * string/mempcpy.c: Implement by calling memcpy.
3107 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
3109 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
3111 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
3114 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
3115 values in the mantissa.
3117 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
3118 minimize writes to Z.
3119 (sub_magnitudes): Simplify code a bit.
3121 2013-02-12 Roland McGrath <roland@hack.frob.com>
3123 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
3124 from the message. The linker prefixes all warnings with that already.
3126 2013-02-12 Andreas Schwab <schwab@suse.de>
3129 * posix/regexec.c (extend_buffers): Add parameter min_len.
3130 (check_matching): Pass minimum needed length.
3131 (clean_state_log_if_needed): Likewise.
3132 (get_subexp): Likewise.
3133 * posix/Makefile (tests): Add bug-regex34.
3134 (bug-regex34-ENV): Define.
3135 * posix/bug-regex34.c: New file.
3138 * posix/regcomp.c (parse_bracket_exp): When looking up collating
3139 elements compare against the byte sequence of it, not its name.
3140 * posix/Makefile (tests): Add bug-regex35.
3141 (bug-regex35-ENV): Define.
3142 * posix/bug-regex35.c: New file.
3144 2013-02-11 Tom de Vries <tom@codesourcery.com>
3146 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
3148 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
3149 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
3150 (CHECK_EOL): Add undef.
3152 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
3154 * bits/stdlib-bsearch.h: New file.
3155 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
3156 * stdlib/stdlib.h: Likewise.
3158 2013-02-11 Roland McGrath <roland@hack.frob.com>
3160 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
3161 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
3163 * manual/search.texi (Array Search Function): Add missing const in
3165 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
3166 declaration to use rlim_t.
3167 (Basic Scheduling Functions): Remove erroneous const from
3168 sched_getparam prototype. Remove erroneous * from
3169 sched_get_priority_max and sched_get_priority_min prototypes.
3170 (Resource Usage): Fix summary @comment on vtimes to refer to
3171 sys/vtimes.h rather than vtimes.h.
3172 Add missing *s in vtimes prototype.
3173 (Limits on Resources): Fix ulimit prototype to return long int.
3174 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
3175 prototypes to use long int rather than double.
3176 (BSD Random): Fix initstate and setstate to use char *, not void *.
3177 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
3178 prototype to make second argument 'struct aiocb64 *const[]'.
3179 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
3180 (Status of AIO Operations): Remove erroneous const in aio_return and
3181 aio_return64 prototypes.
3182 (Synchronizing I/O): Fix sync prototype to return void.
3183 * manual/startup.texi (Suboptions): Remove an erroneous const in
3184 getsubopt prototype.
3185 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
3186 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
3187 use size_t rather than int.
3188 (Scanning All Users): Likewise for getpwent_r.
3189 (Setting Groups): Add missing const to setgroups prototype.
3190 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
3191 * manual/socket.texi (Host Names): Fix gethostbyaddr and
3192 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
3193 'const void *' rather than 'const char *'.
3194 (Host Address Functions): Likewise for inet_ntop.
3195 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
3196 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
3197 ssize_t for return value.
3198 (Sending Data): Likewise for send, sendto, sendmsg.
3199 (Socket Option Functions): Add a missing const in setsockopt prototype.
3200 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
3201 use wchar_t for the argument.
3202 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
3203 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
3205 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
3206 double/float/long double for second argument.
3207 Fix return types of significand, significandf, significandl.
3208 * manual/filesys.texi (Setting Permissions): Use mode_t for second
3209 argument in fchmod prototype.
3210 (File Owner): Use uid_t and gid_t in fchown prototype.
3211 (File Times): Add const to utimes, futimes, and lutimes prototypes.
3212 (Making Special Files): Use mode_t and dev_t in mknod prototype.
3213 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
3214 use 'const struct dirent **' as argument types to CMP function pointer
3216 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
3217 (File Times): Fix summary magic @comment for struct utimbuf and utime
3218 to refer to utime.h, not time.h.
3219 * manual/string.texi (Argz Functions): Add missing const in
3220 argz_extract and argz_next prototypes.
3221 (Finding Tokens in a String): Likewise for basename.
3222 (String/Array Comparison): Fix typo in wcscasecmp prototype.
3223 (Copying and Concatenation): Fix typo in wmemmove prototype.
3224 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
3225 (Signal Stack): Remove erroneous const in sigstack prototype.
3226 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
3228 (Simple Calendar Time): Likewise for stime.
3229 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
3231 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
3232 say sys/sysctl.h instead.
3233 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
3234 and vsyslog prototypes.
3236 2013-02-11 Tom de Vries <tom@codesourcery.com>
3238 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
3241 2013-02-11 Roland McGrath <roland@hack.frob.com>
3243 * misc/sys/mman.h: Fix typo in mremap comment.
3245 2013-02-08 Roland McGrath <roland@hack.frob.com>
3247 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
3248 the '\0' terminator.
3250 2013-02-08 Joseph Myers <joseph@codesourcery.com>
3253 * debug/segfault.c: Don't include <bp-checks.h>.
3254 * sysdeps/generic/bp-checks.h: Remove file.
3255 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
3256 (__GETDENTS): Don't use CHECK_N.
3257 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
3258 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
3259 (__getgroups): Don't use CHECK_N.
3260 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
3261 (setgroups): Don't use CHECK_N.
3262 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
3263 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
3264 (__libc_msgrcv): Don't use CHECK_N.
3265 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
3266 (__libc_msgsnd): Don't use CHECK_N.
3267 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
3269 (__libc_pread): Don't use CHECK_N.
3270 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
3271 include <bp-checks.h>.
3272 (__libc_pread64): Don't use CHECK_N.
3273 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
3274 include <bp-checks.h>.
3275 (__libc_pwrite): Don't use CHECK_N.
3276 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
3277 include <bp-checks.h>.
3278 (__libc_pwrite64): Don't use CHECK_N.
3279 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
3281 (__libc_pread): Don't use CHECK_N.
3282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
3283 include <bp-checks.h>.
3284 (__libc_pread64): Don't use CHECK_N.
3285 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
3286 include <bp-checks.h>.
3287 (__libc_pwrite): Don't use CHECK_N.
3288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
3289 include <bp-checks.h>.
3290 (__libc_pwrite64): Don't use CHECK_N.
3291 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
3292 (do_pread): Don't use CHECK_N.
3293 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
3294 (do_pread64): Don't use CHECK_N.
3295 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
3296 (do_pwrite): Don't use CHECK_N.
3297 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
3298 (do_pwrite64): Don't use CHECK_N.
3299 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
3300 (__libc_readv): Don't use CHECK_N.
3301 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
3302 (semop): Don't use CHECK_N.
3303 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
3305 (semtimedop): Don't use CHECK_N.
3306 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
3307 (__libc_pread): Don't use CHECK_N.
3308 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
3310 (__libc_pread64): Don't use CHECK_N.
3311 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
3313 (__libc_pwrite): Don't use CHECK_N.
3314 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
3316 (__libc_pwrite64): Don't use CHECK_N.
3317 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
3319 (__libc_msgrcv): Don't use CHECK_N.
3320 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
3321 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
3322 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
3323 (__libc_writev): Don't use CHECK_N.
3325 2013-02-08 Roland McGrath <roland@hack.frob.com>
3327 * string/strcpy.c: Removed unused variable.
3329 * Makeconfig (+sysdep-includes): Define with := rather than =.
3330 Use an existing include/ subdir of each sysdeps dir before it.
3332 2013-02-08 Carlos O'Donell <carlos@redhat.com>
3334 * nscd/connection.c (register_traced_file): Comment function.
3335 [HAVE_INOTIFY] (union __inev): Define.
3336 [HAVE_INOTIFY] (inotify_check_files): New function.
3337 [HAVE_INOTIFY] (clear_db_cache): Likewise.
3338 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
3340 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
3342 2013-02-08 Carlos O'Donell <carlos@redhat.com>
3344 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
3345 loaded if not already and that a failure is permanent.
3347 2013-02-08 Carlos O'Donell <carlos@redhat.com>
3350 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
3351 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
3353 2013-02-08 Joseph Myers <joseph@codesourcery.com>
3356 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
3357 (CHECK_1_NULL_OK): Likewise.
3358 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
3359 (__fxstat): Do not use CHECK_1.
3360 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
3362 (___fxstat64): Do not use CHECK_1.
3363 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
3365 (__fxstatat): Do not use CHECK_1.
3366 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
3368 (__fxstatat64): Do not use CHECK_1.
3369 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
3371 (__fxstat): Do not use CHECK_1.
3372 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
3374 (__fxstatat): Do not use CHECK_1.
3375 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
3377 (__getresgid): Do not use CHECK_1.
3378 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
3380 (__getresuid): Do not use CHECK_1.
3381 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
3383 (__lxstat): Do not use CHECK_1.
3384 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
3386 (__old_msgctl): Do not use CHECK_1.
3387 (__new_msgctl): Likewise.
3388 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
3390 (__new_setrlimit): Do not use CHECK_1.
3391 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
3393 (__old_shmctl): Do not use CHECK_1.
3394 (__new_shmctl): Likewise.
3395 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
3397 (__xstat): Do not use CHECK_1.
3398 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
3399 (__lxstat): Do not use CHECK_1.
3400 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
3402 (___lxstat64): Do not use CHECK_1.
3403 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
3404 (__old_msgctl): Do not use CHECK_1.
3405 (__new_msgctl): Likewise.
3406 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
3408 (__gettimeofday): Do not use CHECK_1.
3409 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
3410 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
3411 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
3413 (__gettimeofday): Do not use CHECK_1.
3414 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
3415 (__old_shmctl): Do not use CHECK_1_NULL_OK.
3416 (__new_shmctl): Do not use CHECK_1.
3417 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
3419 (do_sigtimedwait): Do not use CHECK_1.
3420 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
3422 (do_sigwaitinfo): Do not use CHECK_1.
3423 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
3425 (msgctl): Do not use CHECK_1.
3426 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
3428 (shmctl): Do not use CHECK_1.
3429 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
3430 (ustat): Do not use CHECK_1.
3431 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
3433 (__fxstat): Do not use CHECK_1.
3434 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
3436 (__fxstatat): Do not use CHECK_1.
3437 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
3439 (__lxstat): Do not use CHECK_1.
3440 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
3442 (__xstat): Do not use CHECK_1.
3443 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
3444 (__xstat): Do not use CHECK_1.
3445 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
3446 (___xstat64): Do not use CHECK_1.
3449 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
3451 (CHECK_BOUNDS_HIGH): Likewise.
3452 * string/strcpy.c: Do not include <bp-checks.h>.
3453 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
3455 2013-02-07 Roland McGrath <roland@hack.frob.com>
3457 * nscd/nscd-client.h (__nscd_drop_map_ref):
3458 Add __attribute__ ((unused)).
3459 * nis/nss-nisplus.h (niserr2nss): Likewise.
3461 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
3462 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
3464 * csu/libc-tls.c (init_static_tls, init_slotinfo):
3465 Remove inline keyword.
3466 * include/rounding-mode.h (round_away): Likewise.
3467 * libio/wfileops.c (adjust_wide_data): Likewise.
3468 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
3469 (__m128i_strloadu_tolower): Likewise.
3470 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
3471 (__m128i_strloadu_tolower): Likewise.
3472 * time/mktime.c (ydhms_diff): Likewise.
3473 * locale/elem-hash.h (elem_hash): Likewise.
3474 * locale/setlocale.c (setdata): Likewise.
3475 * posix/regex_internal.h (re_string_char_size_at): Likewise.
3476 (re_string_wchar_at): Likewise.
3477 (bitset_not, bitset_merge, bitset_mask): Likewise.
3478 [!(__GNUC__ > 3)] (inline): Remove macro.
3479 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
3480 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
3481 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
3482 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
3483 * string/memcmp.c (memcmp_bytes): Likewise.
3484 * locale/programs/locarchive.c (compute_hashval): Likewise.
3485 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
3486 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
3487 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
3488 * nss/getent.c (print_rpc, print_protocols): Likewise.
3489 (print_passwd, print_group, print_aliases): Likewise.
3490 * nis/nss-nisplus.h (niserr2nss): Likewise.
3491 * nscd/connections.c (restart_p): Likewise.
3492 Change return type to bool.
3494 2013-02-05 Roland McGrath <roland@hack.frob.com>
3496 * Makeconfig (all-Depend-files): Add existing
3497 $(sorted-subdirs:=/Depend) files.
3498 (all-subdirs): Remove nss.
3499 * sysdeps/unix/inet/Subdirs: Add it here instead.
3500 * hesiod/Depend: New file.
3502 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
3503 instead of calling alloca.
3505 * io/lseek.c (__lseek): Rename to __libc_lseek.
3506 Define __lseek as an alias.
3508 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
3510 2013-02-04 Carlos O'Donell <carlos@redhat.com>
3512 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
3513 else clause and remove check for non-standard endianness.
3515 2013-02-04 David S. Miller <davem@davemloft.net>
3517 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3519 2013-02-04 Joseph Myers <joseph@codesourcery.com>
3522 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
3523 (__ubp_memchr): Remove prototype.
3524 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
3525 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
3526 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
3527 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
3528 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
3530 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
3531 (__ubp_memchr): Likewise.
3532 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
3533 (__ubp_memchr): Likewise.
3534 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
3535 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
3536 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
3537 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
3539 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
3540 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
3541 (__getcwd): Do not use CHECK_STRING.
3542 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
3544 (__real_chown): Do not use CHECK_STRING.
3545 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
3547 (fchownat): Do not use CHECK_STRING.
3548 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
3550 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
3552 (__lchown): Do not use CHECK_STRING.
3553 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
3554 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
3555 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
3556 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
3557 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
3558 include <bp-checks.h>.
3559 (truncate64): Do not use CHECK_STRING.
3560 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
3562 (__real_chown): Do not use CHECK_STRING.
3563 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
3565 (__lchown): Do not use CHECK_STRING.
3566 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
3568 (__chown): Do not use CHECK_STRING.
3569 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
3571 (truncate64): Do not use CHECK_STRING.
3572 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
3574 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
3575 (__xmknod): Do not use CHECK_STRING.
3576 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
3578 (__xmknodat): Do not use CHECK_STRING.
3579 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
3580 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
3582 2013-02-04 Andreas Schwab <schwab@suse.de>
3585 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
3586 * include/netdb.h: Likewise for h_errno.
3587 * elf/tst-stackguard1.c: Include <tls.h>.
3589 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3591 * elf/link.h (struct link_map): Extend the l_addr comment.
3592 * include/link.h (struct link_map): Likewise.
3594 2013-02-01 Joseph Myers <joseph@codesourcery.com>
3597 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
3598 (BOUNDED_1): Remove macro.
3599 * debug/backtrace.c: Don't include <bp-checks.h>.
3600 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
3601 (__backtrace): Likewise.
3602 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
3604 (__backtrace): Don't use BOUNDED_1.
3605 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
3607 (__backtrace): Don't use BOUNDED_1.
3608 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
3609 (__backtrace): Don't use BOUNDED_1.
3610 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
3611 (shmat): Don't use BOUNDED_N.
3613 2013-01-31 Joseph Myers <joseph@codesourcery.com>
3616 * sysdeps/generic/bp-start.h: Remove file.
3617 * csu/libc-start.c: Don't include <bp-start.h>.
3618 (LIBC_START_MAIN): Set up __environ directly instead of using
3619 INIT_ARGV_and_ENVIRON.
3620 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
3624 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
3626 (CHECK_FCNTL): Likewise.
3627 (CHECK_N_PAGES): Likewise.
3630 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
3632 (CHECK_SIGSET_NULL_OK): Likewise.
3633 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
3635 (sigpending): Don't use CHECK_SIGSET.
3636 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
3638 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
3639 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
3641 (do_sigsuspend): Don't use CHECK_SIGSET.
3642 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
3644 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
3645 (do_sigwait): Don't use CHECK_SIGSET.
3646 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
3648 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
3649 include <bp-checks.h>.
3650 (sigpending): Don't use CHECK_SIGSET.
3651 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
3652 include <bp-checks.h>.
3653 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
3654 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
3656 (sigpending): Don't use CHECK_SIGSET.
3657 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
3659 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
3662 * sysdeps/generic/bp-semctl.h: Remove file.
3663 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
3664 <bp-checks.h> and <bp-semctl.h>.
3665 (__old_semctl): Don't use CHECK_SEMCTL.
3666 (__new_semctl): Likewise.
3667 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
3669 (__old_semctl): Don't use CHECK_SEMCTL.
3670 (__new_semctl): Likewise.
3671 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
3672 <bp-checks.h> and <bp-semctl.h>.
3673 (__old_semctl): Don't use CHECK_SEMCTL.
3674 (__new_semctl): Likewise.
3675 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
3676 <bp-checks.h> and <bp-semctl.h>.
3677 (semctl): Don't use CHECK_SEMCTL.
3680 * Makerules (elide-bp-thunks): Remove variable.
3681 (elide-routines.oS): Don't use $(elide-bp-thunks).
3682 (elide-routines.os): Likewise.
3683 (elide-routines.o): Likewise.
3684 (elide-routines.op): Likewise.
3685 (elide-routines.og): Likewise.
3686 (objects): Don't use $(bp-thunks).
3687 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
3689 (common-generated): Do not add s-proto-bp.d.
3690 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
3693 Do not generate makefile rules for bounded-pointer thunks.
3694 * sysdeps/generic/bp-thunks.h: Remove file.
3695 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
3696 * sysdeps/unix/s-proto-bp.S: Likewise.
3699 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
3700 parts of result separately when argument is not close to line from
3701 -i to i and one part of argument is small.
3702 * math/k_casinhf.c (__kernel_casinhf): Likewise.
3703 * math/k_casinhl.c (__kernel_casinhl): Likewise.
3704 * math/libm-test.inc (cacos_test): Add more tests.
3705 (casin_test): Likewise.
3706 (casinh_test): Likewise.
3707 * sysdeps/i386/fpu/libm-test-ulps: Update.
3708 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3710 2013-01-31 David S. Miller <davem@davemloft.net>
3712 * po/de.po: Update from translation team.
3714 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
3716 * time/tzfile.c: Include stdint.h for SIZE_MAX.
3718 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
3720 * configure.in (_AC_PROG_CC_C89): New definition.
3721 * configure: Regenerate.
3723 * configure.in (AC_PROG_CPP): New definition.
3724 * configure: Regenerate.
3726 2013-01-23 Joseph Myers <joseph@codesourcery.com>
3728 * debug/tst-backtrace.h: New file.
3729 * debug/tst-backtrace2.c: Include tst-backtrace.h.
3730 (ret): Remove variable.
3732 (FAIL): Remove macro.
3733 (NO_INLINE): Likewise.
3734 (fn1): Use match function instead of strstr.
3735 * debug/tst-backtrace3.c: Include tst-backtrace.h.
3736 (ret): Remove variable.
3738 (FAIL): Remove macro.
3739 (NO_INLINE): Likewise.
3740 (fn): Use match function instead of strstr.
3741 * debug/tst-backtrace4.c: Include tst-backtrace.h.
3742 (ret): Remove variable.
3744 (FAIL): Remove macro.
3745 (NO_INLINE): Likewise.
3746 (handle_signal): Use match function instead of strstr.
3747 * debug/tst-backtrace5.c: Include tst-backtrace.h.
3748 (ret): Remove variable.
3750 (FAIL): Remove macro.
3751 (NO_INLINE): Likewise.
3752 (handle_signal): Use match function instead of strstr.
3754 2013-01-23 Roland McGrath <roland@hack.frob.com>
3756 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
3758 2013-01-23 David S. Miller <davem@davemloft.net>
3760 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
3761 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
3762 argument of CAS if possible.
3763 * sysdeps/sparc/sparc64/bits/atomic.h
3764 (__arch_compare_and_exchange_val_32_acq): Likewise.
3765 (__arch_compare_and_exchange_val_64_acq): Likewise.
3767 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
3769 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
3770 * sysdeps/posix/ulimit.c: ... this.
3772 * sysdeps/unix/bsd/ulimit.c: Remove file.
3774 2013-01-23 Adam Conrad <adconrad@0c3.net>
3776 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
3777 (LDFLAGS-tst-array5): Likewise.
3779 2013-01-23 Joseph Myers <joseph@codesourcery.com>
3782 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
3783 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
3784 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
3785 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
3787 2013-01-21 David S. Miller <davem@davemloft.net>
3789 * sysdeps/sparc/backtrace.c: New file.
3790 * sysdeps/sparc/sparc32/backtrace.h: New file.
3791 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
3792 * sysdeps/sparc/sparc64/backtrace.h: New file.
3793 * sysdeps/sparc/sparc64/backtrace.c: Delete.
3794 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
3797 2013-01-21 Andreas Schwab <schwab@suse.de>
3800 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
3803 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
3805 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
3807 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
3809 2013-01-18 Joseph Myers <joseph@codesourcery.com>
3810 Mark Mitchell <mark@codesourcery.com>
3811 Tom de Vries <tom@codesourcery.com>
3812 Paul Pluzhnikov <ppluzhnikov@google.com>
3814 * debug/tst-backtrace2.c: New file.
3815 * debug/tst-backtrace3.c: Likewise.
3816 * debug/tst-backtrace4.c: Likewise.
3817 * debug/tst-backtrace5.c: Likewise.
3818 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
3819 (CFLAGS-tst-backtrace3.c): Likewise.
3820 (CFLAGS-tst-backtrace4.c): Likewise.
3821 (CFLAGS-tst-backtrace5.c): Likewise.
3822 (LDFLAGS-tst-backtrace2): Likewise.
3823 (LDFLAGS-tst-backtrace3): Likewise.
3824 (LDFLAGS-tst-backtrace4): Likewise.
3825 (LDFLAGS-tst-backtrace5): Likewise.
3826 (tests): Add new tests tst-backtrace2, tst-backtrace3,
3827 tst-backtrace4 and tst-backtrace5.
3829 2013-01-18 Anton Blanchard <anton@samba.org>
3830 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3832 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
3833 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
3834 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
3835 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
3836 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
3837 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
3838 "+r" and remove output regs list as redundant. Add explicit inline
3839 asm to specify register of return val to work around compiler codegen
3840 bug. Remove (int) cast on return value. Add return type parameter to
3841 use in macro so that this macro does not truncate return value for
3843 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
3844 pass to INTERNAL_VSYSCALL_NCS.
3845 (INLINE_VSYSCALL): Add 'long int' as return type to
3846 INTERNAL_VSYSCALL_NCS macro invocation.
3847 (INTERNAL_VSYSCALL): Add 'long int' as return type to
3848 INTERNAL_VSYSCALL_NCS macro invocation.
3849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
3851 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
3854 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
3855 Fix application of SIMD FP exception mask.
3857 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
3858 mp_no from a power of two.
3859 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
3860 __mpexp_twomm1. Use __pow_mp.
3862 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
3865 2013-01-17 David S. Miller <davem@davemloft.net>
3867 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3869 2013-01-17 Joseph Myers <joseph@codesourcery.com>
3872 * include/complex.h: Condition contents on [!_COMPLEX_H].
3873 (__kernel_casinhf): New prototype.
3874 (__kernel_casinh): Likewise.
3875 (__kernel_casinhl): Likewise.
3876 * math/Makefile (libm_calls): Add k_casinh.
3877 * math/k_casinh.c: New file.
3878 * math/k_casinhf.c: Likewise.
3879 * math/k_casinhl.c: Likewise.
3880 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
3881 finite nonzero arguments.
3882 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
3883 finite nonzero arguments.
3884 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
3885 finite nonzero arguments.
3886 * math/s_casinh.c: Do not include <float.h>.
3887 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
3888 * math/s_casinhf.c: Do not include <float.h>.
3889 (__casinhf): Move code for finite nonzero arguments to
3891 * math/s_casinhl.c: Do not include <float.h>.
3892 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
3894 (__casinhl): Move code for finite nonzero arguments to
3896 * math/libm-test.inc (cacos_test): Add more tests.
3897 * sysdeps/i386/fpu/libm-test-ulps: Update.
3898 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3900 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
3902 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
3903 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
3904 [!HAVE_MREMAP]: Remove [defined linux] case.
3905 * malloc/arena.c: Do not include <malloc-sysdep.h>.
3907 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
3909 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
3911 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
3913 * elf/elf.h (R_386_SIZE32): New relocation.
3914 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
3916 (elf_machine_rela): Likewise.
3917 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
3918 R_X86_64_SIZE64 and R_X86_64_SIZE32.
3920 2013-01-17 Joseph Myers <joseph@codesourcery.com>
3922 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
3923 (FP_FAST_FMA): Do not define.
3924 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
3925 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
3926 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
3927 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
3928 !_SOFT_FLOAT]: Likewise.
3929 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
3930 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
3932 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
3933 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
3934 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
3935 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
3936 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
3937 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
3940 2013-01-16 Andreas Schwab <schwab@suse.de>
3943 * include/stdlib.h (__mktemp): Add declaration.
3944 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
3945 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
3947 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3949 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
3951 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
3952 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
3953 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
3955 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
3956 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
3958 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
3960 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
3961 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
3962 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
3964 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
3965 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
3967 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
3969 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
3971 2013-01-15 David S. Miller <davem@davemloft.net>
3973 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
3974 trunc{,f} to libm-sysdep_routes.
3975 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
3976 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
3978 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
3979 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
3981 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
3983 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
3984 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
3985 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
3986 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
3987 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
3988 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
3989 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
3990 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
3992 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
3993 nearbyint{,f} to libm-sysdep_routes.
3994 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
3995 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
3997 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
3999 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
4001 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
4003 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
4004 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
4005 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
4007 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
4008 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
4010 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
4011 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
4012 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
4014 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
4015 libc_feholdexcept and libc_fesetenv.
4017 2013-01-15 Mike Frysinger <vapier@gentoo.org>
4019 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
4021 2013-01-14 David S. Miller <davem@davemloft.net>
4023 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
4024 (SPARC_ASM_VIS2_IFUNC): Likewise.
4025 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
4026 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
4027 use of 'siam' instruction.
4028 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
4030 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
4032 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
4034 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
4035 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
4036 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
4037 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
4038 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
4040 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
4042 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
4044 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
4046 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
4047 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
4048 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
4049 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
4050 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
4052 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
4053 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
4054 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
4056 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
4057 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
4058 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
4059 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
4060 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
4061 routines to libm-sysdep_routines.
4062 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
4064 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
4065 fdim/fdimf to libm-sysdep_routines.
4066 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
4068 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
4069 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
4071 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
4072 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
4073 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
4074 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
4075 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
4076 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
4077 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
4079 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
4081 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
4084 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
4085 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
4086 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
4088 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
4089 local variable MPTWO.
4090 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
4093 2013-01-13 Mike Frysinger <vapier@gentoo.org>
4095 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
4098 2013-01-13 Mike Frysinger <vapier@gentoo.org>
4100 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
4102 2013-01-13 Mike Frysinger <vapier@gentoo.org>
4104 * manual/pattern.texi (glob_t): Document gl_flags.
4105 (glob64_t): Likewise.
4107 2013-01-11 David S. Miller <davem@davemloft.net>
4109 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
4110 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
4111 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
4112 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
4113 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
4114 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
4115 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
4116 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
4117 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
4118 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
4119 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
4120 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
4121 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
4123 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
4124 sparc V9 rather than using V8 code.
4125 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
4126 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
4128 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
4130 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
4133 2013-01-11 Roland McGrath <roland@hack.frob.com>
4135 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
4136 not in the main loop.
4137 * configure: Regenerated.
4139 2013-01-11 Joseph Myers <joseph@codesourcery.com>
4141 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
4142 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
4144 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
4145 [!__GLIBC_HAVE_LONG_LONG] case.
4146 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
4147 condition to just #else.
4148 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
4149 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
4150 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
4151 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
4153 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
4154 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
4155 #elif condition to just #else.
4156 * sysdeps/unix/sysv/linux/sys/sysmacros.h
4157 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
4158 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
4159 #elif condition to just #else.
4161 2013-01-11 Steve Ellcey <sellcey@mips.com>
4163 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
4164 (EF_MIPS_ARCH_64): Fix value.
4165 (EF_MIPS_ARCH_32R2): New.
4166 (EF_MIPS_ARCH_64R2): New.
4168 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
4170 * Makeconfig (+link-pie-before-libc): New.
4171 (+link-pie-after-libc): Likewise.
4172 (+link-pie-tests): Likewise.
4173 (+link-pie): Rewritten.
4174 (link-before-libc): Remove $(config-LDFLAGS).
4175 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
4176 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
4177 (config-LDFLAGS): Renamed to ...
4178 (rtld-LDFLAGS): This.
4179 (rtld-tests-LDFLAGS): New macro.
4180 (link-libc-rpath-link): Likewise.
4181 (link-libc-tests-rpath-link): Likewise.
4182 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
4183 (link-libc): Prepand $(link-libc-rpath-link).
4184 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
4185 (test-program-prefix): New macro.
4186 (test-via-rtld-prefix): Likewise.
4187 (test-program-cmd): Likewise.
4188 (host-test-program-cmd): Likewise.
4189 * Makefile ($(common-objpfx)testrun.sh): Replace
4190 $(run-program-prefix) with $(test-program-prefix).
4191 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
4193 ($(common-objpfx)shlib.lds): Likewise.
4194 (build-module-helper): Likewise.
4195 ($(common-objpfx)format.lds): Likewise.
4196 * Rules (binaries-pie-tests): New.
4197 (binaries-pie-notests): Likewise.
4198 (binaries-pie): Rewritten.
4199 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
4200 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
4201 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
4202 (make-test-out): Replace $(host-built-program-cmd) with
4203 $(host-test-program-cmd).
4204 * config.make.in (build-hardcoded-path-in-tests): New variable.
4205 * configure.in (--enable-hardcoded-path-in-tests): New configure
4207 (hardcoded_path_in_tests): New AC_SUBST.
4208 * configure: Regenerated.
4209 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
4210 $(built-program-cmd) with $(test-program-cmd).
4211 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
4212 (test_program_cmd): This.
4213 * elf/Makefile ($(objpfx)order.out): Run test with
4214 $(test-program-prefix).
4215 ($(objpfx)order2.out): Likewise.
4216 ($(objpfx)tst-initorder.out): Likewise.
4217 ($(objpfx)tst-initorder2.out): Likewise.
4218 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
4219 $(test-program-cmd).
4220 ($(objpfx)tst-array1-static.out): Likewise.
4221 ($(objpfx)tst-array2.out): Likewise.
4222 ($(objpfx)tst-array3.out): Likewise.
4223 ($(objpfx)tst-array4.out): Likewise.
4224 ($(objpfx)tst-array5.out): Likewise.
4225 ($(objpfx)tst-array5-static.out): Likewise.
4226 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
4227 $(test-program-cmd).
4228 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
4229 $(run-program-prefix) with $(test-program-prefix).
4230 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
4231 (test_program_prefix): This.
4232 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
4233 $(run-program-prefix) with $(test-program-prefix).
4234 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
4235 (test_program_prefix): This.
4236 * iconvdata/tst-tables.sh: Likewise.
4237 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
4238 $(run-program-prefix) with $(test-program-prefix).
4239 ($(objpfx)tst-translit.out): Likewise.
4240 ($(objpfx)tst-gettext2.out): Likewise.
4241 ($(objpfx)tst-gettext4.out): Likewise.
4242 ($(objpfx)tst-gettext6.out): Likewise.
4243 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
4244 (test_program_prefix): This.
4245 * intl/tst-gettext2.sh: Likewise.
4246 * intl/tst-gettext4.sh Likewise.
4247 * intl/tst-gettext6.sh: Likewise.
4248 * intl/tst-translit.sh: Likewise.
4249 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
4250 with $(test-program-cmd).
4251 * libio/Makefile ($(objpfx)test-freopen.out): Replace
4252 $(run-program-prefix) with $(test-program-prefix).
4253 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
4254 (test_program_prefix): This.
4255 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
4256 $(run-program-prefix) with $(test-program-prefix).
4257 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
4258 (test_program_prefix): This.
4259 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
4260 * posix/Makefile ($(objpfx)globtest.out): Replace
4261 $(run-via-rtld-prefix) and $(test-wrapper) with
4262 $(test-program-prefix) and $(test-via-rtld-prefix).
4263 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
4264 $(test-program-prefix).
4265 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
4266 $(host-test-program-cmd).
4267 (tst-spawn-ARGS): Likewise.
4268 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
4269 $(test-program-prefix).
4270 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
4271 (test_via_rtld_prefix): This.
4272 (test_wrapper): Renamed to ...
4273 (test_program_prefix): This.
4274 (run_program_prefix): Replaced by test_program_prefix.
4275 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
4276 (test_program_prefix): This.
4277 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
4278 with $(host-test-program-cmd).
4279 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
4280 $(run-program-prefix) with $(test-program-prefix).
4281 ($(objpfx)tst-printf.out): Likewise.
4282 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
4283 $(test-program-cmd).
4284 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
4285 (test_program_prefix): This.
4286 * stdio-common/tst-unbputc.sh: Likewise.
4287 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
4288 $(run-program-prefix) with $(test-program-prefix).
4289 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
4290 (test_program_prefix): This.
4291 * string/Makefile ($(objpfx)tst-svc.out): Replace
4292 $(built-program-cmd) with $(test-program-cmd).
4294 2013-01-11 Andreas Jaeger <aj@suse.de>
4297 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
4298 value. Sync with Linux 3.7.
4300 2013-01-10 David S. Miller <davem@davemloft.net>
4302 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
4303 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
4304 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
4306 2013-01-10 Roland McGrath <roland@hack.frob.com>
4308 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
4310 * configure: Regenerated.
4312 2013-01-10 David S. Miller <davem@davemloft.net>
4314 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
4315 sparc V9 rather than using V8 code.
4316 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
4317 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
4319 2013-01-10 Roland McGrath <roland@hack.frob.com>
4321 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
4322 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
4323 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
4324 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
4325 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
4326 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
4327 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
4328 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
4329 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
4330 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
4331 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
4332 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
4333 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
4334 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
4335 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
4336 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
4337 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
4338 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
4339 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
4340 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
4341 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
4342 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
4343 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
4344 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
4345 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
4346 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
4347 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
4349 2013-01-10 David S. Miller <davem@davemloft.net>
4351 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4353 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
4355 * posix/Makefile (tests-static): New variable.
4356 (tests): Add $(tests-static).
4357 (tst-exec-static-ARGS): New variable.
4358 (tst-spawn-static-ARGS): Likewise.
4359 * posix/tst-exec-static.c: New file.
4360 * posix/tst-spawn-static.c: Likewise.
4361 * posix/tst-exec.c: Support run directly.
4362 * posix/tst-spawn.c: Likewise.
4364 2013-01-10 Joseph Myers <joseph@codesourcery.com>
4366 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
4368 * math/bits/mathcalls.h (llrint): Likewise.
4369 (llround): Likewise.
4370 * stdlib/stdlib.h (struct drand48_data): Likewise.
4371 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
4372 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
4373 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
4375 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
4377 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
4378 (elf_greg_t): Likewise.
4379 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
4380 (__jmp_buf): Likewise.
4381 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
4383 (llrint): Likewise, for all definitions.
4384 (llrintl): Likewise.
4386 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
4387 Remove [__GNUC__] condition.
4388 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
4389 condition to just [__USE_ISOC99].
4390 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
4392 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
4395 * sysdeps/unix/sysv/linux/x86/bits/environments.h
4396 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
4398 (_POSIX_V6_ILP32_OFF32): Likewise.
4399 (_XBS5_ILP32_OFF32): Likewise.
4400 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
4401 (__ILP32_OFFBIG_LDFLAGS): Likewise.
4403 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4405 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
4407 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
4408 doubles __mpexp_twomm1. Adjust usage.
4409 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
4412 2013-01-10 Andreas Schwab <schwab@suse.de>
4415 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
4416 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
4418 2013-01-09 David S. Miller <davem@davemloft.net>
4421 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
4422 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
4423 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
4424 TCP_FASTOPEN): Define.
4425 (tcp_repair_opt): New structure.
4426 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
4428 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
4429 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
4430 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
4431 (tcp_cookie_transactions): New structure.
4433 2013-01-09 Anton Blanchard <anton@samba.org>
4435 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
4436 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
4437 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
4438 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
4440 2013-01-09 Joseph Myers <joseph@codesourcery.com>
4442 * include/features.h (__USE_ANSI): Remove.
4444 2013-01-09 Roland McGrath <roland@hack.frob.com>
4446 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
4448 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
4450 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
4452 * sysdeps/s390/fpu/libm-test-ulps: Update.
4454 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4456 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
4461 (__mp_dbl): Likewise.
4462 (__dbl_mp): Likewise.
4463 (add_magnitudes): Likewise.
4464 (sub_magnitudes): Likewise.
4470 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
4475 (__mp_dbl): Likewise.
4476 (__dbl_mp): Likewise.
4477 (add_magnitudes): Likewise.
4478 (sub_magnitudes): Likewise.
4484 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
4489 (__mp_dbl): Likewise.
4490 (__dbl_mp): Likewise.
4491 (add_magnitudes): Likewise.
4492 (sub_magnitudes): Likewise.
4499 2013-01-08 Joseph Myers <joseph@codesourcery.com>
4501 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
4502 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
4503 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
4504 2 && __USE_EXTERN_INLINES]: Likewise.
4506 2013-01-08 Andreas Jaeger <aj@suse.de>
4509 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
4511 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
4512 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
4514 2013-01-07 Anton Blanchard <anton@samba.org>
4516 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
4517 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
4518 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
4519 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
4520 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
4521 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
4522 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
4523 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
4524 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
4525 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
4526 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
4527 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
4528 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
4529 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
4530 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
4531 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
4532 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
4533 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
4534 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
4535 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
4536 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
4537 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
4538 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
4539 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
4540 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
4541 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
4542 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
4543 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
4544 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
4545 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
4546 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
4547 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
4548 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
4549 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
4550 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
4551 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
4552 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
4553 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
4554 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
4555 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
4556 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
4557 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
4558 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
4560 2013-01-07 Joseph Myers <joseph@codesourcery.com>
4562 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
4563 (__MALLOC_PMT): Likewise.
4564 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
4565 [__GNUC__], only on [_LIBC].
4566 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
4567 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
4568 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
4569 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
4570 forward declaration.
4571 (realloc_hook_ini): Likewise.
4572 (memalign_hook_ini): Likewise.
4573 (__libc_memalign): Do not use __MALLOC_PMT in variable
4575 (__libc_valloc): Likewise.
4576 (__libc_pvalloc): Likewise.
4577 (__libc_calloc): Likewise.
4578 (__posix_memalign): Likewise.
4581 * math/s_casinh.c: Include <float.h>.
4582 (__casinh): Do not do computation with squaring and square root
4583 for large arguments.
4584 * math/s_casinhf.c: Include <float.h>.
4585 (__casinhf): Do not do computation with squaring and square root
4586 for large arguments.
4587 * math/s_casinhl.c: Include <float.h>.
4588 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
4589 (__casinhl): Do not do computation with squaring and square root
4590 for large arguments.
4591 * math/libm-test.inc (casin_test): Add more tests.
4592 (casinh_test): Likewise.
4593 * sysdeps/i386/fpu/libm-test-ulps: Update.
4594 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4596 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
4598 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
4599 (__x86_64_raw_data_cache_size): Likewise.
4600 (__x86_64_data_cache_size_half): Likewise.
4601 (__x86_64_raw_data_cache_size_half): Likewise.
4602 (__x86_64_shared_cache_size): Likewise.
4603 (__x86_64_raw_shared_cache_size): Likewise.
4604 (__x86_64_shared_cache_size_half): Likewise.
4605 (__x86_64_raw_shared_cache_size_half): Likewise.
4606 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
4608 (__x86_data_cache_size): This.
4609 (__x86_64_raw_data_cache_size): Renamed to ...
4610 (__x86_raw_data_cache_size): This.
4611 (__x86_64_data_cache_size_half): Renamed to ...
4612 (__x86_data_cache_size_half): This.
4613 (__x86_64_raw_data_cache_size_half): Renamed to ...
4614 (__x86_raw_data_cache_size_half): This.
4615 (__x86_64_shared_cache_size): Renamed to ...
4616 (__x86_shared_cache_size): This.
4617 (__x86_64_raw_shared_cache_size): Renamed to ...
4618 (__x86_raw_shared_cache_size): This.
4619 (__x86_64_shared_cache_size_half): Renamed to ...
4620 (__x86_shared_cache_size_half): This.
4621 (__x86_64_raw_shared_cache_size_half): Renamed to ...
4622 (__x86_raw_shared_cache_size_half): This.
4623 * sysdeps/x86_64/memcpy.S: Updated.
4624 * sysdeps/x86_64/memset.S: Likewise.
4625 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
4626 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
4627 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
4629 2013-01-04 David S. Miller <davem@davemloft.net>
4631 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4633 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
4635 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
4636 1 to avoid redefinition warning.
4637 (__USE_GNU): Don't define.
4638 (init_signaling_nan): Protoize.
4640 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4642 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4644 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
4645 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
4646 (__cpymn): Likewise.
4647 (norm): Remove commented code.
4649 (__mp_dbl): Likewise.
4651 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
4652 (__cpymn): Likewise.
4653 (norm): Remove commented code.
4655 (__mp_dbl): Likewise.
4658 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
4659 mp_no value for 1.0 and 2.0.
4660 (norm): Use RADIXI instead of radixi.d.
4662 (__mul): Use 0.0 instead of zero.d.
4663 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
4664 mp_no value for 1.0 and 2.0.
4665 (norm): Use RADIXI instead of radixi.d.
4667 (__mul): Use 0.0 instead of zero.d.
4669 2013-01-04 Joseph Myers <joseph@codesourcery.com>
4672 * math/s_casinh.c (__casinh): Reduce finite argument to first
4673 quadrant then set signs of results at the end.
4674 * math/s_casinhf.c (__casinhf): Likewise.
4675 * math/s_casinhl.c (__casinhl): Likewise.
4676 * math/libm-test.inc (casin_test): Add more tests.
4677 (casinh_test): Likewise.
4678 * sysdeps/i386/fpu/libm-test-ulps: Update.
4679 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4681 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4683 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
4685 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
4687 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
4690 (__mp_dbl): Likewise.
4693 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
4694 and adjust the header comment.
4696 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
4697 variable name from declaration.
4699 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
4701 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4702 Initialize COMMON_CPUID_INDEX_7 element.
4703 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
4704 (CPUID_RTM): Likewise.
4705 (HAS_RTM): Likewise.
4706 (COMMON_CPUID_INDEX_7): New enum.
4708 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
4711 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
4712 size is zero, record memory as freed.
4714 2013-01-03 Andreas Jaeger <aj@suse.de>
4716 * po/ia.po: Add new Interlingua translation.
4718 2012-01-03 Allan McRae <allan@archlinux.org>
4720 * locale/programs/localedef.c: Fix description of '--posix' flag.
4722 2013-01-02 Joseph Myers <joseph@codesourcery.com>
4724 * NEWS: Update dates in second copyright notice.
4725 * README: Update copyright dates in example.
4726 * manual/libc.texinfo: Update copyright dates.
4727 * scripts/test-installation.pl: Update copyright date in --version
4730 * hurd/ctty-input.c: Fix copyright notice formatting.
4731 * hurd/ctty-output.c: Likewise.
4732 * hurd/dtable.c: Likewise.
4733 * hurd/hurd-raise.c: Likewise.
4734 * hurd/hurdprio.c: Likewise.
4735 * hurd/msgportdemux.c: Likewise.
4736 * misc/sys/file.h: Likewise.
4737 * misc/sys/ioctl.h: Likewise.
4738 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
4739 * sysdeps/mach/hurd/chdir.c: Likewise.
4740 * sysdeps/mach/hurd/fchdir.c: Likewise.
4741 * sysdeps/mach/hurd/rename.c: Likewise.
4742 * sysdeps/mach/hurd/rmdir.c: Likewise.
4743 * sysdeps/mach/hurd/seekdir.c: Likewise.
4744 * sysdeps/mach/hurd/setsid.c: Likewise.
4745 * sysdeps/posix/wait3.c: Likewise.
4747 * All files with FSF copyright notices: Update copyright dates
4748 using scripts/update-copyrights.
4749 * intl/plural.c: Regenerated.
4750 * locale/programs/charmap-kw.h: Likewise.
4751 * locale/programs/locfile-kw.h: Likewise.
4753 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4755 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
4758 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
4759 calculation loop and add branch prediction.
4761 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
4762 check access beyond bounds of m1np.
4764 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
4766 (__inv): Remove local variable MPTWO to use the global
4768 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
4769 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
4771 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
4772 MP3HALFS static const.
4774 2013-01-01 David S. Miller <davem@davemloft.net>
4776 * po/ca.po: Update from translation team.
4778 2013-01-01 Joseph Myers <joseph@codesourcery.com>
4780 * scripts/update-copyrights: New file.
4781 * Makeconfig: Reformat copyright notice.
4782 * ctype/ctype.h: Likewise.
4783 * debug/swprintf_chk.c: Likewise.
4784 * elf/dl-cache.c: Likewise.
4785 * elf/dl-debug.c: Likewise.
4786 * elf/dl-object.c: Likewise.
4787 * grp/initgroups.c: Likewise.
4788 * hurd/Makefile: Likewise.
4789 * hurd/hurd/signal.h: Likewise.
4790 * hurd/hurdfault.c: Likewise.
4791 * hurd/hurdioctl.c: Likewise.
4792 * hurd/hurdlookup.c: Likewise.
4793 * hurd/intr-msg.c: Likewise.
4794 * iconv/gconv_open.c: Likewise.
4795 * libio/swprintf.c: Likewise.
4796 * locale/lc-ctype.c: Likewise.
4797 * locale/nl_langinfo.c: Likewise.
4798 * mach/Machrules: Likewise.
4799 * mach/Makefile: Likewise.
4800 * malloc/obstack.h: Likewise.
4801 * manual/Makefile: Likewise.
4802 * manual/tsort.awk: Likewise.
4803 * misc/bits/stab.def: Likewise.
4804 * nis/nis_print_group_entry.c: Likewise.
4805 * nis/nis_table.c: Likewise.
4806 * nis/nss_compat/compat-pwd.c: Likewise.
4807 * nis/nss_compat/compat-spwd.c: Likewise.
4808 * po/Makefile: Likewise.
4809 * posix/fnmatch.c: Likewise.
4810 * posix/regex.h: Likewise.
4811 * resolv/Makefile: Likewise.
4812 * resolv/nss_dns/dns-network.c: Likewise.
4813 * resolv/res_hconf.c: Likewise.
4814 * scripts/gen-sorted.awk: Likewise.
4815 * soft-fp/soft-fp.h: Likewise.
4816 * stdio-common/printf.h: Likewise.
4817 * stdlib/monetary.h: Likewise.
4818 * stdlib/random.c: Likewise.
4819 * stdlib/random_r.c: Likewise.
4820 * sysdeps/generic/Makefile: Likewise.
4821 * sysdeps/gnu/Makefile: Likewise.
4822 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
4823 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4824 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
4825 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4826 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
4827 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4828 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4829 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
4830 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
4831 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4832 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
4833 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
4834 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
4835 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
4836 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
4837 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
4838 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
4839 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4840 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4841 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4842 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
4843 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
4844 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
4845 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
4846 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
4847 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
4848 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
4849 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
4850 * sysdeps/mach/hurd/errnos.awk: Likewise.
4851 * sysdeps/mach/hurd/fork.c: Likewise.
4852 * sysdeps/mach/hurd/getcwd.c: Likewise.
4853 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
4854 * sysdeps/mach/hurd/mmap.c: Likewise.
4855 * sysdeps/mach/hurd/utimes.c: Likewise.
4856 * sysdeps/mach/hurd/xmknod.c: Likewise.
4857 * sysdeps/posix/profil.c: Likewise.
4858 * sysdeps/posix/readdir_r.c: Likewise.
4859 * sysdeps/powerpc/bits/mathdef.h: Likewise.
4860 * sysdeps/powerpc/bits/setjmp.h: Likewise.
4861 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
4862 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
4863 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
4864 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
4865 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
4866 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
4867 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
4868 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
4869 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
4870 * sysdeps/pthread/lio_listio.c: Likewise.
4871 * sysdeps/sparc/dl-procinfo.h: Likewise.
4872 * sysdeps/unix/i386/sysdep.S: Likewise.
4873 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
4874 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
4875 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
4876 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
4877 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
4878 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
4879 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
4880 * sysdeps/unix/sysv/linux/speed.c: Likewise.
4881 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
4882 * sysdeps/wordsize-32/divdi3.c: Likewise.
4883 * time/sys/time.h: Likewise.
4884 * wcsmbs/Makefile: Likewise.
4886 2013-01-01 David S. Miller <davem@davemloft.net>
4888 * po/fr.po: Update from translation team.
4890 * catgets/gencat.c: Update copyright year.
4891 * csu/version.c: Likewise.
4892 * debug/catchsegv.sh: Likewise.
4893 * debug/pcprofiledump.c: Likewise.
4894 * debug/xtrace.sh: Likewise.
4895 * elf/ldconfig.c: Likewise.
4896 * elf/ldd.bash.in: Likewise.
4897 * elf/pldd.c: Likewise.
4898 * elf/sotruss.ksh: Likewise.
4899 * elf/sprof.c: Likewise.
4900 * iconv/iconv_prog.c: Likewise.
4901 * iconv/iconvconfig.c: Likewise.
4902 * locale/programs/locale.c: Likewise.
4903 * locale/programs/localedef.c: Likewise.
4904 * login/programs/pt_chown.c: Likewise.
4905 * malloc/memusage.sh: Likewise.
4906 * malloc/memusagestat.c: Likewise.
4907 * malloc/mtrace.pl: Likewise.
4908 * nscd/nscd.c: Likewise.
4909 * nss/getent.c: Likewise.
4910 * nss/makedb.c: Likewise.
4911 * posix/getconf.c: Likewise.
4913 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
4915 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
4918 2012-12-30 Mike Frysinger <vapier@gentoo.org>
4920 * math/bits/mathcalls.h (modf): Use __nonnull.
4922 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4924 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
4925 (split): Use macro CN instead of the bare value.
4926 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
4928 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
4929 instead of the bare value.
4932 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4934 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
4936 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
4938 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
4940 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
4941 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
4942 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
4943 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
4945 2012-12-28 Andreas Jaeger <aj@suse.de>
4947 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
4948 values are from Linux 3.7.
4950 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
4951 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
4953 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4955 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
4958 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
4960 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
4961 variables with preprocessor constants.
4962 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
4963 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
4964 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
4966 2012-12-27 Bruno Haible <bruno@clisp.org>
4969 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
4972 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4974 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
4975 and use variable directly.
4976 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
4978 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
4980 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
4981 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
4983 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
4984 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
4985 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
4986 include directive. Remove local variable MPONE.
4987 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
4988 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
4989 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
4991 2012-12-25 David S. Miller <davem@davemloft.net>
4993 * version.h (RELEASE): Set to "development".
4994 (VERSION): Set to "2.17.90".
4995 * NEWS: Add 2.18 section.
4997 2012-12-21 David S. Miller <davem@davemloft.net>
4999 * po/hr.po: Update from translation team.
5001 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5003 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
5005 2012-12-19 Steve Ellcey <sellcey@mips.com>
5007 * NEWS: Mention new memcpy for MIPS.
5009 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5011 * manual/contrib.texi (Contributors): Spelling correction.
5013 2012-12-15 David S. Miller <davem@davemloft.net>
5015 * po/ru.po: Update from translation team.
5017 2012-12-13 David S. Miller <davem@davemloft.net>
5019 * NEWS: Mention IFUNC testsuite enhancements.
5021 * po/pl.po: Update from translation team.
5022 * po/bg.po: Likewise.
5024 * manual/contrib.texi (Contributors): Update entries for Hongjiu
5025 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
5027 2012-12-11 David S. Miller <davem@davemloft.net>
5029 * po/sv.po: Update from translation team.
5031 * po/vi.po: Update from translation team.
5033 * po/cs.po: Update from translation team.
5035 * po/de.po: Update from translation team.
5036 * po/eo.po: Likewise.
5037 * po/nl.po: Likewise.
5039 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5042 * manual/argp.texi (Argp Helper Functions): Move node to follow
5046 * manual/conf.texi (Limits on File System Capacity): Mention if
5047 terminating null is included in the max size.
5049 2012-12-10 Andreas Jaeger <aj@suse.de>
5051 * po/cs.po: Update from translation team.
5053 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
5055 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
5056 void pointer and cast to uintptr_t.
5057 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
5059 * sysdeps/s390/s390-64/memcpy.S: Likewise.
5060 * sysdeps/s390/s390-64/memset.S: Likewise.
5062 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
5065 * menual/message.texi (Message Translation): Fix typos.
5066 (Helper programs for gettext): Likewise.
5068 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
5071 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
5074 2012-12-07 David S. Miller <davem@davemloft.net>
5076 * po/libc.pot: Update.
5078 2012-12-07 Richard Henderson <rth@redhat.com>
5081 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
5082 normal/normal case to before the switch.
5083 (_FP_DIV): Likewise.
5085 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
5086 Mike Frysinger <vapier@gentoo.org>
5088 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
5089 check for __NR_fadvise64_64.
5091 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
5093 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
5094 0, not just to plain "0" as a statement.
5095 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
5098 2012-12-06 Joseph Myers <joseph@codesourcery.com>
5100 * NEWS: Use sourceware.org in Bugzilla URL.
5102 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
5104 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
5105 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
5107 * stdio-common/tst-put-error.c (do_test): Add newline to the
5108 padded test to ensure flush.
5110 2012-12-05 Jeff Law <law@redhat.com>
5112 * sunrpc/etc.rpc (fedfs_admin): Add entry.
5114 2012-12-05 Joseph Myers <joseph@codesourcery.com>
5116 * README: Don't refer to ports add-on as distributed separately.
5117 Mention AArch64 in list of systems supported in the ports add-on.
5119 * LICENSES: Add more non-FSF copyright and license notices.
5121 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
5124 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
5126 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
5127 10000 as width of padded output.
5129 2012-12-04 Joseph Myers <joseph@codesourcery.com>
5131 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
5133 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
5134 variable LX with __attribute__ ((unused)).
5135 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
5137 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
5138 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
5139 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
5140 with __attribute__ ((unused)).
5142 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
5144 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
5146 2012-12-04 Joseph Myers <joseph@codesourcery.com>
5148 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
5149 (CFLAGS-nldbl-acos.c): New variable.
5150 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
5151 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
5152 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
5153 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
5154 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
5155 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
5156 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
5157 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
5158 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
5159 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
5160 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
5161 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
5162 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
5163 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
5164 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
5165 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
5166 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
5167 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
5168 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
5169 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
5170 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
5171 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
5172 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
5173 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
5174 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
5175 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
5176 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
5177 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
5178 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
5179 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
5180 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
5181 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
5182 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
5183 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
5184 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
5185 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
5186 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
5187 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
5188 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
5189 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
5190 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
5191 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
5192 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
5193 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
5194 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
5195 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
5196 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
5197 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
5198 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
5199 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
5200 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
5201 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
5202 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
5203 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
5204 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
5205 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
5206 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
5207 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
5208 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
5209 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
5210 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
5211 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
5212 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
5213 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
5214 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
5215 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
5216 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
5217 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
5218 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
5219 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
5220 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
5221 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
5222 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
5223 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
5224 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
5225 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
5226 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
5227 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
5228 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
5229 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
5230 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
5231 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
5232 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
5233 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
5234 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
5235 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
5236 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
5237 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
5238 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
5239 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
5240 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
5241 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
5242 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
5243 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
5244 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
5245 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
5246 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
5248 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
5249 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
5252 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
5253 whole low double instead of just low 47 bits when splitting values
5256 2012-12-03 Allan McRae <allan@archlinux.org>
5258 * manual/stdio.texi (Predefined Printf Handlers): Remove
5259 @hsep and @vsep usage.
5261 2012-12-03 Mike Frysinger <vapier@gentoo.org>
5263 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
5264 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
5266 2012-12-03 Jeff Law <law@redhat.com>
5268 * time/sys/time.h (settimeofday): Do not mark TV argument
5271 2012-12-01 Mike Frysinger <vapier@gentoo.org>
5273 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
5274 when currently writing and seek to current position when not.
5275 * libio/Makefile (tests): Remove bug-fclose1.
5276 * libio/bug-fclose1.c: Delete.
5278 2012-12-01 Joseph Myers <joseph@codesourcery.com>
5280 * manual/arith.texi (feenableexcept): Fix typo.
5281 (fedisableexcept): Likewise.
5283 2012-11-30 Roland McGrath <roland@hack.frob.com>
5285 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
5286 second, differently-typed declaration, rather than a cast.
5288 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5290 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
5291 * include/rpc/svc.h: ... here.
5293 2012-11-30 Aurelien Jarno <aurel32@debian.org>
5296 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
5297 depending n and resplen2 to catch cases where answer
5300 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
5302 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
5303 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
5305 2012-11-29 Mike Frysinger <vapier@gentoo.org>
5307 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
5309 2012-11-29 Roland McGrath <roland@hack.frob.com>
5311 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
5313 2012-11-28 Jeff Law <law@redhat.com>
5316 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
5317 dataset_temporary. Track alloca usage into alloca_used.
5318 If dataset is large allocate and release it via malloc/free.
5320 2012-06-04 Florian Weimer <fweimer@redhat.com>
5323 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
5325 2012-11-28 David S. Miller <davem@davemloft.net>
5327 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5329 2012-11-28 Joseph Myers <joseph@codesourcery.com>
5332 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
5333 of pi/2 rounded to nearest to 64 bits.
5334 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
5336 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
5339 2012-11-28 Jeff Law <law@redhat.com>
5340 Martin Osvald <mosvald@redhat.com>
5343 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
5344 * sunrpc/svc.c: Include time.h.
5345 (__svc_accept_failed): New function.
5346 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
5347 any reason other than EINTR, call __svc_accept_failed.
5348 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
5349 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
5351 2012-11-28 Andreas Schwab <schwab@suse.de>
5353 * scripts/abilist.awk: Also handle indirect functions in .opd
5356 2012-11-28 Joseph Myers <joseph@codesourcery.com>
5359 * sysdeps/x86/fpu/powl_helper.c: New file.
5360 * sysdeps/x86/fpu/Makefile: Likewise.
5361 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
5363 (__ieee754_powl): Use __powl_helper for finite arguments except
5364 integer exponents below 8.
5365 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
5367 (__ieee754_powl): Use __powl_helper for finite arguments except
5368 integer exponents below 8.
5369 * math/libm-test.inc (pow_test): Add more tests and enable some
5370 previously disabled tests.
5371 * sysdeps/i386/fpu/libm-test-ulps: Update.
5372 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5374 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5375 Carlos O'Donell <carlos_odonell@mentor.com>
5377 * nss/makedb.c (is_prime): Assert that input is odd and greater
5378 than 4. Note that fact in a comment too.
5379 (next_prime): Add 4 to input.
5381 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5384 * libio/Makefile (tests): Add test case tst-fwrite-error.
5385 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
5386 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
5387 * libio/tst-fwrite-error.c: New test case.
5389 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
5391 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
5392 before casting to void *.
5393 * include/libc-internal.h (__pointer_type): New macro.
5394 (__integer_if_pointer_type_sub): Likewise.
5395 (__integer_if_pointer_type): Likewise.
5396 (cast_to_integer): Likewise.
5397 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
5398 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
5399 before casting to atomic64_t.
5400 (atomic_exchange_acq): Likewise.
5401 (__arch_exchange_and_add_body): Likewise.
5402 (__arch_add_body): Likewise.
5403 (atomic_add_negative): Likewise.
5404 (atomic_add_zero): Likewise.
5406 2012-11-26 Joseph Myers <joseph@codesourcery.com>
5408 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
5409 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
5410 (add_fdes): Likewise.
5411 (linear_search_fdes): Likewise.
5412 (binary_search_unencoded_fdes): Likewise.
5414 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
5416 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
5418 2012-11-24 Adam Conrad <adconrad@0c3.net>
5420 * configure.in: Autodetect C++ header directories.
5421 * configure: Regenerated.
5423 2012-11-23 Mike Frysinger <vapier@gentoo.org>
5425 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
5427 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
5429 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5431 2012-11-22 Joseph Myers <joseph@codesourcery.com>
5433 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
5434 LDBL_MANT_DIG == 106]: Disable some tests.
5435 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
5437 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
5441 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
5442 input for small inputs. Return +/- pi/2 for large inputs.
5443 * math/libm-test.inc (atan_test): Add more tests.
5445 * sysdeps/generic/unwind-dw2-fde-glibc.c
5446 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
5447 __attribute__ ((unused)).
5450 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
5451 x * y if x and y are nonzero and z is zero.
5454 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
5455 nonzero exponents with absolute value below 0x1p-117 to +/-
5459 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
5460 up arguments below 2**-450, not just those below 2**-500.
5461 * math/libm-test.inc (hypot_test): Add another test.
5464 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
5465 Return a+b for ratio over 2**120, not 2**60.
5466 * math/libm-test.inc (hypot_test): Add another test.
5468 * math/libm-test.inc (clog_test): Use
5469 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
5470 (clog10_test): Likewise.
5473 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
5475 2012-11-22 Andreas Schwab <schwab@suse.de>
5477 * sysdeps/i386/fpu/libm-test-ulps: Update.
5479 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
5481 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
5482 printf output with newline.
5484 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
5487 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
5488 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
5489 -z nodlopen, -z initfirst and -z execstack support.
5490 * configure: Regenerated.
5492 * elf/elf.h (DF_1_NODIRECT): New macro.
5493 (DF_1_IGNMULDEF): Likewise.
5494 (DF_1_NOKSYMS): Likewise.
5495 (DF_1_NOHDR): Likewise.
5496 (DF_1_EDITED): Likewise.
5497 (DF_1_NORELOC): Likewise.
5498 (DF_1_SYMINTPOSE): Likewise.
5499 (DF_1_GLOBAUDIT): Likewise.
5500 (DF_1_SINGLETON): Likewise.
5501 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
5502 DT_1_SUPPORTED_MASK bits.
5503 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
5505 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
5507 * sysdeps/unix/make-syscalls.sh: Document prefixes.
5509 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
5511 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
5514 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
5515 (sendmmsg): Move declarations...
5516 * socket/sys/socket.h: ... here.
5517 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
5518 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
5520 * socket/recvmmsg.c: ... this new file.
5521 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
5522 (sendmmsg): Rename to __sendmmsg, create weak alias and make
5523 definition of __sendmmsg hidden.
5524 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
5525 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
5526 Move ENOSYS stub into and include it from...
5527 * socket/sendmmsg.c: ... this new file.
5528 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
5529 (sysdep_routines): Move recvmmsg and sendmmsg...
5530 * socket/Makefile (routines): ... here.
5531 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
5532 (GLIBC_PRIVATE): Add __sendmmsg.
5533 * include/sys/socket.h (__sendmmsg): Add declarations.
5534 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
5537 2012-11-20 Joseph Myers <joseph@codesourcery.com>
5539 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
5540 variable I1 with __attribute__ ((unused)).
5541 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
5543 2012-11-19 Joseph Myers <joseph@codesourcery.com>
5545 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
5546 DUMMY variables with __attribute__ ((unused)).
5548 * bits/byteswap.h: Include <bits/types.h>.
5549 (__bswap_64): Use __uint64_t instead of unsigned long long int.
5551 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
5553 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
5554 string_t. Do not manually set errno.
5555 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
5556 length with __strnlen. Make sure to both set errno and return it on
5559 2012-11-19 David S. Miller <davem@davemloft.net>
5561 With help from Joseph Myers.
5562 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
5563 very large arguments properly.
5564 * math/libm-test.inc (atan_test): New tests.
5565 (atan2_test): New tests.
5566 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5567 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5569 2012-11-19 Joseph Myers <joseph@codesourcery.com>
5572 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
5575 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
5576 [POSIX] (EADDRNOTAVAIL): Likewise.
5577 [POSIX] (EAFNOSUPPORT): Likewise.
5578 [POSIX] (EALREADY): Likewise.
5579 [POSIX] (ECONNABORTED): Likewise.
5580 [POSIX] (ECONNREFUSED): Likewise.
5581 [POSIX] (ECONNRESET): Likewise.
5582 [POSIX] (EDESTADDRREQ): Likewise.
5583 [POSIX] (EDQUOT): Likewise.
5584 [POSIX] (EHOSTUNREACH): Likewise.
5585 [POSIX] (EIDRM): Likewise.
5586 [POSIX] (EISCONN): Likewise.
5587 [POSIX] (ELOOP): Likewise.
5588 [POSIX] (EMULTIHOP): Likewise.
5589 [POSIX] (ENETDOWN): Likewise.
5590 [POSIX] (ENETUNREACH): Likewise.
5591 [POSIX] (ENOBUFS): Likewise.
5592 [POSIX] (ENODATA): Likewise.
5593 [POSIX] (ENOLINK): Likewise.
5594 [POSIX] (ENOMSG): Likewise.
5595 [POSIX] (ENOPROTOOPT): Likewise.
5596 [POSIX] (ENOSR): Likewise.
5597 [POSIX] (ENOSTR): Likewise.
5598 [POSIX] (ENOTCONN): Likewise.
5599 [POSIX] (ENOTSOCK): Likewise.
5600 [POSIX] (EOPNOTSUPP): Likewise.
5601 [POSIX] (EOVERFLOW): Likewise.
5602 [POSIX] (EPROTO): Likewise.
5603 [POSIX] (EPROTONOSUPPORT): Likewise.
5604 [POSIX] (EPROTOTYPE): Likewise.
5605 [POSIX] (ESTALE): Likewise.
5606 [POSIX] (ETIME): Likewise.
5607 [POSIX] (ETXTBSY): Likewise.
5608 [POSIX] (EWOULDBLOCK): Likewise.
5609 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
5610 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
5611 [POSIX] (SEEK_CUR): Likewise.
5612 [POSIX] (SEEK_END): Likewise.
5613 [POSIX || UNIX98] (mode_t): Do not require.
5614 [POSIX] (off_t): Likewise.
5615 [POSIX] (pid_t): Likewise.
5616 [POSIX] (sys/stat.h): Do not allow header.
5617 [POSIX] (unistd.h): Likewise.
5618 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
5619 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
5620 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
5621 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
5623 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
5624 sigevent): Specify elements.
5625 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
5627 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
5628 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
5630 * conform/data/cpio.h-data [POSIX]: Disable whole file.
5631 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
5632 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
5633 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
5634 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
5635 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
5636 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
5637 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
5638 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
5639 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
5640 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
5641 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
5642 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
5643 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
5645 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
5647 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
5649 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
5651 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
5652 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
5653 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
5654 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
5655 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
5656 Specify lower bound on value.
5657 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
5658 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
5659 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
5660 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
5661 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
5662 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
5663 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
5664 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
5666 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
5668 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
5669 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
5670 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
5671 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
5672 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
5673 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
5674 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
5675 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
5676 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
5677 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
5678 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
5679 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
5680 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
5681 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
5682 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
5683 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
5685 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
5687 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
5688 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
5689 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
5690 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
5691 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
5692 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
5694 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
5695 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
5696 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
5697 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
5698 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
5699 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
5700 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
5702 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
5703 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
5704 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
5705 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
5706 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
5707 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
5708 specify as optional.
5709 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
5710 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
5711 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
5712 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
5713 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
5714 [XPG3] (NL_LANGMAX): Likewise.
5715 [POSIX || XPG3] (NL_MSGMAX): Likewise.
5716 [POSIX || XPG3] (NL_NMAX): Likewise.
5717 [POSIX || XPG3] (NL_SETMAX): Likewise.
5718 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
5719 [XPG3] (NZERO): Likewise.
5720 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
5721 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
5722 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
5723 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
5724 (REG_ERANGE): Expect.
5725 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
5727 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
5728 Use (void) in prototype.
5729 [POSIX] (*_t): Allow.
5730 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
5731 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
5732 (WRDE_BADVAL): Expect.
5734 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
5736 [XPG3 || XPG4] (O_RSYNC): Likewise.
5737 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
5739 [XPG3 || XPG4] (pthread_sigmask): Likewise.
5740 [XPG3 || XPG4] (sigqueue): Likewise.
5741 [XPG3 || XPG4] (sigtimedwait): Likewise.
5742 [XPG3 || XPG4] (sigwaitinfo): Likewise.
5743 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
5744 [XPG3 || XPG4] (vsnprintf): Likewise.
5745 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
5747 [XPG3 || XPG4] (blksize_t): Likewise.
5748 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
5750 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
5751 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
5752 [XPG3 || XPG4] (struct itimerspec): Likewise.
5753 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
5754 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
5755 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
5756 [XPG3 || XPG4] (clockid_t): Likewise.
5757 [XPG3 || XPG4] (timer_t): Likewise.
5758 [XPG3 || XPG4] (clock_getres): Likewise.
5759 [XPG3 || XPG4] (clock_gettime): Likewise.
5760 [XPG3 || XPG4] (clock_settime): Likewise.
5761 [XPG3 || XPG4] (nanosleep): Likewise.
5762 [XPG3 || XPG4] (timer_create): Likewise.
5763 [XPG3 || XPG4] (timer_delete): Likewise.
5764 [XPG3 || XPG4] (timer_gettime): Likewise.
5765 [XPG3 || XPG4] (timer_getoverrun): Likewise.
5766 [XPG3 || XPG4] (timer_settime): Likewise.
5767 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
5768 [XPG3 || XPG4] (getlogin_r): Likewise.
5769 [XPG3 || XPG4] (pread): Likewise.
5770 [XPG3 || XPG4] (pthread_atfork): Likewise.
5771 [XPG3 || XPG4] (pwrite): Likewise.
5774 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
5777 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
5779 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
5780 finalizing MALLSTREAM.
5782 * sysdeps/mach/hurd/syncfs.c: New file.
5784 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5787 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
5788 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
5789 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
5790 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
5791 (_nss_dns_gethostbyname4_r): Likewise.
5792 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
5793 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
5795 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
5798 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
5800 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
5802 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
5803 * elf/cache.c (print_entry): Print ",AArch64" for
5806 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
5807 * elf/cache.c (print_entry): Print ",hard-float" for
5810 2012-11-18 David S. Miller <davem@davemloft.net>
5812 With help from Joseph Myers.
5813 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
5815 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
5817 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
5818 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
5820 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
5821 * math/libm-test.inc (y0_test): New tests.
5822 (y1_test): New tests.
5823 * sysdeps/i386/fpu/libm-test-ulps: Update.
5824 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5825 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5827 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
5829 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
5831 * configure: Regenerated.
5833 2012-11-17 David S. Miller <davem@davemloft.net>
5836 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
5837 nonzero exponents with absolute value below 0x1p-128 to +/-
5840 2012-11-17 Joseph Myers <joseph@codesourcery.com>
5842 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
5844 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
5846 * posix/getconf-speclist.c: New file.
5847 * posix/posix-envs.def: Likewise.
5848 * posix/confstr.c (START_ENV_GROUP): New macro.
5849 (END_ENV_GROUP): Likewise.
5850 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
5851 (KNOWN_PRESENT_ENV_STRING): Likewise.
5852 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
5853 (UNKNOWN_ENVIRONMENT): Likewise.
5854 (confstr): Include posix-envs.def instead of handling
5855 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
5856 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
5857 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
5858 (END_ENV_GROUP): Likewise.
5859 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
5860 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
5861 (UNKNOWN_ENVIRONMENT): Likewise.
5862 (__sysconf): Include posix-envs.def instead of handling associated
5863 cases directly here.
5864 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
5865 preprocessing getconf-speclist.c rather than running getconf or
5866 generating empty file.
5868 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
5870 * scripts/check-local-headers.sh: Ignore 'mach' headers.
5872 2012-11-16 Andrej Lajovic <natrij@gmail.com>
5875 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
5877 2012-11-16 David S. Miller <davem@davemloft.net>
5879 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
5880 smaller than LDBL_EPSILON/2.0L, just return xm1.
5882 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
5884 * elf/tst-array1.c (init): Set constructor priority to 1000.
5885 (fini): Set destructor priority to 1000.
5886 * elf/tst-array2dep.c: Likewise.
5888 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5891 * libio/fileops.c (_IO_new_file_write): Correctly return error.
5892 (_IO_new_file_xsputn): Also return EOF if none of the input
5893 data was written when overflow failed.
5894 * libio/iopadn.c (_IO_padn): Likewise.
5895 * libio/iowpadn.c (_IO_wpadn): Likewise.
5896 * stdio-common/tst-put-error.c: Add copyright notice.
5897 (do_test): Add case for printing padded string.
5898 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
5899 _IO_padn returned error.
5900 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
5901 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
5904 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5906 * libio/libioP.h: Add comment note that the references to C++
5907 bits are now obsolete.
5909 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5911 * math/libm-test.inc (check_complex): Use asprintf.
5913 2012-11-14 Joseph Myers <joseph@codesourcery.com>
5915 * debug/pcprofiledump.c (print_version): Update copyright year.
5916 * malloc/memusagestat.c (print_version): Likewise.
5918 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
5921 * elf/Makefile (tests): Add tst-audit8.
5922 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
5923 ($(objpfx)tst-audit8.out): New target.
5924 (tst-audit8-ENV): New variable.
5925 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
5926 audit if l_reloc_result is NULL.
5927 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
5928 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
5929 * elf/tst-audit8.c: New file.
5931 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5933 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
5934 * misc/Makefile (CFLAGS-select.c): Define.
5935 * posix/Makefile (CFLAGS-pause.c): Define.
5937 2012-11-13 David S. Miller <davem@davemloft.net>
5939 * crypt/Makefile: Move test targets after toplevel Rules
5940 inclusion. Grab any necessary sysdep routines when linking.
5941 * crypt/md5.c (md5_process_block): Remove define, we will always
5942 name it __md5_process_block.
5943 (md5_finish_ctx): Update md5_process_block call.
5944 (md5_stream): Likewise.
5945 (md5_process_bytes): Likewise.
5946 (md5_process_block): Rename to __md5_process_block and move to ...
5947 * crypt/md5-block.c: ... here.
5948 * crypt/sha256.c (sha256_process_block): Move to ...
5949 * crypt/sha256-block.c: ... here.
5950 * crypt/sha512.c (sha512_process_block): Move to ...
5951 * crypt/sha512-block.c: ... here.
5952 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
5954 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
5955 * sysdeps/sparc/sparc64/multiarch/Makefile
5956 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
5958 (localedef-aux): Add md5 crypto assembler when in locale subdir.
5959 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
5961 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
5962 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
5963 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
5964 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
5965 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
5966 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
5967 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
5968 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
5969 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
5971 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
5972 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
5974 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
5976 2012-11-13 Joseph Myers <joseph@codesourcery.com>
5978 * timezone/tzselect.ksh: Update from tzcode git revision
5979 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
5980 * timezone/zdump.c: Likewise.
5981 * timezone/zic.c: Likewise.
5982 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
5983 in TZVERSION setting, not $(PKGVERSION).
5984 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
5985 REPORT_BUGS_TO settings.
5988 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
5991 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5993 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
5994 detection to immediately after _FP_ROUND().
5995 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
5998 2012-11-11 David S. Miller <davem@davemloft.net>
6000 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
6002 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
6003 __close rather than their public counterparts.
6005 2012-11-10 Joseph Myers <joseph@codesourcery.com>
6007 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
6009 [UNIX98] (sem_timedwait): Do not expect.
6010 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
6011 [XPG4 || UNIX98] (sockatmark): Do not expect.
6012 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
6013 (clock_getcpuclockid): Do not expect.
6014 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
6015 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
6017 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
6018 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
6019 [UNIX98] (vwscanf): Likewise.
6020 [UNIX98] (vswscanf): Likewise.
6022 2012-11-09 Joseph Myers <joseph@codesourcery.com>
6024 * timezone/version.h: Remove file.
6025 * timezone/README: Do not refer to version.h.
6026 * timezone/Makefile ($(objpfx)zic.o): New dependency on
6028 ($(objpfx)zdump.o): Likewise.
6029 ($(objpfx)version.h): New target.
6031 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
6033 * timezone/README: Don't mention modification to tzselect.ksh.
6034 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
6035 work on unmodified tzselect.ksh. Substitute version numbers in
6038 * Makefile (format-me): Remove.
6039 (INSTALL): Adjust indentation. Use commands directly instead of
6042 * aclocal.m4 (ACX_PKGVERSION): New macro.
6043 (ACX_BUGURL): Likewise.
6044 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
6045 (PKGVERSION): New AC_DEFINE_UNQUOTED.
6046 (REPORT_BUGS_TO): Likewise.
6047 * configure: Regenerated.
6048 * config.h.in (PKGVERSION): New macro.
6049 (REPORT_BUGS_TO): Likewise.
6050 * config.make.in (PKGVERSION): New variable.
6051 (PKGVERSION_TEXI): Likewise.
6052 (REPORT_BUGS_TO): Likewise.
6053 (REPORT_BUGS_TEXI): Likewise.
6054 * Makefile (format-me): Use -I$(common-objpfx)manual.
6055 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
6056 ($(common-objpfx)manual/%): New target.
6057 (manual/%): Remove target.
6058 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
6059 (print_version): Use PKGVERSION.
6060 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
6061 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
6063 ($(objpfx)xtrace): Likewise.
6064 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
6065 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
6066 (print_version): Use PKGVERSION.
6067 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
6068 (do_version): Use PKGVERSION.
6069 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
6071 (common-ldd-rewrite): Likewise.
6072 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
6073 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
6074 (print_version): Use PKGVERSION.
6075 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
6076 * elf/pldd.c (argp_program_bug_address): Remove variable.
6077 (more_help): New function.
6078 (argp): Use more_help.
6079 (print_version): Use PKGVERSION.
6080 * elf/sln.c (main): Use PKGVERSION.
6081 (usage): Use REPORT_BUGS_TO.
6082 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
6083 (top level): Use PKGVERSION.
6084 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
6085 (print_version): Use PKGVERSION.
6086 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
6087 (print_version): Use PKGVERSION.
6088 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
6089 (print_version): Use PKGVERSION.
6090 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
6091 (print_version): Use PKGVERSION.
6092 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
6093 (print_version): Use PKGVERSION.
6094 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
6095 (print_version): Use PKGVERSION.
6096 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
6098 ($(objpfx)memusage): Likewise.
6099 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
6100 (do_version): Use PKGVERSION.
6101 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
6102 (print_version): Use PKGVERSION.
6103 * malloc/mtrace.pl ($PACKAGE): Remove variable.
6104 ($PKGVERSION): New variable.
6105 ($REPORT_BUGS_TO): Likewise.
6106 (usage): Use $REPORT_BUGS_TO.
6107 (top level): Use $PKGVERSION.
6108 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
6109 ($(objpfx)pkgvers.texi): New rule.
6110 ($(objpfx)stamp-pkgvers): Likewise.
6111 * manual/install.texi: Include pkgvers.texi.
6112 (--with-pkgversion): Document new configure option.
6113 (--with-bugurl): Likewise.
6114 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
6115 than necessarily for this particular distribution. Use
6116 REPORT_BUGS_TO for where to report bugs.
6117 * INSTALL: Regenerated.
6118 * manual/libc.texinfo: Include pkgvers.texi.
6119 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
6120 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
6121 (print_version): Use PKGVERSION.
6122 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
6123 (print_version): Use PKGVERSION.
6124 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
6125 (print_version): Use PKGVERSION.
6126 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
6127 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
6129 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
6130 (print_version): Use PKGVERSION.
6131 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
6132 (print_version): Use PKGVERSION.
6133 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
6136 * timezone/checktab.awk: Update from tzcode 2012i.
6137 * timezone/ialloc.c: Likewise.
6138 * timezone/private.h: Likewise.
6139 * timezone/scheck.c: Likewise.
6140 * timezone/tzfile.h: Likewise.
6141 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
6142 (TZVERSION): Hardcode tzcode version number.
6143 * timezone/zdump.c: Update from tzcode 2012i.
6144 * timezone/zic.c: Likewise.
6145 * timezone/version.h: New file.
6146 * timezone/README: Describe version.h. Update upstream location.
6149 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
6150 (mktemp): Enable declaration.
6151 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
6152 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
6153 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
6154 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
6156 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
6158 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
6160 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
6162 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
6164 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
6168 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
6169 offset in buffer as u_int32_t not u_long. Consistently use memcpy
6170 for copies of such integer values.
6171 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
6172 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
6174 2012-11-09 Andreas Jaeger <aj@suse.de>
6176 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
6177 definitions and declarations that are provided by
6178 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
6180 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6182 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
6183 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
6184 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
6187 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6189 * elf/elf.h: Update comment before AArch64 relocations.
6191 2012-11-07 David S. Miller <davem@davemloft.net>
6193 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
6194 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
6195 (__start_context): Declare.
6196 (__makecontext_ret): Delete.
6197 (__makecontext): Hook up __start_context instead of
6199 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
6200 (sysdep_routines): Add __start_context when in stdlib.
6202 2012-11-07 Joseph Myers <joseph@codesourcery.com>
6204 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
6205 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
6206 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
6208 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
6209 (READELF): New variable. Use it instead of hardcoded "readelf".
6211 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
6213 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
6214 * sysdeps/x86/Makefile: Here.
6215 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
6216 * sysdeps/x86/tst-xmmymm.sh: This.
6218 2012-11-07 Joseph Myers <joseph@codesourcery.com>
6220 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
6222 [UNIX98] (pthread_barrier_t): Do not expect.
6223 [UNIX98] (pthread_barrierattr_t): Likewise.
6224 [UNIX98] (pthread_spinlock_t): Likewise.
6225 [UNIX98] (pthread_barrier_destroy): Likewise.
6226 [UNIX98] (pthread_barrier_init): Likewise.
6227 [UNIX98] (pthread_barrier_wait): Likewise.
6228 [UNIX98] (pthread_barrierattr_destroy): Likewise.
6229 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
6230 [UNIX98] (pthread_barrierattr_init): Likewise.
6231 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
6232 [UNIX98] (pthread_getcpuclockid): Likewise.
6233 [UNIX98] (pthread_mutex_timedlock): Likewise.
6234 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
6235 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
6236 [UNIX98] (pthread_sigmask): Likewise.
6237 [UNIX98] (pthread_spin_destroy): Likewise.
6238 [UNIX98] (pthread_spin_init): Likewise.
6239 [UNIX98] (pthread_spin_lock): Likewise.
6240 [UNIX98] (pthread_spin_trylock): Likewise.
6241 [UNIX98] (pthread_spin_unlock): Likewise.
6242 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
6244 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
6245 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
6246 [XPG3 || XPG4] (pthread_cond_t): Likewise.
6247 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
6248 [XPG3 || XPG4] (pthread_key_t): Likewise.
6249 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
6250 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
6251 [XPG3 || XPG4] (pthread_once_t): Likewise.
6252 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
6253 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
6254 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
6255 [XPG3 || XPG4] (pthread_t): Likewise.
6257 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
6259 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
6261 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
6262 Change function return type to int.
6264 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
6265 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
6266 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
6267 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
6268 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
6269 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
6270 [!POSIX] (posix_madvise): Likewise.
6271 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
6273 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
6274 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
6276 (posix_mem_offset): Likewise.
6277 (posix_typed_mem_get_info): Likewise.
6278 (posix_typed_mem_open): Likewise.
6280 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
6281 Change condition to [XOPEN2K8].
6283 * conform/conformtest.pl: Preprocess allow-header data with -x c
6284 instead of from stdin.
6285 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
6286 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
6287 [C99-based standards] (cerfc): Likewise.
6288 [C99-based standards] (cexp2): Likewise.
6289 [C99-based standards] (cexpm1): Likewise.
6290 [C99-based standards] (clog10): Likewise.
6291 [C99-based standards] (clog1p): Likewise.
6292 [C99-based standards] (clog2): Likewise.
6293 [C99-based standards] (clgamma): Likewise.
6294 [C99-based standards] (ctgamma): Likewise.
6295 [C99-based standards] (cerff): Likewise.
6296 [C99-based standards] (cerfcf): Likewise.
6297 [C99-based standards] (cexp2f): Likewise.
6298 [C99-based standards] (cexpm1f): Likewise.
6299 [C99-based standards] (clog10f): Likewise.
6300 [C99-based standards] (clog1pf): Likewise.
6301 [C99-based standards] (clog2f): Likewise.
6302 [C99-based standards] (clgammaf): Likewise.
6303 [C99-based standards] (ctgammaf): Likewise.
6304 [C99-based standards] (cerfl): Likewise.
6305 [C99-based standards] (cerfcl): Likewise.
6306 [C99-based standards] (cexp2l): Likewise.
6307 [C99-based standards] (cexpm1l): Likewise.
6308 [C99-based standards] (clog10l): Likewise.
6309 [C99-based standards] (clog1pl): Likewise.
6310 [C99-based standards] (clog2l): Likewise.
6311 [C99-based standards] (clgammal): Likewise.
6312 [C99-based standards] (ctgammal): Likewise.
6313 * conform/data/inttypes.h-data [C99-based standards]: Include
6314 stdint.h-data. Remove all expectations for stdint.h contents.
6315 [C99-based standards] (PRI*): Do not allow.
6316 [C99-based standards] (SCN*): Likewise.
6317 [C99-based standards] (*_t): Likewise.
6318 [C99-based-standards] (PRId8): Expect macro.
6319 [C99-based-standards] (PRIi8): Likewise.
6320 [C99-based-standards] (PRIo8): Likewise.
6321 [C99-based-standards] (PRIu8): Likewise.
6322 [C99-based-standards] (PRIx8): Likewise.
6323 [C99-based-standards] (PRIX8): Likewise.
6324 [C99-based-standards] (SCNd8): Likewise.
6325 [C99-based-standards] (SCNi8): Likewise.
6326 [C99-based-standards] (SCNo8): Likewise.
6327 [C99-based-standards] (SCNu8): Likewise.
6328 [C99-based-standards] (SCNx8): Likewise.
6329 [C99-based-standards] (PRIdLEAST8): Likewise.
6330 [C99-based-standards] (PRIiLEAST8): Likewise.
6331 [C99-based-standards] (PRIoLEAST8): Likewise.
6332 [C99-based-standards] (PRIuLEAST8): Likewise.
6333 [C99-based-standards] (PRIxLEAST8): Likewise.
6334 [C99-based-standards] (PRIXLEAST8): Likewise.
6335 [C99-based-standards] (SCNdLEAST8): Likewise.
6336 [C99-based-standards] (SCNiLEAST8): Likewise.
6337 [C99-based-standards] (SCNoLEAST8): Likewise.
6338 [C99-based-standards] (SCNuLEAST8): Likewise.
6339 [C99-based-standards] (SCNxLEAST8): Likewise.
6340 [C99-based-standards] (PRIdFAST8): Likewise.
6341 [C99-based-standards] (PRIiFAST8): Likewise.
6342 [C99-based-standards] (PRIoFAST8): Likewise.
6343 [C99-based-standards] (PRIuFAST8): Likewise.
6344 [C99-based-standards] (PRIxFAST8): Likewise.
6345 [C99-based-standards] (PRIXFAST8): Likewise.
6346 [C99-based-standards] (SCNdFAST8): Likewise.
6347 [C99-based-standards] (SCNiFAST8): Likewise.
6348 [C99-based-standards] (SCNoFAST8): Likewise.
6349 [C99-based-standards] (SCNuFAST8): Likewise.
6350 [C99-based-standards] (SCNxFAST8): Likewise.
6351 [C99-based-standards] (PRId16): Likewise.
6352 [C99-based-standards] (PRIi16): Likewise.
6353 [C99-based-standards] (PRIo16): Likewise.
6354 [C99-based-standards] (PRIu16): Likewise.
6355 [C99-based-standards] (PRIx16): Likewise.
6356 [C99-based-standards] (PRIX16): Likewise.
6357 [C99-based-standards] (SCNd16): Likewise.
6358 [C99-based-standards] (SCNi16): Likewise.
6359 [C99-based-standards] (SCNo16): Likewise.
6360 [C99-based-standards] (SCNu16): Likewise.
6361 [C99-based-standards] (SCNx16): Likewise.
6362 [C99-based-standards] (PRIdLEAST16): Likewise.
6363 [C99-based-standards] (PRIiLEAST16): Likewise.
6364 [C99-based-standards] (PRIoLEAST16): Likewise.
6365 [C99-based-standards] (PRIuLEAST16): Likewise.
6366 [C99-based-standards] (PRIxLEAST16): Likewise.
6367 [C99-based-standards] (PRIXLEAST16): Likewise.
6368 [C99-based-standards] (SCNdLEAST16): Likewise.
6369 [C99-based-standards] (SCNiLEAST16): Likewise.
6370 [C99-based-standards] (SCNoLEAST16): Likewise.
6371 [C99-based-standards] (SCNuLEAST16): Likewise.
6372 [C99-based-standards] (SCNxLEAST16): Likewise.
6373 [C99-based-standards] (PRIdFAST16): Likewise.
6374 [C99-based-standards] (PRIiFAST16): Likewise.
6375 [C99-based-standards] (PRIoFAST16): Likewise.
6376 [C99-based-standards] (PRIuFAST16): Likewise.
6377 [C99-based-standards] (PRIxFAST16): Likewise.
6378 [C99-based-standards] (PRIXFAST16): Likewise.
6379 [C99-based-standards] (SCNdFAST16): Likewise.
6380 [C99-based-standards] (SCNiFAST16): Likewise.
6381 [C99-based-standards] (SCNoFAST16): Likewise.
6382 [C99-based-standards] (SCNuFAST16): Likewise.
6383 [C99-based-standards] (SCNxFAST16): Likewise.
6384 [C99-based-standards] (PRId32): Likewise.
6385 [C99-based-standards] (PRIi32): Likewise.
6386 [C99-based-standards] (PRIo32): Likewise.
6387 [C99-based-standards] (PRIu32): Likewise.
6388 [C99-based-standards] (PRIx32): Likewise.
6389 [C99-based-standards] (PRIX32): Likewise.
6390 [C99-based-standards] (SCNd32): Likewise.
6391 [C99-based-standards] (SCNi32): Likewise.
6392 [C99-based-standards] (SCNo32): Likewise.
6393 [C99-based-standards] (SCNu32): Likewise.
6394 [C99-based-standards] (SCNx32): Likewise.
6395 [C99-based-standards] (PRIdLEAST32): Likewise.
6396 [C99-based-standards] (PRIiLEAST32): Likewise.
6397 [C99-based-standards] (PRIoLEAST32): Likewise.
6398 [C99-based-standards] (PRIuLEAST32): Likewise.
6399 [C99-based-standards] (PRIxLEAST32): Likewise.
6400 [C99-based-standards] (PRIXLEAST32): Likewise.
6401 [C99-based-standards] (SCNdLEAST32): Likewise.
6402 [C99-based-standards] (SCNiLEAST32): Likewise.
6403 [C99-based-standards] (SCNoLEAST32): Likewise.
6404 [C99-based-standards] (SCNuLEAST32): Likewise.
6405 [C99-based-standards] (SCNxLEAST32): Likewise.
6406 [C99-based-standards] (PRIdFAST32): Likewise.
6407 [C99-based-standards] (PRIiFAST32): Likewise.
6408 [C99-based-standards] (PRIoFAST32): Likewise.
6409 [C99-based-standards] (PRIuFAST32): Likewise.
6410 [C99-based-standards] (PRIxFAST32): Likewise.
6411 [C99-based-standards] (PRIXFAST32): Likewise.
6412 [C99-based-standards] (SCNdFAST32): Likewise.
6413 [C99-based-standards] (SCNiFAST32): Likewise.
6414 [C99-based-standards] (SCNoFAST32): Likewise.
6415 [C99-based-standards] (SCNuFAST32): Likewise.
6416 [C99-based-standards] (SCNxFAST32): Likewise.
6417 [C99-based-standards] (PRId64): Likewise.
6418 [C99-based-standards] (PRIi64): Likewise.
6419 [C99-based-standards] (PRIo64): Likewise.
6420 [C99-based-standards] (PRIu64): Likewise.
6421 [C99-based-standards] (PRIx64): Likewise.
6422 [C99-based-standards] (PRIX64): Likewise.
6423 [C99-based-standards] (SCNd64): Likewise.
6424 [C99-based-standards] (SCNi64): Likewise.
6425 [C99-based-standards] (SCNo64): Likewise.
6426 [C99-based-standards] (SCNu64): Likewise.
6427 [C99-based-standards] (SCNx64): Likewise.
6428 [C99-based-standards] (PRIdLEAST64): Likewise.
6429 [C99-based-standards] (PRIiLEAST64): Likewise.
6430 [C99-based-standards] (PRIoLEAST64): Likewise.
6431 [C99-based-standards] (PRIuLEAST64): Likewise.
6432 [C99-based-standards] (PRIxLEAST64): Likewise.
6433 [C99-based-standards] (PRIXLEAST64): Likewise.
6434 [C99-based-standards] (SCNdLEAST64): Likewise.
6435 [C99-based-standards] (SCNiLEAST64): Likewise.
6436 [C99-based-standards] (SCNoLEAST64): Likewise.
6437 [C99-based-standards] (SCNuLEAST64): Likewise.
6438 [C99-based-standards] (SCNxLEAST64): Likewise.
6439 [C99-based-standards] (PRIdFAST64): Likewise.
6440 [C99-based-standards] (PRIiFAST64): Likewise.
6441 [C99-based-standards] (PRIoFAST64): Likewise.
6442 [C99-based-standards] (PRIuFAST64): Likewise.
6443 [C99-based-standards] (PRIxFAST64): Likewise.
6444 [C99-based-standards] (PRIXFAST64): Likewise.
6445 [C99-based-standards] (SCNdFAST64): Likewise.
6446 [C99-based-standards] (SCNiFAST64): Likewise.
6447 [C99-based-standards] (SCNoFAST64): Likewise.
6448 [C99-based-standards] (SCNuFAST64): Likewise.
6449 [C99-based-standards] (SCNxFAST64): Likewise.
6450 [C99-based-standards] (PRIdMAX): Likewise.
6451 [C99-based-standards] (PRIiMAX): Likewise.
6452 [C99-based-standards] (PRIoMAX): Likewise.
6453 [C99-based-standards] (PRIuMAX): Likewise.
6454 [C99-based-standards] (PRIxMAX): Likewise.
6455 [C99-based-standards] (PRIXMAX): Likewise.
6456 [C99-based-standards] (SCNdMAX): Likewise.
6457 [C99-based-standards] (SCNiMAX): Likewise.
6458 [C99-based-standards] (SCNoMAX): Likewise.
6459 [C99-based-standards] (SCNuMAX): Likewise.
6460 [C99-based-standards] (SCNxMAX): Likewise.
6461 [C99-based-standards] (PRIdPTR): Likewise.
6462 [C99-based-standards] (PRIiPTR): Likewise.
6463 [C99-based-standards] (PRIoPTR): Likewise.
6464 [C99-based-standards] (PRIuPTR): Likewise.
6465 [C99-based-standards] (PRIxPTR): Likewise.
6466 [C99-based-standards] (PRIXPTR): Likewise.
6467 [C99-based-standards] (SCNdPTR): Likewise.
6468 [C99-based-standards] (SCNiPTR): Likewise.
6469 [C99-based-standards] (SCNoPTR): Likewise.
6470 [C99-based-standards] (SCNuPTR): Likewise.
6471 [C99-based-standards] (SCNxPTR): Likewise.
6472 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
6474 * conform/data/stdint.h-data: Update comments to clarify
6476 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
6478 [C99-based standards] (INT8_MAX): Likewise.
6479 [C99-based standards] (INT16_MIN): Likewise.
6480 [C99-based standards] (INT16_MAX): Likewise.
6481 [C99-based standards] (INT32_MIN): Likewise.
6482 [C99-based standards] (INT32_MAX): Likewise.
6483 [C99-based standards] (INT64_MIN): Likewise.
6484 [C99-based standards] (INT64_MAX): Likewise.
6485 [C99-based standards] (UINT8_MAX): Likewise.
6486 [C99-based standards] (UINT16_MAX): Likewise.
6487 [C99-based standards] (UINT32_MAX): Likewise.
6488 [C99-based standards] (UINT64_MAX): Likewise.
6489 [C99-based standards] (INT_LEAST8_MIN): Likewise.
6490 [C99-based standards] (INT_LEAST8_MAX): Likewise.
6491 [C99-based standards] (INT_LEAST16_MIN): Likewise.
6492 [C99-based standards] (INT_LEAST16_MAX): Likewise.
6493 [C99-based standards] (INT_LEAST32_MIN): Likewise.
6494 [C99-based standards] (INT_LEAST32_MAX): Likewise.
6495 [C99-based standards] (INT_LEAST64_MIN): Likewise.
6496 [C99-based standards] (INT_LEAST64_MAX): Likewise.
6497 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
6498 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
6499 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
6500 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
6501 [C99-based standards] (INT_FAST8_MIN): Likewise.
6502 [C99-based standards] (INT_FAST8_MAX): Likewise.
6503 [C99-based standards] (INT_FAST16_MIN): Likewise.
6504 [C99-based standards] (INT_FAST16_MAX): Likewise.
6505 [C99-based standards] (INT_FAST32_MIN): Likewise.
6506 [C99-based standards] (INT_FAST32_MAX): Likewise.
6507 [C99-based standards] (INT_FAST64_MIN): Likewise.
6508 [C99-based standards] (INT_FAST64_MAX): Likewise.
6509 [C99-based standards] (UINT_FAST8_MAX): Likewise.
6510 [C99-based standards] (UINT_FAST16_MAX): Likewise.
6511 [C99-based standards] (UINT_FAST32_MAX): Likewise.
6512 [C99-based standards] (UINT_FAST64_MAX): Likewise.
6513 [C99-based standards] (INTPTR_MIN): Likewise.
6514 [C99-based standards] (INTPTR_MAX): Likewise.
6515 [C99-based standards] (UINTPTR_MAX): Likewise.
6516 [C99-based standards] (INTMAX_MIN): Likewise.
6517 [C99-based standards] (INTMAX_MAX): Likewise.
6518 [C99-based standards] (UINTMAX_MAX): Likewise.
6519 [C99-based standards] (PTRDIFF_MIN): Likewise.
6520 [C99-based standards] (PTRDIFF_MAX): Likewise.
6521 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
6522 [C99-based standards] (SIZE_MAX): Likewise.
6523 [C99-based standards] (WCHAR_MAX): Likewise.
6524 [C99-based standards] (WINT_MAX): Likewise.
6525 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
6526 constraint on value.
6527 [C99-based standards] (WCHAR_MIN): Likewise.
6528 [C99-based standards] (WINT_MIN): Likewise.
6529 [C99-based standards] (*_t): Allow.
6530 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
6531 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
6532 Include math.h-data and complex.h-data. Remove all expectations
6533 of math.h and complex.h contents.
6534 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
6536 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
6537 (struct tm): Expect tag.
6538 [C99-based-standards] (wcstof): Expect function.
6539 [C99-based-standards] (wcstold): Likewise.
6540 [C99-based-standards] (wcstoll): Likewise.
6541 [C99-based-standards] (wcstoull): Likewise.
6542 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
6543 macro-int-constant. Specify type.
6544 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
6545 constraint on value.
6546 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
6548 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
6550 [ISO C standards]: Do not allow headers.
6551 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
6552 wcs[abcdefghijklmnopqrstuvwxyz]*.
6553 [ISO C standards] (*_t): Do not allow.
6554 * conform/data/wctype.h-data [C99-based standards] (iswblank):
6556 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
6557 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
6559 [ISO C standards]: Do not allow headers.
6560 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
6561 is[abcdefghijklmnopqrstuvwxyz]*.
6562 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
6563 to[abcdefghijklmnopqrstuvwxyz]*.
6564 [ISO C standards] (*_t): Do not allow.
6565 * conform/data/stdalign.h-data: New file.
6566 * conform/data/stdbool.h-data: Likewise.
6567 * conform/data/stdnoreturn.h-data: Likewise.
6569 2012-11-07 Roland McGrath <roland@hack.frob.com>
6572 * manual/filesys.texi (Directory Entries): Typo fix.
6573 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
6575 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6577 * elf/elf.h (EM_AARCH64): New macro.
6578 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
6579 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
6580 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
6581 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
6582 (R_AARCH64_TLSDESC): Likewise.
6583 (NT_ARM_TLS): Likewise.
6584 (NT_ARM_HW_BREAK): Likewise.
6585 (NT_ARM_HW_WATCH): Likewise.
6587 2012-11-07 Joseph Myers <joseph@codesourcery.com>
6590 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
6591 (__ieee754_powl): Saturate nonzero exponents with absolute value
6592 below 0x1p-79 to +/- 0x1p-79.
6593 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
6594 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
6595 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
6596 nonzero exponents with absolute value below 0x1p-32 to +/-
6598 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
6599 (__ieee754_powl): Saturate nonzero exponents with absolute value
6600 below 0x1p-79 to +/- 0x1p-79.
6601 * math/libm-test.inc (pow_test): Add more tests.
6603 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6605 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
6606 _dl_s390_cap_flags with kernel. Increase string length.
6607 (_dl_s390_platforms): Add z196 and zEC12.
6609 2012-11-07 Joseph Myers <joseph@codesourcery.com>
6611 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
6612 Change XOPEN21K to XOPEN2K.
6614 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
6616 * string/memmove.c: Use memcpy when possible.
6618 2012-11-06 Andreas Jaeger <aj@suse.de>
6620 * po/eo.po: Update from translation team.
6622 2012-11-06 Joseph Myers <joseph@codesourcery.com>
6625 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
6626 exponent and small x and y exponents, scale x or y up. Increase
6627 by 2 the exponent used in scaling up.
6628 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6629 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6630 * math/libm-test.inc (fma_test): Add more tests.
6631 (fma_test_towardzero): Likewise.
6632 (fma_test_downward): Likewise.
6633 (fma_test_upward): Likewise.
6635 2012-11-05 Joseph Myers <joseph@codesourcery.com>
6638 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
6642 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
6643 namespace for names of struct fields.
6644 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
6646 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
6647 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
6649 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
6652 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
6654 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
6656 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
6660 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
6663 2012-11-04 Joseph Myers <joseph@codesourcery.com>
6666 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
6667 definitely overflow as x * y not x * y + z.
6668 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6669 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6670 * math/libm-test.inc (fma_test): Add more tests.
6671 (fma_test_towardzero): Likewise.
6672 (fma_test_downward): Likewise.
6673 (fma_test_upward): Likewise.
6675 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
6679 * include/stub-tag.h: Remove file.
6680 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
6682 * manual/maint.texi (Porting): Don't reference it.
6683 * Makerules ($(objpfx)stubs): Likewise.
6684 * dirent/closedir.c: Don't include <stub-tag.h>.
6685 * dirent/dirfd.c: Likewise.
6686 * dirent/fdopendir.c: Likewise.
6687 * dirent/getdents.c: Likewise.
6688 * dirent/getdents64.c: Likewise.
6689 * dirent/opendir.c: Likewise.
6690 * dirent/readdir.c: Likewise.
6691 * dirent/readdir64.c: Likewise.
6692 * dirent/readdir64_r.c: Likewise.
6693 * dirent/readdir_r.c: Likewise.
6694 * dirent/rewinddir.c: Likewise.
6695 * dirent/seekdir.c: Likewise.
6696 * dirent/telldir.c: Likewise.
6697 * gmon/profil.c: Likewise.
6698 * grp/setgroups.c: Likewise.
6699 * inet/if_index.c: Likewise.
6700 * io/access.c: Likewise.
6701 * io/chdir.c: Likewise.
6702 * io/chmod.c: Likewise.
6703 * io/chown.c: Likewise.
6704 * io/close.c: Likewise.
6705 * io/dup.c: Likewise.
6706 * io/dup2.c: Likewise.
6707 * io/dup3.c: Likewise.
6708 * io/euidaccess.c: Likewise.
6709 * io/faccessat.c: Likewise.
6710 * io/fchdir.c: Likewise.
6711 * io/fchmod.c: Likewise.
6712 * io/fchmodat.c: Likewise.
6713 * io/fchown.c: Likewise.
6714 * io/fchownat.c: Likewise.
6715 * io/fcntl.c: Likewise.
6716 * io/flock.c: Likewise.
6717 * io/fstatfs.c: Likewise.
6718 * io/fstatfs64.c: Likewise.
6719 * io/fstatvfs.c: Likewise.
6720 * io/fstatvfs64.c: Likewise.
6721 * io/futimens.c: Likewise.
6722 * io/fxstat.c: Likewise.
6723 * io/fxstat64.c: Likewise.
6724 * io/fxstatat.c: Likewise.
6725 * io/fxstatat64.c: Likewise.
6726 * io/getcwd.c: Likewise.
6727 * io/isatty.c: Likewise.
6728 * io/lchmod.c: Likewise.
6729 * io/lchown.c: Likewise.
6730 * io/link.c: Likewise.
6731 * io/linkat.c: Likewise.
6732 * io/lseek.c: Likewise.
6733 * io/lseek64.c: Likewise.
6734 * io/lxstat64.c: Likewise.
6735 * io/mkdir.c: Likewise.
6736 * io/mkdirat.c: Likewise.
6737 * io/mkfifo.c: Likewise.
6738 * io/mkfifoat.c: Likewise.
6739 * io/open.c: Likewise.
6740 * io/open64.c: Likewise.
6741 * io/openat.c: Likewise.
6742 * io/openat64.c: Likewise.
6743 * io/pipe.c: Likewise.
6744 * io/pipe2.c: Likewise.
6745 * io/poll.c: Likewise.
6746 * io/posix_fadvise.c: Likewise.
6747 * io/posix_fadvise64.c: Likewise.
6748 * io/posix_fallocate.c: Likewise.
6749 * io/posix_fallocate64.c: Likewise.
6750 * io/read.c: Likewise.
6751 * io/readlink.c: Likewise.
6752 * io/readlinkat.c: Likewise.
6753 * io/rmdir.c: Likewise.
6754 * io/sendfile.c: Likewise.
6755 * io/sendfile64.c: Likewise.
6756 * io/statfs.c: Likewise.
6757 * io/statfs64.c: Likewise.
6758 * io/statvfs.c: Likewise.
6759 * io/statvfs64.c: Likewise.
6760 * io/symlink.c: Likewise.
6761 * io/symlinkat.c: Likewise.
6762 * io/ttyname.c: Likewise.
6763 * io/ttyname_r.c: Likewise.
6764 * io/umask.c: Likewise.
6765 * io/unlink.c: Likewise.
6766 * io/unlinkat.c: Likewise.
6767 * io/utime.c: Likewise.
6768 * io/utimensat.c: Likewise.
6769 * io/write.c: Likewise.
6770 * io/xmknod.c: Likewise.
6771 * io/xmknodat.c: Likewise.
6772 * io/xstat.c: Likewise.
6773 * io/xstat64.c: Likewise.
6774 * login/getpt.c: Likewise.
6775 * login/grantpt.c: Likewise.
6776 * login/unlockpt.c: Likewise.
6777 * math/e_acoshl.c: Likewise.
6778 * math/e_acosl.c: Likewise.
6779 * math/e_asinl.c: Likewise.
6780 * math/e_atan2l.c: Likewise.
6781 * math/e_atanhl.c: Likewise.
6782 * math/e_coshl.c: Likewise.
6783 * math/e_expl.c: Likewise.
6784 * math/e_fmodl.c: Likewise.
6785 * math/e_gammal_r.c: Likewise.
6786 * math/e_hypotl.c: Likewise.
6787 * math/e_j0l.c: Likewise.
6788 * math/e_j1l.c: Likewise.
6789 * math/e_jnl.c: Likewise.
6790 * math/e_lgammal_r.c: Likewise.
6791 * math/e_log10l.c: Likewise.
6792 * math/e_log2l.c: Likewise.
6793 * math/e_logl.c: Likewise.
6794 * math/e_powl.c: Likewise.
6795 * math/e_rem_pio2l.c: Likewise.
6796 * math/e_sinhl.c: Likewise.
6797 * math/e_sqrtl.c: Likewise.
6798 * math/fclrexcpt.c: Likewise.
6799 * math/fedisblxcpt.c: Likewise.
6800 * math/feenablxcpt.c: Likewise.
6801 * math/fegetenv.c: Likewise.
6802 * math/fegetexcept.c: Likewise.
6803 * math/fegetround.c: Likewise.
6804 * math/feholdexcpt.c: Likewise.
6805 * math/fesetenv.c: Likewise.
6806 * math/fesetround.c: Likewise.
6807 * math/feupdateenv.c: Likewise.
6808 * math/fgetexcptflg.c: Likewise.
6809 * math/fraiseexcpt.c: Likewise.
6810 * math/fsetexcptflg.c: Likewise.
6811 * math/ftestexcept.c: Likewise.
6812 * math/k_cosl.c: Likewise.
6813 * math/k_rem_pio2l.c: Likewise.
6814 * math/k_sinl.c: Likewise.
6815 * math/k_tanl.c: Likewise.
6816 * math/s_asinhl.c: Likewise.
6817 * math/s_atanl.c: Likewise.
6818 * math/s_cbrtl.c: Likewise.
6819 * math/s_erfl.c: Likewise.
6820 * math/s_expm1l.c: Likewise.
6821 * math/s_log1pl.c: Likewise.
6822 * math/s_tanhl.c: Likewise.
6823 * misc/acct.c: Likewise.
6824 * misc/brk.c: Likewise.
6825 * misc/chflags.c: Likewise.
6826 * misc/chroot.c: Likewise.
6827 * misc/fchflags.c: Likewise.
6828 * misc/fgetxattr.c: Likewise.
6829 * misc/flistxattr.c: Likewise.
6830 * misc/fremovexattr.c: Likewise.
6831 * misc/fsetxattr.c: Likewise.
6832 * misc/fsync.c: Likewise.
6833 * misc/ftruncate.c: Likewise.
6834 * misc/futimes.c: Likewise.
6835 * misc/futimesat.c: Likewise.
6836 * misc/getdomain.c: Likewise.
6837 * misc/getdtsz.c: Likewise.
6838 * misc/gethostid.c: Likewise.
6839 * misc/gethostname.c: Likewise.
6840 * misc/getloadavg.c: Likewise.
6841 * misc/getpagesize.c: Likewise.
6842 * misc/getsysstats.c: Likewise.
6843 * misc/getxattr.c: Likewise.
6844 * misc/gtty.c: Likewise.
6845 * misc/ioctl.c: Likewise.
6846 * misc/lgetxattr.c: Likewise.
6847 * misc/listxattr.c: Likewise.
6848 * misc/llistxattr.c: Likewise.
6849 * misc/lremovexattr.c: Likewise.
6850 * misc/lsetxattr.c: Likewise.
6851 * misc/lutimes.c: Likewise.
6852 * misc/madvise.c: Likewise.
6853 * misc/mincore.c: Likewise.
6854 * misc/mlock.c: Likewise.
6855 * misc/mlockall.c: Likewise.
6856 * misc/mmap.c: Likewise.
6857 * misc/mprotect.c: Likewise.
6858 * misc/msync.c: Likewise.
6859 * misc/munlock.c: Likewise.
6860 * misc/munlockall.c: Likewise.
6861 * misc/munmap.c: Likewise.
6862 * misc/preadv.c: Likewise.
6863 * misc/preadv64.c: Likewise.
6864 * misc/ptrace.c: Likewise.
6865 * misc/pwritev.c: Likewise.
6866 * misc/pwritev64.c: Likewise.
6867 * misc/readv.c: Likewise.
6868 * misc/reboot.c: Likewise.
6869 * misc/remap_file_pages.c: Likewise.
6870 * misc/removexattr.c: Likewise.
6871 * misc/revoke.c: Likewise.
6872 * misc/select.c: Likewise.
6873 * misc/setdomain.c: Likewise.
6874 * misc/setegid.c: Likewise.
6875 * misc/seteuid.c: Likewise.
6876 * misc/sethostid.c: Likewise.
6877 * misc/sethostname.c: Likewise.
6878 * misc/setregid.c: Likewise.
6879 * misc/setreuid.c: Likewise.
6880 * misc/setxattr.c: Likewise.
6881 * misc/sstk.c: Likewise.
6882 * misc/stty.c: Likewise.
6883 * misc/swapoff.c: Likewise.
6884 * misc/swapon.c: Likewise.
6885 * misc/sync.c: Likewise.
6886 * misc/syncfs.c: Likewise.
6887 * misc/syscall.c: Likewise.
6888 * misc/truncate.c: Likewise.
6889 * misc/ualarm.c: Likewise.
6890 * misc/usleep.c: Likewise.
6891 * misc/ustat.c: Likewise.
6892 * misc/utimes.c: Likewise.
6893 * misc/vhangup.c: Likewise.
6894 * misc/writev.c: Likewise.
6895 * posix/_exit.c: Likewise.
6896 * posix/alarm.c: Likewise.
6897 * posix/execve.c: Likewise.
6898 * posix/fexecve.c: Likewise.
6899 * posix/fork.c: Likewise.
6900 * posix/fpathconf.c: Likewise.
6901 * posix/getaddrinfo.c: Likewise.
6902 * posix/getegid.c: Likewise.
6903 * posix/geteuid.c: Likewise.
6904 * posix/getgid.c: Likewise.
6905 * posix/getgroups.c: Likewise.
6906 * posix/getlogin.c: Likewise.
6907 * posix/getlogin_r.c: Likewise.
6908 * posix/getpgid.c: Likewise.
6909 * posix/getpid.c: Likewise.
6910 * posix/getppid.c: Likewise.
6911 * posix/getresgid.c: Likewise.
6912 * posix/getresuid.c: Likewise.
6913 * posix/getsid.c: Likewise.
6914 * posix/getuid.c: Likewise.
6915 * posix/glob64.c: Likewise.
6916 * posix/nanosleep.c: Likewise.
6917 * posix/pathconf.c: Likewise.
6918 * posix/pause.c: Likewise.
6919 * posix/posix_madvise.c: Likewise.
6920 * posix/pread.c: Likewise.
6921 * posix/pread64.c: Likewise.
6922 * posix/pwrite.c: Likewise.
6923 * posix/pwrite64.c: Likewise.
6924 * posix/sched_getaffinity.c: Likewise.
6925 * posix/sched_getp.c: Likewise.
6926 * posix/sched_gets.c: Likewise.
6927 * posix/sched_primax.c: Likewise.
6928 * posix/sched_primin.c: Likewise.
6929 * posix/sched_rr_gi.c: Likewise.
6930 * posix/sched_setaffinity.c: Likewise.
6931 * posix/sched_setp.c: Likewise.
6932 * posix/sched_sets.c: Likewise.
6933 * posix/sched_yield.c: Likewise.
6934 * posix/setgid.c: Likewise.
6935 * posix/setlogin.c: Likewise.
6936 * posix/setpgid.c: Likewise.
6937 * posix/setresgid.c: Likewise.
6938 * posix/setresuid.c: Likewise.
6939 * posix/setsid.c: Likewise.
6940 * posix/setuid.c: Likewise.
6941 * posix/sleep.c: Likewise.
6942 * posix/spawni.c: Likewise.
6943 * posix/sysconf.c: Likewise.
6944 * posix/times.c: Likewise.
6945 * posix/wait.c: Likewise.
6946 * posix/wait3.c: Likewise.
6947 * posix/wait4.c: Likewise.
6948 * posix/waitpid.c: Likewise.
6949 * resolv/gai_sigqueue.c: Likewise.
6950 * resource/getpriority.c: Likewise.
6951 * resource/getrlimit.c: Likewise.
6952 * resource/getrusage.c: Likewise.
6953 * resource/nice.c: Likewise.
6954 * resource/setpriority.c: Likewise.
6955 * resource/setrlimit.c: Likewise.
6956 * resource/ulimit.c: Likewise.
6957 * rt/aio_cancel.c: Likewise.
6958 * rt/aio_fsync.c: Likewise.
6959 * rt/aio_read.c: Likewise.
6960 * rt/aio_sigqueue.c: Likewise.
6961 * rt/aio_suspend.c: Likewise.
6962 * rt/aio_write.c: Likewise.
6963 * rt/clock_getres.c: Likewise.
6964 * rt/clock_gettime.c: Likewise.
6965 * rt/clock_nanosleep.c: Likewise.
6966 * rt/clock_settime.c: Likewise.
6967 * rt/lio_listio.c: Likewise.
6968 * rt/mq_close.c: Likewise.
6969 * rt/mq_getattr.c: Likewise.
6970 * rt/mq_notify.c: Likewise.
6971 * rt/mq_open.c: Likewise.
6972 * rt/mq_receive.c: Likewise.
6973 * rt/mq_send.c: Likewise.
6974 * rt/mq_setattr.c: Likewise.
6975 * rt/mq_timedreceive.c: Likewise.
6976 * rt/mq_timedsend.c: Likewise.
6977 * rt/mq_unlink.c: Likewise.
6978 * rt/shm_open.c: Likewise.
6979 * rt/shm_unlink.c: Likewise.
6980 * rt/timer_create.c: Likewise.
6981 * rt/timer_delete.c: Likewise.
6982 * rt/timer_getoverr.c: Likewise.
6983 * rt/timer_gettime.c: Likewise.
6984 * rt/timer_settime.c: Likewise.
6985 * setjmp/__longjmp.c: Likewise.
6986 * setjmp/setjmp.c: Likewise.
6987 * signal/kill.c: Likewise.
6988 * signal/killpg.c: Likewise.
6989 * signal/raise.c: Likewise.
6990 * signal/sigaction.c: Likewise.
6991 * signal/sigaltstack.c: Likewise.
6992 * signal/sigblock.c: Likewise.
6993 * signal/sigignore.c: Likewise.
6994 * signal/sigintr.c: Likewise.
6995 * signal/signal.c: Likewise.
6996 * signal/sigpause.c: Likewise.
6997 * signal/sigpending.c: Likewise.
6998 * signal/sigqueue.c: Likewise.
6999 * signal/sigreturn.c: Likewise.
7000 * signal/sigset.c: Likewise.
7001 * signal/sigsetmask.c: Likewise.
7002 * signal/sigstack.c: Likewise.
7003 * signal/sigsuspend.c: Likewise.
7004 * signal/sigtimedwait.c: Likewise.
7005 * signal/sigvec.c: Likewise.
7006 * signal/sigwait.c: Likewise.
7007 * signal/sigwaitinfo.c: Likewise.
7008 * signal/sysv_signal.c: Likewise.
7009 * socket/accept.c: Likewise.
7010 * socket/accept4.c: Likewise.
7011 * socket/bind.c: Likewise.
7012 * socket/connect.c: Likewise.
7013 * socket/getpeername.c: Likewise.
7014 * socket/getsockname.c: Likewise.
7015 * socket/getsockopt.c: Likewise.
7016 * socket/isfdtype.c: Likewise.
7017 * socket/listen.c: Likewise.
7018 * socket/recv.c: Likewise.
7019 * socket/recvfrom.c: Likewise.
7020 * socket/recvmsg.c: Likewise.
7021 * socket/send.c: Likewise.
7022 * socket/sendmsg.c: Likewise.
7023 * socket/sendto.c: Likewise.
7024 * socket/setsockopt.c: Likewise.
7025 * socket/shutdown.c: Likewise.
7026 * socket/sockatmark.c: Likewise.
7027 * socket/socket.c: Likewise.
7028 * socket/socketpair.c: Likewise.
7029 * stdio-common/ctermid.c: Likewise.
7030 * stdio-common/cuserid.c: Likewise.
7031 * stdio-common/remove.c: Likewise.
7032 * stdio-common/rename.c: Likewise.
7033 * stdio-common/renameat.c: Likewise.
7034 * stdio-common/tempname.c: Likewise.
7035 * stdlib/getcontext.c: Likewise.
7036 * stdlib/makecontext.c: Likewise.
7037 * stdlib/setcontext.c: Likewise.
7038 * stdlib/swapcontext.c: Likewise.
7039 * stdlib/system.c: Likewise.
7040 * streams/fattach.c: Likewise.
7041 * streams/fdetach.c: Likewise.
7042 * streams/getmsg.c: Likewise.
7043 * streams/getpmsg.c: Likewise.
7044 * streams/putmsg.c: Likewise.
7045 * streams/putpmsg.c: Likewise.
7046 * sysdeps/unix/bsd/getpt.c: Likewise.
7047 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
7048 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
7049 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
7050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
7052 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
7053 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
7054 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
7055 * sysvipc/msgctl.c: Likewise.
7056 * sysvipc/msgget.c: Likewise.
7057 * sysvipc/msgrcv.c: Likewise.
7058 * sysvipc/msgsnd.c: Likewise.
7059 * sysvipc/semctl.c: Likewise.
7060 * sysvipc/semget.c: Likewise.
7061 * sysvipc/semop.c: Likewise.
7062 * sysvipc/semtimedop.c: Likewise.
7063 * sysvipc/shmat.c: Likewise.
7064 * sysvipc/shmctl.c: Likewise.
7065 * sysvipc/shmdt.c: Likewise.
7066 * sysvipc/shmget.c: Likewise.
7067 * termios/tcdrain.c: Likewise.
7068 * termios/tcflow.c: Likewise.
7069 * termios/tcflush.c: Likewise.
7070 * termios/tcgetattr.c: Likewise.
7071 * termios/tcgetpgrp.c: Likewise.
7072 * termios/tcsendbrk.c: Likewise.
7073 * termios/tcsetattr.c: Likewise.
7074 * termios/tcsetpgrp.c: Likewise.
7075 * time/adjtime.c: Likewise.
7076 * time/clock.c: Likewise.
7077 * time/getitimer.c: Likewise.
7078 * time/gettimeofday.c: Likewise.
7079 * time/setitimer.c: Likewise.
7080 * time/settimeofday.c: Likewise.
7081 * time/stime.c: Likewise.
7082 * time/time.c: Likewise.
7084 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
7086 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
7089 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
7091 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
7093 2012-11-03 Joseph Myers <joseph@codesourcery.com>
7096 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
7097 FE_TONEAREST before applying Dekker multiplication and Knuth
7098 addition. Clear inexact exceptions and check for exact zero
7100 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7101 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
7102 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7103 * math/libm-test.inc (fma_test): Add more tests.
7104 (fma_test_towardzero): Likewise.
7105 (fma_test_downward): Likewise.
7106 (fma_test_upward): Likewise.
7107 * sysdeps/generic/math_private.h (default_libc_fesetround): New
7109 (libc_fesetround): New macro.
7110 (libc_fesetroundf): Likewise.
7111 (libc_fesetroundl): Likewise.
7112 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
7114 (libc_fesetround_387): Likewise.
7115 (libc_fesetroundf): New macro.
7116 (libc_fesetround): Likewise.
7117 (libc_fesetroundl): Likewise.
7118 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
7120 (libc_fesetroundf): New macro.
7121 (libc_fesetround): Likewise.
7122 (libc_fesetroundl): Likewise.
7123 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
7124 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
7125 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
7127 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
7128 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
7130 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
7131 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
7133 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
7137 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
7138 integer constant usable in #if and use that to give value to enum
7140 (FE_DIVBYZERO): Likewise.
7141 (FE_UNDERFLOW): Likewise.
7142 (FE_OVERFLOW): Likewise.
7143 (FE_INVALID): Likewise.
7144 (FE_INVALID_SNAN): Likewise.
7145 (FE_INVALID_ISI): Likewise.
7146 (FE_INVALID_IDI): Likewise.
7147 (FE_INVALID_ZDZ): Likewise.
7148 (FE_INVALID_IMZ): Likewise.
7149 (FE_INVALID_COMPARE): Likewise.
7150 (FE_INVALID_SOFTWARE): Likewise.
7151 (FE_INVALID_SQRT): Likewise.
7152 (FE_INVALID_INTEGER_CONVERSION): Likewise.
7153 (FE_TONEAREST): Likewise.
7154 (FE_TOWARDZERO): Likewise.
7155 (FE_UPWARD): Likewise.
7156 (FE_DOWNWARD): Likewise.
7157 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
7158 (FE_DIVBYZERO): Likewise.
7159 (FE_OVERFLOW): Likewise.
7160 (FE_UNDERFLOW): Likewise.
7161 (FE_INEXACT): Likewise.
7162 (FE_TONEAREST): Likewise.
7163 (FE_DOWNWARD): Likewise.
7164 (FE_UPWARD): Likewise.
7165 (FE_TOWARDZERO): Likewise.
7166 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
7167 (FE_UNDERFLOW): Likewise.
7168 (FE_OVERFLOW): Likewise.
7169 (FE_DIVBYZERO): Likewise.
7170 (FE_INVALID): Likewise.
7171 (FE_TONEAREST): Likewise.
7172 (FE_TOWARDZERO): Likewise.
7173 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
7174 (FE_OVERFLOW): Likewise.
7175 (FE_UNDERFLOW): Likewise.
7176 (FE_DIVBYZERO): Likewise.
7177 (FE_INEXACT): Likewise.
7178 (FE_TONEAREST): Likewise.
7179 (FE_TOWARDZERO): Likewise.
7180 (FE_UPWARD): Likewise.
7181 (FE_DOWNWARD): Likewise.
7182 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
7183 (FE_DIVBYZERO): Likewise.
7184 (FE_OVERFLOW): Likewise.
7185 (FE_UNDERFLOW): Likewise.
7186 (FE_INEXACT): Likewise.
7187 (FE_TONEAREST): Likewise.
7188 (FE_DOWNWARD): Likewise.
7189 (FE_UPWARD): Likewise.
7190 (FE_TOWARDZERO): Likewise.
7192 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
7194 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
7196 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
7198 * scripts/cross-test-ssh.sh (command): Use newlines to separate
7199 commands. Quote $PWD.
7200 (blacklist_exports): Don't use remove_newlines. Replace "declare
7202 (remove_newlines): Remove.
7204 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
7206 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
7207 * stdlib/stdlib.h (atof): Moved to ...
7208 * include/bits/stdlib-float.h: Here. New file.
7209 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
7210 * stdlib/bits/stdlib-float.h: New file.
7211 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
7213 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
7216 2012-11-02 Joseph Myers <joseph@codesourcery.com>
7218 * conform/conformtest.pl (@headers): Add fenv.h.
7219 * conform/data/fenv.h-data: New file.
7220 * include/fenv.h [_ISOMAC]: Disable all contents of file except
7221 include of <math/fenv.h>.
7223 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
7224 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
7225 && !UNIX98]. Enables tests for XOPEN2K8.
7226 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
7227 POSIX2008]: Likewise.
7229 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
7230 (struct rusage): Do not expect type or its members.
7233 * math/math.h (FP_NAN): Define macro to integer constant usable in
7234 #if and use that to give value to enum constant.
7235 (FP_INFINITE): Likewise.
7236 (FP_ZERO): Likewise.
7237 (FP_SUBNORMAL): Likewise.
7238 (FP_NORMAL): Likewise.
7240 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
7242 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
7243 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
7246 2012-11-02 Roland McGrath <roland@hack.frob.com>
7248 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
7249 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
7250 autoconf-time if not.
7251 * configure.in: Remove AC_PREREQ.
7253 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7255 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
7256 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
7257 of the internal implementation.
7259 2012-11-02 Joseph Myers <joseph@codesourcery.com>
7261 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
7262 except include of <misc/sys/syslog.h>.
7264 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
7266 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
7267 function returns with a NULL context exit with zero.
7269 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7271 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
7273 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
7275 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
7276 (run_program_cmd): This.
7277 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
7278 (tst_langinfo): New variable. Use it.
7280 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
7282 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
7283 floating point opcodes.
7285 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
7287 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
7290 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
7292 * sysdeps/mach/hurd/powerpc: Remove directory.
7293 * sysdeps/mach/powerpc: Likewise.
7295 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
7297 * scripts/check-local-headers.sh: Ignore c++ headers.
7299 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
7301 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
7302 __libc_cleanup_region_start argument.
7304 2012-11-01 Joseph Myers <joseph@codesourcery.com>
7308 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
7309 x * y using scaling, not as x * y + z.
7310 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7311 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7312 * math/libm-test.inc (fma_test): Add more tests.
7313 (fma_test_towardzero): Likewise.
7314 (fma_test_downward): Likewise.
7315 (fma_test_upward): Likewise.
7317 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
7319 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
7321 2012-10-31 Joseph Myers <joseph@codesourcery.com>
7323 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
7326 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
7328 * rt/tst-shm.c (worker): Correct checking for mmap failure.
7330 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
7332 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7334 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7337 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7339 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7340 Fix the order of the list for glibc 2.17.
7341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7344 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
7346 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7348 2012-10-31 Joseph Myers <joseph@codesourcery.com>
7351 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
7352 for low part of x being zero before using __atanl (y).
7353 * math/libm-test.inc (atan2_test): Add another test.
7355 * manual/install.texi (Configuring and compiling): Document
7356 general use of test-wrapper and test-wrapper-env.
7357 * INSTALL: Regenerated.
7359 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
7360 (__fma): Do not extract and scale down low bits on after-rounding
7361 systems when result rounded to normal precision would have normal
7363 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
7364 (__fmal): Do not extract and scale down low bits on after-rounding
7365 systems when result rounded to normal precision would have normal
7367 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
7368 (__fmal): Do not extract and scale down low bits on after-rounding
7369 systems when result rounded to normal precision would have normal
7371 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
7373 (fma_test): Add more tests.
7374 (fma_test_towardzero): Likewise.
7375 (fma_test_downward): Likewise.
7376 (fma_test_upward): Likewise.
7378 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
7380 * sysdeps/i386/tininess.h: Renamed to ...
7381 * sysdeps/x86/tininess.h: This.
7382 * sysdeps/x86_64/tininess.h: Removed.
7384 2012-10-30 Joseph Myers <joseph@codesourcery.com>
7386 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
7387 input. Use $(build-program-cmd).
7388 ($(objpfx)tst-array1-static.out): Likewise.
7389 ($(objpfx)tst-array2.out): Likewise.
7390 ($(objpfx)tst-array3.out): Likewise.
7391 ($(objpfx)tst-array4.out): Likewise.
7392 ($(objpfx)tst-array5.out): Likewise.
7393 ($(objpfx)tst-array5-static.out): Likewise.
7395 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
7397 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
7400 * nss/nsswitch.h (nss_interface_function): Provide new
7401 macro for use with NSS functions.
7402 * grp/initgroups.c: Use new macro.
7403 * nss/getXXbyYY.c: Likewise.
7404 * nss/getXXbyYY_r.c: Likewise.
7405 * nss/getXXent.c: Likewise.
7406 * nss/getXXent_r.c: Likewise.
7407 * sysdeps/posix/getaddrinfo.c: Likewise.
7409 2012-10-30 Andreas Jaeger <aj@suse.de>
7411 * po/ru.po: Update Russion translation from translation project.
7413 2012-10-30 Joseph Myers <joseph@codesourcery.com>
7417 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
7418 result and shift together with sticky bit instead of replicating
7419 round-to-nearest rounding.
7420 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7421 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7422 * math/libm-test.inc (fma_test): Add more tests. Do not permit
7423 missing underflow exceptions.
7424 (fma_test_towardzero): Add more tests.
7425 (fma_test_downward): Likewise.
7426 (fma_test_upward): Likewise.
7429 * sysdeps/generic/tininess.h: New file.
7430 * sysdeps/i386/tininess.h: Likewise.
7431 * sysdeps/sh/tininess.h: Likewise.
7432 * sysdeps/x86_64/tininess.h: Likewise.
7433 * stdlib/tst-strtod-underflow.c: Likewise.
7434 * stdlib/tst-tininess.c: Likewise.
7435 * stdlib/strtod_l.c: Include <tininess.h>.
7436 (round_and_return): Do not set errno for exact underflow cases.
7437 Force an underflow exception when setting errno for underflow.
7438 Determine underflow based on rounding to normal precision if
7439 TININESS_AFTER_ROUNDING.
7440 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
7441 ERANGE for exact underflow cases.
7442 * stdlib/Makefile (tests): Add tst-tininess and
7443 tst-strtod-underflow.
7444 ($(objpfx)tst-tininess): Use $(link-libm).
7445 ($(objpfx)tst-strtod-underflow): Likewise.
7447 2012-10-30 Andreas Jaeger <aj@suse.de>
7450 * elf/Makefile (tests): Remove conditional for have-initfini-array
7451 since this is now always required and the variable does not exist
7453 (tests-static): Likewise.
7454 (modules-names): Likewise.
7456 * po/eo.po: Add Esperanto translation from translation project.
7458 * elf/tst-array1.c (fini_array): Make writeable so that it can be
7459 merged with constructor/destructor.
7460 (init_array): Likewise.
7461 * elf/tst-array2dep.c (fini_array): Likewise.
7462 (init_array): Likewise.
7464 2012-10-29 Mike Frysinger <vapier@gentoo.org>
7466 * manual/message.texi: Delete @cartouche tags.
7468 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
7470 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
7472 * sysdeps/mach/hurd/fsync.c: Likewise.
7474 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
7475 [_POSIX_REALTIME_SIGNALS]: Change condition to
7476 [_POSIX_REALTIME_SIGNALS > 0].
7478 2012-10-27 Andreas Jaeger <aj@suse.de>
7480 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
7481 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
7482 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
7483 [__WORDSIZE != 64]: Likewise.
7485 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
7487 * iconvdata/tst-table.sh: Remove ${SHELL}.
7488 * iconvdata/tst-tables.sh: Likewise.
7490 2012-10-25 David S. Miller <davem@davemloft.net>
7492 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7493 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
7496 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
7498 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
7499 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
7500 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
7503 2012-10-25 Roland McGrath <roland@hack.frob.com>
7505 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7506 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
7509 2012-10-25 Joseph Myers <joseph@codesourcery.com>
7510 Jim Blandy <jimb@codesourcery.com>
7512 * scripts/cross-test-ssh.sh: New file.
7513 * manual/install.texi (Configuring and compiling): Document use of
7515 * INSTALL: Regenerated.
7517 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
7519 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
7522 2012-10-25 Joseph Myers <joseph@codesourcery.com>
7524 * Makeconfig (run-program-prefix): Fix comment.
7526 2012-10-24 Joseph Myers <joseph@codesourcery.com>
7527 Jim Blandy <jimb@codesourcery.com>
7529 * Makeconfig (test-wrapper): New variable,
7530 (test-wrapper-env): Likewise.
7531 [$(cross-compiling) = yes && $(test-wrapper) != ""]
7532 (run-built-tests): Define to yes.
7533 (run-program-prefix): Use $(test-wrapper).
7534 (built-program-cmd): Likewise.
7535 * Rules (make-test-out): Use $(test-wrapper-env) and
7536 $(host-built-program-cmd).
7537 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
7538 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
7540 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
7541 $(test-wrapper-env) to tst-rtld-load-self.sh.
7542 ($(objpfx)order2.out): Use $(test-wrapper).
7543 ($(objpfx)tst-initorder.out): Likewise.
7544 ($(objpfx)tst-initorder2.out): Likewise.
7545 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
7546 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
7547 (test_wrapper_env): New variable. Use it to run ld.so.
7548 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
7549 Use it to run ld.so.
7550 (test_wrapper_env): Likewise.
7551 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
7552 $(test-wrapper) to run-iconv-test.sh.
7553 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
7554 (ICONV): Use $test_wrapper.
7555 * posix/Makefile ($(objpfx)globtest.out): Pass
7556 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
7557 globtest.sh, not $(run-program-prefix).
7558 * posix/globtest.sh (run_via_rtld_prefix): New variable.
7559 (test_wrapper): Likewise.
7560 (test_wrapper_env): Likewise. Use it to run globtest with HOME
7561 set together with run_via_rtld_prefix.
7562 (run_program_prefix): Define in terms of test_wrapper and
7563 run_via_rtld_prefix.
7565 2012-10-24 Roland McGrath <roland@hack.frob.com>
7567 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
7568 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
7572 * include/time.h: Remove librt_hidden_proto (clock_gettime).
7573 Declare __clock_getres, __clock_gettime, __clock_settime,
7574 __clock_nanosleep, and __clock_getcpuclockid.
7575 * rt/clock_gettime.c: Define __clock_gettime as an alias.
7576 Remove librt_hidden_def (clock_gettime).
7577 * sysdeps/unix/clock_gettime.c: Likewise.
7578 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
7579 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
7580 * rt/clock_getres.c: Define __clock_getres as an alias.
7581 * sysdeps/posix/clock_getres.c: Likewise.
7582 * rt/clock_settime.c: Define __clock_settime as an alias.
7583 * sysdeps/unix/clock_settime.c: Likewise.
7584 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
7585 * sysdeps/unix/clock_nanosleep.c: Likewise.
7586 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
7587 * rt/clock-compat.c: New file.
7588 * rt/Makefile (librt-routines): Add clock-compat and move
7589 $(clock-routines) to ...
7590 (routines): ... here, new variable.
7591 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
7592 Don't add get_clockfreq here.
7593 * rt/Versions (libc: GLIBC_2.17): New version set.
7594 Add clock_* symbols here.
7595 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
7596 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
7597 (GLIBC_2.17): Add clock_* symbols.
7598 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
7599 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
7600 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
7601 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7603 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7605 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
7606 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
7607 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
7608 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
7609 * NEWS: Mention the move.
7611 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
7612 Use __open, __read, __close rather than their public counterparts.
7613 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7614 (__get_clockfreq_via_cpuinfo): Likewise.
7615 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
7616 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
7618 * config.h.in (HAVE_IFUNC): New #undef.
7619 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
7621 * configure: Regenerated.
7623 2012-10-24 Mike Frysinger <vapier@gentoo.org>
7625 * configure.in: Move READELF check to start of file.
7626 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
7627 libc_cv_asm_gnu_indirect_function in the process.
7628 * configure: Regenerated.
7630 2012-10-24 Mike Frysinger <vapier@gentoo.org>
7632 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
7633 send the output to /dev/null.
7634 (libc_cv_cc_with_libunwind): Likewise.
7635 (libc_cv_as_noexecstack): Likewise.
7636 * configure: Regenerate.
7638 2012-10-24 Joseph Myers <joseph@codesourcery.com>
7640 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
7642 * posix/globtest.sh (TMPDIR): Do not set.
7643 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
7644 (testout): Likewise.
7646 2012-10-24 Andreas Jaeger <aj@suse.de>
7648 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
7649 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
7650 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
7651 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
7652 posix_fadvise64, posix_fallocate64.
7654 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
7655 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
7656 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
7658 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
7660 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
7662 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
7663 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
7664 <bits/fcntl-linux.h>.
7665 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
7667 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
7668 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
7669 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
7670 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
7671 [__WORDSIZE != 64]: Likewise.
7673 2012-10-23 Joseph Myers <joseph@codesourcery.com>
7675 * Makeconfig (run-built-tests): New variable.
7676 * Rules [$(cross-compiling) = yes]: Change condition to
7677 [$(run-built-tests) = no].
7678 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
7679 to [$(run-built-tests) = yes].
7680 * elf/Makefile [$(cross-compiling) = no]: Likewise
7681 * grp/Makefile [$(cross-compiling) = no]: Likewise.
7682 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
7683 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
7684 * intl/Makefile [$(cross-compiling) = no]: Likewise.
7685 * io/Makefile [$(cross-compiling) = no]: Likewise.
7686 * libio/Makefile [$(cross-compiling) = no]: Likewise.
7687 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
7688 * misc/Makefile [$(cross-compiling) = no]: Likewise.
7689 * posix/Makefile [$(cross-compiling) = no]: Likewise.
7690 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
7691 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
7692 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
7693 * string/Makefile [$(cross-compiling) = no]: Likewise.
7695 * posix/Makefile ($(objpfx)globtest.out): Pass
7696 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
7697 $(rtld-installed-name).
7698 * posix/globtest.sh (elf_objpfx): Remove variable.
7699 (rtld_installed_name): Likewise.
7700 (library_path): Likewise.
7701 (run_program_prefix): New variable. Use for running globtest
7704 2012-10-23 Jim Blandy <jimb@codesourcery.com>
7705 Joseph Myers <joseph@codesourcery.com>
7707 * Makeconfig (host-built-program-cmd): New variable.
7708 * elf/Makefile (tst-stackguard1-ARGS): Use
7709 $(host-built-program-cmd).
7710 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
7711 (tst-spawn-ARGS): Likewise.
7712 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
7714 2012-10-23 Joseph Myers <joseph@codesourcery.com>
7715 Jim Blandy <jimb@codesourcery.com>
7717 * Makeconfig (run-via-rtld-prefix): New variable.
7718 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
7719 (built-program-cmd): Likewise.
7721 2012-10-22 Andreas Jaeger <aj@suse.de>
7723 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
7724 __O_RSYNC if it exists, otherwise to O_SYNC.
7726 2012-10-22 Jim Blandy <jimb@codesourcery.com>
7727 Joseph Myers <joseph@codesourcery.com>
7729 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
7731 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
7733 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
7736 2012-10-22 Andreas Jaeger <aj@suse.de>
7738 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
7740 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
7742 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7745 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
7746 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
7748 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
7750 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
7753 2012-10-21 Jim Blandy <jimb@codesourcery.com>
7754 Joseph Myers <joseph@codesourcery.com>
7756 * config.make.in (NM): New variable.
7758 2012-10-21 Andreas Jaeger <aj@suse.de>
7760 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
7761 definitions and declarations that are provided by
7762 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
7764 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
7767 * elf/Makefile (tests-static): Add tst-leaks1-static.
7768 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
7769 ($(objpfx)tst-leaks1-static): New rule.
7770 ($(objpfx)tst-leaks1-static-mem): Likewise.
7771 (tst-leaks1-static-ENV): New macro.
7772 * elf/dl-open.c (dl_open_worker): Check the main application
7773 only if SHARED is defined.
7774 * elf/tst-leaks1-static.c: New file.
7776 2012-10-20 Andreas Jaeger <aj@suse.de>
7778 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
7779 generic values for Linux.
7780 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
7781 and declarations that are provided by <bits/fcntl-linux.h> and
7782 include <bits/fcntl-linux.h>.
7783 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
7784 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
7786 2012-10-20 Roland McGrath <roland@hack.frob.com>
7788 * io/fcntl.h: Move include of <bits/types.h> to the top and
7789 include it unconditionally.
7791 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
7793 * wcsmbs/Makefile (tests-ifunc): New variable.
7794 (tests): Add $(tests-ifunc).
7795 * wcsmbs/test-wcschr-ifunc.c: New file.
7796 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
7797 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
7798 * wcsmbs/test-wcslen-ifunc.c: Likewise.
7799 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
7800 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
7802 * string/Makefile (tests-ifunc): New variable.
7803 (tests): Add $(tests-ifunc).
7804 * string/test-memccpy.c (TEST_NAME): New macro.
7805 * string/test-memchr.c (TEST_NAME): Likewise.
7806 * string/test-memcmp.c (TEST_NAME): Likewise.
7807 * string/test-memcpy.c (TEST_NAME): Likewise.
7808 * string/test-memmem.c (TEST_NAME): Likewise.
7809 * string/test-memmove.c (TEST_NAME): Likewise.
7810 * string/test-memset.c (TEST_NAME): Likewise.
7811 * string/test-rawmemchr.c (TEST_NAME): Likewise.
7812 * string/test-stpcpy.c (TEST_NAME): Likewise.
7813 * string/test-stpncpy.c (TEST_NAME): Likewise.
7814 * string/test-strcasecmp.c (TEST_NAME): Likewise.
7815 * string/test-strcasestr.c (TEST_NAME): Likewise.
7816 * string/test-strcat.c (TEST_NAME): Likewise.
7817 * string/test-strchr.c (TEST_NAME): Likewise.
7818 * string/test-strcmp.c(TEST_NAME): Likewise.
7819 * string/test-strcpy.c (TEST_NAME): Likewise.
7820 * string/test-strcspn.c (TEST_NAME): Likewise.
7821 * string/test-strlen.c (TEST_NAME): Likewise.
7822 * string/test-strncasecmp.c (TEST_NAME): Likewise.
7823 * string/test-strncmp.c (TEST_NAME): Likewise.
7824 * string/test-strncpy.c (TEST_NAME): Likewise.
7825 * string/test-strnlen.c (TEST_NAME): Likewise.
7826 * string/test-strpbrk.c (TEST_NAME): Likewise.
7827 * string/test-strrchr.c (TEST_NAME): Likewise.
7828 * string/test-strspn.c (TEST_NAME): Likewise.
7829 * string/test-strstr.c (TEST_NAME): Likewise.
7830 * string/test-bcopy-ifunc.c: New file.
7831 * string/test-bzero-ifunc.c: Likewise.
7832 * string/test-memccpy-ifunc.c: Likewise.
7833 * string/test-memchr-ifunc.c: Likewise.
7834 * string/test-memcmp-ifunc.c: Likewise.
7835 * string/test-memcpy-ifunc.c: Likewise.
7836 * string/test-memmem-ifunc.c: Likewise.
7837 * string/test-memmove-ifunc.c: Likewise.
7838 * string/test-mempcpy-ifunc.c: Likewise.
7839 * string/test-memset-ifunc.c: Likewise.
7840 * string/test-rawmemchr-ifunc.c: Likewise.
7841 * string/test-stpcpy-ifunc.c: Likewise.
7842 * string/test-stpncpy-ifunc.c: Likewise.
7843 * string/test-strcasecmp-ifunc.c: Likewise.
7844 * string/test-strcasestr-ifunc.c: Likewise.
7845 * string/test-strcat-ifunc.c: Likewise.
7846 * string/test-strchr-ifunc.c: Likewise.
7847 * string/test-strchrnul-ifunc.c: Likewise.
7848 * string/test-strcmp-ifunc.c: Likewise.
7849 * string/test-strcpy-ifunc.c: Likewise.
7850 * string/test-strcspn-ifunc.c: Likewise.
7851 * string/test-strlen-ifunc.c: Likewise.
7852 * string/test-strncasecmp-ifunc.c: Likewise.
7853 * string/test-strncat-ifunc.c: Likewise.
7854 * string/test-strncmp-ifunc.c: Likewise.
7855 * string/test-strncpy-ifunc.c: Likewise.
7856 * string/test-strnlen-ifunc.c: Likewise.
7857 * string/test-strpbrk-ifunc.c: Likewise.
7858 * string/test-strrchr-ifunc.c: Likewise.
7859 * string/test-strspn-ifunc.c: Likewise.
7860 * string/test-strstr-ifunc.c: Likewise.
7862 * debug/Makefile (tests-ifunc): New variable.
7863 (tests): Add $(tests-ifunc).
7864 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
7865 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
7866 * debug/test-stpcpy_chk-ifunc.c: New file.
7867 * debug/test-strcpy_chk-ifunc.c: Likewise.
7869 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
7872 * elf/dl-load.c (open_verify): Retry read if the entire ELF
7873 header is not read in.
7875 2012-10-19 Joseph Myers <joseph@codesourcery.com>
7877 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
7878 script to $(SHELL) as $<. Pass $(common-objpfx) to script
7879 directly. Pass built executable to script as
7880 $(built-program-cmd).
7881 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
7882 $testprogram without using LD_LIBRARY_PATH and $ldso.
7884 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
7885 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
7886 $(rtld-installed-name).
7887 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
7888 (rtld_installed_name): Likewise.
7889 (library_path): Likewise.
7890 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
7891 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
7892 $(run-program-prefix) to tst-tables.sh.
7893 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
7894 it to run tst-table-from and tst-table-to.
7895 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
7896 Pass it to tst-table.sh.
7897 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
7898 $(run-program-prefix) to tst-gettext.sh.
7899 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
7901 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
7903 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
7905 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
7906 to run tst-gettext2.
7907 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
7908 to run tst-translit.
7909 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
7910 $(run-program-prefix) to tst-mtrace.sh.
7911 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
7913 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
7914 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
7915 $(rtld-installed-name).
7916 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
7917 (rtld_installed_name): Likewise.
7918 (run_program_prefix): New variable. Use it to run wordexp-test.
7920 * Makeconfig (ARCH): Remove all definitions.
7921 (machine): Likewise.
7922 [ARCH]: Remove conditional code.
7923 [!objdir]: Give error.
7924 [!objdir] (objpfx): Remove.
7925 [!objdir] (common-objpfx): Likewise.
7926 [!objdir] (common-objdir): Likewise.
7927 * configure.in (config_makefile): Remove. Hardcode Makefile in
7928 AC_CONFIG_FILES call.
7929 * configure: Regenerated.
7932 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
7934 (testout): Likewise.
7936 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
7937 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
7938 $(rtld-installed-name).
7939 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
7940 (rtld_installed_name): Likwise.
7941 (runit): Remove function.
7942 (run_getconf): New variable, Use it for running getconf binary.
7944 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
7947 * string/test-memmem.c (check_result): New function.
7948 (do_one_test): Use it.
7949 (check1): New function.
7950 (test_main): Use it.
7952 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
7954 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
7956 2012-10-18 Joseph Myers <joseph@codesourcery.com>
7958 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
7959 (_G_LSEEK64): Likewise.
7960 (_G_MMAP64): Likewise.
7961 (_G_FSTAT64): Likewise.
7962 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
7963 (_G_LSEEK64): Likewise.
7964 (_G_MMAP64): Likewise.
7965 (_G_FSTAT64): Likewise.
7966 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
7967 unconditional. Call __mmap64 directly.
7968 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
7969 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
7971 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
7972 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
7974 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
7975 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
7977 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
7978 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
7980 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
7981 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
7983 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
7984 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
7985 __fxstat64 directly.
7986 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
7987 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
7989 (freopen64) [!_G_OPEN64]: Remove conditional code.
7990 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
7992 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
7993 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
7995 (ftello64) [!_G_LSEEK64]: Remove conditional code.
7996 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
7998 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
7999 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
8001 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
8002 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
8004 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
8005 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
8007 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
8008 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
8010 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
8012 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
8015 * manual/memory.texi (Malloc Tunable Parameters): Add note
8016 about free list pointers overwriting some perturb bytes.
8017 Wording suggested by Roland McGrath.
8019 2012-10-17 Joseph Myers <joseph@codesourcery.com>
8021 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
8022 (lgamma_test): Likewise.
8023 (tgamma_test): Likewise.
8025 2012-10-16 Florian Weimer <fweimer@redhat.com>
8028 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
8029 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
8031 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
8033 * NEWS: Mention BZ #14716.
8034 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
8035 when removing AVAILABLE1_USES_J macro.
8037 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
8039 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
8040 (__bswap_64): __uint64_t for unsigned 64-bit int.
8042 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
8044 * include/string.h (memmem): Declare libc hidden alias.
8045 * string/memmem.c (memmem): Define libc hidden alias.
8046 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
8047 __read, __close instead of open, read, close.
8049 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
8051 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
8052 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
8054 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
8055 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
8056 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
8058 (__rawmemchr_sse2): Likewise.
8059 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
8060 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
8061 (__strchr_sse2): Likewise.
8062 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
8063 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
8064 (__strcasecmp_sse2): Likewise.
8065 (__strncasecmp_sse2): Likewise.
8066 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
8067 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
8068 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
8069 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
8070 (__strrchr_sse2): Likewise.
8071 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
8073 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
8074 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
8075 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
8076 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
8077 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
8078 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
8079 * sysdeps/x86_64/multiarch/memset.S: Likewise.
8080 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8081 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
8082 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
8083 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
8084 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
8085 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
8086 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
8087 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
8088 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
8089 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
8090 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
8091 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
8092 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
8093 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
8094 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
8095 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
8096 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
8097 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
8098 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
8099 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
8100 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
8101 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
8102 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
8104 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
8106 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
8107 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
8108 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
8109 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
8111 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
8113 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
8114 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
8115 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
8116 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
8118 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
8119 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
8120 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
8121 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
8122 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
8123 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
8124 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
8125 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
8126 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
8127 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
8128 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
8129 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
8130 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
8131 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
8132 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
8133 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
8134 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
8135 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
8136 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
8137 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
8138 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
8139 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
8140 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
8141 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
8142 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
8143 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
8144 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
8145 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
8146 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
8147 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
8148 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
8149 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
8150 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
8151 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
8152 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
8153 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
8154 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
8155 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
8156 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
8157 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
8158 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
8160 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
8161 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
8162 * include/ifunc-impl-list.h: New file.
8163 * misc/ifunc-impl-list.c: Likewise.
8164 * misc/Makefile (routines): Add ifunc-impl-list.
8165 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
8166 * string/test-string.h: Include <ifunc-impl-list.h>.
8167 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
8168 impl_array): New variables.
8169 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
8171 (test_init): Call __libc_ifunc_impl_list to initialize
8172 func_list if TEST_IFUNC and TEST_NAME are defined.
8174 * string/Makefile (strop-tests): Add bcopy and bzero.
8175 * string/test-bcopy.c: New file.
8176 * string/test-bzero.c: Likewise.
8177 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
8179 * string/test-memset.c: Support bzero test if TEST_BZERO is
8181 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
8183 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
8185 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
8188 2012-10-10 Joseph Myers <joseph@codesourcery.com>
8190 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
8191 * configure: Regenerated.
8193 * Makeconfig (+link-static-before-libc): Don't include
8194 $(link-static-libc).
8196 * libio/libio.h (_IO_pos_t): Remove.
8198 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
8200 * NEWS: Add note about FIPS mode. Wording suggested by Roland
8203 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
8205 * crypt/crypt-entry.c: Include fips-private.h.
8206 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
8207 * crypt/md5c-test.c (main): Tolerate disabled MD5.
8208 * sysdeps/unix/sysv/linux/fips-private.h: New file.
8209 * sysdeps/generic/fips-private.h: New file, dummy fallback.
8211 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
8213 * crypt/crypt-private.h: Include stdbool.h.
8214 (_ufc_setup_salt_r): Return bool.
8215 * crypt/crypt-entry.c: Include errno.h.
8216 (__crypt_r): Return NULL with EINVAL for bad salt.
8217 * crypt/crypt_util.c (bad_for_salt): New.
8218 (_ufc_setup_salt_r): Check that salt is long enough and within
8219 the specified alphabet.
8220 * crypt/badsalttest.c: New file.
8221 * crypt/Makefile (tests): Add it.
8222 ($(objpfx)badsalttest): New.
8224 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
8226 * NEWS: Add entry for BZ #14602.
8228 2012-10-09 Joseph Myers <joseph@codesourcery.com>
8230 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
8232 * math/libm-test.inc: Update comment listing what functions and
8234 (isgreater_test): New function.
8235 (isgreaterequal_test): Likewise.
8236 (isless_test): Likewise.
8237 (islessequal_test): Likewise.
8238 (islessgreater_test): Likewise.
8239 (isunordered_test): Likewise.
8240 (main): Call the new functions.
8242 2012-10-09 Roland McGrath <roland@hack.frob.com>
8244 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
8245 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
8246 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
8247 * sysdeps/i386/configure: Regenerated.
8248 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
8249 * sysdeps/mach/configure: Regenerated.
8250 * sysdeps/mach/hurd/configure: Regenerated.
8251 * sysdeps/powerpc/configure: Regenerated.
8252 * sysdeps/powerpc/powerpc32/configure: Regenerated.
8253 * sysdeps/powerpc/powerpc64/configure: Regenerated.
8254 * sysdeps/s390/s390-32/configure: Regenerated.
8255 * sysdeps/s390/s390-64/configure: Regenerated.
8256 * sysdeps/sh/configure: Regenerated.
8257 * sysdeps/sparc/configure: Regenerated.
8258 * sysdeps/unix/sysv/linux/configure: Regenerated.
8259 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
8260 * sysdeps/x86_64/configure: Regenerated.
8262 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
8263 defined. Don't check if MAP is NULL.
8265 2012-10-09 Joseph Myers <joseph@codesourcery.com>
8267 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
8268 (_G_stat64): Likewise.
8269 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
8270 (_G_stat64): Likewise.
8271 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
8272 instead of struct _G_stat64.
8273 * libio/fileops.c (mmap_remap_check): Likewise.
8274 (decide_maybe_mmap): Likewise.
8275 (_IO_new_file_seekoff): Likewise.
8276 (_IO_file_stat): Likewise.
8277 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
8279 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
8280 instead of struct _G_stat64.
8281 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
8283 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
8286 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
8288 (CHECK_EOL): New macro.
8289 (two_way_short_needle): Check beginning of haystack for EOL. Use
8291 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
8292 Replace with CHECK_EOL.
8293 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
8294 Replace with CHECK_EOL.
8296 2012-10-08 Joseph Myers <joseph@codesourcery.com>
8298 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
8300 * math/libm-test.inc: Update comment listing what functions and
8302 (finite_test): New function.
8303 (isinf_test): Likewise.
8304 (isnan_test): Likewise.
8305 (fpclassify_test): Test subnormal input.
8306 (isfinite_test): Likewise.
8307 (isnormal_test): Likewise.
8308 (main): Call the new functions.
8310 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
8313 * Makerules (%.dynsym): Force C locale when running
8314 $(OBJDUMP) --dynamic-syms.
8316 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
8318 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
8321 2012-10-06 David S. Miller <davem@davemloft.net>
8323 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
8324 upper 32-bits of the length value in %o2 since we use branch-on-register
8325 tests which consider the entire 64-bit register.
8327 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
8329 * string/test-strstr.c (check2): Add a test for page boundary.
8331 2012-10-05 David S. Miller <davem@davemloft.net>
8333 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
8334 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
8336 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
8338 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
8339 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
8340 and bzero when HWCAP_SPARC_CRYPTO is present.
8342 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
8345 * string/test-strstr.c (check2): New function.
8346 (test_main): Call check2.
8348 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
8350 * string/bug-strcasestr1.c (do_test): Moved to ...
8351 * string/test-strcasestr.c (check1): Here. New function.
8352 (do_one_test): Break out result checking code into ...
8353 (check_result): This. New function.
8354 (do_one_test): Call check_result.
8355 (test_main): Call check1.
8356 * string/bug-strchr1.c (do_test): Moved to ...
8357 * string/test-strchr.c (check1): Here. New function.
8358 (do_one_test): Break out result checking code into ...
8359 (check_result): This. New function.
8360 (do_one_test): Call check_result.
8361 (test_main): Call check1.
8362 * string/bug-strstr1.c (main): Moved to ...
8363 * string/test-strstr.c (check1): Here. New function.
8364 (do_one_test): Break out result checking code into ...
8365 (check_result): This. New function.
8366 (do_one_test): Call check_result.
8367 (test_main): Call check1.
8368 * string/bug-strcasestr1.c: Removed.
8369 * string/bug-strchr1.c: Likewise.
8370 * string/bug-strstr1.c: Likewise.
8372 * elf/Makefile (dl-routines): Add hwcaps.
8373 * elf/dl-support.c (_dl_important_hwcaps): Removed.
8374 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
8375 (_dl_important_hwcaps): Moved to ...
8376 * elf/dl-hwcaps.c: Here. New file.
8377 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
8380 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
8381 if IS_IN_rtld isn't defined.
8383 * elf/dl-support.c (_dl_sysinfo_map): New.
8384 Include "get-dynamic-info.h" and "setup-vdso.h".
8385 (_dl_non_dynamic_init): Call setup_vdso.
8386 * elf/dynamic-link.h: Don't include <assert.h>.
8387 (elf_get_dynamic_info): Moved to ...
8388 * elf/get-dynamic-info.h: Here. New file.
8389 * elf/dynamic-link.h: Include "get-dynamic-info.h".
8390 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
8391 * elf/setup-vdso.h: Here. New file.
8392 * elf/rtld.c: Include "setup-vdso.h".
8393 (dl_main): Call setup_vdso.
8395 2012-10-05 Joseph Myers <joseph@codesourcery.com>
8397 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
8398 creal in comment listing functions tested. List finite, isinf,
8399 isnan, isless, islessequal, isgreater, isgreaterequal,
8400 islessgreater, isunordered, lgamma_r and pow10 as functions and
8401 macros not tested. Mention which functions not tested are aliases
8402 for other functions. Fix typo. Note that signs of NaNs are not
8405 * scripts/config.guess: Update from config.git.
8406 * scripts/config.sub: Likewise.
8408 2012-10-04 Roland McGrath <roland@hack.frob.com>
8410 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
8411 * misc/madvise.c (madvise): Renamed to __madvise.
8412 Make madvise a weak alias.
8413 * include/sys/mman.h: Declare __madvise.
8414 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
8415 * sysdeps/unix/syscalls.list
8416 (madvise): Make __madvise the strong name, and madvise a weak alias.
8417 * sysdeps/unix/sysv/linux/syscalls.list
8418 (madvise, mmap): Remove redundant entries.
8419 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
8420 * malloc/malloc.c (mtrim): Likewise.
8421 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
8423 2012-10-03 Roland McGrath <roland@hack.frob.com>
8425 * sysdeps/mach/hurd/dl-cache.c: File removed.
8426 * config.h.in (USE_LDCONFIG): New #undef.
8427 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
8428 * configure: Regenerated.
8429 * elf/Makefile (dl-routines): Add dl-cache only under
8430 [$(use-ldconfig) = yes].
8431 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
8432 cache on [USE_LDCONFIG].
8433 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
8435 * elf/rtld.c (dl_main): Likewise.
8437 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
8439 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
8440 _SC_LEVEL4_CACHE_LINESIZE.
8442 2012-10-03 Roland McGrath <roland@hack.frob.com>
8444 * sysdeps/unix/bsd/confstr.h: File removed.
8446 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
8448 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
8451 2012-10-02 Roland McGrath <roland@hack.frob.com>
8453 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
8454 Make 'mapoff' field ElfW(Off) rather than off_t.
8456 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
8458 * nscd/Makefile: Remove nscd-cflags and all its users.
8459 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
8460 (CFLAGS-nonlib): Add compiler flags for nscd modules.
8463 * malloc.c (malloc_printerr): Clarify error message.
8465 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
8468 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8469 Set bit_FMA_Usable if FMA is supported.
8470 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
8472 (bit_FMA4_Usable): Updated.
8473 (index_FMA_Usable): New macro.
8474 (CPUID_FMA): Likewise
8475 (HAS_FMA): Defined with bit_FMA_Usable.
8477 2012-10-01 Roland McGrath <roland@hack.frob.com>
8479 * bits/types.h (__swblk_t): Type removed.
8480 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
8481 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
8482 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8483 (__SWBLK_T_TYPE): Likewise.
8484 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
8485 (__SWBLK_T_TYPE): Likewise.
8486 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8487 (__SWBLK_T_TYPE): Likewise.
8488 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8489 (__SWBLK_T_TYPE): Likewise.
8491 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
8492 Honza Horak <hhorak@redhat.com>
8494 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
8495 (xdr_mapname): Use YPMAXMAP as maxsize.
8496 (xdr_peername): Use YPMAXPEER as maxsize.
8497 (xdr_keydat): Use YPAXRECORD as maxsize.
8498 (xdr_valdat): Use YPMAXRECORD as maxsize.
8500 2012-10-01 Roland McGrath <roland@hack.frob.com>
8502 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
8504 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
8505 * csu/init-first.c: ... here.
8506 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
8507 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
8508 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
8509 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
8510 * sysdeps/i386/init-first.c: File removed.
8511 * sysdeps/sh/init-first.c: File removed.
8513 2012-10-01 Joseph Myers <joseph@codesourcery.com>
8516 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
8517 if x * y might underflow to zero and z is zero.
8518 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8519 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8520 * math/libm-test.inc (min_subnorm_value): New variable.
8521 (fma_test): Add more tests.
8522 (fma_test_towardzero): Likewise.
8523 (fma_test_downward): Likewise
8524 (fma_test_upward): Likewise.
8525 (initialize): Set min_subnorm_value.
8527 2012-09-29 Joseph Myers <joseph@codesourcery.com>
8530 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
8532 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
8533 mode for addition resulting in exact zero.
8534 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
8535 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
8537 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
8538 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8539 * math/libm-test.inc (fma_test): Add more tests.
8540 (fma_test_towardzero): New function.
8541 (fma_test_downward): Likewise.
8542 (fma_test_upward): Likewise.
8543 (main): Call the new functions.
8545 2012-09-28 David S. Miller <davem@davemloft.net>
8547 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
8549 2012-09-28 Roland McGrath <roland@hack.frob.com>
8551 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
8554 * sysdeps/gnu/_G_config.h: Moved to ...
8555 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
8556 * sysdeps/mach/hurd/_G_config.h: Moved to ...
8557 * sysdeps/generic/_G_config.h: ... here.
8559 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
8561 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
8563 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
8564 Conditionalize target on [libnss_test1.so-version].
8566 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
8568 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
8569 (elfobjdir): Move out of conditionals.
8571 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
8572 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
8573 (__nss_lookup_function): Conditionalize label remove_from_tree on
8574 [!DO_STATIC_NSS || SHARED], matching its only use.
8576 2012-09-28 David S. Miller <davem@davemloft.net>
8578 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
8579 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
8581 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
8583 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
8584 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
8585 when HWCAP_SPARC_CRYPTO is present.
8587 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
8589 * io/tst-mknodat.c: Create a FIFO instead of a socket.
8591 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
8594 * stdio-common/vfprintf.c (process_string_arg): Revert
8597 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
8599 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
8601 * stdio-common/tst-sprintf.c: Include <locale.h>
8602 (main): Test sprintf's handling of incomplete multibyte
8605 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
8607 * elf/dl-runtime.c (VERSYMIDX): Removed.
8608 * elf/dl-version.c (VERSYMIDX): Likewise.
8609 * elf/do-rel.h (VERSYMIDX): Likewise.
8611 * elf/dynamic-link.h (VERSYMIDX): Likewise.
8612 * elf/rtld.c (VALIDX): Likewise.
8613 (ADDRIDX): Likewise.
8614 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
8615 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
8616 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
8617 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
8619 (ADDRIDX): Likewise.
8621 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
8623 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
8625 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
8628 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
8630 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
8631 addresses are in the same scope as 192.0.2/24.
8632 * posix/gai.conf: Document new scope table defaults.
8634 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8637 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
8638 for ftell. Compute offsets from write pointers instead.
8639 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
8641 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8644 * libio/Makefile (tests): New test case tst-fseek.
8645 * libio/tst-fseek.c: New test case to verify that fseek/ftell
8646 combination works in wide mode.
8647 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
8648 state when the external buffer state changes.
8650 2012-09-27 David S. Miller <davem@davemloft.net>
8653 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
8654 pass reloc->r_addend in as the 'high' argument to
8655 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
8657 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8659 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
8661 * rt/tst-aio2.c: Include <pthread.h>.
8662 * rt/tst-aio3.c: Likewise.
8664 2012-09-27 Steve Ellcey <sellcey@mips.com>
8666 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
8668 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
8670 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
8671 contents on [SHARED].
8673 2012-09-26 Marek Polacek <polacek@redhat.com>
8677 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
8678 for C++ and GCC <4.3 as well as for non GCC compilers.
8680 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
8682 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8684 2012-09-25 Roland McGrath <roland@hack.frob.com>
8686 * Makefile.in (all, install): Declare with .PHONY.
8687 Reported by Michael Hope <michael.hope@linaro.org>.
8689 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8691 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
8692 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
8694 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
8696 (sydep_routines): Add the new and the internal functions.
8697 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
8698 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
8699 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
8700 (GLIBC_2.17): Add the new function.
8701 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
8702 (GLIBC_2.17): Likewise.
8703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
8704 (GLIBC_2.17): Likewise.
8705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
8706 (GLIBC_2.17): Likewise.
8707 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
8709 2012-09-25 Alan Modra <amodra@gmail.com>
8711 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
8712 Add release barrier before setting once_control to say
8713 initialisation is done. Add hints on lwarx. Use macro in
8715 (clear_once_control): Add release barrier.
8717 2012-09-25 Joseph Myers <joseph@codesourcery.com>
8720 * math/s_clog.c (__clog): Handle more values close to |z| = 1
8722 * math/s_clog10.c (__clog10): Likewise.
8723 * math/s_clog10f.c (__clog10f): Likewise.
8724 * math/s_clog10l.c (__clog10l): Likewise.
8725 * math/s_clogf.c (__clogf): Likewise.
8726 * math/s_clogl.c (__clogl): Likewise.
8727 * math/Makefile (libm-calls): Add x2y2m1.
8728 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
8729 (__x2y2m1): Likewise.
8730 (__x2y2m1l): Likewise.
8731 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
8732 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
8733 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
8734 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
8735 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
8736 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
8737 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
8738 * sysdeps/i386/fpu/libm-test-ulps: Update.
8739 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8742 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
8743 int as type of variable DEPTH.
8744 (glob): Use size_t instead of int as type of variables NEWCOUNT
8747 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8749 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
8751 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
8752 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
8753 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
8754 macros for using routine as __sincosf_ia32.
8755 Use macro for function declaration and weak_alias.
8756 * sysdeps/i386/fpu/libm-test-ulps: Update.
8758 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
8759 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8761 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
8763 * math/s_cexpf.c (__cexpf): Likewise.
8764 * math/s_csinf.c (__csinf): Likewise.
8765 * math/s_csinhf.c (__csinhf): Likewise.
8766 * math/s_ctanf.c (__ctanf): Likewise.
8767 * math/s_ctanhf.c (__ctanhf): Likewise.
8768 * math/s_ccosh.c (__ccoshf): Likewise.
8769 * math/s_cexp.c (__cexpl): Likewise.
8770 * math/s_csin.c (__csin): Likewise.
8771 * math/s_csinh.c (__csinh): Likewise.
8772 * math/s_ctan.c (__ctan): Likewise.
8773 * math/s_ctanh.c (ctanh): Likewise.
8774 * math/s_ccoshl.c (__ccoshl): Likewise.
8775 * math/s_cexpl.c (__cexpl): Likewise.
8776 * math/s_csinl.c (__csinl): Likewise.
8777 * math/s_csinhl.c (__csinhl): Likewise.
8778 * math/s_ctanl.c (__ctanl): Likewise.
8779 * math/s_ctanhl.c (__ctanhl): Likewise.
8781 2012-09-25 Joseph Myers <joseph@codesourcery.com>
8783 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
8784 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
8785 (_IO_off_t): Define to __off_t, not _G_off_t.
8786 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
8787 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
8788 (_IO_wint_t): Define to wint_t, not _G_wint_t.
8789 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
8790 type of __dummy and __dummy2 fields.
8791 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
8792 (_G_ssize_t): Likewise.
8793 (_G_off_t): Likewise.
8794 (_G_pid_t): Likewise.
8795 (_G_uid_t): Likewise.
8796 (_G_wchar_t): Likewise.
8797 (_G_wint_t): Likewise.
8798 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
8799 (_G_ssize_t): Likewise.
8800 (_G_off_t): Likewise.
8801 (_G_pid_t): Likewise.
8802 (_G_uid_t): Likewise.
8803 (_G_wchar_t): Likewise.
8804 (_G_wint_t): Likewise.
8805 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
8806 (_G_ssize_t): Likewise.
8807 (_G_off_t): Likewise.
8808 (_G_pid_t): Likewise.
8809 (_G_uid_t): Likewise.
8810 (_G_wchar_t): Likewise.
8811 (_G_wint_t): Likewise.
8813 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8815 * malloc/arena.c: Include malloc-sysdep.h.
8816 (shrink_heap): Use check_may_shrink_heap to decide if madvise
8817 is sufficient to shrink the heap or an unmap is needed.
8818 * sysdeps/generic/malloc-sysdep.h: New file. Define
8819 new function check_may_shrink_heap.
8820 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
8821 new function check_may_shrink_heap.
8823 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8825 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
8828 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
8830 * catgets/test-gencat.sh: Add "set -e".
8831 * elf/tst-pathopt.sh: Likewise.
8832 * grp/tst_fgetgrent.sh: Likewise.
8833 * iconvdata/run-iconv-test.sh: Likewise.
8834 * intl/tst-gettext.sh: Likewise.
8835 * intl/tst-gettext2.sh: Likewise.
8836 * intl/tst-gettext4.sh: Likewise.
8837 * intl/tst-gettext6.sh: Likewise.
8838 * intl/tst-translit.sh: Likewise.
8839 * io/ftwtest-sh: Likewise.
8840 * libio/test-freopen.sh: Likewise.
8841 * malloc/tst-mtrace.sh: Likewise.
8842 * posix/globtest.sh: Likewise.
8843 * posix/tst-getconf.sh: Likewise.
8844 * posix/wordexp-tst.sh: Likewise.
8845 * stdio-common/tst-printf.sh: Likewise.
8846 * stdio-common/tst-unbputc.sh: Likewise.
8847 * stdlib/tst-fmtmsg.sh: Likewise.
8848 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
8849 * catgets/Makefile: Do not specify -e option when running
8850 testsuite shell scripts.
8851 * elf/Makefile: Likewise.
8852 * grp/Makefile: Likewise.
8853 * iconvdata/Makefile: Likewise.
8854 * intl/Makefile: Likewise.
8855 * io/Makefile: Likewise.
8856 * libio/Makefile: Likewise.
8857 * malloc/Makefile: Likewise.
8858 * posix/Makefile: Likewise.
8859 * stdio-common/Makefile: Likewise.
8860 * stdlib/Makefile: Likewise.
8861 * sysdeps/x86_64/Makefile: Likewise.
8863 * io/ftwtest-sh: Add copyright header.
8864 * posix/globtest.sh: Likewise.
8865 * posix/tst-getconf.sh: Likewise.
8866 * posix/wordexp-tst.sh: Likewise.
8867 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
8869 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
8872 * Makeconfig (+link): Defined as $(+link-static) if
8873 $(build-shared) isn't yes.
8874 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
8876 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
8878 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
8881 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
8882 new chunk size with MALLOC_ALIGN_MASK.
8884 2012-09-24 Joseph Myers <joseph@codesourcery.com>
8887 * stdio-common/printf_fphex.c: Include <stdbool.h> and
8889 (__printf_fphex): Determine rounding using get_rounding_mode and
8891 * stdio-common/tst-printf-round.c (struct hex_test): New
8893 (hex_tests): New variable.
8894 (test_hex_in_one_mode): New function.
8895 (do_test): Also run tests for hex float output.
8897 2012-09-21 Joseph Myers <joseph@codesourcery.com>
8899 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
8900 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
8901 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
8902 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
8903 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
8904 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
8905 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
8906 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
8908 2012-09-20 Joseph Myers <joseph@codesourcery.com>
8910 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
8911 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
8912 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
8913 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
8915 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
8918 * elf/rtld.c (dl_main): Limit the check for self loading to normal
8920 * elf/tst-rtld-load-self.sh: New test.
8921 * elf/Makefile: Run it.
8923 2012-09-18 Joseph Myers <joseph@codesourcery.com>
8925 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
8926 (tst-writev-ENV): Remove.
8927 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
8929 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
8931 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
8933 2012-09-17 Joseph Myers <joseph@codesourcery.com>
8935 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
8937 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
8939 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
8940 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
8941 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
8944 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
8947 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
8948 * config.make.in (have-cpp-asm-debuginfo): Removed.
8949 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
8950 * configure: Regenerated.
8952 2012-09-14 Joseph Myers <joseph@codesourcery.com>
8955 * stdio-common/printf_fp.c: Include <stdbool.h> and
8957 (___printf_fp): Determine rounding using get_rounding_mode and
8959 * stdio-common/tst-printf-round.c: New file.
8960 * stdio-common/Makefile (tests): Add tst-printf-round.
8961 (link-libm): New variable.
8962 ($(objpfx)tst-printf-round): Depend in $(link-libm).
8964 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
8967 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
8968 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
8970 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
8973 2012-09-13 Joseph Myers <joseph@codesourcery.com>
8975 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
8976 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
8977 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
8978 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
8980 2012-09-12 Joseph Myers <joseph@codesourcery.com>
8983 * include/rounding-mode.h: New file.
8984 * sysdeps/generic/get-rounding-mode.h: Likewise.
8985 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
8986 * stdlib/strtod_l.c: Include <rounding-mode.h>.
8987 (MAX_VALUE): New macro.
8988 (MIN_VALUE): Likewise.
8989 (overflow_value): New function.
8990 (underflow_value): Likewise.
8991 (round_and_return): Use overflow_value and underflow_value to
8992 determine return values in overflow and underflow cases. Use
8993 round_away to determine rounding depending on rounding mode.
8994 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
8995 determine return values in overflow and underflow cases.
8996 * stdlib/tst-strtod-round.c: Include <fenv.h>.
8997 (struct test_results): New structure.
8998 (struct test): Use struct test_results to store expected results
8999 for all rounding modes.
9000 (TEST): Include expected results for all rounding modes.
9001 (test_in_one_mode): New function.
9002 (do_test): Use test_in_one_mode to compute and check results.
9003 Check results for all rounding modes.
9004 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
9007 2012-12-09 Allan McRae <allan@archlinux.org>
9009 * sysdeps/i386/fpu/libm-test-ulps: Update
9011 2012-09-11 Joseph Myers <joseph@codesourcery.com>
9013 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
9014 (_G_int32_t): Likewise.
9015 (_G_uint16_t): Likewise.
9016 (_G_uint32_t): Likewise.
9017 (_G_HAVE_BOOL): Likewise.
9018 (_G_HAVE_ATEXIT): Likewise.
9019 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
9020 (_G_HAVE_IO_FILE_OPEN): Likewise.
9021 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
9022 (_G_int32_t): Likewise.
9023 (_G_uint16_t): Likewise.
9024 (_G_uint32_t): Likewise.
9025 (_G_HAVE_BOOL): Likewise.
9026 (_G_HAVE_ATEXIT): Likewise.
9027 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
9028 (_G_HAVE_IO_FILE_OPEN): Likewise.
9029 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
9030 (_G_int32_t): Likewise.
9031 (_G_uint16_t): Likewise.
9032 (_G_uint32_t): Likewise.
9033 (_G_HAVE_BOOL): Likewise.
9034 (_G_HAVE_ATEXIT): Likewise.
9035 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
9036 (_G_HAVE_IO_FILE_OPEN): Likewise.
9038 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
9040 * csu/libc-tls.c: Update copyright years.
9042 2012-09-10 Joseph Myers <joseph@codesourcery.com>
9044 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
9045 [!_G_USING_THUNKS]: Remove conditional code.
9046 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
9047 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
9049 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
9050 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
9051 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
9052 (_G_VTABLE_LABEL_PREFIX): Likewise.
9053 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
9054 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
9055 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
9056 (_G_VTABLE_LABEL_PREFIX): Likewise.
9057 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
9058 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
9059 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
9060 (_G_VTABLE_LABEL_PREFIX): Likewise.
9061 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
9063 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
9065 * libio/Makefile: Include ../Makeconfig before tests.
9066 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
9067 only if $(build-shared) is yes.
9069 * iconv/gconv_db.c: Update copyright years.
9071 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9073 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
9074 unwind info if defined PIC. Fix special cases description.
9075 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
9077 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
9079 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
9081 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
9083 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
9085 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
9088 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
9089 (LDLIBS-tst-chk4): This.
9090 (LDFLAGS-tst-chk5): Renamed to ...
9091 (LDLIBS-tst-chk5): This.
9092 (LDFLAGS-tst-chk6): Renamed to ...
9093 (LDLIBS-tst-chk6): This.
9094 (LDFLAGS-tst-lfschk4): Renamed to ...
9095 (LDLIBS-tst-lfschk4): This.
9096 (LDFLAGS-tst-lfschk5): Renamed to ...
9097 (LDLIBS-tst-lfschk5): This.
9098 (LDFLAGS-tst-lfschk6): Renamed to ...
9099 (LDLIBS-tst-lfschk6): This.
9101 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
9102 on $(common-objpfx)soversions.mk.
9104 2012-09-07 Joseph Myers <joseph@codesourcery.com>
9107 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
9110 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
9112 * malloc/arena.c (arena_get_retry): New function that gets
9113 another arena for the caller to try its request on.
9114 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
9115 current arena cannot fulfill the request.
9116 (__libc_memalign): Likewise.
9117 (__libc_memalign): Likewise.
9118 (__libc_pvalloc): Likewise.
9119 (__libc_calloc): Likewise.
9121 2012-09-05 John Tobey <john.tobey@gmail.com>
9124 * manual/arith.texi (Operations on Complex): Fix description
9127 2012-09-06 Joseph Myers <joseph@codesourcery.com>
9130 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
9134 * manual/memory.texi (Memory): Make order of menu items match
9137 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
9139 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
9140 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
9141 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
9143 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
9145 * csu/libc-tls.c (static_dtv): Renamed to ...
9146 (_dl_static_dtv): This. Make it global.
9147 (_dl_initial_dtv): Removed.
9148 (__libc_setup_tls): Updated.
9149 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
9150 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
9153 2012-09-06 Petr Machata <pmachata@redhat.com>
9155 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
9156 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
9157 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
9158 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
9160 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
9163 * csu/libc-tls.c (_dl_initial_dtv): New variable.
9164 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
9167 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
9170 * Makeconfig (link-static-before-libc): Replace $(+prector)
9172 (link-static-after-libc): Replace $(+postctor) with
9174 (link-bounded): Replace $(+prector)/$(+postctor) with
9175 $(+prectorT)/$(+postctorT).
9176 (+prectorT): New macro.
9177 (+postctorT): Likewise.
9179 2012-09-06 Joseph Myers <joseph@codesourcery.com>
9181 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
9182 (round_str): Handle values above the maximum for IBM long double
9184 * stdlib/tst-strtod-round.c (tests): Regenerated.
9186 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9188 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
9190 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
9191 zarch_nohighgprs around the zarch optimized routines.
9192 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
9193 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
9194 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
9197 2012-09-05 David S. Miller <davem@davemloft.net>
9199 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9201 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
9202 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
9203 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
9204 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
9207 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
9209 * malloc/arena.c: Fold copyright years.
9210 * malloc/mcheck.c, malloc/memusage.c: Likewise.
9212 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
9214 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
9216 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
9218 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
9220 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
9222 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
9223 change internal state upon failure.
9225 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
9227 * malloc/mcheck.c (mcheck_check_all): Fix typo.
9228 * malloc/memusage.c (mmap): Likewise.
9229 (mmap64, mremap): Likewise. Adjust name in comment.
9231 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
9233 * libio/fileops.c: Fix typos in comments.
9234 * libio/oldfileops.c: Likewise.
9235 * libio/wfileops.c: Likewise.
9237 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
9240 * malloc/Makefile (tests): Add tst-malloc-usable test case.
9241 (tst-malloc-usable-ENV): Set environment for test case.
9242 * malloc/hooks.c (malloc_check_get_size): New function to get
9244 * malloc/malloc.c (musable): Use malloc_check_get_size.
9245 * malloc/tst-malloc-usable.c: New test case.
9247 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
9249 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
9251 2012-09-05 Allan McRae <allan@archlinux.org>
9254 * configure.in (CXX_SYSINCLUDES): Use compiler output to
9255 determine header location.
9256 * configure: Regenerated.
9258 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
9260 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
9262 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
9263 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
9267 2012-09-04 David S. Miller <davem@davemloft.net>
9269 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
9270 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
9271 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
9273 2012-09-04 Florian Weimer <fweimer@redhat.com>
9275 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
9278 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
9280 2012-09-04 Joseph Myers <joseph@codesourcery.com>
9283 * libio/iogetdelim.c: Include <limits.h>.
9284 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
9285 + len + 1 would overflow.
9287 2012-09-03 Andreas Jaeger <aj@suse.de>
9289 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9290 * sysdeps/i386/fpu/libm-test-ulps: Update.
9292 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9294 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
9295 Add s_sinf-sse2, s_conf-sse2.
9297 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
9298 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
9299 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
9300 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
9302 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
9303 for using routine as __sinf_ia32.
9304 Use macro for function declaration and weak_alias.
9305 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
9306 for using routine as __cosf_ia32.
9307 Use macro for function declaration and weak_alias.
9309 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
9310 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
9312 * sysdeps/x86_64/fpu/s_sinf.S: New file.
9313 * sysdeps/x86_64/fpu/s_cosf.S: New file.
9314 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9316 * math/libm-test.inc (cos_test): Add more test cases.
9317 (sin_test): Likewise.
9318 (sincos_test): Likewise.
9320 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9322 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
9323 (IFUNC_RESOLVE): Make pointers to the specialized implementations
9325 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
9327 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
9330 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
9331 first element of the GOT.
9332 (elf_machine_load_address): Return the difference between
9333 the runtime address of _DYNAMIC and elf_machine_dynamic ().
9335 2012-09-01 Allan McRae <allan@archlinux.org>
9338 * configure.in (AWK): Require gawk version 3.0 or later.
9339 * configure: Regenerated.
9341 2012-09-01 Joseph Myers <joseph@codesourcery.com>
9343 * sysdeps/unix/sysv/linux/kernel-features.h
9344 (__ASSUME_POSIX_CPU_TIMERS): Remove.
9345 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
9346 [__NR_clock_getres]: Make code unconditional.
9347 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
9348 (clock_getcpuclockid): Remove code left unreachable by removal of
9350 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
9352 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
9353 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
9354 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
9355 Make code unconditional.
9356 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
9357 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
9358 * sysdeps/unix/sysv/linux/clock_settime.c
9359 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
9361 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
9362 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
9364 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
9367 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
9368 scripts/test-installation.pl.
9370 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
9371 and $ld_so_version if it is set.
9373 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
9376 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
9377 failure if reading from procfs failed.
9378 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
9380 2012-08-27 Joseph Myers <joseph@codesourcery.com>
9382 * sysdeps/unix/sysv/linux/kernel-features.h
9383 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
9384 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
9385 Remove conditional code.
9386 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9387 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
9388 Remove conditional code.
9389 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9390 * sysdeps/unix/sysv/linux/i386/fxstat.c
9391 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
9392 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9393 * sysdeps/unix/sysv/linux/i386/fxstatat.c
9394 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
9395 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9396 * sysdeps/unix/sysv/linux/i386/lxstat.c
9397 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
9398 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9399 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
9400 Remove conditional code.
9401 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9402 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
9403 Remove conditional code.
9404 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9405 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
9406 <kernel-features.h>.
9407 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
9409 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
9410 Remove conditional code.
9411 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9412 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
9415 2012-08-27 Mike Frysinger <vapier@gentoo.org>
9418 * NEWS: Add fixed bug number.
9420 2012-08-27 Joseph Myers <joseph@codesourcery.com>
9423 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
9424 underflowing exponent in case of negative sign.
9425 * stdlib/tst-strtod-round-data: Add more tests.
9426 * stdlib/tst-strtod-round.c (tests): Regenerated.
9429 * stdlib/strtod_l.c (NDIG): Remove.
9430 (HEXNDIG): Likewise.
9431 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
9432 smallest representable value.
9433 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
9434 lie within an exact representation of 1/2 ulp of the result.
9435 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
9437 (TENS_P9_IDX): Define unconditionally.
9438 (TENS_P9_SIZE): Likewise.
9439 (TENS_P10_IDX): Likewise.
9440 (TENS_P10_SIZE): Likewise.
9441 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
9442 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
9443 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
9444 entries for 10^2^13 and 10^2^14.
9445 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
9446 (TENS_P13_IDX): Define.
9447 (TENS_P13_SIZE): Likewise.
9448 (TENS_P14_IDX): Likewise.
9449 (TENS_P14_SIZE): Likewise.
9450 (_fpioconst_pow10): Change array size to
9451 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
9453 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
9454 1024]: Add entries for 10^2^13 and 10^2^14.
9455 [LAST_POW10 > _LAST_POW10]: Remove #error.
9456 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
9457 (_fpioconst_pow10): Change array size to
9458 FPIOCONST_POW10_ARRAY_SIZE.
9459 * stdlib/gen-fpioconst.c: New file.
9460 * stdlib/gen-tst-strtod-round.c: Likewise.
9461 * stdlib/tst-strtod-round-data: Likewise.
9462 * stdlib/tst-strtod-round.c: Likewise.
9463 * stdlib/Makefile (tests): Add tst-strtod-round.
9466 * stdlib/strtod_l.c: Include <stdint.h>.
9467 (NDEBUG): Do not define.
9468 (round_and_return): Change EXPONENT parameter to type intmax_t.
9469 Rearrange calculations to avoid internal overflow possibilities.
9470 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
9471 Rearrange calculations to avoid internal overflow possibilities.
9472 Assert that number fits inside MPNSIZE limbs.
9473 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
9474 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
9475 calculations and add assertions to avoid internal overflow
9476 possibilities. Add casts to avoid signed/unsigned operations.
9477 * stdlib/tst-strtod-overflow.c: New file.
9478 * stdlib/Makefile (tests): Add tst-strtod-overflow.
9480 2012-08-25 Marek Polacek <polacek@redhat.com>
9482 * time/time.h: Fix some typos in comments.
9484 2012-08-23 Roland McGrath <roland@hack.frob.com>
9486 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
9487 * posix/tst-rfc3484-2.c: Likewise.
9488 * posix/tst-rfc3484-3.c: Likewise.
9490 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
9492 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
9493 (EF_ARM_ABI_FLOAT_HARD): Likewise.
9495 2012-08-23 Joseph Myers <joseph@codesourcery.com>
9497 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
9498 #include of fxstatat64.c.
9500 2012-08-22 Roland McGrath <roland@hack.frob.com>
9502 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
9503 * shadow/getspent_r.c: Likewise.
9504 * shadow/getspnam.c: Likewise.
9505 * shadow/getspnam_r.c: Likewise.
9506 * gshadow/getsgent.c: Likewise.
9507 * gshadow/getsgent_r.c: Likewise.
9508 * gshadow/getsgnam.c: Likewise.
9509 * gshadow/getsgnam_r.c: Likewise.
9510 * inet/getnetbyad.c: Likewise.
9511 * inet/getnetbyad_r.c: Likewise.
9512 * inet/getnetbynm.c: Likewise.
9513 * inet/getnetbynm_r.c: Likewise.
9514 * inet/getnetent.c: Likewise.
9515 * inet/getnetent_r.c: Likewise.
9516 * inet/getproto.c: Likewise.
9517 * inet/getproto_r.c: Likewise.
9518 * inet/getprtent.c: Likewise.
9519 * inet/getprtent_r.c: Likewise.
9520 * inet/getprtname.c: Likewise.
9521 * inet/getprtname_r.c: Likewise.
9522 * inet/getrpcbyname.c: Likewise.
9523 * inet/getrpcbyname_r.c: Likewise.
9524 * inet/getrpcbynumber.c: Likewise.
9525 * inet/getrpcbynumber_r.c: Likewise.
9526 * inet/getrpcent.c: Likewise.
9527 * inet/getrpcent_r.c: Likewise.
9528 * inet/getaliasent.c: Likewise.
9529 * inet/getaliasent_r.c: Likewise.
9530 * inet/getaliasname.c: Likewise.
9531 * inet/getaliasname_r.c: Likewise.
9532 * nscd/getgrgid_r.c: Likewise.
9533 * nscd/getgrnam_r.c: Likewise.
9534 * nscd/gethstbyad_r.c: Likewise.
9535 * nscd/gethstbynm3_r.c: Likewise.
9536 * nscd/getpwnam_r.c: Likewise.
9537 * nscd/getpwuid_r.c: Likewise.
9538 * nscd/getsrvbynm_r.c: Likewise.
9539 * nscd/getsrvbypt_r.c: Likewise.
9540 * nscd/gai.c: Likewise.
9542 * configure.in (build_nscd): New substituted variable, set
9543 by --disable-build-nscd and defaults to $use_nscd.
9544 * configure: Regenerated.
9545 * config.make.in (build-nscd): New substituted variable.
9546 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
9547 Change conditional to require [$(build-nscd) = yes] as well.
9548 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
9551 * configure.in (use_nscd): New substituted variable, set by
9552 --disable-nscd. If enabled, define USE_NSCD.
9553 * configure: Regenerated.
9554 * config.h.in: Add USE_NSCD.
9555 * config.make.in (use-nscd): New substituted variable.
9556 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
9557 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
9558 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
9559 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
9560 (CFLAGS-getgrnam_r.c): Likewise.
9561 (CFLAGS-initgroups.c): Likewise.
9562 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
9563 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
9565 * inet/getnetgrent_r.c
9566 (nscd_setnetgrent): New function, broken out of ...
9567 (setnetgrent): ... here. Call it.
9568 (innetgr): Conditionalize nscd bits on [USE_NSCD].
9569 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
9570 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
9571 * nscd/Makefile (routines, aux): Move definitions after include of
9572 Makeconfig. Conditionalize on [$(use-nscd) != no].
9573 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
9574 Conditionalize on [USE_NSCD].
9575 (is_nscd, nscd_init_cb): Likewise.
9576 (nss_load_library): Conditionalize init callback on [USE_NSCD].
9577 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
9578 * nss/nss_db/db-init.c: Likewise.
9579 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
9581 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
9582 (make_request): Use it.
9583 (cache_valid_p): New function.
9584 (__check_pf): Use it.
9585 * NEWS: Add item for --disable-nscd.
9587 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
9589 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
9590 to support sed >= 4.2.1-20-ga9bf076.
9591 * configure: Regenerated.
9593 2012-08-22 Roland McGrath <roland@hack.frob.com>
9595 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
9596 Conditionalize whole body on [IREL].
9598 2012-08-22 Jeff Law <law@redhat.com>
9601 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
9602 if the family is PF_UNSPEC.
9604 2012-08-22 Mike Frysinger <vapier@gentoo.org>
9606 * Makerules (lib-version): Rename from V.
9607 (install-lib-nosubdir): Change V to lib-version.
9609 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
9612 * powerpc32/power6/wcschr.c: New file.
9613 * powerpc32/power6/wcscpy.c: New file.
9614 * powerpc32/power6/wcsrchr.c: New file.
9615 * powerpc64/power6/wcschr.c: New file.
9616 * powerpc64/power6/wcscpy.c: New file.
9617 * powerpc64/power6/wcsrchr.c: New file.
9619 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
9621 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
9622 (two_way_short_needle): Use it.
9623 * string/strstr.c (AVAILABLE1_USES_J): Define.
9624 * string/strcasestr.c: Likewise.
9626 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
9628 * string/strcasestr.c (TOLOWER): Make side-effect safe.
9631 * NEWS: Add an entry.
9632 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
9633 define their defaults.
9634 (two_way_short_needle): Detect end-of-string on-the-fly.
9635 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
9636 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
9637 * string/bug-strcasestr1.c: New test.
9638 * string/Makefile: Run it.
9640 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
9643 * string/str-two-way.h (two_way_short_needle): Optimize matching of
9644 the first character.
9646 2012-08-21 Roland McGrath <roland@hack.frob.com>
9648 * csu/elf-init.c (__libc_csu_irel): Function removed.
9649 * csu/libc-start.c (apply_irel): New function.
9650 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
9652 2012-08-21 Joseph Myers <joseph@codesourcery.com>
9654 * sysdeps/unix/sysv/linux/kernel-features.h
9655 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
9656 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
9657 <kernel-features.h>.
9658 [__NR_fadvise64_64]: Make code unconditional.
9659 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
9660 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
9661 !__NR_fadvise64_64)]: Likewise.
9662 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
9663 !__NR_fadvise64_64))]: Likewise.
9664 [__NR_fadvise64]: Make code unconditional.
9665 [!__NR_fadvise64]: Remove conditional code.
9666 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
9667 <kernel-features.h>.
9668 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
9670 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
9672 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
9673 not include <kernel-features.h>.
9674 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
9676 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
9678 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
9679 include <kernel-features.h>.
9680 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
9682 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
9685 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
9687 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
9688 slight instruction rearrangements per scrollpipe analysis.
9689 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
9691 2012-08-20 Roland McGrath <roland@hack.frob.com>
9693 * manual/syslog.texi (syslog; vsyslog, closelog):
9694 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
9695 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
9697 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
9698 DSOCAPS to match condition on defining it.
9700 2012-08-20 Joseph Myers <joseph@codesourcery.com>
9702 * sysdeps/unix/sysv/linux/kernel-features.h
9703 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
9704 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
9705 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
9706 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
9707 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
9708 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
9709 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
9710 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
9711 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
9712 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
9714 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
9715 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
9717 * sysdeps/unix/sysv/linux/kernel-features.h
9718 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
9719 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
9721 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9722 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
9723 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
9724 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9725 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
9726 Make code unconditional.
9727 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9728 (__mmap64) [!__NR_mmap2]: Likewise.
9729 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
9730 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
9731 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9732 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
9733 [__NR_mmap2]: Make code unconditional.
9734 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9735 (__mmap64) [!__NR_mmap2]: Likewise.
9737 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9739 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
9741 2012-08-18 Andreas Jaeger <aj@suse.de>
9743 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
9745 2012-08-18 Mike Frysinger <vapier@gentoo.org>
9747 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
9748 * include/unistd.h (__have_sock_cloexec): Likewise.
9749 (__have_pipe2): Likewise.
9750 (__have_dup3): Likewise.
9752 2012-08-18 Mike Frysinger <vapier@gentoo.org>
9755 * include/unistd.h (__have_pipe2): Change define into an extern int.
9756 (__have_dup3): Likewise.
9757 * socket/have_sock_cloexec.c: Include fcntl.h.
9758 (__have_pipe2): New variable.
9759 (__have_dup3): Likewise.
9761 2012-08-17 Mike Frysinger <vapier@gentoo.org>
9763 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
9765 2012-08-17 Marek Polacek <polacek@redhat.com>
9767 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
9768 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
9770 2012-08-17 Roland McGrath <roland@hack.frob.com>
9772 * configure.in: Add AC_SUBST for sysheaders.
9773 * configure: Regenerated.
9774 * config.make.in (sysheaders): New substituted variable.
9776 * sysdeps/unix/mkfifo.c: Moved ...
9777 * sysdeps/posix/mkfifo.c: ... here.
9778 * sysdeps/unix/mkfifoat.c: Moved ...
9779 * sysdeps/posix/mkfifoat.c: ... here.
9781 * sysdeps/unix/utime.c: Moved ...
9782 * sysdeps/posix/utime.c: ... here.
9784 * sysdeps/unix/time.c: Moved ...
9785 * sysdeps/posix/time.c: ... here.
9786 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
9787 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
9789 * sysdeps/unix/nice.c: Moved ...
9790 * sysdeps/posix/nice.c: ... here.
9792 * sysdeps/unix/alarm.c: Moved ...
9793 * sysdeps/posix/alarm.c: ... here.
9795 * intl/Makefile ($(codeset_mo)): Depend on the input file.
9797 2012-08-17 Jeff Law <law@redhat.com>
9799 * intl/Makefile (codeset_mo): New variable.
9800 ($(codeset_mo)): New target.
9801 (tst-codeset.out): Depend on that. Remove explicit rule.
9802 (tst-gettext3.out, tst-gettext5.out): Likewise.
9803 (LOCPATH-ENV, tst-codeset-ENV): New variables.
9804 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
9805 * intl/tst-codeset.sh: Remove.
9806 * intl/tst-gettext3.sh: Likewise.
9807 * intl/tst-gettext5.sh: Likewise.
9809 2012-08-17 Roland McGrath <roland@hack.frob.com>
9811 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
9812 * sysdeps/unix/syscalls.list: ... here.
9814 * sysdeps/posix/getaddrinfo.c
9815 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
9816 (gaiconf_init, gaiconf_reload): Use them.
9818 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
9819 Define using time_t rather than struct timespec.
9821 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
9822 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
9824 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
9826 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
9827 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
9830 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
9831 __libc_cleanup_push argument.
9833 * bits/param.h: New file.
9834 * misc/sys/param.h: New file.
9835 * include/sys/param.h: New file.
9836 * misc/Makefile (headers): Add bits/param.h.
9837 * sysdeps/generic/sys/param.h: File removed.
9838 * sysdeps/unix/sysv/linux/bits/param.h: New file.
9839 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
9840 * sysdeps/mach/hurd/bits/param.h: New file.
9841 * sysdeps/mach/hurd/sys/param.h: File removed.
9843 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
9846 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
9848 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
9849 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
9852 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
9853 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
9854 rather than -D_IO_MTSAFE_IO conditionally.
9855 * stdio-common/Makefile (CPPFLAGS): Likewise.
9856 * wcsmbs/Makefile (CPPFLAGS): Likewise.
9857 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
9858 Use $(libio-mtsafe).
9859 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
9861 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
9862 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
9863 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
9864 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
9865 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
9866 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
9867 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
9868 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
9869 (CFLAGS-fread_u_chk.c): Likewise.
9870 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
9871 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
9872 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
9873 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
9874 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
9875 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
9876 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
9877 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
9878 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
9880 * libio/Makefile: Test [$(libc-reentrant) = yes]
9881 instead of [$(filter %REENTRANT, $(defines)) nonempty].
9884 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
9885 * sysdeps/pthread/configure: File removed.
9886 * sysdeps/pthread/Makeconfig: New file.
9887 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
9888 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
9890 2012-08-16 Gary Benson <gbenson@redhat.com>
9892 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
9893 unmapping the first object in a namespace.
9895 2012-08-16 Roland McGrath <roland@hack.frob.com>
9897 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
9898 (__internal_setnetgrent): ... this. Add internal_function to
9899 definition. Add libc_hidden_def.
9900 (setnetgrent): Update caller.
9901 (internal_endnetgrent): Renamed to ...
9902 (__internal_endnetgrent): ... this. Add internal_function to
9903 definition. Add libc_hidden_def.
9904 (endnetgrent): Update caller.
9905 (internal_getnetgrent_r): Renamed to ...
9906 (__internal_getnetgrent_r): ... this. Add internal_function to
9907 definition. Add libc_hidden_def.
9908 (__getnetgrent_r): Update caller.
9909 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
9911 2012-08-16 Joseph Myers <joseph@codesourcery.com>
9913 * stdlib/longlong.h: Update from GCC.
9915 2012-08-16 Roland McGrath <roland@hack.frob.com>
9917 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
9918 on _QL, which is set by umul_ppmm but never used.
9919 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
9920 variables, which are set by GMP macros but never used.
9921 * stdio-common/_itowa.c (_itowa): Likewise.
9922 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
9923 * stdlib/mod_1.c (mpn_mod_1): Likewise.
9925 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
9927 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
9928 struct La_sh_regs is not constant.
9929 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
9930 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
9931 and struct La_sparc64_regs are not constant.
9933 2012-08-16 Joseph Myers <joseph@codesourcery.com>
9935 * sysdeps/unix/sysv/linux/kernel-features.h
9936 (__ASSUME_POSIX_TIMERS): Remove.
9937 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
9938 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9939 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
9940 Make code unconditional.
9941 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9942 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
9943 Make code unconditional.
9944 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9945 * sysdeps/unix/sysv/linux/clock_nanosleep.c
9946 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
9947 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9948 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
9949 Make code unconditional.
9950 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9951 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
9952 (__libc_missing_posix_timers): Remove.
9954 2012-08-15 Roland McGrath <roland@hack.frob.com>
9956 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
9957 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
9959 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
9961 * elf/dl-sym.c: Include <stdlib.h>.
9963 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
9964 constants, which avoids warnings in 32-bit builds.
9966 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
9967 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
9969 * misc/lseek.c: File moved to ...
9970 * io/lseek.c: ... here.
9972 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
9974 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
9975 shifting LEN more than 31 bits at once.
9977 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9980 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
9981 segmentation fault for a case of two empty input strings.
9982 * string/test-strncasecmp.c (check1): Renamed to...
9984 (bz14195): Add new testcase for two empty input strings and N > 0.
9985 (test_main): Call new testcase, adapt for renamed function.
9987 2012-08-15 Andreas Jaeger <aj@suse.de>
9990 * crypt/md5test2.c: New test, based on test supplied by Serge
9991 Belyshev <belyshev@depni.sinp.msu.ru>.
9992 * crypt/Makefile (xtests): Add md5test-giant..
9993 * crypt/Makefile ($(objpfx)md5test-giant): Add.
9995 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
9998 * crypt/md5.c (md5_process_block): Don't assume the buffer
9999 length is less than 2**32.
10000 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
10001 length is less than 2**64.
10003 2012-08-15 Roland McGrath <roland@hack.frob.com>
10005 * string/str-two-way.h: Include <sys/param.h>.
10006 (MAX): Macro removed.
10008 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
10009 Move #define and #undef of memmove to just before and after
10010 including <string.h>.
10012 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
10013 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
10014 and after including <string.h>. Move declarations of
10015 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
10016 to before #include "string/memmove.c".
10018 * include/dirent.h: Declare __getdirentries.
10020 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
10021 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
10023 2012-08-14 Mike Frysinger <vapier@gentoo.org>
10025 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
10026 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
10027 * sysdeps/i386/configure: Regenerated.
10028 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
10029 STABS_CURRENT_FILE, and STABS_FUN.
10030 (END): Remove call to STABS_FUN_END.
10031 (STABS_CURRENT_FILE1): Delete.
10032 (STABS_CURRENT_FILE): Likewise.
10033 (STABS_FUN): Likewise.
10034 (STABS_FUN_END): Likewise.
10035 (STABS_FUN2): Likewise.
10036 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
10037 * sysdeps/x86_64/configure: Regenerated.
10039 2012-08-14 Roland McGrath <roland@hack.frob.com>
10041 * elf/dl-open.c: Include <atomic.h>.
10042 * elf/dl-lookup.c: Likewise.
10044 2012-08-14 Joseph Myers <joseph@codesourcery.com>
10046 * sysdeps/unix/sysv/linux/kernel-features.h
10047 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
10048 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
10050 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
10052 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
10053 condition on __ASSUME_CLONE_THREAD_FLAGS.
10055 2012-08-14 Andreas Jaeger <aj@suse.de>
10057 * sysdeps/i386/fpu/libm-test-ulps: Update.
10059 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
10061 * include/atomic.h (atomic_exchange_and_add): Split into ...
10062 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
10065 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
10067 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10069 2012-08-13 Jeff Law <law@redhat.com>
10071 * manual/stdio.texi (snprintf): Clarify handling of the trailing
10072 null byte in the output string.
10074 2012-08-10 Joseph Myers <joseph@codesourcery.com>
10076 * sysdeps/unix/sysv/linux/kernel-features.h
10077 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
10078 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
10079 (__ASSUME_ARG_MAX_STACK_BASED): Define.
10080 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
10081 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
10082 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
10083 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
10085 2012-08-09 Jeff Law <law@redhat.com>
10088 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
10089 When avoid_arena is set, don't retry in the that arena. Pick the
10090 next one, whatever it might be.
10091 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
10092 (arena_lock): Pass in new parameter to arena_get2.
10093 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
10095 (__libc_malloc): Unify retrying after main arena failure with
10096 __libc_memalign version.
10097 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
10099 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
10102 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
10103 to __redirect_strstr.
10104 (__strstr_sse42): Use typeof __redirect_strstr.
10105 (__strstr_ia32): Likewise.
10106 (__libc_strstr): New prototype.
10107 (strstr): Renamed to ...
10108 (__libc_strstr): This.
10109 (strstr): New strong alias of __libc_strstr.
10110 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
10111 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
10114 (__libc_time): New prototype.
10115 (time_ifunc): Replace time with __libc_time.
10116 (time): New strong alias and hidden definition of __libc_time.
10117 (__GI_time): Remove strong alias.
10118 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
10119 Include <stddef.h>.
10120 (memmove): Redefined to __redirect_memmove.
10121 (__memmove_sse2): Use typeof __redirect_memmove.
10122 (__memmove_ssse3): Likewise.
10123 (__memmove_ssse3_back): Likewise.
10124 (__libc_memmove): New prototype.
10125 (memmove): Renamed to ...
10126 (__libc_memmove): This.
10127 (memmove): New strong alias of __libc_memmove.
10129 2012-08-08 Mark Salter <msalter@redhat.com>
10132 (R_MN10300_TLS_GD): Define.
10133 (R_MN10300_TLS_LD): Likewise.
10134 (R_MN10300_TLS_LDO): Likewise.
10135 (R_MN10300_TLS_GOTIE): Likewise.
10136 (R_MN10300_TLS_IE): Likewise.
10137 (R_MN10300_TLS_LE): Likewise.
10138 (R_MN10300_TLS_DTPMOD): Likewise.
10139 (R_MN10300_TLS_DTPOFF): Likewise.
10140 (R_MN10300_TLS_TPOFF): Likewise.
10141 (R_MN10300_SYM_DIFF): Likewise.
10142 (R_MN10300_ALIGN): Likewise.
10143 (R_MN10300_NUM): Update.
10145 2012-08-08 Joseph Myers <joseph@codesourcery.com>
10147 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
10150 2012-08-08 Roland McGrath <roland@hack.frob.com>
10152 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
10154 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
10155 sysdeps/unix -> sysdeps/posix move.
10156 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
10158 2012-08-07 Allan McRae <allan@archlinux.org>
10161 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
10162 (SUNOS_CPP): Likewise.
10163 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
10165 (open_input): Call CPP using execvp.
10167 2012-08-07 Joseph Myers <joseph@codesourcery.com>
10169 * sysdeps/unix/sysv/linux/kernel-features.h
10170 (__ASSUME_PROT_GROWSUPDOWN): Remove.
10171 (__ASSUME_NO_CLONE_DETACHED): Likewise.
10172 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
10173 (__ASSUME_WAITID_SYSCALL): Likewise.
10174 * sysdeps/unix/sysv/linux/dl-execstack.c
10175 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
10176 code unconditional.
10177 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
10179 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
10180 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
10181 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
10183 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
10185 [__ASSUME_WAITID_SYSCALL]: Likewise.
10186 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
10188 2012-08-07 Roland McGrath <roland@hack.frob.com>
10190 * sysdeps/unix/closedir.c: Renamed to ...
10191 * sysdeps/posix/closedir.c: ... here.
10192 * sysdeps/unix/dirfd.c: Renamed to ...
10193 * sysdeps/posix/dirfd.c: ... here.
10194 * sysdeps/unix/dirstream.h: Renamed to ...
10195 * sysdeps/posix/dirstream.h: ... here.
10196 * sysdeps/unix/fdopendir.c: Renamed to ...
10197 * sysdeps/posix/fdopendir.c: ... here.
10198 * sysdeps/unix/opendir.c: Renamed to ...
10199 * sysdeps/posix/opendir.c: ... here.
10200 * sysdeps/unix/readdir.c: Renamed to ...
10201 * sysdeps/posix/readdir.c: ... here.
10202 * sysdeps/unix/readdir_r.c: Renamed to ...
10203 * sysdeps/posix/readdir_r.c: ... here.
10204 * sysdeps/unix/rewinddir.c: Renamed to ...
10205 * sysdeps/posix/rewinddir.c: ... here.
10206 * sysdeps/unix/seekdir.c: Renamed to ...
10207 * sysdeps/posix/seekdir.c: ... here.
10208 * sysdeps/unix/telldir.c: Renamed to ...
10209 * sysdeps/posix/telldir.c: ... here.
10210 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
10211 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
10212 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
10213 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
10215 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
10216 * bits/fcntl.h: ... here.
10218 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
10220 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
10221 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
10222 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
10223 (struct flock): Move l_start, l_len to the beginning.
10224 Use __pid_t for l_pid.
10225 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
10226 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
10227 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
10228 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
10229 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
10230 [__USE_LARGEFILE64] (struct flock64): New type.
10231 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
10233 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
10234 * bits/dirent.h: ... here.
10236 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
10237 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
10239 2012-08-07 Joseph Myers <joseph@codesourcery.com>
10241 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
10242 Change from 2.6.0 to 2.6.16.
10243 * sysdeps/unix/sysv/linux/configure: Regenerated.
10244 * sysdeps/unix/sysv/linux/kernel-features.h
10245 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
10246 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
10248 (__ASSUME_UTIMES): Likewise.
10249 (__ASSUME_CLONE_STOPPED): Remove.
10250 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
10251 architectures, not kernel version.
10252 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
10253 (__ASSUME_NO_CLONE_DETACHED): Likewise.
10254 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
10255 (__ASSUME_WAITID_SYSCALL): Likewise.
10256 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
10257 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
10258 * README: State 2.6.16 as minimum Linux kernel version. Do not
10259 refer to older versions.
10261 2012-08-06 Roland McGrath <roland@hack.frob.com>
10263 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
10264 Define alphasort64 as an alias.
10265 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
10266 Define versionsort64 as an alias.
10267 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
10268 Define scandir64 as an alias.
10269 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
10270 Define scandirat64 as an alias.
10271 * dirent/alphasort64.c (alphasort64):
10272 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
10273 * dirent/versionsort64.c: Likewise.
10274 * dirent/scandir64.c: Likewise.
10275 * dirent/scandirat64.c: Likewise.
10276 * sysdeps/wordsize-64/alphasort.c: File removed.
10277 * sysdeps/wordsize-64/alphasort64.c: File removed.
10278 * sysdeps/wordsize-64/scandir.c: File removed.
10279 * sysdeps/wordsize-64/scandir64.c: File removed.
10280 * sysdeps/wordsize-64/scandirat.c: File removed.
10281 * sysdeps/wordsize-64/scandirat64.c: File removed.
10282 * sysdeps/wordsize-64/versionsort.c: File removed.
10283 * sysdeps/wordsize-64/versionsort64.c: File removed.
10284 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
10285 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
10286 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
10287 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
10288 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
10289 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
10290 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
10291 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
10293 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
10294 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
10295 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
10296 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10297 [defined __arch64__ || defined __sparcv9]
10298 (__INO_T_MATCHES_INO64_T): New macro.
10299 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
10300 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
10301 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
10302 * sysdeps/unix/sysv/linux/bits/dirent.h
10303 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
10304 (_DIRENT_MATCHES_DIRENT64): New macro.
10306 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
10307 Define lockf64 as an alias.
10308 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
10309 Define fseeko64 as an alias.
10310 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
10311 Define ftello64 as an alias.
10312 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
10313 Define _IO_fgetpos64 and fgetpos64 as aliases.
10314 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
10315 Define _IO_fsetpos64 and fsetpos64 as aliases.
10316 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
10317 Conditionalize body on this.
10318 * libio/fseeko64.c: Likewise.
10319 * libio/ftello64.c: Likewise.
10320 * libio/iofgetpos64.c: Likewise.
10321 * libio/iofsetpos64.c: Likewise.
10322 * sysdeps/wordsize-64/lockf.c: File removed.
10323 * sysdeps/wordsize-64/lockf64.c: File removed.
10324 * sysdeps/wordsize-64/fseeko.c: File removed.
10325 * sysdeps/wordsize-64/fseeko64.c: File removed.
10326 * sysdeps/wordsize-64/ftello.c: File removed.
10327 * sysdeps/wordsize-64/ftello64.c: File removed.
10328 * sysdeps/wordsize-64/iofgetpos.c: File removed.
10329 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
10330 * sysdeps/wordsize-64/iofsetpos.c: File removed.
10331 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
10332 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
10333 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
10334 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
10335 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
10336 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
10337 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
10338 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
10339 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
10340 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
10341 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
10343 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
10344 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
10345 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
10346 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10347 [defined __arch64__ || defined __sparcv9]
10348 (__OFF_T_MATCHES_OFF64_T): New macro.
10349 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
10350 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
10351 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
10352 (__OFF_T_MATCHES_OFF64_T): New macro.
10354 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
10356 * stdlib/secure-getenv.c (__secure_getenv): Replace
10357 GLIBC_2_16 with GLIBC_2_17.
10359 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
10361 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
10362 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
10364 2012-08-03 David S. Miller <davem@davemloft.net>
10366 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10368 2012-08-03 Joseph Myers <joseph@codesourcery.com>
10370 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
10372 (__ASSUME_CORRECT_SI_PID): Likewise.
10373 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
10374 (__ASSUME_TMPFS_NAME): Likewise.
10375 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
10376 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
10377 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
10378 (HAVE_AUX_SECURE): Make definition unconditional.
10379 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
10380 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
10382 2012-08-03 Roland McGrath <roland@hack.frob.com>
10384 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
10385 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
10386 * sysdeps/mach/hurd/eloop-threshold.h: New file.
10387 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
10388 __eloop_threshold instead of SYMLOOP_MAX.
10390 * sysdeps/generic/eloop-threshold.h: New file.
10391 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
10393 * elf/chroot_canon.c (chroot_canon): Likewise.
10395 2012-08-03 Joseph Myers <joseph@codesourcery.com>
10398 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
10399 Change to 2.6.0 everywhere.
10400 * sysdeps/unix/sysv/linux/configure: Regenerated.
10401 * sysdeps/unix/sysv/linux/kernel-features.h
10402 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
10403 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
10405 (__ASSUME_POSIX_TIMERS): Define unconditionally.
10406 (__ASSUME_FUTEX_REQUEUE): Remove.
10407 (__ASSUME_STATFS64): Define unconditionally.
10408 (__ASSUME_AT_SECURE): Likewise.
10409 (__ASSUME_CORRECT_SI_PID): Likewise.
10410 (__ASSUME_TGKILL): Define without depending on kernel version for
10412 (__ASSUME_UTIMES): Likewise.
10413 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
10415 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
10416 (__ASSUME_TMPFS_NAME): Likewise.
10417 * README: Update reference to Linux kernel versions.
10419 2012-08-02 Marek Polacek <polacek@redhat.com>
10422 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
10423 libc_cv_asm_type_prefix with %.
10424 * configure: Regenerated.
10425 * include/libc-symbols.h: Remove comment about
10426 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
10427 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
10428 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
10429 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
10430 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
10431 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
10432 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
10433 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
10434 * elf/tst-unique2mod1.c: Likewise.
10435 * elf/tst-unique1mod2.c: Likewise.
10436 * elf/tst-unique1mod1.c: Likewise.
10437 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
10438 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
10439 Replace ASM_TYPE_DIRECTIVE with .type.
10440 * sysdeps/s390/s390-64/sysdep.h: Likewise.
10441 * sysdeps/i386/sysdep.h: Likewise.
10442 * sysdeps/x86_64/sysdep.h: Likewise.
10443 * sysdeps/sh/sysdep.h: Likewise.
10444 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
10445 Do not define ASM_TYPE_DIRECTIVE.
10446 * sysdeps/powerpc/sysdep.h: Likewise.
10447 * sysdeps/powerpc/powerpc32/sysdep.h:
10448 Replace ASM_TYPE_DIRECTIVE with .type.
10449 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
10450 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
10451 * sysdeps/i386/fpu/e_powf.S: Likewise.
10452 * sysdeps/i386/fpu/e_expl.S: Likewise.
10453 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
10454 * sysdeps/i386/fpu/e_acosh.S: Likewise.
10455 * sysdeps/i386/fpu/e_pow.S: Likewise.
10456 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
10457 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
10458 * sysdeps/i386/fpu/s_expm1.S: Likewise.
10459 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
10460 * sysdeps/i386/fpu/e_log2.S: Likewise.
10461 * sysdeps/i386/fpu/e_log2l.S: Likewise.
10462 * sysdeps/i386/fpu/e_scalb.S: Likewise.
10463 * sysdeps/i386/fpu/e_powl.S: Likewise.
10464 * sysdeps/i386/fpu/e_log10f.S: Likewise.
10465 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
10466 * sysdeps/i386/fpu/e_logl.S: Likewise.
10467 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
10468 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
10469 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
10470 * sysdeps/i386/fpu/e_log2f.S: Likewise.
10471 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
10472 * sysdeps/i386/fpu/e_log.S: Likewise.
10473 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
10474 * sysdeps/i386/fpu/e_logf.S: Likewise.
10475 * sysdeps/i386/fpu/e_log10l.S: Likewise.
10476 * sysdeps/i386/fpu/e_atanh.S: Likewise.
10477 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
10478 * sysdeps/i386/fpu/e_log10.S: Likewise.
10479 * sysdeps/i386/fpu/s_frexp.S: Likewise.
10480 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
10481 * sysdeps/i386/fpu/s_asinh.S: Likewise.
10482 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
10483 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
10484 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
10485 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
10486 * sysdeps/i386/i686/strtok.S: Likewise.
10487 * sysdeps/i386/i386-mcount.S: Likewise.
10488 * sysdeps/i386/strtok.S: Likewise.
10489 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
10490 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
10491 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
10492 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
10493 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
10494 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
10495 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
10496 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
10497 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
10498 * sysdeps/x86_64/_mcount.S: Likewise.
10499 * sysdeps/x86_64/strtok.S: Likewise.
10500 * sysdeps/sh/_mcount.S: Likewise.
10502 2012-08-01 Roland McGrath <roland@hack.frob.com>
10504 * libio/iofopen.c: Include <fcntl.h>.
10505 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
10506 (_IO_fopen64, fopen64): Define as aliases.
10507 * libio/iofopen64.c: Include <fcntl.h>.
10508 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
10509 Conditionalize body on this.
10510 * sysdeps/wordsize-64/iofopen.c: File removed.
10511 * sysdeps/wordsize-64/iofopen64.c: File removed.
10513 2012-08-01 Marek Polacek <polacek@redhat.com>
10515 * libc/Makeconfig: Use elf in place of binfmt-subdir.
10516 Use dlfcn directly instead of a variable.
10517 (binfmt-subdir): Do not define.
10520 2012-08-01 Joseph Myers <joseph@codesourcery.com>
10522 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
10523 Remove all definitions.
10524 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
10525 <kernel-features.h>.
10526 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
10527 (miss_F_GETOWN_EX): Remove all definitions.
10528 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
10530 [!__ASSUME_FCNTL64]: Remove conditional code.
10531 [__ASSUME_FCNTL64]: Make code unconditional.
10532 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
10533 <kernel-features.h>.
10534 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
10535 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
10536 (lockf64) [__NR_fcntl64]: Make code unconditional.
10537 (lockf64) [__ASSUME_FCNTL64]: Likewise.
10539 * sysdeps/unix/sysv/linux/kernel-features.h
10540 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
10541 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
10542 Make code unconditional.
10543 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
10544 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
10545 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
10546 [__NR_vfork]: Make code unconditional.
10547 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
10548 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
10549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
10550 [__NR_vfork]: Make code unconditional.
10551 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
10552 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
10554 2012-08-01 Roland McGrath <roland@hack.frob.com>
10556 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
10557 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
10559 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
10560 Define mkstemp64 as an alias.
10561 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
10562 Define mkstemps64 as an alias.
10563 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
10564 Define mkostemp64 as an alias.
10565 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
10566 Define mkostemps64 as an alias.
10567 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
10568 Conditionalize body on this.
10569 * misc/mkostemp64.c: Likewise.
10570 * misc/mkostemps64.c: Likewise.
10571 * misc/mkstemps64.c: Likewise.
10572 * sysdeps/wordsize-64/mkstemp64.c: File removed.
10573 * sysdeps/wordsize-64/mkostemp64.c: File removed.
10574 * sysdeps/wordsize-64/mkostemp.c: File removed.
10575 * sysdeps/wordsize-64/mkstemp.c: File removed.
10576 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
10577 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
10578 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
10579 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
10582 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
10583 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
10584 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
10585 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
10587 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
10588 compat_symbol macros from <shlib-compat.h> rather than the underlying
10589 default_symbol_version and symbol_version macros, so that DEFAULT
10590 lines in shlib-versions are respected.
10591 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
10593 2012-08-01 Florian Weimer <fweimer@redhat.com>
10595 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
10596 Declare with warn_unused_result.
10597 (setgid, setregid, setegid, setresgid): Likewise.
10598 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
10600 * WUR-REPORT: Remove set*id functions.
10602 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
10604 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
10606 2012-07-31 Roland McGrath <roland@hack.frob.com>
10608 * include/sys/socket.h (__libc_accept, __libc_accept4):
10609 Add attribute_hidden.
10610 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
10612 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
10614 * inet/getnetgrent_r.c (setup): Likewise.
10616 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
10618 2012-07-31 David S. Miller <davem@davemloft.net>
10620 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10622 2012-07-31 Joseph Myers <joseph@codesourcery.com>
10625 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
10626 value between 1.0 and 2.0 and smaller part has absolute value less
10628 * math/s_clog10.c (__clog10): Likewise.
10629 * math/s_clog10f.c (__clog10f): Likewise.
10630 * math/s_clog10l.c (__clog10l): Likewise.
10631 * math/s_clogf.c (__clogf): Likewise.
10632 * math/s_clogl.c (__clogl): Likewise.
10633 * math/libm-test.inc (clog_test): Add more tests.
10634 (clog10_test): Likewise.
10635 * sysdeps/i386/fpu/libm-test-ulps: Update.
10636 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10638 2012-07-31 Florian Weimer <fweimer@redhat.com>
10640 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
10641 Exit with zero in case no suitable GID is found, and write a
10642 message to standard error.
10644 2012-07-30 Roland McGrath <roland@hack.frob.com>
10646 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
10648 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
10649 (MAXPATHLEN): Removed.
10650 (NOGROUP, NODEV): New macros.
10651 (setbit, clrbit, isset, isclr): New macros.
10652 (howmany, roundup, powerof2): New macros.
10653 (DEV_BSIZE): New macro.
10655 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
10656 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
10658 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
10659 definition on [!__NO_LONG_DOUBLE_MATH].
10661 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
10662 PTR_MANGLE and PTR_DEMANGLE.
10664 * socket/accept4.c (accept4): Rename to __libc_accept4.
10665 Define accept4 as a weak alias.
10667 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
10668 on [_DIRENT_HAVE_D_TYPE].
10669 * io/ftw.c (ftw_dir): Likewise.
10671 * io/xmknod.c (__xmknod): Don't check PATH for being null.
10673 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
10675 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
10676 Use the BSD numbers rather than the arbitrary ones we had.
10677 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
10678 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
10679 (SIGXCPU, SIGXFSZ): New macros.
10682 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
10683 initializer on [_LIBC_REENTRANT].
10685 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
10686 definitions inside [_POSIX_MAPPED_FILES].
10688 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
10690 * dirent/opendir.c: Include <fcntl.h>.
10692 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
10693 (__libc_getspecific): Likewise.
10694 (__libc_key_create): Likewise.
10696 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
10697 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
10698 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
10699 (tmpfile64): Define as alias.
10700 * sysdeps/wordsize-64/tmpfile.c: File removed.
10701 * sysdeps/wordsize-64/tmpfile64.c: File removed.
10702 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
10703 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
10705 * stdio-common/vfscanf.c: Include <stdbool.h>.
10706 * nss/makedb.c: Likewise.
10707 * stdio-common/_i18n_number.h: Likewise.
10708 * argp/argp-help.c: Likewise.
10709 * posix/wordexp.c: Likewise.
10710 * sysdeps/posix/spawni.c: Likewise.
10711 * nss/nss_files/files-initgroups.c: Likewise.
10712 * stdio-common/reg-modifier.c: Include <stdlib.h>.
10713 * nss/nss_files/files-initgroups.c: Likewise.
10714 * nss/nss_db/db-netgrp.c: Likewise.
10715 * nss/nss_db/db-initgroups.c: Likewise.
10716 * io/fchmodat.c: Include <sys/stat.h>.
10718 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
10719 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
10721 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
10724 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
10725 Add multiple inclusion protection.
10727 2012-07-27 David S. Miller <davem@davemloft.net>
10729 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10731 2012-07-27 Gary Benson <gbenson@redhat.com>
10734 * elf/rtld.c: Include <stap-probe.h>.
10735 (dl_main): Added static probes "init_start" and "init_complete".
10736 * elf/dl-load.c: Include <stap-probe.h>.
10737 (lose): Take new parameter "nsid".
10738 Added static probe "map_failed".
10739 (_dl_map_object_from_fd): Pass namespace id to lose.
10740 Added static probe "map_start".
10741 (open_verify): Pass namespace id to lose.
10742 * elf/dl-open.c: Include <stap-probe.h>.
10743 (dl_open_worker) Added static probes "map_complete", "reloc_start"
10744 and "reloc_complete".
10745 * elf/dl-close.c: Include <stap-probe.h>.
10746 (_dl_close_worker): Added static probes "unmap_start" and
10748 * elf/rtld-debugger-interface.txt: New file documenting the above.
10750 2012-07-26 Roland McGrath <roland@hack.frob.com>
10752 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
10753 rather than a string variable.
10754 * sunrpc/rpc_main.c (h_output): Likewise.
10755 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
10757 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
10759 * inet/check_native.c: New file.
10761 2012-07-26 Joseph Myers <joseph@codesourcery.com>
10764 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
10765 if larger part has absolute value 1.0.
10766 * math/s_clog10.c (__clog10): Likewise.
10767 * math/s_clog10f.c (__clog10f): Likewise.
10768 * math/s_clog10l.c (__clog10l): Likewise.
10769 * math/s_clogf.c (__clogf): Likewise.
10770 * math/s_clogl.c (__clogl): Likewise.
10771 * math/libm-test.inc (clog_test): Add more tests.
10772 (clog10_test): Likewise.
10773 * sysdeps/i386/fpu/libm-test-ulps: Update.
10774 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10776 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
10777 (pltexit): Likewise.
10778 (La_regs): Likewise.
10779 (La_retval): Likewise.
10780 (int_retval): Likewise.
10781 Update #error for removed macros to refer only to definitions in
10783 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
10785 (pltexit): Likewise.
10786 (La_regs): Likewise.
10787 (La_retval): Likewise.
10788 (int_retval): Likewise.
10789 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
10791 (pltexit): Likewise.
10792 (La_regs): Likewise.
10793 (La_retval): Likewise.
10794 (int_retval): Likewise.
10795 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
10797 (pltexit): Likewise.
10798 (La_regs): Likewise.
10799 (La_retval): Likewise.
10800 (int_retval): Likewise.
10801 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
10803 (pltexit): Likewise.
10804 (La_regs): Likewise.
10805 (La_retval): Likewise.
10806 (int_retval): Likewise.
10807 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
10809 (pltexit): Likewise.
10810 (La_regs): Likewise.
10811 (La_retval): Likewise.
10812 (int_retval): Likewise.
10813 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
10815 (pltexit): Likewise.
10816 (La_regs): Likewise.
10817 (La_retval): Likewise.
10818 (int_retval): Likewise.
10819 * sysdeps/generic/tst-audit.h: Update comment to refer only to
10820 macro definitions in tst-audit.h.
10821 * sysdeps/i386/tst-audit.h: New file.
10822 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
10823 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
10824 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
10825 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
10826 * sysdeps/sh/tst-audit.h: Likewise.
10827 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
10828 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
10829 * sysdeps/x86_64/tst-audit.h: Likewise.
10831 2012-07-26 Andreas Jaeger <aj@suse.de>
10833 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
10836 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
10837 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
10838 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
10840 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
10841 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
10842 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
10844 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
10847 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
10849 (si_call_addr, si_syscall, si_arch): Define new macro.
10850 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
10852 (si_call_addr, si_syscall, si_arch): Define new marcro.
10853 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
10855 (si_call_addr, si_syscall, si_arch): Define new macro.
10856 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
10858 (si_call_addr, si_syscall, si_arch): Define new macro.
10860 2012-07-25 Joseph Myers <joseph@codesourcery.com>
10863 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
10864 Change to 2.4.21 where previously 2.4.1.
10865 * sysdeps/unix/sysv/linux/configure: Regenerated.
10866 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
10867 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
10868 Linux kernel version.
10869 (__ASSUME_STD_AUXV): Remove.
10870 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
10872 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
10873 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
10874 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
10875 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
10876 (__ASSUME_NETLINK_SUPPORT): Likewise.
10877 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
10878 (__no_netlink_support): Remove conditional definition.
10879 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
10881 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
10882 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
10883 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
10884 (if_nameindex_ioctl): Remove.
10885 (if_nameindex_netlink): Do not handle __no_netlink_support.
10886 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
10888 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
10889 Remove conditional code.
10890 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
10892 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
10894 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
10895 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
10896 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
10898 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
10899 [!__ASSUME_STD_AUXV]: Remove conditional code.
10900 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
10901 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
10902 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
10903 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
10904 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
10905 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
10907 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
10908 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
10909 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
10910 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
10912 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
10913 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
10914 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
10916 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
10917 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
10919 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
10920 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
10921 code unconditional.
10922 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10924 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
10926 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10928 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
10929 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
10931 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10933 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
10934 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
10935 code unconditional.
10936 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10938 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
10940 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10942 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
10943 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
10944 code unconditional.
10945 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10947 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
10949 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10952 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
10954 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
10955 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
10956 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
10957 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
10958 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
10959 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
10960 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
10961 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
10962 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
10963 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
10964 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
10965 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
10966 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
10967 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
10968 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
10969 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
10970 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
10971 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
10972 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
10973 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
10974 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
10975 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
10976 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
10978 2012-07-25 Florian Weimer <fweimer@redhat.com>
10980 * Versions.def: Add GLIBC_2.17.
10981 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
10982 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
10983 Introduce __libc_secure_getenv.
10984 * stdlib/Versions (2.17): Add secure_getenv
10985 (GLIBC_PRIVATE): Add __libc_secure_getenv.
10986 * stdlib/secure-getenv.c: Rename __secure_getenv to
10987 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
10988 symbol __secure_getenv for GLIBC_2.0.
10989 * stdlib/tst-secure-getenv.c: New.
10990 * stdlib/Makefile (tests): Add testcase.
10991 * manual/startup.texi (Environment Access): Document
10993 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
10994 __libc_secure_getenv.
10995 * inet/ruserpass.c (ruserpass): Likewise.
10996 * malloc/mtrace.c (mtrace): Likewise.
10997 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
10998 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
10999 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
11000 * sysdeps/posix/tempname.c: Likewise. Evaluate
11001 HAVE_SECURE_GETENV.
11002 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
11003 __secure_getenv to __libc_secure_getenv.
11004 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
11005 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11007 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11009 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
11010 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
11011 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
11012 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
11013 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
11014 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
11015 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
11017 2012-07-25 Joseph Myers <joseph@codesourcery.com>
11019 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
11020 (struct La_i86_retval): Likewise.
11021 (struct La_x86_64_regs): Likewise.
11022 (struct La_x86_64_retval): Likewise.
11023 (struct La_x32_regs): Likewise.
11024 (struct La_x32_retval): Likewise.
11025 (struct La_ppc32_regs): Likewise.
11026 (struct La_ppc32_retval): Likewise.
11027 (struct La_ppc64_regs): Likewise.
11028 (struct La_ppc64_retval): Likewise.
11029 (struct La_sh_regs): Likewise.
11030 (struct La_sh_retval): Likewise.
11031 (struct La_s390_32_regs): Likewise.
11032 (struct La_s390_32_retval): Likewise.
11033 (struct La_s390_64_regs): Likewise.
11034 (struct La_s390_64_retval): Likewise.
11035 (struct La_sparc32_regs): Likewise.
11036 (struct La_sparc32_retval): Likewise.
11037 (struct La_sparc64_regs): Likewise.
11038 (struct La_sparc64_retval): Likewise.
11039 (struct audit_ifaces): Remove architecture-specific pltenter and
11041 * sysdeps/i386/ldsodefs.h: New file.
11042 * sysdeps/powerpc/ldsodefs.h: Likewise.
11043 * sysdeps/s390/ldsodefs.h: Likewise.
11044 * sysdeps/sh/ldsodefs.h: Likewise.
11045 * sysdeps/sparc/ldsodefs.h: Likewise.
11046 * sysdeps/x86_64/ldsodefs.h: Likewise.
11048 2012-07-25 Marek Polacek <polacek@redhat.com>
11051 * math/libm-test.inc (yn_test): Add another test.
11052 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
11053 to ERANGE when the result is +-Inf.
11054 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
11055 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
11056 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
11057 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
11059 2012-07-24 Joseph Myers <joseph@codesourcery.com>
11061 * conform/data/time.h-data (NULL): Use macro-constant. Require
11063 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
11065 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
11067 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
11069 * configure.in <sysdeps resolving>: Correct printing
11071 * configure: Regenerate.
11073 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
11075 * math/w_ilogb.c: Include <limits.h>.
11076 * math/w_ilogbl.c: Likewise.
11078 2012-07-20 Joseph Myers <joseph@codesourcery.com>
11080 * manual/lang.texi (__va_copy): Document primarily as ISO C99
11081 va_copy. Document allowing for unavailable va_copy only as
11082 pre-C99 compatibility.
11083 * manual/string.texi (Copying and Concatenation): Use va_copy
11084 instead of __va_copy in concat example.
11086 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
11088 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
11089 (__sendto): Use create_address_port. Initialize APORT and deallocate
11092 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
11093 with O_NOLINK passed to __file_name_lookup.
11095 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
11096 with O_NOLINK passed to __file_name_lookup.
11098 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
11099 negative N or less than NGIDS.
11101 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
11102 type to string_t. Set ERANGE as errno and return it if NAME is not big
11103 enough. Use memcpy instead of strncpy.
11105 2012-07-20 Joseph Myers <joseph@codesourcery.com>
11107 * elf/Makefile (check-data): Remove.
11108 (localplt.data): New vpath directive.
11109 ($(objpfx)check-localplt.out): Use localplt.data from vpath
11110 instead of $(check-data).
11111 * scripts/data/localplt-generic.data: Move to ...
11112 * sysdeps/generic/localplt.data: ... here.
11113 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
11114 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
11115 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
11116 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
11118 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
11119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
11121 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
11122 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
11124 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
11125 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
11127 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
11128 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
11130 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
11131 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
11134 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11136 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
11137 PPC32 and PPC64 files.
11138 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
11139 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
11141 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11143 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
11144 __makecontext_ret to ...
11145 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
11146 ... here and call exit if uc_link is NULL. New file.
11147 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
11148 __makecontext_ret.S.
11149 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
11150 __makecontext_ret to ...
11151 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
11152 ... here and call exit if uc_link is NULL. New file.
11153 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
11154 __makecontext_ret.S.
11156 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11158 * elf/elf.h (R_390_IRELATIVE): New definition.
11159 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
11160 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
11161 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
11162 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
11163 (elf_machine_lazy_rel): Likewise.
11164 * sysdeps/s390/dl-irel.h: New file.
11165 * sysdeps/s390/s390-64/memcpy.S: New asm code.
11166 * sysdeps/s390/s390-64/memset.S: New asm code.
11167 * sysdeps/s390/s390-64/memcmp.S: New asm code.
11168 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
11169 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
11170 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
11171 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
11172 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
11173 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
11174 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
11175 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
11176 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
11177 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
11178 * sysdeps/s390/s390-32/memcpy.S: New asm code.
11179 * sysdeps/s390/s390-32/memset.S: New asm code.
11180 * sysdeps/s390/s390-32/memcmp.S: New asm code.
11182 2012-07-17 Marek Polacek <polacek@redhat.com>
11185 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
11186 * sysdeps/s390/s390-64/configure.in: Likewise.
11187 * sysdeps/sparc/configure.in: Likewise.
11188 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
11189 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
11190 * sysdeps/i386/configure.in: Likewise.
11191 * sysdeps/x86_64/configure.in: Likewise.
11192 * sysdeps/sh/configure.in: Likewise.
11193 * sysdeps/s390/s390-32/configure: Regenerated.
11194 * sysdeps/s390/s390-64/configure: Likewise.
11195 * sysdeps/x86_64/configure: Likewise.
11196 * sysdeps/sh/configure: Likewise.
11197 * sysdeps/powerpc/powerpc64/configure: Likewise.
11198 * sysdeps/powerpc/powerpc32/configure: Likewise.
11199 * sysdeps/sparc/configure: Likwise.
11200 * sysdeps/i386/configure: Likewise.
11202 * elf/dl-open.c: Comment fixes.
11204 2012-07-17 Joseph Myers <joseph@codesourcery.com>
11206 * Makefile [CXX] (check-data): Remove.
11207 [CXX] (c++-types.data): New vpath directive.
11208 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
11209 vpath. Do not allow for C++ type data being missing.
11210 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
11211 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
11212 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
11213 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
11214 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
11215 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
11216 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
11217 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
11219 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
11220 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
11222 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
11223 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
11225 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
11226 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
11228 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
11229 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
11231 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
11232 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
11234 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
11235 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
11237 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
11238 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
11240 * elf/tls-macros.h (TLS_LE): Move architecture-specific
11241 definitions to architecture-specific files.
11242 (TLS_IE): Likewise.
11243 (TLS_LD): Likewise.
11244 (TLS_GD): Likewise.
11245 * sysdeps/i386/tls-macros.h: New file.
11246 * sysdeps/powerpc/tls-macros.h: Likewise.
11247 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
11248 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
11249 * sysdeps/sh/tls-macros.h: Likewise.
11250 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
11251 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
11252 * sysdeps/x86_64/tls-macros.h: Likewise.
11254 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
11256 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
11257 zero value for regular exit case.
11259 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
11260 (__start_context): Preserve zero value for regular exit case.
11262 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
11263 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11265 * manual/setjmp.texi (setcontext): Clarify normal process
11266 termination when uc_link is the null pointer.
11267 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
11270 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
11272 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
11273 preprocessor. Test for each exception mask separately.
11275 2012-07-16 Andreas Jaeger <aj@suse.de>
11277 * po/ru.po: Update from translation team.
11279 2012-07-15 Joseph Myers <joseph@codesourcery.com>
11281 * conform/data/string.h-data (NULL): Use macro-constant. Require
11283 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
11284 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
11285 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
11286 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
11287 [ISO || ISO99 || ISO11] (*_t): Do not allow.
11289 2012-07-13 Andreas Jaeger <aj@suse.de>
11291 * po/fr.po: Update from translation team.
11293 2012-07-12 Marek Polacek <polacek@redhat.com>
11296 * math/libm-test.inc (yn_test): Add test for BZ #14173.
11297 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
11300 2012-07-12 Joseph Myers <joseph@codesourcery.com>
11303 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
11304 Change to 2.4.1 where previously 2.4.0.
11305 * sysdeps/unix/sysv/linux/configure: Regenerated.
11306 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
11307 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
11309 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
11310 (__ASSUME_AT_CLKTCK): Remove.
11311 (__ASSUME_AT_PAGESIZE): Likewise.
11312 (__ASSUME_AT_XID): Likewise.
11313 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
11314 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
11315 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
11317 (HAVE_AUX_PAGESIZE): Likewise.
11318 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
11319 [__ASSUME_AT_CLKTCK]: Make code unconditional.
11320 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
11322 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
11325 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
11326 the temporary buffer used to invoke __gethostbyname2_r,
11327 __gethostbyaddr_r and gethostbyname4_r to make room for struct
11328 host_data / struct gaih_addrtuple.
11329 * resolv/nss_dns/dns-host.c (global scope): Move definition of
11330 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
11331 header file nss/nsswitch.h.
11332 * nss/nsswitch.h (global scope): Add definition of implementation
11333 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
11334 resolv/nss_dns/dns-host.c).
11336 2012-07-11 Andreas Jaeger <aj@suse.de>
11338 * po/fr.po: Update from translation team.
11340 * po/sv.po: Update from translation team
11341 * po/fr.po: Another update from translation team.
11343 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11345 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
11346 for subnormals or multiply small sinh result by itself.
11347 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
11348 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11350 2012-07-11 David S. Miller <davem@davemloft.net>
11352 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11354 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
11357 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
11358 (INTERNAL_MARK): Shift it here.
11360 2012-07-10 Marek Polacek <polacek@redhat.com>
11363 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
11364 libc_cv_asm_global_directive with .globl.
11365 * configure: Regenerated.
11366 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
11368 * sysdeps/i386/configure: Regenerated.
11369 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
11371 * sysdeps/x86_64/configure: Regenerated.
11372 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
11373 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
11374 * elf/tst-unique2mod2.c: Likewise.
11375 * elf/tst-unique2mod1.c: Likewise.
11376 * elf/tst-unique1mod2.c: Likewise.
11377 * elf/tst-unique1mod1.c: Likewise.
11378 * sysdeps/s390/s390-32/sysdep.h: Likewise.
11379 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
11380 * sysdeps/s390/s390-64/sysdep.h: Likewise.
11381 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
11382 * sysdeps/mach/sysdep.h: Likewise.
11383 * sysdeps/i386/sysdep.h: Likewise.
11384 * sysdeps/i386/i386-mcount.S: Likewise.
11385 * sysdeps/x86_64/_mcount.S: Likewise.
11386 * sysdeps/x86_64/sysdep.h: Likewise.
11387 * sysdeps/sh/_mcount.S: Likewise.
11388 * sysdeps/sh/sysdep.h: Likewise.
11389 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
11390 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
11391 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
11392 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
11393 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
11394 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
11395 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
11396 * locale/localeinfo.h: Likewise.
11397 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
11398 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
11400 2012-07-09 Roland McGrath <roland@hack.frob.com>
11403 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
11405 * manual/message.texi (The Uniforum approach): Likewise.
11406 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
11407 (glibc iconv Implementation): Likewise.
11409 2012-07-09 Joseph Myers <joseph@codesourcery.com>
11412 * math/s_clog.c (__clog): Avoid scaling a value down where that
11413 could result in underflow.
11414 * math/s_clog10.c (__clog10): Likewise.
11415 * math/s_clog10f.c (__clog10f): Likewise.
11416 * math/s_clog10l.c (__clog10l): Likewise.
11417 * math/s_clogf.c (__clogf): Likewise.
11418 * math/s_clogl.c (__clogl): Likewise.
11419 * math/libm-test.inc (clog_test): Add more tests.
11420 (clog10_test): Likewise.
11421 * sysdeps/i386/fpu/libm-test-ulps: Update.
11422 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11424 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
11427 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
11428 by 7 not 8 to examine high bit of fractional part.
11431 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
11432 for call to __mcount_internal.
11433 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
11434 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
11435 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
11437 2012-07-06 Joseph Myers <joseph@codesourcery.com>
11440 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
11441 approximation for values within 0x1p-13f of an odd multiple of
11443 * math/libm-test.inc (tan_test): Do not allow spurious underflow
11444 exception. Add more tests.
11445 * sysdeps/i386/fpu/libm-test-ulps: Update.
11448 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
11449 inputs and return -1 for them. Do not check for +Inf in case not
11450 reachable for +Inf.
11451 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
11452 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
11453 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
11454 and return -1 for them. Do not check for +Inf in case not
11455 reachable for +Inf.
11456 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
11458 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
11459 and return -1 for them. Do not check for +Inf in case not
11460 reachable for +Inf.
11461 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
11462 spurious underflow.
11463 * sysdeps/i386/fpu/libm-test-ulps: Update.
11464 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11466 2012-07-06 Mike Frysinger <vapier@gentoo.org>
11468 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
11470 2012-07-05 Joseph Myers <joseph@codesourcery.com>
11474 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
11475 could result in spurious underflow. Scale down values above
11476 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
11477 * math/s_csqrtf.c (__csqrtf): Likewise.
11478 * math/s_csqrtl.c (__csqrtl): Likewise.
11479 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
11480 spurious underflow.
11481 * sysdeps/i386/fpu/libm-test-ulps: Update.
11482 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11484 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
11486 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
11488 * catgets/xopen-msg.awk: New file.
11489 * catgets/xopen-msg.sed: Removed.
11491 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
11493 * intl/po2test.awk: New file.
11494 * intl/po2test.sed: Removed.
11496 2012-07-04 Joseph Myers <joseph@codesourcery.com>
11499 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
11500 or multiply small sinh result by itself.
11501 * math/s_ctanf.c (__ctanf): Likewise.
11502 * math/s_ctanh.c (__ctanh): Likewise.
11503 * math/s_ctanhf.c (__ctanhf): Likewise.
11504 * math/s_ctanhl.c (__ctanhl): Likewise.
11505 * math/s_ctanl.c (__ctanl): Likewise.
11506 * math/libm-test.inc (ctan_test_tonearest): New function.
11507 (ctan_test_towardzero): Likewise.
11508 (ctan_test_downward): Likewise.
11509 (ctan_test_upward): Likewise.
11510 (ctanh_test_tonearest): Likewise.
11511 (ctanh_test_towardzero): Likewise.
11512 (ctanh_test_downward): Likewise.
11513 (ctanh_test_upward): Likewise.
11514 (main): Call these new functions.
11515 * sysdeps/i386/fpu/libm-test-ulps: Update.
11516 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11518 2012-07-03 Mike Frysinger <vapier@gentoo.org>
11520 * .gitignore: Delete /ports entry.
11522 2012-07-03 Andreas Jaeger <aj@suse.de>
11524 * po/bg.po: Update from translation team.
11525 * po/cs.po: Likewise.
11526 * po/de.po: Likewise.
11527 * po/hr.po: Likewise.
11528 * po/nl.pl: Likewise.
11529 * po/pl.po: Likewise.
11530 * po/vi.po: Likewise.
11532 2012-07-03 Joseph Myers <joseph@codesourcery.com>
11534 * Makeconfig [!+link] (+link-before-libc): New variable.
11535 [!+link] (+link-after-libc): Likewise.
11536 [!+link] (+link-tests): Likewise.
11537 [!+link] (+link): Define in terms of $(+link-before-libc) and
11538 $(+link-after-libc).
11539 [!+link-static] (+link-static-before-libc): New variable.
11540 [!+link-static] (+link-static-after-libc): Likewise.
11541 [!+link-static] (+link-static-tests): Likewise.
11542 [!+link-static] (+link-static): Define in terms of
11543 $(+link-static-before-libc) and $(+link-static-after-libc).
11544 [build-shared] (link-libc-before-gnulib): New variable.
11545 [build-shared] (link-libc-tests): Likewise.
11546 [build-shared] (link-libc): Define in terms of
11547 $(link-libc-before-gnulib).
11548 [!build-shared] (link-libc-tests): New variable.
11549 (link-libc-static-tests): New variable.
11550 [!gnulib] (gnulib-arch): New variable.
11551 [!gnulib] (gnulib-tests): Likewise.
11552 [!gnulib] (static-gnulib-arch): Likewise.
11553 [!gnulib] (static-gnulib-tests): Likewise.
11554 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
11555 Define with "=" instead of ":=".
11556 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
11557 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
11558 * Rules (binaries-all-notests): New variable.
11559 (binaries-all-tests): Likewise.
11560 (binaries-static-notests): Likewise.
11561 (binaries-static-tests): Likewise.
11562 (binaries-all): Define using $(binaries-all-notests) and
11563 $(binaries-all-tests).
11564 (binaries-static): Define using $(binaries-static-notests) and
11565 $(binaries-static-tests).
11566 (binaries-shared-tests): New variable.
11567 (binaries-shared-notests): Likewise.
11568 (binaries-shared): Remove variable.
11569 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
11570 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
11571 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
11572 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
11573 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
11574 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
11575 * elf/Makefile (sln-modules): New variable.
11576 (extra-objs): Add $(sln-modules:=.o).
11577 (ldconfig-modules): Add static-stubs.
11578 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
11579 * elf/static-stubs.c: New file.
11582 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
11583 by 7 not 8 to examine high bit of fractional part. Use volatile
11584 variables when splitting into final array of floats if
11585 __FLT_EVAL_METHOD__ != 0.
11586 * math/libm-test.inc (cos_test): Add another test.
11587 (sin_test): Likewise.
11588 * sysdeps/i386/fpu/libm-test-ulps: Update.
11591 * math/libm-test.inc (cosh_test): Add more tests.
11593 * version.h (RELEASE): Set to "development".
11594 (VERSION): Set to "2.16.90".
11596 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
11598 * NEWS: Update copyright. Remove last-updated date.
11599 Mention math library bug fixes and timezone data changes.
11600 * README: Mention GNU/Hurd, x32, and HPPA support status.
11602 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
11604 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
11606 2012-06-27 Andreas Jaeger <aj@suse.de>
11608 * manual/contrib.texi (Contributors): Add Samuel Thibault.
11610 2012-06-25 Andreas Jaeger <aj@suse.de>
11612 * sysdeps/s390/fpu/libm-test-ulps: Update.
11614 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
11615 Thomas Schwinge <thomas@codesourcery.com>
11617 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
11618 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
11619 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
11622 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
11624 * sysdeps/mach/start.c: Remove file.
11625 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
11626 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
11627 * sysdeps/sh/init-first.c: Likewise.
11629 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
11630 registers for frame unwinding purposes, add CFI directives.
11631 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
11632 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
11633 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
11636 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
11637 __fortify_fail returning.
11638 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
11640 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
11641 sysdeps/sh/____longjmp_chk.S.
11642 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
11643 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
11644 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
11645 (gen-as-const-headers): Append sigaltstack-offsets.sym.
11647 * sysdeps/sh/abort-instr.h: New file.
11648 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
11649 process in case exit returns.
11651 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
11652 initialize the GOT register before use.
11654 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
11655 calculation of ARGC > 4.
11657 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
11658 meaningful names to some local labels.
11660 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11661 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11663 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
11664 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
11665 (__arch_compare_and_exchange_val_16_acq): Likewise.
11666 (__arch_compare_and_exchange_val_32_acq): Likewise.
11667 (atomic_exchange_and_add): Fix gUSA sequence.
11668 (atomic_add): Likewise.
11669 (atomic_add_negative): Likewise.
11670 (atomic_add_zero): Likewise.
11671 (atomic_bit_test_set): Likewise.
11673 2012-06-22 Andreas Schwab <schwab@redhat.com>
11676 * include/link.h (struct link_map): Add l_free_initfini.
11677 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
11679 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
11680 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
11681 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
11684 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
11686 * configure.in: Use AC_LANG_SOURCE.
11687 * configure: Regenerate.
11689 2012-06-22 Roland McGrath <roland@hack.frob.com>
11691 * configure.in (libc_cv_localstatedir): New substituted variable.
11692 * configure: Regenerated.
11693 * config.make.in (localstatedir): New variable, substituted from
11694 libc_cv_localstatedir.
11695 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
11696 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
11697 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
11698 * sysdeps/gnu/configure: Regenerated.
11700 2012-06-21 Jeff Law <law@redhat.com>
11703 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
11704 free. Simplify list management for _LIBC case.
11706 2012-06-21 Joseph Myers <joseph@codesourcery.com>
11709 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
11710 Clear sign bit of 64-bit integer value before comparing against
11713 * sysdeps/mach/configure: Regenerated.
11715 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
11718 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
11720 2012-06-21 Jeff Law <law@redhat.com>
11723 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
11724 uint16_t for elements in the "seen" array to avoid char overflows.
11725 * elf/dl-fini.c (_dl_sort_fini): Likewise.
11726 * elf/dl-open.c (dl_open_worker): Likewise.
11728 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
11730 * scripts/list-sources.sh: Scan PORTS for translations.
11731 * po/libc.pot: Regenerated.
11733 2012-06-21 Andreas Jaeger <aj@suse.de>
11736 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
11738 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
11739 * bits/byteswap-16.h (__bswap_16): Likewise.
11740 * bits/byteswap.h (__bswap_constant_16): Likewise.
11742 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
11745 * sysdeps/i386/fpu_control.h: Removed.
11746 * sysdeps/x86_64/fpu_control.h: Moved to ...
11747 * sysdeps/x86/fpu_control.h: Here.
11749 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
11750 (_FPU_SETCW): Likewise.
11752 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
11755 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
11756 * sysdeps/x86/fpu/bits/mathinline.h: This.
11757 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
11761 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
11762 functions if __x86_64__ is defined.
11764 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
11766 * string/endian.h: Add !__ASSEMBLER__ condition for including
11767 conversion interfaces.
11769 2012-06-15 Joseph Myers <joseph@codesourcery.com>
11772 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
11773 of ABS(x) in calculating zero to negative powers other than odd
11775 * math/libm-test.inc (pow_test): Add more tests.
11777 2012-06-15 Andreas Jaeger <aj@suse.de>
11779 * manual/contrib.texi (Contributors): Update entry of Liubov
11780 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
11783 2012-06-15 Cyril Hrubis <metan@ucw.cz>
11785 * string/string.h: Add __wur to GNU version of strerror_r.
11787 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
11790 * string/Makefile (tests): Add tst-strtok_r.
11791 * string/tst-strtok_r.c: New file.
11792 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
11793 RAX_LP/RDX_LP on SAVE_PTR.
11795 2012-06-14 Roland McGrath <roland@hack.frob.com>
11797 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
11799 2012-06-14 Joseph Myers <joseph@codesourcery.com>
11801 * libm_test.inc (csqrt_test): Allow more spurious underflow
11803 (j0_test): Likewise.
11804 (j1_test): Likewise.
11805 (y0_test): Likewise.
11806 (y1_test): Likewise.
11808 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
11810 * po/Makefile (libc.pot): Use UTF-8 charset.
11812 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
11815 Suppress sign-conversion warning from FD_SET.
11816 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
11817 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
11818 not unsigned long int.
11819 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
11821 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
11825 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
11826 __extern_always_inline instead of __extern_inline.
11827 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
11828 (__signbit): Likewise.
11829 (__signbitl): Support C++ namespace.
11830 (lrintf): New inline function.
11832 (llrintf): Likewise.
11833 (llrint): Likewise.
11843 (floorf): Likewise.
11844 (nearbyint): Likewise.
11845 (nearbyintf): Likewise.
11847 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
11849 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
11850 non-default versions.
11852 2012-06-11 Roland McGrath <roland@hack.frob.com>
11855 * manual/argp.texi (Argp): Reword argp_parse description slightly.
11857 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
11859 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
11860 (FE_UPWARD, FE_DOWNWARD): Don't define.
11861 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
11862 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
11864 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
11866 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
11867 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
11869 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11871 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
11872 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
11873 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
11874 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
11876 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
11879 * sysdeps/i386/fpu/bits/fenv.h: Removed.
11880 * sysdeps/i386/fpu/Implies: New file.
11881 * sysdeps/x86_64/fpu/Implies: Likewise.
11882 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
11883 * sysdeps/x86/fpu/bits/fenv.h: This.
11885 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
11888 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
11891 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
11892 character 0xffff that matches the last element of the
11895 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11897 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
11900 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11902 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
11903 values higher than 25.6283.
11905 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11907 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
11908 subnormal exponent extraction and add some __builtin_expect.
11909 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
11910 Fix for subnormal mantissa calculation.
11912 2012-06-04 Mike Frysinger <vapier@gentoo.org>
11914 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
11915 cpu2 is -1 and errno is not ENOSYS.
11917 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
11920 * sysdeps/i386/i486/bits/string.h: Renamed to ...
11921 * sysdeps/x86/bits/string.h: This.
11922 * sysdeps/x86_64/bits/string.h: Removed.
11924 * sysdeps/i386/i486/bits/string.h: Define inline functions only
11925 if not compiling for x86-64, but compiling for >= i486.
11927 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
11928 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
11930 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
11931 New macro from Linux kernel 3.4.0.
11932 (FP_XSTATE_MAGIC2): Likewise.
11933 (FP_XSTATE_MAGIC2_SIZE): Likewise.
11934 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
11935 (struct _fpx_sw_bytes): New struct.
11936 (struct _xsave_hdr): Likewise.
11937 (struct _ymmh_state): Likewise.
11938 (struct _xstate): Likewise.
11940 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
11941 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
11942 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
11943 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
11944 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
11945 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
11947 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
11948 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
11949 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
11950 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
11951 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
11952 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
11954 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11957 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
11958 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
11959 (sysdep_headers): Include sys/platform/ppc.h.
11960 * sysdeps/powerpc/test-gettimebase.c: Test for
11961 __ppc_get_timebase() to catch future ISA opcode/insn changes.
11962 * manual/Makefile (appendices): Include platform.texi.
11963 * manual/contrib.texi (Contributors): Update @node pointers.
11964 * manual/maint.texi (Maintenance): Likewise.
11965 (Platform): New node.
11966 * manual/platform.texi: New file. Document the new features.
11968 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11969 Jakub Jelinek <jakub@redhat.com>
11972 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
11973 where __builtin_expect is unavailable.
11975 2012-06-03 David S. Miller <davem@davemloft.net>
11977 * stdlib/longlong.h: Updated from GCC.
11979 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
11982 * sysdeps/powerpc/powerpc32/mcount.c: New file.
11983 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
11985 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
11986 (GLIBC_2.16): Likewise.
11988 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
11990 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
11992 2012-06-01 Joseph Myers <joseph@codesourcery.com>
11994 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
11995 (default-abi): New variable.
11996 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
11997 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
11999 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
12001 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
12003 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
12006 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
12007 definition. Document in comment.
12009 2012-06-01 David S. Miller <davem@davemloft.net>
12011 * stdlib/longlong.h: Updated from GCC.
12013 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
12016 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
12017 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
12018 sys/debugreg.h sys/io.h here.
12019 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
12020 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
12022 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
12023 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
12024 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
12025 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
12026 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
12027 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
12029 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
12030 Define only if __x86_64__ is defined.
12032 2012-06-01 Joseph Myers <joseph@codesourcery.com>
12035 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
12036 Use int64_t for variable i.
12037 * math/libm-test.inc (fmod_test): Add more tests.
12039 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
12040 z computation is not scheduled after fetestexcept.
12041 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
12042 Use math_force_eval instead of asm to ensure calculation scheduled
12043 before exception test.
12044 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
12045 Ensure a1 + u.d computation is not scheduled after fetestexcept.
12047 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
12049 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
12050 computation is not scheduled after fetestexcept.
12052 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
12055 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
12056 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
12058 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12060 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
12061 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
12063 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
12066 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
12068 (__WCHAR_MIN): Support __WORDSIZE == 64.
12069 (__WCHAR_MAX): Likewise.
12071 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
12072 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
12075 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
12076 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
12079 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
12080 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
12082 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
12083 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
12085 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
12086 Defined to 1 if __x86_64__ isn't defined.
12087 (_STAT_VER_LINUX_OLD): New.
12088 (st_atime): Remove duplicate.
12089 (st_mtime): Likewise.
12090 (st_ctime): Likewise.
12092 2012-05-31 David S. Miller <davem@davemloft.net>
12094 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
12097 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
12099 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
12103 * elf/dl-reloc.c: Include <_itoa.h>.
12104 (_dl_reloc_bad_type): Remove use of INTUSE.
12105 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
12106 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
12107 * stdio-common/psiginfo.c (psiginfo): Likewise.
12108 * stdio-common/psignal.c (psignal): Likewise.
12109 * string/strsignal.c (strsignal): Likewise.
12110 * include/signal.h (_sys_siglist): Declare hidden proto.
12111 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
12112 INTVARDEF with libc_hidden_data_def.
12113 * stdio-common/itoa-udigits.c: Likewise.
12114 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
12115 (_itoa_lower_digits_internal): Remove declaration.
12116 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
12117 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
12118 (_sys_sigabbrev_internal): Remove aliases.
12119 (_sys_siglist): Define hidden alias.
12121 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
12123 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12126 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
12129 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
12130 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
12132 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
12133 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
12134 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
12135 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
12136 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
12137 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
12139 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
12140 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
12141 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
12143 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
12151 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
12152 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
12153 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
12155 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
12156 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
12157 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
12158 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
12159 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
12160 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
12162 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
12163 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
12165 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
12166 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
12168 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
12169 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
12170 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
12172 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
12173 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
12175 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
12177 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
12178 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
12179 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
12181 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
12183 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
12185 2012-05-31 Joseph Myers <joseph@codesourcery.com>
12187 * math/math.h (M_El): Use two more decimal places.
12188 (M_LOG2El): Likewise.
12189 (M_LOG10El): Likewise.
12190 (M_LN2l): Likewise.
12191 (M_LN10l): Likewise.
12193 (M_PI_2l): Likewise.
12194 (M_PI_4l): Likewise.
12195 (M_1_PIl): Likewise.
12196 (M_2_PIl): Likewise.
12197 (M_2_SQRTPIl): Likewise.
12198 (M_SQRT2l): Likewise.
12199 (M_SQRT1_2l): Likewise.
12201 2012-05-31 David S. Miller <davem@davemloft.net>
12203 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
12204 values between float registers.
12205 * sysdeps/sparc/sparc64/memset.S: Likewise.
12206 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
12208 2012-05-31 Mike Frysinger <vapier@gentoo.org>
12210 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
12211 -D_FORTIFY_SOURCE=1.
12212 (CPPFLAGS-tst-longjmp_chk.c): Define.
12213 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
12214 (CPPFLAGS-tst-longjmp_chk2.c): Define.
12215 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
12216 CFLAGS-tst-wchar-h.c.
12218 2012-05-31 Marek Polacek <polacek@redhat.com>
12221 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
12222 __endmntent_internal): Remove declaration.
12223 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
12224 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
12225 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
12227 2012-05-30 David S. Miller <davem@davemloft.net>
12229 * sysdeps/sparc/sparc32/soft-fp/q_util.c
12230 (___Q_simulate_exceptions): Use real FP ops rather than writing
12232 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
12235 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
12238 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
12239 * sysdeps/x86/bits/xtitypes.h: This.
12241 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
12242 * sysdeps/x86/bits/wordsize.h: This.
12244 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
12245 * sysdeps/x86/bits/huge_vall.h: This.
12247 * sysdeps/i386/bits/select.h: Removed.
12248 * sysdeps/x86_64/bits/select.h: Renamed to ...
12249 * sysdeps/x86/bits/select.h: This.
12251 * sysdeps/i386/bits/setjmp.h: Removed.
12252 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
12253 * sysdeps/x86/bits/setjmp.h: This.
12255 * sysdeps/i386/bits/mathdef.h: Removed.
12256 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
12257 * sysdeps/x86/bits/mathdef.h: This.
12259 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
12262 * include/sys/socket.h (__connect_internal)
12263 (__libc_sa_len_internal): Remove declaration.
12264 (__connect, __libc_sa_len): Declare hidden_proto.
12265 (SA_LEN): Remove use of INTUSE.
12266 * socket/connect.c: Add libc_hidden_def.
12267 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
12268 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
12269 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
12271 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
12272 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
12273 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
12274 of adding _internal alias.
12276 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
12279 * sysdeps/i386/bits/link.h: Removed.
12280 * sysdeps/i386/bits/linkmap.h: Likewise.
12281 * sysdeps/x86_64/bits/link.h: Renamed to ...
12282 * sysdeps/x86/bits/link.h: This.
12283 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
12284 * sysdeps/x86/bits/linkmap.h: This.
12286 * sysdeps/i386/bits/endian.h: Removed.
12287 * sysdeps/x86_64/bits/endian.h: Renamed to ...
12288 * sysdeps/x86/bits/endian.h: This.
12290 * sysdeps/i386/bits/byteswap.h: Removed.
12291 * sysdeps/i386/bits/byteswap-16.h: Likewise.
12292 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
12293 * sysdeps/x86/bits/byteswap.h: This.
12294 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
12295 * sysdeps/x86/bits/byteswap-16.h: This.
12296 * sysdeps/i386/Implies: Add x86.
12297 * sysdeps/x86_64/Implies: Likewise.
12299 2012-05-30 David S. Miller <davem@davemloft.net>
12301 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
12302 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
12303 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
12304 (FP_TRAPPING_EXCEPTIONS): Define.
12305 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
12306 (FP_TRAPPING_EXCEPTIONS): Define.
12307 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
12308 subnormals only when inexact has been signalled or underflow
12309 exceptions are enabled.
12310 (_FP_PACK_CANONICAL): Likewise.
12312 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
12315 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
12316 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
12318 2012-05-30 Richard Henderson <rth@twiddle.net>
12320 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
12321 with #ifndef NOT_IN_libc.
12323 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
12324 marked to avoid plt entry.
12326 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
12329 * Makeconfig (default-abi): New macro.
12330 (abi-includes): Likewise.
12331 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
12332 $(abi-$(default-abi)-lib-soname) for soname if defined.
12333 ($(common-objpfx)gnu/lib-names.stmp): Generate from
12335 * Makefile (installed-stubs): Likewise.
12336 * include/stubs-biarch.h: Removed.
12337 * scripts/lib-names.awk: Only handle one library at a time.
12338 * scripts/soversions.awk: Remove WORDSIZE support.
12339 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
12341 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
12343 (syscall-list-default-condition): Likewise.
12344 (syscall-list-default-condition): Likewise.
12345 (syscall-list-includes): Likewise.
12346 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
12347 syscall-list-* with abi-*. Handle undefined abi-variants.
12348 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
12349 * sysdeps/unix/sysv/linux/i386/Implies: New file.
12350 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
12351 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
12352 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
12353 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
12355 (syscall-list-32-options): Likewise.
12356 (syscall-list-32-condition): Likewise.
12357 (syscall-list-64-options): Likewise.
12358 (syscall-list-64-condition): Likewise.
12359 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
12361 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
12364 (abi-64-ld-soname): New macro.
12365 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
12366 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
12369 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
12370 * sysdeps/x86_64/x32/shlib-versions: Likewise.
12372 2012-05-30 Joseph Myers <joseph@codesourcery.com>
12374 * sysdeps/unix/sysv/linux/kernel-features.h
12375 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
12376 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
12377 include <kernel-features.h>.
12378 [!__NR_ftruncate64]: Remove conditional code.
12379 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12380 [__NR_ftruncate64]: Make code unconditional.
12381 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12382 * sysdeps/unix/sysv/linux/truncate64.c: Do not
12383 include <kernel-features.h>.
12384 [!__NR_ftruncate64]: Remove conditional code.
12385 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12386 [__NR_ftruncate64]: Make code unconditional.
12387 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12388 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
12389 include <kernel-features.h>.
12390 [!__NR_ftruncate64]: Remove conditional code.
12391 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12392 [__NR_ftruncate64]: Make code unconditional.
12393 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12394 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
12395 include <kernel-features.h>.
12396 [!__NR_ftruncate64]: Remove conditional code.
12397 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12398 [__NR_ftruncate64]: Make code unconditional.
12399 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12401 * configure.in (libc_cv_fpie): Weaken to a compile test using
12402 LIBC_TRY_CC_OPTION.
12403 * configure: Regenerated.
12405 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12407 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
12408 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
12409 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
12410 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
12412 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
12413 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
12414 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
12415 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
12416 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
12417 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
12420 2012-05-27 David S. Miller <davem@davemloft.net>
12422 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
12424 (__Q_simulate_exceptions): Return void. Change to simulate
12425 exceptions by writing into the %fsr.
12426 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
12427 (__Qp_handle_exceptions): Likewise.
12429 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
12430 __Qp_handle_exceptions.
12431 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
12432 __Qp_handle_exceptions.
12433 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
12434 as unused and give dummy FP_RND_NEAREST initializer.
12435 (FP_INHIBIT_RESULTS): Define.
12436 (___Q_simulate_exceptions): Update declaration.
12437 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
12439 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
12440 as unused and give dummy FP_RND_NEAREST initializer.
12441 (__Qp_handle_exceptions): Update declaration.
12442 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
12445 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
12447 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
12448 the temporary FPU control word.
12449 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
12450 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
12451 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
12452 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
12453 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
12454 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
12455 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
12456 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
12457 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
12458 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
12459 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
12461 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12463 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
12466 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
12468 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
12469 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
12470 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
12471 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
12473 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
12474 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
12477 2012-05-27 Ulrich Drepper <drepper@gmail.com>
12479 * po/h.po: Update from translation team.
12481 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
12483 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
12485 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
12486 handling of denormals.
12487 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
12488 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
12489 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
12490 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
12491 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
12492 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
12493 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
12496 2012-05-26 Marek Polacek <polacek@redhat.com>
12499 * math/libm-test.inc (fma_test): Don't always expect underflow
12502 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12505 * elf/tst-execstack.c: Include stackinfo.h.
12506 (do_test): Adjust test case to ensure that pthread_getattr_np
12507 behaviour remains the same after marking stack executable.
12509 2012-05-25 Joseph Myers <joseph@codesourcery.com>
12511 * sysdeps/unix/sysv/linux/kernel-features.h
12512 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
12513 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
12515 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
12516 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
12517 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
12519 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
12520 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
12522 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
12524 * configure.in: Define the default includes to being none.
12525 * configure: Regenerated.
12527 2012-05-25 Roland McGrath <roland@hack.frob.com>
12529 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
12530 * sysdeps/x86_64/setjmp.S: Likewise.
12531 * sysdeps/i386/bsd-setjmp.S: Likewise.
12532 * sysdeps/i386/bsd-_setjmp.S: Likewise.
12533 * sysdeps/i386/setjmp.S: Likewise.
12534 * sysdeps/i386/__longjmp.S: Likewise.
12535 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
12536 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
12538 * include/stap-probe.h: New file.
12539 * configure.in: Handle --enable-systemtap.
12540 * configure: Regenerated.
12541 * config.h.in (USE_STAP_PROBE): New #undef.
12542 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
12543 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
12544 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
12546 2012-05-25 Joseph Myers <joseph@codesourcery.com>
12549 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
12550 to 2.4.0 where earlier.
12551 * sysdeps/unix/sysv/linux/configure: Regenerated.
12552 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
12553 <kernel-features.h>.
12554 [__ASSUME_32BITUIDS]: Make code unconditional.
12555 [!__ASSUME_32BITUIDS]: Remove conditional code.
12556 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
12557 <kernel-features.h>.
12558 [__ASSUME_32BITUIDS]: Make code unconditional.
12559 [!__ASSUME_32BITUIDS]: Remove conditional code.
12560 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
12561 [__ASSUME_32BITUIDS]: Make code unconditional.
12562 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
12563 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
12564 <kernel-features.h>.
12565 [__ASSUME_32BITUIDS]: Make code unconditional.
12566 [!__ASSUME_32BITUIDS]: Remove conditional code.
12567 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
12568 <kernel-features.h>.
12569 [__ASSUME_32BITUIDS]: Make code unconditional.
12570 [!__ASSUME_32BITUIDS]: Remove conditional code.
12571 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
12572 <kernel-features.h>.
12573 [__ASSUME_32BITUIDS]: Make code unconditional.
12574 [!__ASSUME_32BITUIDS]: Remove conditional code.
12575 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
12576 <kernel-features.h>.
12577 [__ASSUME_32BITUIDS]: Make code unconditional.
12578 [!__ASSUME_32BITUIDS]: Remove conditional code.
12579 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
12580 <kernel-features.h>.
12581 [__ASSUME_32BITUIDS]: Make code unconditional.
12582 [!__ASSUME_32BITUIDS]: Remove conditional code.
12583 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
12584 <kernel-features.h>.
12585 [__ASSUME_32BITUIDS]: Make code unconditional.
12586 [!__ASSUME_32BITUIDS]: Remove conditional code.
12587 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
12588 <kernel-features.h>.
12589 [__ASSUME_32BITUIDS]: Make code unconditional.
12590 [!__ASSUME_32BITUIDS]: Remove conditional code.
12591 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
12592 <kernel-features.h>.
12593 [__ASSUME_32BITUIDS]: Make code unconditional.
12594 [!__ASSUME_32BITUIDS]: Remove conditional code.
12595 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
12596 <kernel-features.h>.
12597 [__ASSUME_32BITUIDS]: Make code unconditional.
12598 [!__ASSUME_32BITUIDS]: Remove conditional code.
12599 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
12600 <kernel-features.h>.
12601 [__ASSUME_32BITUIDS]: Make code unconditional.
12602 [!__ASSUME_32BITUIDS]: Remove conditional code.
12603 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
12604 <kernel-features.h>.
12605 [__NR_setresgid] (__setresgid): Do not declare.
12606 [__ASSUME_32BITUIDS]: Make code unconditional.
12607 [!__ASSUME_32BITUIDS]: Remove conditional code.
12608 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
12609 <kernel-features.h>.
12610 [__NR_setresuid] (__setresuid): Do not declare.
12611 [__ASSUME_32BITUIDS]: Make code unconditional.
12612 [!__ASSUME_32BITUIDS]: Remove conditional code.
12613 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
12614 <kernel-features.h>.
12615 [__ASSUME_32BITUIDS]: Make code unconditional.
12616 [!__ASSUME_32BITUIDS]: Remove conditional code.
12617 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
12618 <kernel-features.h>.
12619 [__ASSUME_32BITUIDS]: Make code unconditional.
12620 [!__ASSUME_32BITUIDS]: Remove conditional code.
12621 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
12622 <kernel-features.h>.
12623 [__ASSUME_32BITUIDS]: Make code unconditional.
12624 [!__ASSUME_32BITUIDS]: Remove conditional code.
12625 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
12626 <kernel-features.h>.
12627 [__ASSUME_32BITUIDS]: Make code unconditional.
12628 [!__ASSUME_32BITUIDS]: Remove conditional code.
12629 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
12630 <kernel-features.h>.
12631 [__ASSUME_32BITUIDS]: Make code unconditional.
12632 [!__ASSUME_32BITUIDS]: Remove conditional code.
12633 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
12634 <kernel-features.h>.
12635 [__ASSUME_32BITUIDS]: Make code unconditional.
12636 [!__ASSUME_32BITUIDS]: Remove conditional code.
12637 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
12638 <kernel-features.h>.
12639 [__ASSUME_32BITUIDS]: Make code unconditional.
12640 [!__ASSUME_32BITUIDS]: Remove conditional code.
12641 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
12642 <kernel-features.h>.
12643 [__ASSUME_32BITUIDS]: Make code unconditional.
12644 [!__ASSUME_32BITUIDS]: Remove conditional code.
12645 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
12646 <kernel-features.h>.
12647 [__ASSUME_32BITUIDS]: Make code unconditional.
12648 [!__ASSUME_32BITUIDS]: Remove conditional code.
12649 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
12650 <kernel-features.h>.
12651 [__ASSUME_32BITUIDS]: Make code unconditional.
12652 [!__ASSUME_32BITUIDS]: Remove conditional code.
12653 * sysdeps/unix/sysv/linux/kernel-features.h
12654 (__ASSUME_SETRESUID_SYSCALL): Remove.
12655 (__ASSUME_SETRESGID_SYSCALL): Likewise.
12656 (__ASSUME_32BITUIDS): Likewise.
12657 (__ASSUME_LDT_WORKS): Likewise.
12658 (__ASSUME_O_DIRECTORY): Likewise.
12659 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
12660 architecture but not kernel version.
12661 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
12662 (__ASSUME_MMAP2_SYSCALL): Likewise.
12663 (__ASSUME_STAT64_SYSCALL): Likewise.
12664 (__ASSUME_IPC64): Likewise.
12665 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
12666 <kernel-features.h>.
12667 [__ASSUME_32BITUIDS]: Make code unconditional.
12668 [!__ASSUME_32BITUIDS]: Remove conditional code.
12669 * sysdeps/unix/sysv/linux/opendir.c: Do not include
12670 <kernel-features.h>.
12671 [__ASSUME_O_DIRECTORY]: Make code unconditional.
12672 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
12673 132096]: Remove conditional code.
12674 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
12675 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
12676 <kernel-features.h>.
12677 [__ASSUME_32BITUIDS]: Make code unconditional.
12678 [!__ASSUME_32BITUIDS]: Remove conditional code.
12679 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
12680 <kernel-features.h>.
12681 [__ASSUME_32BITUIDS]: Make code unconditional.
12682 [!__ASSUME_32BITUIDS]: Remove conditional code.
12683 * sysdeps/unix/sysv/linux/setegid.c: Do not include
12684 <kernel-features.h>.
12685 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
12687 (__setresgid): Do not declare.
12688 [__ASSUME_32BITUIDS]: Make code unconditional.
12689 [!__ASSUME_32BITUIDS]: Remove conditional code.
12690 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
12691 <kernel-features.h>.
12692 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
12694 (__setresuid): Do not declare.
12695 [__ASSUME_32BITUIDS]: Make code unconditional.
12696 [!__ASSUME_32BITUIDS]: Remove conditional code.
12697 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
12698 <kernel-features.h>.
12699 [__ASSUME_32BITUIDS]: Make code unconditional.
12700 [!__ASSUME_32BITUIDS]: Remove conditional code.
12701 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
12702 <kernel-features.h>.
12703 [__ASSUME_32BITUIDS]: Make code unconditional.
12704 [!__ASSUME_32BITUIDS]: Remove conditional code.
12706 2012-05-25 Richard Henderson <rth@twiddle.net>
12708 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
12709 dl_hwcap to ifunc resolver.
12710 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
12712 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
12713 dl_hwcap to ifunc resolver.
12714 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
12716 2012-05-24 Joseph Myers <joseph@codesourcery.com>
12719 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
12720 for |x| <= 2**-26, not 2**-57.
12721 * math/libm-test.inc (acos_test): Do not allow spurious underflow
12724 2012-05-24 Jeff Law <law@redhat.com>
12726 * stdio-common/Makefile (tests): Add bug25.
12727 * stdio-common/bug25.c: New test.
12729 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
12732 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
12733 multiple of MALLOC_ALIGNMENT in size.
12734 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
12736 2012-05-24 Joseph Myers <joseph@codesourcery.com>
12738 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
12740 (FILENAME_MAX): Use macro-int-constant.
12741 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
12742 (_IOFBF): Use macro-int-constant.
12743 (_IOLBF): Likewise.
12744 (_IONBF): Likewise.
12745 (SEEK_CUR): Likewise.
12746 (SEEK_END): Likewise.
12747 (SEEK_SET): Likewise.
12748 (TMP_MAX): Likewise.
12749 (EOF): Use macro-int-constant. Require < 0.
12750 (NULL): Use macro-constant. Require == 0.
12751 (stdin): Require type to be FILE *.
12752 (stdout): Likewise.
12753 (stderr): Likewise.
12754 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
12755 macro-int-constant.
12756 (EXIT_SUCCESS): Likewise.
12757 (NULL): Use macro-constant. Require == 0.
12758 (RAND_MAX): Use macro-int-constant.
12759 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
12760 [C99-based standards] (strtof): Require function.
12761 [C99-based standards] (strtold): Likewise.
12762 [C99-based standards] (strtoll): Likewise.
12763 [C99-based standards] (strtoull): Likewise.
12764 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
12765 [ISO || ISO99 || ISO11] (limits.h): Likewise.
12766 [ISO || ISO99 || ISO11] (math.h): Likewise.
12767 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
12768 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
12769 [ISO || ISO99 || ISO11] (*_t): Do not allow.
12771 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
12774 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
12775 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
12776 * intl/dgettext.c (DCGETTEXT): Likewise.
12777 * intl/gettext.c (DCGETTEXT): Likewise.
12778 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
12779 * posix/regex_internal.h (gettext): Likewise.
12780 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
12781 Remove declaration.
12782 * include/argz.h (__argz_count_internal)
12783 (__argz_stringify_internal): Remove declaration.
12784 (__argz_count, __argz_stringify): Declare hidden proto.
12785 * intl/dcgettext.c: Remove use of INTDEF.
12786 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
12787 * string/argz-stringify.c: Likewise.
12788 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
12789 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
12790 Declare hidden proto.
12791 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
12792 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
12793 Declare hidden proto.
12794 * include/stdio.h (__asprintf_internal): Don't declare.
12795 (__asprintf): Don't define as macro. Declare hidden proto.
12796 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
12797 (__fsetlocking): Declare hidden proto.
12798 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
12799 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
12801 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
12802 (_IO_setlinebuf): Remove use of INTUSE.
12803 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
12804 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
12805 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
12806 Remove declaration.
12807 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
12808 (_IO_do_flush): Remove use of INTUSE.
12809 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
12810 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
12811 (_IO_adjust_column, _IO_least_wmarker)
12812 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
12813 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
12814 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
12815 (_IO_default_doallocate, _IO_wdefault_doallocate)
12816 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
12817 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
12818 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
12819 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
12820 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
12821 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
12822 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
12823 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
12824 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
12825 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
12826 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
12827 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
12828 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
12830 (_IO_flush_all_internal, _IO_adjust_column_internal)
12831 (_IO_default_uflow_internal, _IO_default_finish_internal)
12832 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
12833 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
12834 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
12835 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
12836 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
12837 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
12838 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
12839 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
12840 (_IO_file_close_internal, _IO_file_close_it_internal)
12841 (_IO_file_underflow_internal, _IO_file_overflow_internal)
12842 (_IO_file_init_internal, _IO_file_attach_internal)
12843 (_IO_file_fopen_internal, _IO_file_read_internal)
12844 (_IO_file_sync_internal, _IO_file_seek_internal)
12845 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
12846 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
12847 (_IO_str_underflow_internal, _IO_str_overflow_internal)
12848 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
12849 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
12850 (_IO_list_all_internal, _IO_link_in_internal)
12851 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
12852 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
12853 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
12854 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
12855 (_IO_do_write_internal, _IO_padn_internal)
12856 (_IO_getline_info_internal, _IO_getline_internal)
12857 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
12858 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
12859 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
12860 (_IO_vfscanf_internal, _IO_vfprintf_internal)
12861 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
12862 (_IO_init_internal, _IO_un_link_internal): Don't declare.
12863 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
12864 with libc_hidden_ver, remove use of INTUSE.
12865 * libio/genops.c: Likewise.
12866 * libio/freopen.c: Likewise.
12867 * libio/freopen64.c: Likewise.
12868 * libio/iofclose.c: Likewise.
12869 * libio/iofdopen.c: Likewise.
12870 * libio/iofflush.c: Likewise.
12871 * libio/iofflush_u.c: Likewise.
12872 * libio/iofgets.c: Likewise.
12873 * libio/iofgets_u.c: Likewise.
12874 * libio/iofopen.c: Likewise.
12875 * libio/iofopncook.c: Likewise.
12876 * libio/iofread.c: Likewise.
12877 * libio/iofread_u.c: Likewise.
12878 * libio/ioftell.c: Likewise.
12879 * libio/iofwrite.c: Likewise.
12880 * libio/iogetline.c: Likewise.
12881 * libio/iogets.c: Likewise.
12882 * libio/iogetwline.c: Likewise.
12883 * libio/iopadn.c: Likewise.
12884 * libio/iopopen.c: Likewise.
12885 * libio/ioseekoff.c: Likewise.
12886 * libio/ioseekpos.c: Likewise.
12887 * libio/iosetbuffer.c: Likewise.
12888 * libio/iosetvbuf.c: Likewise.
12889 * libio/ioungetc.c: Likewise.
12890 * libio/ioungetwc.c: Likewise.
12891 * libio/iovdprintf.c: Likewise.
12892 * libio/iovsprintf.c: Likewise.
12893 * libio/iovsscanf.c: Likewise.
12894 * libio/memstream.c: Likewise.
12895 * libio/obprintf.c: Likewise.
12896 * libio/oldfileops.c: Likewise.
12897 * libio/oldiofclose.c: Likewise.
12898 * libio/oldiofdopen.c: Likewise.
12899 * libio/oldiofopen.c: Likewise.
12900 * libio/oldiopopen.c: Likewise.
12901 * libio/oldstdfiles.c: Likewise.
12902 * libio/putc.c: Likewise.
12903 * libio/setbuf.c: Likewise.
12904 * libio/setlinebuf.c: Likewise.
12905 * libio/stdfiles.c: Likewise.
12906 * libio/strops.c: Likewise.
12907 * libio/vasprintf.c: Likewise.
12908 * libio/vscanf.c: Likewise.
12909 * libio/vsnprintf.c: Likewise.
12910 * libio/vswprintf.c: Likewise.
12911 * libio/wfiledoalloc.c: Likewise.
12912 * libio/wfileops.c: Likewise.
12913 * libio/wgenops.c: Likewise.
12914 * libio/wmemstream.c: Likewise.
12915 * libio/wstrops.c: Likewise.
12916 * libio/__fpurge.c: Likewise.
12917 * libio/__fsetlocking.c: Likewise.
12918 * assert/assert.c: Likewise.
12919 * debug/fgets_chk.c: Likewise.
12920 * debug/fgets_u_chk.c: Likewise.
12921 * debug/fread_chk.c: Likewise.
12922 * debug/fread_u_chk.c: Likewise.
12923 * debug/gets_chk.c: Likewise.
12924 * debug/obprintf_chk.c: Likewise.
12925 * debug/vasprintf_chk.c: Likewise.
12926 * debug/vdprintf_chk.c: Likewise.
12927 * debug/vsnprintf_chk.c: Likewise.
12928 * debug/vsprintf_chk.c: Likewise.
12929 * malloc/mtrace.c: Likewise.
12930 * misc/error.c: Likewise.
12931 * misc/syslog.c: Likewise.
12932 * stdio-common/asprintf.c: Likewise.
12933 * stdio-common/fxprintf.c: Likewise.
12934 * stdio-common/getw.c: Likewise.
12935 * stdio-common/isoc99_fscanf.c: Likewise.
12936 * stdio-common/isoc99_scanf.c: Likewise.
12937 * stdio-common/isoc99_vfscanf.c: Likewise.
12938 * stdio-common/isoc99_vscanf.c: Likewise.
12939 * stdio-common/isoc99_vsscanf.c: Likewise.
12940 * stdio-common/printf-prs.c: Likewise.
12941 * stdio-common/printf_fp.c: Likewise.
12942 * stdio-common/printf_fphex.c: Likewise.
12943 * stdio-common/printf_size.c: Likewise.
12944 * stdio-common/putw.c: Likewise.
12945 * stdio-common/scanf.c: Likewise.
12946 * stdio-common/sprintf.c: Likewise.
12947 * stdio-common/tmpfile.c: Likewise.
12948 * stdio-common/vfprintf.c: Likewise.
12949 * stdio-common/vfscanf.c: Likewise.
12950 * stdlib/strfmon_l.c: Likewise.
12951 * sunrpc/openchild.c: Likewise.
12952 * sunrpc/xdr_stdio.c: Likewise.
12953 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
12954 * sysdeps/mach/hurd/tmpfile.c: Likewise.
12956 2012-05-24 Roland McGrath <roland@hack.frob.com>
12958 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
12960 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
12961 in the third column, to generate for the shared library an IFUNC
12962 that uses _dl_vdso_vsym.
12963 * Makerules (COMPILE.c, compile-stdin.c): New variables.
12964 * Makeconfig (object-suffixes-noshared): New variable.
12966 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
12967 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
12968 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
12969 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
12972 * include/sys/time.h (__gettimeofday): Remove macro.
12973 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
12974 * time/gettimeofday.c (__gettimeofday): Remove #undef.
12976 (__gettimeofday): Add libc_hidden_def.
12977 (gettimeofday): Add libc_hidden_weak.
12978 * sysdeps/mach/gettimeofday.c: Likewise.
12979 * sysdeps/posix/gettimeofday.c: Likewise.
12980 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
12981 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
12982 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
12983 (__gettimeofday_internal): Remove strong_alias.
12984 (__gettimeofday): Add libc_hidden_def.
12985 (gettimeofday): Add libc_hidden_weak.
12986 * sysdeps/unix/syscalls.list (gettimeofday):
12987 Remove __gettimeofday_internal alias.
12989 2012-05-24 Daniel Jacobowitz <drow@false.org>
12990 H.J. Lu <hongjiu.lu@intel.com>
12993 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
12994 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
12995 (largebin_index_32_big): New.
12996 (largebin_index): Use it for 16-byte alignment.
12997 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
12998 correction with front_misalign.
13000 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
13002 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
13003 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
13005 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
13007 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
13009 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
13011 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
13013 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
13015 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
13017 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
13019 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
13021 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
13023 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
13025 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
13028 * scripts/data/c++-types-x32-linux-gnu.data: New file.
13029 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
13031 2012-05-24 Joseph Myers <joseph@codesourcery.com>
13035 * math/libm-test.inc (exp_test): Add test from bug 14036.
13036 (pow_test): Add test from bug 10846.
13038 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
13040 (special_function): Do not include flags in test name.
13041 (parse_args): Likewise.
13042 * sysdeps/i386/fpu/libm-test-ulps: Update.
13043 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13044 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
13045 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
13046 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13048 * math/gen-libm-test.pl (%beautify): Add entries for underflow
13050 * math/libm-test.inc ("Philosophy"): Update comment about
13052 (UNDERFLOW_EXCEPTION): New macro.
13053 (UNDERFLOW_EXCEPTION_OK): Likewise.
13054 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
13055 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
13056 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
13057 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
13058 (INVALID_EXCEPTION_OK): Update value.
13059 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
13060 (OVERFLOW_EXCEPTION_OK): Likewise.
13061 (IGNORE_ZERO_INF_SIGN): Likewise.
13062 (test_exceptions): Handle underflow exceptions.
13063 (acos_test): Update for underflow exception expectations.
13064 (cexp_test): Likewise.
13065 (clog_test): Likewise.
13066 (clog10_test): Likewise.
13067 (csqrt_test): Likewise.
13068 (ctan_test): Likewise.
13069 (ctanh_test): Likewise.
13070 (exp_test): Likewise.
13071 (exp10_test): Likewise.
13072 (exp2_test): Likewise.
13073 (expm1_test): Likewise.
13074 (fma_test): Likewise.
13075 (j0_test): Likewise.
13076 (jn_test): Likewise.
13077 (nexttoward_test): Likewise.
13078 (pow_test): Likewise.
13079 (scalbn_test): Likewise.
13080 (scalbln_test): Likewise.
13081 (tan_test): Likewise.
13082 (y1_test): Likewise.
13083 * sysdeps/i386/fpu/libm-test-ulps: Update.
13084 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13086 2012-05-23 David S. Miller <davem@davemloft.net>
13088 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
13089 (__libc_sigaction): Remove unused local variables.
13091 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
13093 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
13095 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
13097 mktime: avoid signed integer overflow
13098 * time/mktime.c (__mktime_internal): Do not mishandle the case
13099 where diff == INT_MIN.
13101 mktime: simplify computation of average
13102 * time/mktime.c (ranged_convert): Use new time_t_avg function
13103 instead of rolling our own (probably-slower) code.
13105 mktime: do not assume signed right shift propagates sign bit
13106 * time/mktime.c (isdst_differ): New static function.
13107 (__mktime_internal): No need to normalize tm_isdst now.
13108 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
13111 mktime: merge another wrapv change from gnulib
13112 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
13113 from some compilers.
13115 mktime: remove incorrect attempt at unusual arithmetics
13116 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
13117 The code didn't really work on such machines anyway.
13118 (TYPE_MINIMUM): Assume two's complement.
13119 (twos_complement_arithmetic): Verify that long_int and time_t
13120 are two's complement (or unsigned, in the latter case).
13122 mktime: check signed shifts on long_int and time_t, too
13123 * time/mktime.c (SHR): Check that shifts work as desired
13124 on the types long_int and time_t too, as SHR is used on
13127 mktime: do not assume 'long' is wide enough
13128 * time/mktime.c (verify): Move decl up.
13129 (long_int): New type.
13130 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
13131 to remove assumption in the code that 'long' is wide enough to
13132 store year values. This assumption is not true on x32 and on
13133 some non-glibc platforms.
13135 mktime: merge wrapv change from gnulib
13136 * time/mktime.c (WRAPV): New macro.
13137 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
13138 (guess_time_tm, __mktime_internal): Do not assume that signed
13139 integer overflow wraps around; modern compilers generate code
13140 where this assumption is no longer valid.
13142 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
13144 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
13145 Replace "jmp L(pseudo_end)" with "ret".
13146 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
13149 2012-05-23 Andreas Jaeger <aj@suse.de>
13151 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
13152 * sysdeps/unix/sysv/linux/poll.c: Remove file.
13154 2012-05-23 Andreas Jaeger <aj@suse.de>
13155 Maximilian Attems <max@stro.at>
13157 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
13160 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
13162 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
13163 code so that pseudo_end is just ret and the stack pointer is
13164 correct also for static library in error case.
13166 2012-05-23 Joseph Myers <joseph@codesourcery.com>
13168 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
13169 move to syscalls.list.
13170 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
13171 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
13172 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
13173 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
13175 * manual/install.texi (Running make install): Do not mention Linux
13176 kernel version for which pt_chown is not needed.
13177 (Linux): Do not mention problems with nscd with 2.0 kernels.
13178 * INSTALL: Regenerated.
13180 2012-05-23 Andreas Jaeger <aj@suse.de>
13182 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
13183 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
13185 * sysdeps/unix/sysv/linux/s390/bits/mman.h
13186 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13187 * sysdeps/unix/sysv/linux/sh/bits/mman.h
13188 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13189 * sysdeps/unix/sysv/linux/i386/bits/mman.h
13190 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13191 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
13192 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13193 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
13194 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13195 * sysdeps/unix/sysv/linux/bits/in.h
13196 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
13198 2012-05-22 Roland McGrath <roland@hack.frob.com>
13200 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
13201 (PREPARE_VERSION): Just use assert instead, it will be elided
13202 under [NDEBUG] anyway.
13204 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
13206 * sysdeps/unix/sysv/linux/Makefile: Include
13207 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
13208 (sysdep_routines): Remove sysctl.
13209 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
13210 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
13211 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
13212 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
13213 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
13215 2012-05-22 Andreas Jaeger <aj@suse.de>
13217 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
13218 that pseudo_end is just ret and the stack pointer is correct also
13219 for static library in error case.
13221 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
13224 * nss/nsswitch.c (defconfig_entries): New variable.
13225 (__nss_database_lookup): Don't leak defconfig entries.
13226 (nss_parse_service_list): Don't leak on error paths.
13227 (free_database_entries): New function.
13228 (free_defconfig): New function.
13229 (free_mem): Move common code to free_database_entries.
13231 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
13233 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
13235 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
13237 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
13238 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
13239 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
13241 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
13242 (INTERNAL_SYSCALL_TYPES): Likewise.
13243 (LOAD_ARGS_TYPES_[1-6]): Likewise.
13244 (LOAD_REGS_TYPES_[1-6]): Likewise.
13245 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
13246 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
13248 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13250 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
13251 copysignl for GLIBC_2_0.
13252 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
13253 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
13254 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
13255 logbl for GLIBC_2_0.
13256 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
13257 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
13259 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
13261 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
13262 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
13264 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
13267 * time/mktime.c: Update copyright years.
13269 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
13271 mktime: merge comment-quoting-style change from gnulib
13272 * time/mktime.c: Quote 'like this' in comments.
13273 The GNU coding standards suggest that we no longer quote `like this',
13274 as "`" and "'" are typically rendered asymmetrically nowadays.
13275 The typical gnulib style is to quote 'like this' when quoting
13276 code, and "like this" when quoting English.
13278 * time/mktime.c (compile-command): Add "-I.".
13280 mktime: merge mktime-internal.h change from gnulib
13281 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
13283 mktime: merge time_r change from gnulib
13284 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
13286 mktime: merge DEBUG change from gnulib
13287 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
13288 case system <time.h> has a #define.
13290 mktime: merge <sys/types.h> change from gnulib
13291 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
13292 since <time.t> is now guaranteed to define time_t.
13294 mktime: merge HAVE_CONFIG_H change from gnulib
13295 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
13297 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
13299 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
13302 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
13304 (struct rusage): Use anonymous union to pad each field to
13307 2012-05-21 David S. Miller <davem@davemloft.net>
13309 * Makefules (o-iterator): Remove .s cases.
13310 (compile-command.s): Delete.
13311 (COMPILE.s): Delete.
13312 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
13314 2012-05-21 Joseph Myers <joseph@codesourcery.com>
13316 * configure.in (libc_cv_predef_stack_protector): Only consider
13317 "foobar" and "__stack_chk_fail" lines in libc_undefs.
13318 * configure: Regenerated.
13320 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
13322 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
13323 New macro. Use R*LP on int and pointer.
13324 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
13325 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
13326 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
13327 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
13329 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
13330 [__WORDSIZE_TIME64_COMPAT32] instead of
13331 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
13332 (struct utmp): Likewise.
13333 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
13334 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
13336 (__WORDSIZE_TIME64_COMPAT32): This.
13337 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
13338 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
13339 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
13340 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
13341 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
13342 (__WORDSIZE_TIME64_COMPAT32): New macro.
13344 2012-05-21 Andreas Jaeger <aj@suse.de>
13346 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
13347 only if [SHARED]. Add prototype for __wcschr_ia32.
13349 2012-05-21 Roland McGrath <roland@hack.frob.com>
13351 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
13352 of %rbp unmolested in the jmp_buf while mangling the low bits.
13353 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
13354 unmolested high bits of %rbp while demangling the low bits.
13355 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
13357 2012-05-21 Andreas Jaeger <aj@suse.de>
13359 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
13360 * sunrpc/svc_simple.c: Use it for registerrpc.
13361 * sunrpc/xcrypt.c: Use it for passwd2des.
13363 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
13365 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
13367 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
13368 Don't define if [__SYSCALL_WORDSIZE != 32].
13369 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
13372 2012-05-21 Bruno Haible <bruno@clisp.org>
13373 Andreas Jaeger <aj@suse.de>
13375 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
13376 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
13377 inptr and inend for must_buffer_ch.
13378 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
13379 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
13380 * stdio-common/Makefile (tests): Remove bug15.
13381 (bug15-ENV): Remove macro.
13382 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
13385 2012-05-19 Andreas Jaeger <aj@suse.de>
13386 Roland McGrath <roland@hack.frob.com>
13388 * manual/contrib.texi: Completely rewritten. It contains now an
13389 alphabetical list of contributors and their contributions.
13391 2012-05-21 Richard Henderson <rth@twiddle.net>
13393 * misc/getauxval.c (__getauxval): Use unsigned long int.
13394 * misc/sys/auxv.h: Include <sys/cdefs.h>.
13395 (getauxval): Use unsigned long int.
13397 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
13399 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
13401 2012-05-21 Roland McGrath <roland@hack.frob.com>
13403 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
13404 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
13405 __alignof__ (long double).
13407 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13409 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13411 2012-05-20 Richard Henderson <rth@twiddle.net>
13413 * misc/getauxval.c: New file.
13414 * misc/sys/auxv.h: New file.
13415 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
13416 (routines): Add getauxval.
13417 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
13418 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
13419 * elf/dl-sysdep.c (_dl_auxv): Remove.
13420 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
13421 * elf/dl-support.c (_dl_auxv): New variable.
13422 (_dl_aux_init): Initialize it.
13423 * manual/startup.texi (Auxiliary Vector): New node.
13424 * sysdeps/generic/bits/hwcap.h: New file.
13425 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
13426 * sysdeps/powerpc/sysdep.h: ... here. Include it.
13427 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
13428 * sysdeps/sparc/sysdep.h: ... here. Include it.
13429 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
13430 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
13431 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13433 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
13434 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
13435 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
13436 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
13437 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
13438 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
13439 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
13440 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
13442 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13444 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13446 2012-05-19 David S. Miller <davem@davemloft.net>
13448 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13450 2012-05-19 Joseph Myers <joseph@codesourcery.com>
13453 * math/s_ccosh.c: Include <float.h>
13454 (__ccosh): Avoid internal overflow calculating sinh and cosh
13455 values before multiplying by sin and cos values.
13456 * math/s_ccoshf.c: Likewise.
13457 * math/s_ccoshl.c: Likewise.
13458 * math/s_csin.c: Likewise.
13459 * math/s_csinf.c: Likewise.
13460 * math/s_csinl.c: Likewise.
13461 * math/s_csinh.c: Likewise.
13462 * math/s_csinhf.c: Likewise.
13463 * math/s_csinhl.c: Likewise.
13464 * math/libm-test.inc (ccos_test): Add more tests.
13465 (ccosh_test): Likewise.
13466 (csin_test): Likewise.
13467 (csinh_test): Likewise.
13468 * sysdeps/i386/fpu/libm-test-ulps: Update.
13469 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13471 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
13473 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
13474 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
13476 * sysdeps/x86_64/x32/_itoa.h: Add comment.
13478 2012-05-19 Joseph Myers <joseph@codesourcery.com>
13480 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
13481 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
13482 * sysdeps/powerpc/soft-fp/Versions: Likewise.
13483 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
13484 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
13485 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
13486 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
13487 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
13488 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
13489 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
13490 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
13491 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
13492 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
13493 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
13494 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
13495 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
13496 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
13497 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
13498 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
13499 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
13500 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
13501 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
13502 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
13503 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
13504 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
13505 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
13506 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
13507 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
13508 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
13509 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
13510 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
13512 2012-05-18 Andreas Jaeger <aj@suse.de>
13514 * csu/.gitignore: Delete.
13516 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
13518 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
13519 (timex): Use __syscall_slong_t.
13521 2012-05-18 Andreas Jaeger <aj@suse.de>
13522 Carlos O'Donell <carlos_odonell@mentor.com>
13524 * manual/install.texi (Configuring and compiling): Update
13525 description about files modified in the source directory.
13526 * INSTALL: Regenerated.
13528 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
13530 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
13531 value. Use "or" to set return value to -1.
13532 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
13533 negate return value.
13535 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13537 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
13538 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
13539 failure if the compiler has Graphite support disabled.
13540 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
13542 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
13543 CFLAGS-memmove.c): Likewise.
13544 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
13547 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
13549 * sysdeps/x86_64/x32/_itoa.h: New file.
13551 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
13552 getdents system call only if kernel and user dirents have the
13553 same d_ino and d_off.
13555 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
13556 LLONG_MAX != LONG_MAX.
13557 (_itoa_word): Use _ITOA_WORD_TYPE on value.
13558 (_fitoa_word): Likewise.
13560 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
13562 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
13563 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
13564 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
13566 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
13567 include <bits/wordsize.h>. Check __x86_64__ instead of
13569 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
13570 if __x86_64__ is defined. Use anonymous union on fpstate.
13572 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
13575 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
13577 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
13578 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
13579 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
13580 Refer to _rtld_local_ro instead of _rtld_global_ro.
13581 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
13583 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
13585 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
13587 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
13588 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
13589 of _rtld_global, and rtld_progname instead of _dl_argv[0].
13591 * sysdeps/powerpc/powerpc32/dl-machine.c
13592 (__elf_machine_runtime_setup) [PROF]: Don't reference
13595 2012-05-18 Andreas Jaeger <aj@suse.de>
13597 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
13598 function only available for GCCs before 3.4 since GCC 3.4
13599 introduced a builtin.
13601 (llrintf): Likewise.
13602 (llrint): Likewise.
13609 (nearbyint): Likewise.
13610 (nearbyintf): Likewise.
13614 (floorf): Likewise.
13616 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
13618 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
13619 on both fields and cast pointer to __syscall_ulong_t.
13621 * bits/types.h (__fsword_t): New type.
13622 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
13623 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
13624 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13625 (__FSWORD_T_TYPE): Likewise.
13626 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13627 (__FSWORD_T_TYPE): Likewise.
13628 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13629 (__FSWORD_T_TYPE): Likewise.
13630 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
13631 (__FSWORD_T_TYPE): Likewise.
13632 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
13633 __SWORD_TYPE with __fsword_t.
13634 (statfs64): Likewise.
13636 2012-05-17 David S. Miller <davem@davemloft.net>
13638 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
13640 2012-05-17 Andreas Jaeger <aj@suse.de>
13642 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
13645 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
13647 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
13649 2012-05-17 Andreas Jaeger <aj@suse.de>
13651 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
13654 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
13656 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
13658 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
13660 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
13661 * sysdeps/x86_64/tst-mallocalign1.c: New file.
13663 2012-05-17 Andreas Jaeger <aj@suse.de>
13664 Carlos O'Donell <carlos_odonell@mentor.com>
13667 * sysdeps/x86_64/multiarch/init-arch.h
13668 (bit_YMM_Usable): Rename to...
13669 (bit_AVX_Usable): ... this.
13670 (bit_FMA4_Usable): New macro.
13671 (bit_XMM_state): New macro.
13672 (bit_YMM_state): New macro.
13673 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
13674 [__ASSEMBLER__] (index_AVX_Usable): ... this.
13675 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
13676 (CPUID_OSXSAVE): New macro.
13677 (CPUID_AVX): New macro.
13678 (CPUID_FMA4): New macro.
13679 (index_YMM_Usable): Rename to...
13680 (index_AVX_Usable): ... this.
13681 (HAS_AVX): Use HAS_ARCH_FEATURE.
13682 (HAS_FMA4): Likewise.
13683 (HAS_YMM_USABLE): Remove.
13684 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13685 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
13687 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
13688 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
13689 * sysdeps/x86_64/multiarch/Makefile: Likewise.
13690 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
13691 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
13693 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
13695 * math/libm-test.c: Support platforms without multiple rounding modes.
13696 * math/bug-nextafter.c: Support platforms without FP exceptions.
13697 * math/bug-nexttoward.c: Likewise.
13698 * math/test-fenv.c: Likewise.
13699 * math/test-misc.c: Likewise.
13700 * stdlib/bug-getcontext.c: Likewise.
13702 2012-05-17 Andreas Jaeger <aj@suse.de>
13704 * manual/examples/search.c (critter_cmp): Change signature to
13706 * manual/string.texi (Collation Functions): Likewise.
13708 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13710 * bits/types.h: Fold copyright years.
13711 * bits/typesizes.h: Likewise.
13712 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
13713 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
13714 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
13715 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
13716 * time/time.h: Likewise.
13718 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
13721 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
13722 in instead of returning them. Return void.
13723 (__libc_mallinfo): Accumulate over all arenas.
13724 (__malloc_stats): Adjust for change in int_mallinfo interface.
13726 2012-05-16 Roland McGrath <roland@hack.frob.com>
13729 * configure.in (NM): Add AC_CHECK_TOOL for it.
13730 (libc_extra_cflags): New substituted variable.
13731 Check for -fstack-protector being used implicitly.
13732 * configure: Regenerated.
13733 * config.make.in (config-extra-cflags): New variable,
13734 gets @libc_extra_cflags@.
13735 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
13738 * configure.in: Check for _FORTIFY_SOURCE being predefined.
13739 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
13740 * configure: Regenerated.
13741 * config.make.in (CPPUNDEFS): New substituted variable.
13742 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
13743 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
13744 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
13746 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13748 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
13749 (mq_attr): Use __syscall_slong_t.
13751 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13753 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
13754 Check __x86_64__ instead of __WORDSIZE.
13755 (_STAT_VER_LINUX): Likewise.
13756 (stat): Check __x86_64__ instead of __WORDSIZE. Use
13757 __syscall_ulong_t and __syscall_slong_t.
13758 (stat64): Likewise.
13760 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13762 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
13764 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13766 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
13768 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13770 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
13773 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
13774 include <bits/wordsize.h>. Check __x86_64__ instead of
13776 (greg_t): Use "__extension__ long long int" if __x86_64__ is
13778 (mcontext_t): Replace "unsigned long" with "unsigned long long".
13780 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
13781 include <bits/wordsize.h>. Check __x86_64__ instead of
13783 (user_regs_struct): Use "__extension__ unsigned long long"
13784 instead of "unsigned long" if __x86_64__ is defined.
13785 (user): Likewise. Pad after pointer field if __ILP32__ is
13788 2012-05-16 Joseph Myers <joseph@codesourcery.com>
13790 * configure.in (makeinfo): Require version 4.5 or later. Allow
13792 * configure: Regenerated.
13793 * manual/install.texi (texinfo): Increase version requirement to
13795 * INSTALL: Regenerated.
13797 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
13799 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13801 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
13803 * sysdeps/x86_64/x32/ffs.c: New file.
13805 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
13807 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
13808 defined. Use __syscall_ulong_t.
13809 (shminfo): Use __syscall_ulong_t.
13810 (shm_info): Likewise.
13812 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
13815 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
13817 (msgqnum_t): Use __syscall_ulong_t.
13818 (msglen_t): Likewise.
13819 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
13822 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
13823 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
13825 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
13827 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
13828 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
13830 * sysvipc/sys/msg.h (msgbuf): Replace long int with
13833 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
13834 include <bits/wordsize.h>. Check __x86_64__ instead of
13837 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
13838 "unsigned long long int" if __x86_64__ is defined.
13839 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
13841 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
13842 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
13843 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
13845 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
13847 (GET_PC): Cast to uintptr_t first.
13848 (GET_FRAME): Likewise.
13849 (GET_STACK): Likewise.
13851 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
13852 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
13853 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
13854 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
13855 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
13856 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
13857 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
13858 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
13859 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
13860 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
13861 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
13862 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
13863 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
13864 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
13865 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
13866 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
13867 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
13868 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
13869 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
13870 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
13871 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
13872 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
13873 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
13874 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
13875 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
13876 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
13877 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
13878 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
13879 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
13881 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
13883 * Makerules (+depfiles): Also collect depfiles from .oS in
13885 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
13886 .oS, $(libnldbl-routines)).
13888 * Makerules (native-compile-mkdep-flags): Define.
13889 * sunrpc/Makefile (extra-objs): Add $(addprefix
13890 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
13891 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
13892 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
13893 calling $(make-target-directory).
13895 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13897 * bits/types.h (__snseconds_t): Removed.
13898 * time/time.h (struct timespec): Replace __snseconds_t with
13900 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
13901 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
13903 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13904 (__SNSECONDS_T_TYPE): Likewise.
13905 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13906 (__SNSECONDS_T_TYPE): Likewise.
13907 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13908 (__SNSECONDS_T_TYPE): Likewise.
13910 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13912 * sysdeps/mach/hurd/bits/typesizes.h
13913 (__SYSCALL_SLONG_TYPE): New macro.
13914 (__SYSCALL_ULONG_TYPE): Likewise.
13916 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13918 * bits/types.h (__syscall_slong_t): New type.
13919 (__syscall_ulong_t): Likewise.
13921 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
13922 (__SYSCALL_ULONG_TYPE): Likewise.
13923 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13924 (__SYSCALL_SLONG_TYPE): Likewise.
13925 (__SYSCALL_ULONG_TYPE): Likewise.
13926 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13927 (__SYSCALL_SLONG_TYPE): Likewise.
13928 (__SYSCALL_ULONG_TYPE): Likewise.
13929 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13930 (__SYSCALL_SLONG_TYPE): Likewise.
13931 (__SYSCALL_ULONG_TYPE): Likewise.
13933 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13935 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
13936 Add sigaltstack-offsets.sym.
13937 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
13938 <sigaltstack-offsets.h>.
13939 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
13940 longjmp_msg pointer.
13941 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
13942 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
13944 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
13946 2012-05-15 Joseph Myers <joseph@codesourcery.com>
13948 * elf/stackguard-macros.h: Remove file.
13949 * sysdeps/generic/stackguard-macros.h: New file.
13950 * sysdeps/i386/stackguard-macros.h: Likewise.
13951 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
13952 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
13953 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
13954 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
13955 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
13956 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
13957 * sysdeps/x86_64/stackguard-macros.h: Likewise.
13958 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
13959 <elf/stackguard-macros.h>.
13962 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
13963 __aligned__ in attribute.
13964 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
13965 (gregset_t): Likewise.
13967 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13969 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
13970 * sysdeps/x86_64/64/Implies-after: Here. New file.
13971 * sysdeps/x86_64/x32/Implies-after: New file.
13973 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13975 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
13976 and access return value for _dl_profile_fixup. Use R10_LP to
13979 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13981 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
13983 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13985 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
13986 * sysdeps/x86_64/x32/sysdep.h: New file.
13988 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13990 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
13991 * sysdeps/x86_64/setjmp.S: Likewise.
13993 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13995 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
13996 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
13997 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
13998 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
13999 remove unused global constant.
14001 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
14003 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
14004 include of <not-cancel.h>.
14006 2012-05-15 Roland McGrath <roland@hack.frob.com>
14008 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
14010 2012-05-15 Jeff Law <law@redhat.com>
14011 Andreas Jaeger <aj@suse.de>
14014 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
14016 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
14017 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
14018 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
14019 code changing __hst_map_handle.map.
14021 2012-05-15 Roland McGrath <roland@hack.frob.com>
14023 * configure.in (sysnames): Look for Implies-before and Implies-after
14025 * configure: Regenerated.
14027 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14029 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
14030 8-byte data alignment with LP_SIZE alignment.
14032 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14034 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
14037 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14039 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
14041 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14043 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
14044 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
14045 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
14047 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
14049 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14051 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
14052 (stackinfo_sub_sp): Likewise.
14054 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14056 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
14059 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14061 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
14064 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14066 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
14069 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14071 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
14073 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14075 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
14076 into R11_LP and load __x86_64_shared_cache_size_half into
14079 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14081 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
14084 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14086 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
14088 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
14090 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
14092 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
14093 powerpc32/power7/fpu/s_logb.c via #include.
14094 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
14095 powerpc32/power7/fpu/s_logbf.c via #include.
14096 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
14097 powerpc32/power7/fpu/s_logbl.c via #include.
14099 2012-05-15 Joseph Myers <joseph@codesourcery.com>
14101 * README.libm: Remove file.
14103 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14105 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
14106 count for x32. Use R*_LP and omit operand-size suffix.
14108 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14110 * shlib-versions: Move x86_64-.*-linux.* entries to ...
14111 * sysdeps/x86_64/64/shlib-versions: Here. New file.
14112 * sysdeps/x86_64/x32/shlib-versions: New file.
14114 2012-05-14 Roland McGrath <roland@hack.frob.com>
14116 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
14117 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
14118 Use _dl_fatal_printf instead.
14120 2012-05-14 Joseph Myers <joseph@codesourcery.com>
14122 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
14123 set if not set by the user. Do not allow for being unset.
14124 * sysdeps/unix/sysv/linux/configure: Regenerated.
14126 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14128 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
14129 the `q' suffix from lea and replace .quad with ASM_ADDR.
14131 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14133 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
14134 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
14136 (PTR_DEMANGLE): Likewise.
14138 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14140 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
14142 (ASM_ADDR): Likewise.
14143 (RAX_LP): Likewise.
14144 (RBP_LP): Likewise.
14145 (RBX_LP): Likewise.
14146 (RCX_LP): Likewise.
14147 (RDI_LP): Likewise.
14148 (RSI_LP): Likewise.
14149 (RSP_LP): Likewise.
14152 (R10_LP): Likewise.
14153 (R10_LP): Likewise.
14154 (R11_LP): Likewise.
14155 (R12_LP): Likewise.
14156 (R13_LP): Likewise.
14157 (R14_LP): Likewise.
14158 (R15_LP): Likewise.
14160 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14162 * sysdeps/x86_64/x32/dl-machine.h: New file.
14164 2012-05-14 Andreas Jaeger <aj@suse.de>
14166 * manual/Makefile (subdir): Remove export of subdir.
14167 (all): Remove target.
14168 (.PHONY): Remove all from list.
14169 (mkinstalldirs): Remove.
14170 (.PHONY): Remove installdirs from list.
14171 ($(inst_infodir)/libc.info): Use make-target-directory.
14172 (installdirs): Remove.
14173 (subdir_%): Remove.
14174 (glibc-targets): Remove.
14177 ($(objpfx)stubs ../po/manual.pot): Remove.
14178 ($(objpfx)stamp%): Remove.
14179 (make-target-directory): Remove.
14180 (subdir_install): Remove.
14181 (routines): Remove.
14188 * manual/.gitignore: Remove, it's not needed anymore.
14189 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
14191 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
14193 (texis): Renamed to $(objpfx)texis.
14194 (texis-path): New, contains path to generated files.
14195 (chapters.%): Use texis-path for complete path, add extra argument
14197 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
14198 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
14199 (summary,texi, stamp-summary): Use complete path of
14200 files. Generate files in build dir.
14201 (dir-add.texi): Build in build dir.
14202 (libm-err.texi,stamp-libm-err): Likewise.
14203 (version.texi, stamp-version): Likewise.
14204 (.%c.texi): Likewise.
14205 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
14206 (mostlyclean): Remove target.
14207 (realclean): Remove target.
14208 (generated): Add new variable with contents from mostlyclean and
14209 realclean, remove entries duplicated in common-mostlyclean, add
14210 stamp-libm-err and stamp-version.
14211 (generated-dirs): Add libc directory.
14212 ($(inst_infodir)/libc.info): Install files from build dir.
14214 * manual/install.texi (Configuring and compiling): Adjust since
14215 the info files are not part of the tar ball anymore.
14217 2012-05-14 Andreas Jaeger <aj@suse.de>
14219 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
14222 2012-05-14 Joseph Myers <joseph@codesourcery.com>
14225 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
14226 to 2.2.0 where earlier.
14227 * sysdeps/unix/sysv/linux/configure: Regenerated.
14228 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
14229 Remove conditional code.
14230 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
14231 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
14232 Remove conditional code.
14233 [!__NR_lchown]: Likewise.
14234 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
14235 [__NR_lchown]: Likewise.
14236 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
14237 comment referencing __ASSUME_LCHOWN_SYSCALL.
14238 * sysdeps/unix/sysv/linux/i386/sigaction.c
14239 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
14240 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
14241 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
14242 Remove conditional code.
14243 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
14244 (__protocol_available): Remove #if 0 code.
14245 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
14247 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
14248 * sysdeps/unix/sysv/linux/kernel-features.h
14249 (__ASSUME_GETCWD_SYSCALL): Don't define.
14250 (__ASSUME_REALTIME_SIGNALS): Likewise.
14251 (__ASSUME_PREAD_SYSCALL): Likewise.
14252 (__ASSUME_PWRITE_SYSCALL): Likewise.
14253 (__ASSUME_POLL_SYSCALL): Likewise.
14254 (__ASSUME_LCHOWN_SYSCALL): Likewise.
14255 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
14257 (__ASSUME_SIOCGIFNAME): Don't define.
14258 (__ASSUME_MSG_NOSIGNAL): Likewise.
14259 (__ASSUME_SENDFILE): Define unconditionally.
14260 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
14261 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
14263 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
14264 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
14265 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
14266 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
14267 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
14268 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
14269 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
14270 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
14271 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
14272 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14273 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
14274 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
14275 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14276 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
14277 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
14278 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14279 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
14280 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
14281 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
14283 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
14284 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14285 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
14286 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
14287 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
14289 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
14290 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14291 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
14292 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
14293 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14294 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
14295 Remove conditional code.
14296 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14297 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
14298 Remove conditional code.
14299 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14300 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
14301 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
14302 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
14303 Remove conditional code.
14304 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14305 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
14306 Remove conditional code.
14307 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14308 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
14309 Remove conditional code.
14310 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14311 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
14312 Remove conditional code.
14313 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14314 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
14315 Remove conditional code.
14316 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14317 * sysdeps/unix/sysv/linux/sh/pwrite64.c
14318 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
14319 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14320 * sysdeps/unix/sysv/linux/sigaction.c
14321 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
14322 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
14323 * sysdeps/unix/sysv/linux/sigpending.c
14324 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
14325 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
14326 * sysdeps/unix/sysv/linux/sigprocmask.c
14327 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
14328 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
14329 * sysdeps/unix/sysv/linux/sigsuspend.c
14330 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
14331 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
14332 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
14333 (__libc_missing_rt_sigs): Remove.
14334 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
14335 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
14336 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
14337 Remove conditional code.
14338 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
14339 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
14341 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
14342 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
14343 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
14344 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
14346 2012-05-14 Andreas Jaeger <aj@suse.de>
14348 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
14349 it's not used in glibc.
14350 (__coshm1): Likewise.
14351 (__acosh1p): Likewise.
14354 * manual/string.texi (Copying and Concatenation): Add missing
14355 variable in concat example.
14356 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
14358 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14361 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
14362 __builtin_clzl with __builtin_clzll.
14364 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14367 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
14370 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14372 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
14373 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
14374 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
14375 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
14377 2012-05-14 Mike Frysinger <vapier@gentoo.org>
14379 * NEWS: Update ia64 info.
14381 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
14383 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
14386 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
14388 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
14389 * sysdeps/unix/syscalls.list (dup3): Likewise.
14390 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
14391 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
14393 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
14395 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
14396 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
14398 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
14400 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
14402 (TLS_IE): Use mov/add instead of movq/addq to load thread
14404 (TLS_GD_PREFIX): New.
14407 2012-05-11 David S. Miller <davem@davemloft.net>
14409 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
14410 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
14411 (_FPU_SETCW): Likewise.
14413 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
14415 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
14416 is 32-byte aligned.
14418 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
14421 * iconvdata/gb18030.c: Update tables.
14422 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
14423 characters specially.
14424 (BODY for TO_LOOP): Add encoding of missing ranges.
14426 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
14429 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
14430 * sysdeps/mach/hurd/dup3.c: Likewise.
14431 * sysdeps/mach/hurd/readlinkat.c: Likewise.
14432 * sysdeps/powerpc/memmove.c:: Likewise.
14434 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
14436 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
14437 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
14439 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
14441 * elf/elf.h (R_X86_64_RELATIVE64): New.
14442 (R_X86_64_NUM): Updated.
14443 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
14444 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
14445 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
14446 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
14447 tst-quad1pie tst-quad2pie
14448 (modules-names): Add tst-quadmod1 tst-quadmod2.
14449 ($(objpfx)tst-quad1): New dependency.
14450 ($(objpfx)tst-quad2): Likewise.
14451 ($(objpfx)tst-quad1pie): Likewise.
14452 ($(objpfx)tst-quad2pie): Likewise.
14453 * sysdeps/x86_64/tst-quad1.c: New file.
14454 * sysdeps/x86_64/tst-quad1pie.c: New file.
14455 * sysdeps/x86_64/tst-quad2.c: Likewise.
14456 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
14457 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
14458 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
14459 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
14460 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
14462 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14464 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
14465 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
14466 * streams/stropts.h (t_scalar_t): Define type.
14468 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
14469 (_PATH_PRESERVE): Set to "/var/lib".
14470 (_PATH_RWHODIR): Set to "/var/spool/rwho".
14472 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
14475 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
14476 if __dir_mkfile succeeded.
14478 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
14479 checking for _hurd_dtablesize. Unlock it right after having
14480 finished _hurd_dtable allocation.
14482 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
14484 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
14485 * sysdeps/mach/hurd/configure: Regenerated.
14486 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
14487 special-casing to...
14488 * sysdeps/gnu/configure.in: ... this new file.
14489 * sysdeps/unix/sysv/linux/configure: Regenerated.
14490 * sysdeps/gnu/configure: New generated file.
14492 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
14493 for Linux: use nsec instead of usec, as well as:
14494 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
14495 members of type struct timespec.
14496 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
14498 (struct stat64): Likewise.
14499 (_STATBUF_ST_NSEC): New macro.
14500 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
14502 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
14503 __strtoul_internal rather than strtoul.
14505 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
14507 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
14510 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14512 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
14513 which preserves existing values.
14514 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
14516 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
14518 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
14519 TIMEOUT values. Return EINVAL for NFDS values either negative or
14520 greater than FD_SETSIZE.
14522 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14524 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
14525 allocated, call __vm_protect to finish enabling the existing space, and
14526 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
14527 allocate the remainder.
14529 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
14531 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
14532 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
14534 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14536 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
14537 sysdeps/mach/hurd/readlink.c.
14539 * posix/tst-sysconf.c (posix_options): Only use
14540 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
14541 _POSIX_SYNCHRONIZED_IO when they are defined
14542 * sysdeps/mach/hurd/bits/posix_opt.h:
14543 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
14544 (_XOPEN_REALTIME): Undefine macro.
14545 (_XOPEN_REALTIME_THREADS): Undefine macro.
14546 (_XOPEN_SHM): Undefine macro.
14547 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
14549 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
14551 (_POSIX_ASYNC_IO): Undefine macro.
14552 (_POSIX_PRIORITIZED_IO): Undefine macro.
14553 (_POSIX_SPIN_LOCKS): Define macro to -1.
14555 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
14556 SA_NODEFER, SA_RESETHAND.
14557 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
14558 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
14561 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
14563 * elf/Makefile (pldd-modules): Define unconditionally.
14565 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
14567 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
14569 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14571 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
14572 Return ENOENT when name is empty.
14573 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
14575 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
14577 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
14579 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
14581 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14583 Fix mlock in all cases except non-readable pages.
14584 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
14585 instead of VM_PROT_ALL as parameter to __vm_wire function.
14587 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
14588 (__mkdir): When path is `/', just fail with EEXIST.
14589 * sysdeps/mach/hurd/mkdirat.c: Likewise.
14591 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
14593 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
14594 <sys/uio.h> (for writev).
14595 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
14596 and <sys/param.h> (for MIN).
14598 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
14600 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
14601 REQUESTED_TIME. Properly set the remaining time and return EINTR
14604 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
14606 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
14607 Depend on against $(link-rpcuserlibs).
14609 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14611 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
14612 (__libc_stack_end): Do not use attribute_relro.
14613 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
14614 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
14615 to libthread-provided value.
14616 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
14619 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
14622 * bits/libc-lock.h (__libc_once_get): New macro.
14623 * sysdeps/mach/bits/libc-lock.h: Likewise.
14624 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
14625 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
14626 instead of using implementation details.
14628 * libio/fileops.c: Unconditionally include <kernel-features.h>.
14629 * libio/freopen.c: Likewise.
14630 * libio/freopen64.c: Likewise.
14631 * misc/syslog.c: Likewise.
14632 * nscd/connections.c: Likewise.
14633 * nscd/netgroupcache.c: Likewise.
14634 * sysdeps/posix/getcwd.c: Likewise.
14636 2012-05-10 Roland McGrath <roland@hack.frob.com>
14638 * math/w_ilogbf.c: Add #include <limits.h>.
14640 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14642 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
14643 path instead of returning without unlocking.
14645 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
14646 immediate-write ioctls.
14647 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
14649 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
14651 * sysdeps/mach/hurd/i386/init-first.c (init): Use
14652 __builtin_frame_address instead of making assumptions about the
14653 location of the return address relative to DATA. Force early load of
14654 the return address.
14655 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
14656 __builtin_frame_address.
14659 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
14660 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
14661 implement dup3 and do some further code clean-ups.
14662 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
14663 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
14665 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14667 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
14669 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
14670 HURD_CRITICAL_END around holding _hurd_dtable_lock.
14671 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
14672 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
14673 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
14676 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
14677 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
14678 when handler == SIG_ERR, not when handler != SIG_ERR.
14680 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
14682 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
14683 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
14686 accept4 for GNU Hurd.
14687 * include/sys/socket.h (__libc_accept4): New prototype.
14688 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
14689 to implement __libc_accept4.
14690 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
14692 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
14694 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
14695 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
14696 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
14697 signal-defines.sym.
14699 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14701 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
14703 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
14705 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
14706 assertion on O_CLOEXEC flag.
14707 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
14708 * hurd/intern-fd.c: Likewise.
14709 * hurd/port2fd.c: Likewise.
14711 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14714 * bits/in.h (IPV6_PKTINFO): Define new macro.
14715 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
14717 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14722 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
14723 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
14724 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
14725 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
14726 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
14727 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
14728 * math/libm-test.inc (logb_test) : Additional logb tests.
14730 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
14731 Andreas Jaeger <aj@suse.de>
14733 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
14734 * configure: Regenerated.
14735 * config.h.in (LINK_OBSOLETE_RPC): New macro.
14736 * config.make.in (link-obsolete-rpc): New substituted variable.
14737 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
14738 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
14739 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
14740 (shared-only-routines): Don't set it under [link-obsolete-rpc],
14741 so that libc.a contains the symbols.
14742 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
14743 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
14744 * sunrpc/auth_none.c: Likewise.
14745 * sunrpc/auth_unix.c: Likewise.
14746 * sunrpc/authdes_prot.c: Likewise.
14747 * sunrpc/authuxprot.c: Likewise.
14748 * sunrpc/clnt_gen.c: Likewise.
14749 * sunrpc/clnt_perr.c: Likewise.
14750 * sunrpc/clnt_raw.c: Likewise.
14751 * sunrpc/clnt_simp.c: Likewise.
14752 * sunrpc/clnt_tcp.c: Likewise.
14753 * sunrpc/clnt_udp.c: Likewise.
14754 * sunrpc/clnt_unix.c: Likewise.
14755 * sunrpc/des_crypt.c: Likewise.
14756 * sunrpc/des_soft.c: Likewise.
14757 * sunrpc/get_myaddr.c: Likewise.
14758 * sunrpc/key_call.c: Likewise.
14759 * sunrpc/key_prot.c: Likewise.
14760 * sunrpc/netname.c: Likewise.
14761 * sunrpc/pm_getmaps.c: Likewise.
14762 * sunrpc/pm_getport.c: Likewise.
14763 * sunrpc/pmap_clnt.c: Likewise.
14764 * sunrpc/pmap_prot.c: Likewise.
14765 * sunrpc/pmap_prot2.c: Likewise.
14766 * sunrpc/pmap_rmt.c: Likewise.
14767 * sunrpc/publickey.c: Likewise.
14768 * sunrpc/rpc_cmsg.c: Likewise.
14769 * sunrpc/rpc_common.c: Likewise.
14770 * sunrpc/rpc_dtable.c: Likewise.
14771 * sunrpc/rpc_prot.c: Likewise.
14772 * sunrpc/rpc_thread.c: Likewise.
14773 * sunrpc/rtime.c: Likewise.
14774 * sunrpc/svc.c: Likewise.
14775 * sunrpc/svc_auth.c: Likewise.
14776 * sunrpc/svc_raw.c: Likewise.
14777 * sunrpc/svc_run.c: Likewise.
14778 * sunrpc/svc_tcp.c: Likewise.
14779 * sunrpc/svc_udp.c: Likewise.
14780 * sunrpc/svc_unix.c: Likewise.
14781 * sunrpc/svcauth_des.c: Likewise.
14782 * sunrpc/xcrypt.c: Likewise.
14783 * sunrpc/xdr.c: Likewise.
14784 * sunrpc/xdr_array.c: Likewise.
14785 * sunrpc/xdr_float.c: Likewise.
14786 * sunrpc/xdr_intXX_t.c: Likewise.
14787 * sunrpc/xdr_mem.c: Likewise.
14788 * sunrpc/xdr_rec.c: Likewise.
14789 * sunrpc/xdr_ref.c: Likewise.
14790 * sunrpc/xdr_sizeof.c: Likewise.
14791 * sunrpc/xdr_stdio.c: Likewise.
14793 2012-05-10 Roland McGrath <roland@hack.frob.com>
14795 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
14796 change. Update copyright years.
14798 2012-05-10 Joseph Myers <joseph@codesourcery.com>
14800 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
14802 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
14803 Joseph Myers <joseph@codesourcery.com>
14804 Paul Pluzhnikov <ppluzhnikov@google.com>
14807 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
14809 [cross-compiling] (extra-libs): Likewise.
14810 [cross-compiling] (extra-libs-others): Likewise.
14811 [cross-compiling] (librpcsvc-routines): Likewise.
14812 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
14813 [cross-compiling] (omit-deps): Likewise.
14814 (sunrpc-CPPFLAGS): New variable.
14815 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
14816 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
14817 (cross-rpcgen-objs): New variable.
14818 (extra-objs): Append $(cross-rpcgen-objs).
14819 ($(cross-rpcgen-objs)): New rule.
14820 ($(objpfx)cross-rpcgen): Likewise.
14821 (rpcgen-cmd): Define to use $(built-program-file). Expand
14823 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
14824 ($(objpfx)x%.stmp): Likewise.
14825 * sunrpc/proto.h [IS_IN_build] (_): Define.
14826 [IS_IN_build] (_libc_intl_domainname): Likewise.
14828 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
14830 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
14831 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
14832 and R_X86_64_TPOFF64.
14834 2012-05-10 Joseph Myers <joseph@codesourcery.com>
14836 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
14837 sysdeps/unix/sysv/syscalls.list.
14840 * sysdeps/unix/sysv/syscalls.list: Remove file.
14842 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
14845 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
14846 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
14847 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
14848 (__LC_IDENTIFICATION): Make these macros useful in #if
14849 expressions, as required by C99.
14851 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
14853 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
14854 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
14857 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
14859 * stdlib/longlong.h: Updated from GCC.
14861 2012-05-09 Andreas Jaeger <aj@suse.de>
14863 * nscd/nscd.c (run_modes): Make named enum, reorder so that
14864 default is first entry.
14865 (run_mode): Set type.
14866 (main): Remove informal message about syslog.
14867 (options): Fix typo.
14870 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
14873 (llrintf): Likewise.
14874 (llrint): Likewise.
14877 (nearbyint): Likewise.
14878 (nearbyintf): Likewise.
14880 2012-05-09 Andreas Jaeger <aj@suse.de>
14881 Pedro Alves <palves@redhat.com>
14883 * nscd/nscd.c (run_mode): Use enum.
14884 (main): Cleanup coding style issue.
14886 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
14887 Andreas Jaeger <aj@suse.de>
14889 * nscd/nscd.c (go_background): Replaced with...
14890 (run_mode): ... this.
14891 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
14892 (options): Add -F --foreground.
14893 (main): Implement it.
14894 (parse_opt): Parse it.
14896 2012-05-09 Andreas Jaeger <aj@suse.de>
14899 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
14900 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
14901 -Wconversion warning.
14902 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
14905 2012-05-09 Joseph Myers <joseph@codesourcery.com>
14907 * conform/data/locale.h-data (NULL): Use macro-constant. Require
14909 (LC_ALL): Use macro-int-constant.
14910 (LC_COLLATE): Likewise.
14911 (LC_CTYPE): Likewise.
14912 (LC_MESSAGES): Likewise.
14913 (LC_MONETARY): Likewise.
14914 (LC_NUMERIC): Likewise.
14915 (LC_TIME): Likewise.
14916 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
14917 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
14918 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14919 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
14921 [C99-based standards] (float_t): Expect type.
14922 [C99-based standards] (double_t): Expect type.
14923 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
14925 [C99-based standards] (HUGE_VALL): Likewise.
14926 [C99-based standards] (INFINITY): Likewise.
14927 [C99-based standards] (NAN): Likewise.
14928 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
14929 [C99-based standards] (FP_NAN): Likewise.
14930 [C99-based standards] (FP_NORMAL): Likewise.
14931 [C99-based standards] (FP_SUBNORMAL): Likewise.
14932 [C99-based standards] (FP_ZERO): Likewise.
14933 [C99-based standards] (FP_FAST_FMA): Use
14934 optional-macro-int-constant. Specify type. Require == 1.
14935 [C99-based standards] (FP_FAST_FMAF): Likewise.
14936 [C99-based standards] (FP_FAST_FMAL): Likewise.
14937 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
14938 [C99-based standards] (FP_ILOGBNAN): Likewise.
14939 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
14941 [C99-based standards] (MATH_ERREXCEPT): Likewise.
14942 [C99-based standards] (math_errhandling): Specify type.
14943 [ISO99 || ISO11] (signgam): Do not allow.
14944 [non-C99-based standards] (copysignf): Do not allow.
14945 [non-C99-based standards] (exp2f): Likewise.
14946 [non-C99-based standards] (log2f): Likewise.
14947 [non-C99-based standards] (modff): Allow.
14948 [non-C99-based standards] (erff): Do not allow.
14949 [non-C99-based standards] (erfcf): Likewise.
14950 [non-C99-based standards] (gammaf): Likewise.
14951 [non-C99-based standards] (hypotf): Likewise.
14952 [non-C99-based standards] (j0f): Likewise.
14953 [non-C99-based standards] (j1f): Likewise.
14954 [non-C99-based standards] (jnf): Likewise.
14955 [non-C99-based standards] (lgammaf): Likewise.
14956 [non-C99-based standards] (tgammaf): Likewise.
14957 [non-C99-based standards] (y0f): Likewise.
14958 [non-C99-based standards] (y1f): Likewise.
14959 [non-C99-based standards] (ynf): Likewise.
14960 [non-C99-based standards] (isnanf): Likewise.
14961 [non-C99-based standards] (acoshf): Likewise.
14962 [non-C99-based standards] (asinhf): Likewise.
14963 [non-C99-based standards] (atanhf): Likewise.
14964 [non-C99-based standards] (cbrtf): Likewise.
14965 [non-C99-based standards] (expm1f): Likewise.
14966 [non-C99-based standards] (ilogbf): Likewise.
14967 [non-C99-based standards] (log1pf): Likewise.
14968 [non-C99-based standards] (logbf): Likewise.
14969 [non-C99-based standards] (nextafterf): Likewise.
14970 [non-C99-based standards] (remainderf): Likewise.
14971 [non-C99-based standards] (rintf): Likewise.
14972 [non-C99-based standards] (scalbf): Likewise.
14973 [non-C99-based standards] (copysignl): Likewise.
14974 [non-C99-based standards] (exp2l): Likewise.
14975 [non-C99-based standards] (log2l): Likewise.
14976 [non-C99-based standards] (modfl): Allow.
14977 [non-C99-based standards] (erfl): Do not allow.
14978 [non-C99-based standards] (erfcl): Likewise.
14979 [non-C99-based standards] (gammal): Likewise.
14980 [non-C99-based standards] (hypotl): Likewise.
14981 [non-C99-based standards] (j0l): Likewise.
14982 [non-C99-based standards] (j1l): Likewise.
14983 [non-C99-based standards] (jnl): Likewise.
14984 [non-C99-based standards] (lgammal): Likewise.
14985 [non-C99-based standards] (tgammal): Likewise.
14986 [non-C99-based standards] (y0l): Likewise.
14987 [non-C99-based standards] (y1l): Likewise.
14988 [non-C99-based standards] (ynl): Likewise.
14989 [non-C99-based standards] (isnanl): Likewise.
14990 [non-C99-based standards] (acoshl): Likewise.
14991 [non-C99-based standards] (asinhl): Likewise.
14992 [non-C99-based standards] (atanhl): Likewise.
14993 [non-C99-based standards] (cbrtl): Likewise.
14994 [non-C99-based standards] (expm1l): Likewise.
14995 [non-C99-based standards] (ilogbl): Likewise.
14996 [non-C99-based standards] (log1pl): Likewise.
14997 [non-C99-based standards] (logbl): Likewise.
14998 [non-C99-based standards] (nextafterl): Likewise.
14999 [non-C99-based standards] (remainderl): Likewise.
15000 [non-C99-based standards] (rintl): Likewise.
15001 [non-C99-based standards] (scalbl): Likewise.
15002 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15003 [non-C99-based standards] (FP_*): Do not allow.
15004 [C99-based standards] (FP_*): Change to
15005 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
15006 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
15008 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
15009 (SIG_ERR): Likewise.
15010 [X/Open-based standards] (SIG_HOLD): Likewise.
15011 (SIG_IGN): Likewise.
15012 (SIGABRT): Use macro-int-constant. Specify type. Require
15014 (SIGFPE): Likewise.
15015 (SIGILL): Likewise.
15016 (SIGINT): Likewise.
15017 (SIGSEGV): Likewise.
15018 (SIGTER): Likewise.
15019 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
15020 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
15021 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
15022 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
15023 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
15024 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
15025 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
15026 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
15027 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
15028 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
15029 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
15030 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
15031 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
15032 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
15033 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
15034 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
15035 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
15036 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
15037 [X/Open-based standards] (SIGTRAP): Likewise.
15038 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
15039 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
15040 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
15041 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
15042 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
15045 2012-05-08 Ian Wienand <ianw@vmware.com>
15048 * time/tzset.c (__tzset_parse_tz): Update default rules for
15049 daylight time changes in the Energy Policy Act of 2005.
15051 2012-05-09 Andreas Jaeger <aj@suse.de>
15054 * elf/ldconfig.c (parse_conf): Change string to make clear that
15055 ldconfig only issued a warning if ld.so.conf does not exist.
15057 2012-05-08 David S. Miller <davem@davemloft.net>
15059 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
15060 movxtod instead of popping the value on the stack.
15062 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15064 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
15066 * config.h.in: Add HAVE_ARM_PCS_VFP.
15068 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
15071 * include/features.h: Warn if user requests __FORTIFY_SOURCE
15072 checking but the checks are disabled for any reason.
15074 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
15076 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
15077 and ELF64_R_TYPE with ELFW(R_TYPE).
15079 2012-05-08 Joseph Myers <joseph@codesourcery.com>
15081 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
15082 (ulimit): Likewise.
15084 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
15085 (settimeofday): Likewise.
15087 2012-05-08 Mike Frysinger <vapier@gentoo.org>
15089 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
15090 a struct th_u2 inside the union, and move tu_block/tu_code into
15091 a new th_u3 union of tu_block/tu_code inside of that. Move
15092 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
15093 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
15094 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
15095 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
15096 (th_stuff): Change to th_u1.tu_stuff.
15098 (th_msg): Change to th_u1.th_u2.tu_data.
15100 2012-05-07 David S. Miller <davem@davemloft.net>
15102 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15105 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
15106 (SETUP_PIC_REG): Use it.
15107 (SETUP_PIC_REG_LEAF): Use it.
15109 2012-05-07 Joseph Myers <joseph@codesourcery.com>
15113 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
15115 (EXPL_FINITE): Likewise.
15116 (FLDLOG): Likewise.
15117 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
15118 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
15120 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
15122 (EXPL_FINITE): Likewise.
15123 (FLDLOG): Likewise.
15124 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
15125 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
15127 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
15128 test of -max_value argument for long double.
15129 * sysdeps/i386/fpu/libm-test-ulps: Update.
15130 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15132 2012-05-06 David S. Miller <davem@davemloft.net>
15134 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
15135 quad soft-float symbols whose references which are compiler
15137 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
15139 2012-05-06 Joseph Myers <joseph@codesourcery.com>
15143 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
15145 (EXPL_FINITE): Likewise.
15146 (FLDLOG): Likewise.
15149 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
15150 Adjust comments for base varying.
15151 (__expl_finite): Change alias to EXPL_FINITE.
15152 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
15154 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
15155 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
15156 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
15157 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
15158 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
15160 (EXPL_FINITE): Likewise.
15161 (FLDLOG): Likewise.
15164 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
15165 Adjust comments for base varying.
15166 (__expl_finite): Change alias to EXPL_FINITE.
15167 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
15169 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15172 * math/libm-test.inc (check_float_internal): Correct ulp
15173 calculation for subnormal expected results.
15175 2012-05-06 Andreas Jaeger <aj@suse.de>
15177 * Makeconfig (+math-flags): New, set to -frounding-math.
15178 (+cflags): Add +math-flags so that all of glibc gets compiled with
15181 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
15183 2012-05-05 Joseph Myers <joseph@codesourcery.com>
15185 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
15191 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
15192 (__ieee754_expl): Allow for and saturate large arguments.
15193 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
15194 (u_threshold): Likewise.
15195 (__exp): Call __ieee754_exp before checking for overflow and
15197 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
15198 (u_threshold): Likewise.
15199 (__expf): Call __ieee754_expf before checking for overflow and
15201 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
15202 (u_threshold): Likewise.
15203 (__expl): Call __ieee754_expl before checking for overflow and
15205 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
15206 (__ieee754_expl): Allow for and saturate large arguments.
15207 * math/libm-test.inc (exp_test): Add another test. Do not allow
15208 missing overflow exception on overflow.
15209 (expm1_test): Do not allow missing overflow exception on overflow.
15211 * sysdeps/i386/fpu/e_expl.c: Move to ...
15212 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
15213 rather than using inline asm.
15214 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
15215 * sysdeps/x86_64/fpu/e_expl.S: Copy from
15216 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
15218 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
15221 (signal): Likewise.
15225 2012-05-04 Joseph Myers <joseph@codesourcery.com>
15227 * sysdeps/unix/syscalls.list (adjtime): Add entry from
15228 sysdeps/unix/common/syscalls.list.
15229 (fchmod): Likewise.
15230 (fchown): Likewise.
15231 (ftruncate): Likewise.
15232 (getrusage): Likewise.
15233 (gettimeofday): Likewise.
15234 (setpgid): Likewise.
15235 (setregid): Likewise.
15236 (setreuid): Likewise.
15237 (sigaction): Likewise.
15238 (truncate): Likewise.
15239 (vhangup): Likewise.
15240 * sysdeps/unix/common/syscalls.list: Remove file.
15241 * sysdeps/unix/bsd/Implies: Don't include unix/common.
15242 * sysdeps/unix/sysv/linux/Implies: Likewise.
15244 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
15246 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
15247 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
15248 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
15250 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
15252 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
15254 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
15255 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
15257 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
15258 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
15260 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
15261 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
15263 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
15264 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
15266 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
15267 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
15269 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
15270 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
15272 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
15274 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
15276 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
15278 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
15280 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
15281 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
15283 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
15285 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
15287 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
15289 2012-05-04 Joseph Myers <joseph@codesourcery.com>
15291 * sysdeps/unix/common/bits/dirent.h: Remove file.
15292 * sysdeps/unix/common/bits/fcntl.h: Likewise.
15294 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
15295 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
15296 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
15297 * sysdeps/unix/bsd/isatty.c: Likewise.
15298 * sysdeps/unix/bsd/tcdrain.c: Likewise.
15299 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
15300 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
15302 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15305 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
15306 long double comparison inaccuracies.
15307 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
15308 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15310 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
15312 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
15313 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
15315 2012-05-04 Joseph Myers <joseph@codesourcery.com>
15318 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
15319 nonzero digits before rounding a hex value.
15320 * stdlib/tst-strtod.c (tests): Add another test.
15322 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15324 * sysdeps/s390/fpu/libm-test-ulps: Update.
15326 2012-05-03 Andreas Jaeger <aj@suse.de>
15328 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
15329 does not get optimized out.
15330 (malloc_opt_barrier): New.
15332 2012-05-03 Andreas Jaeger <aj@suse.de>
15333 Roland McGrath <roland@hack.frob.com>
15335 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
15336 intermediate file deletion.
15337 (generated): Add .symlist files.
15339 2012-05-03 Joseph Myers <joseph@codesourcery.com>
15342 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
15343 Redirect under this condition.
15344 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
15345 [__USE_GNU] (__dprintf_chk): Not under this condition.
15346 [__USE_GNU] (__vdprintf_chk): Likewise.
15347 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
15348 under this condition.
15349 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
15350 [__USE_XOPEN2K8] (dprintf): Define under this condition.
15351 [__USE_XOPEN2K8] (vdprintf): Likewise.
15352 [__USE_GNU] (__dprintf_chk): Not under this condition.
15353 [__USE_GNU] (__vdprintf_chk): Likewise.
15354 [__USE_GNU] (dprintf): Likewise.
15355 [__USE_GNU] (vdprintf): Likewise.
15357 2012-05-03 Roland McGrath <roland@hack.frob.com>
15359 * elf/Makefile (common-generated): Set this instead of generated for
15360 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
15361 $(all-built-dso)-derived lists.
15363 2012-05-03 Andreas Jaeger <aj@suse.de>
15365 * sysdeps/i386/fpu/libm-test-ulps: Update.
15368 * FAQ.in: Likewise.
15369 * scripts/gen-FAQ.pl: Likewise.
15370 * manual/install.texi (Installation): Point to online location of
15372 * Makefile (files-for-dist): Remove FAQ.
15375 2012-05-02 Allan McRae <allan@archlinux.org>
15377 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
15378 (LDFLAGS-reldepmod5.so): Likewise.
15379 (LDFLAGS-reldep6mod1.so): Likewise.
15380 (LDFLAGS-reldep6mod4.so): Likewise.
15381 (LDFLAGS-reldep8mod3.so): Likewise.
15382 (LDFLAGS-unload4mod1.so): Likewise.
15383 (LDFLAGS-unload4mod2.so): Likewise.
15384 (LDFLAGS-tst-initorder): Likewise.
15385 (LDFLAGS-tst-initordera2.so): Likewise.
15386 (LDFLAGS-tst-initordera3.so): Likewise.
15387 (LDFLAGS-tst-initordera4.so): Likewise.
15388 (LDFLAGS-tst-initorderb2.so): Likewise.
15389 (LDFLAGS-noload): Likewise.
15390 (LDFLAGS-next): Likewise.
15391 (LDFLAGS-order2mod1.so): Likewise.
15392 (LDFLAGS-order2mod2.so): Likewise.
15393 (LDFLAGS-tst-initorder2): Likewise.
15394 (LDFLAGS-tst-initorder2a.so): Likewise.
15395 (LDFLAGS-tst-initorder2b.so): Likewise.
15396 (LDFLAGS-tst-initorder2c.so): Likewise.
15397 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
15399 2012-05-02 David S. Miller <davem@davemloft.net>
15401 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15403 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
15406 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
15408 2012-05-02 Andreas Jaeger <aj@suse.de>
15410 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
15411 since we manipulate rounding mode.
15412 (CPPFLAGS-test-idouble.c): Likewise.
15413 (CPPFLAGS-test-ifloat.c): Likewise.
15414 (CFLAGS-test-ldouble.c): Likewise.
15415 (CFLAGS-test-double.c): Likewise.
15416 (CFLAGS-test-float.c): Likewise.
15417 (CFLAGS-test-misc.c): Likewise.
15418 (CFLAGS-test-test-fenv.c): Likewise.
15420 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15424 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
15425 comparisons to determine direction to adjust input.
15427 2012-05-01 Roland McGrath <roland@hack.frob.com>
15429 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
15430 output to the target.
15432 * scripts/localplt.awk: New file.
15433 * elf/Makefile ($(objpfx)check-localplt): Target removed.
15434 (check-localplt-CFLAGS): Variable removed.
15435 ($(all-built-dso:=.jmprel)): New static pattern rule.
15436 (generated): Add those targets.
15437 (localplt-built-dso): New variable.
15438 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
15440 * elf/check-localplt.c: File removed.
15442 * scripts/check-execstack.awk: New file.
15443 * elf/Makefile ($(objpfx)check-execstack): Target removed.
15444 (check-execstack-CFLAGS): Variable removed.
15445 ($(objpfx)check-execstack.h): Target removed.
15446 ($(objpfx)execstack-default): New target.
15447 (generated): Add that instead of check-execstack.h.
15448 ($(all-built-dso:=.phdr)): New static pattern rule.
15449 (generated): Add those targets.
15450 * elf/check-execstack.c: File removed.
15452 * scripts/check-textrel.awk: New file.
15453 * elf/Makefile ($(objpfx)check-textrel): Target removed.
15454 (check-textrel-CFLAGS): Variable removed.
15455 (all-built-dso): Use := to define.o
15456 ($(all-built-dso:=.dyn)): New static pattern rule.
15457 (generated): Add those targets.
15458 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
15459 * config.make.in (READELF): New substituted variable.
15460 * elf/check-textrel.c: File removed.
15462 2012-05-01 Joseph Myers <joseph@codesourcery.com>
15464 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
15466 * conform/data/ctype.h-data [C99-based standards] (isblank):
15468 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
15469 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
15470 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15471 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
15472 Specify type. Require positive value.
15473 (EILSEQ): Likewise.
15474 (ERANGE): Likewise.
15475 [ISO || POSIX] (EILSEQ): Do not expect.
15476 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
15477 Specify type. Require positive value.
15478 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
15479 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
15480 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
15481 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
15482 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
15483 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
15484 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
15485 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
15486 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
15487 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
15488 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
15489 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
15490 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
15491 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
15492 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
15493 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
15494 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
15495 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
15496 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
15497 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
15498 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
15499 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
15500 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
15501 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
15502 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
15503 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
15504 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
15505 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
15506 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
15507 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
15508 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
15509 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
15510 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
15511 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
15512 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
15513 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
15514 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
15515 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
15516 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
15517 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
15518 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
15519 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
15520 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
15521 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
15522 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
15523 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
15524 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
15525 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
15526 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
15527 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
15528 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
15529 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
15530 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
15531 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
15532 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
15533 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
15534 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
15535 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
15536 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
15537 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
15538 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
15539 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
15540 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
15541 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
15542 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
15543 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
15544 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
15545 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
15546 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
15547 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
15548 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
15549 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
15550 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
15551 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
15552 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
15553 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
15554 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
15556 (FLT_ROUNDS): Expect as macro, not constant.
15557 (FLT_MANT_DIG): Use macro-int-constant.
15558 (DBL_MANT_DIG): Likewise.
15559 (LDBL_MANT_DIG): Likewise.
15560 (FLT_DIG): Likewise.
15561 (DBL_DIG): Likewise.
15562 (LDBL_DIG): Likewise.
15563 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
15564 (DBL_MIN_EXP): Likewise.
15565 (LDBL_MIN_EXP): Likewise.
15566 (FLT_MAX_EXP): Use macro-int-constant.
15567 (DBL_MAX_EXP): Likewise.
15568 (LDBL_MAX_EXP): Likewise.
15569 (FLT_MAX_10_EXP): Likewise.
15570 (DBL_MAX_10_EXP): Likewise.
15571 (LDBL_MAX_10_EXP): Likewise.
15572 (FLT_MAX): Use macro-constant.
15573 (DBL_MAX): Likewise.
15574 (LDBL_MAX): Likewise.
15575 (FLT_EPSILON): Use macro-constant. Give upper bound.
15576 (DBL_EPSILON): Likewise.
15577 (LDBL_EPSILON): Likewise.
15578 (FLT_MIN): Likewise.
15579 (DBL_MIN): Likewise.
15580 (LDBL_MIN): Likewise.
15581 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
15582 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
15583 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
15584 [ISO11] (FLT_HAS_SUBNORM): Likewise.
15585 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
15586 [ISO11] (DBL_DECIMAL_DIG): Likewise.
15587 [ISO11] (FLT_DECIMAL_DIG): Likewise.
15588 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
15589 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
15590 [ISO11] (FLT_TRUE_MIN): Likewise.
15591 [ISO11] (LDBL_TRUE_MIN): Likewise.
15592 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15593 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
15594 (SCHAR_MIN): Use macro-int-constant. Specify type.
15595 (SCHAR_MAX): Likewise.
15596 (UCHAR_MAX): Likewise.
15597 (CHAR_MIN): Likewise.
15598 (CHAR_MAX): Likewise.
15599 (MB_LEN_MAX): Use macro-int-constant.
15600 (SHRT_MIN): Use macro-int-constant. Specify type.
15601 (SHRT_MAX): Likewise.
15602 (USHRT_MAX): Likewise.
15603 (INT_MAX): Likewise.
15604 (INT_MIN): Use macro-int-constant. Specify type. Make upper
15606 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
15608 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
15610 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
15611 bound negative. Suffix upper bound with "L".
15612 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
15614 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
15616 [C99-based standards] (LLONG_MAX): Likewise.
15617 [C99-based standards] (ULLONG_MAX): Likewise.
15618 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
15620 [ISO11] (max_align_t): Require type.
15621 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15623 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
15624 from $CFLAGS, without defining away __attribute__ calls.
15625 (checknamespace): Use $CFLAGS_namespace.
15627 * conform/conformtest.pl (@keywords): Only include C99 keywords
15628 for standards based on C99 or C11.
15630 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
15632 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
15635 * conform/conformtest.pl: Handle "macro-int-constant" and test for
15636 usability of symbols in #if.
15638 * conform/conformtest.pl: If macro or constant types start
15639 "promoted:", expect the symbol to be of the following type
15640 promoted by the integer promotions.
15642 * conform/conformtest.pl: Parse all "constant" and "macro" lines
15643 in one place. Also handle "macro-constant".
15645 * conform/conformtest.pl: Only accept expected macro values with
15646 "==". Parse all "macro" lines in one place.
15647 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
15649 * conform/conformtest.pl: Handle braced types on "constant" lines
15650 instead of handling "typed-constant".
15651 * conform/data/signal.h-data: Use "constant" instead of
15654 * conform/conformtest.pl: Handle "optional-" at start of lines in
15655 one place rather than duplicating several cases. Handle each
15656 format of "macro" line with initial "optional-".
15658 * conform/conformtest.pl: Only accept expected constant or
15659 optional-constant values with "==". Parse all "constant" lines in
15660 one place. Parse all "optional-constant" lines in one place.
15661 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
15662 * conform/data/fmtmsg.h-data: Likewise.
15663 * conform/data/netinet/in.h-data: Likewise.
15664 * conform/data/tar.h-data: Likewise.
15665 * conform/data/limits.h-data: Use "==" form on "constant" and
15666 "optional-constant" lines.
15668 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
15669 Use -std=c99 for XOPEN2K.
15670 (@knownproblems): Remove.
15671 (newtoken): Don't check %isknown.
15673 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
15674 Do not expect macro.
15675 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
15676 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
15677 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
15678 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
15679 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
15680 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
15681 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
15682 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
15683 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
15684 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
15685 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
15686 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
15687 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
15688 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
15689 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
15690 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
15691 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
15692 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
15693 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
15694 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
15695 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
15696 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
15697 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
15698 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
15699 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
15700 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
15701 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
15702 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
15703 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
15704 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
15705 [XPG3] (acosh): Likewise.
15706 [XPG3] (asinh): Likewise.
15707 [XPG3] (atanh): Likewise.
15708 [XPG3] (cbrt): Likewise.
15709 [XPG3] (expm1): Likewise.
15710 [XPG3] (ilogb): Likewise.
15711 [XPG3] (log1p): Likewise.
15712 [XPG3] (logb): Likewise.
15713 [XPG3] (nextafter): Likewise.
15714 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
15715 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
15716 [XPG3] (remainder): Likewise.
15717 [XPG3] (rint): Likewise.
15718 [XPG3 || XPG4 || UNIX98] (round): Likewise.
15719 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
15720 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
15721 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
15722 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
15723 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
15724 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
15725 [UNIX98 || XOPEN2K] (scalb): Expect.
15726 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
15727 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
15728 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
15729 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
15730 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
15731 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
15732 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
15733 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
15734 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
15735 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
15736 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
15737 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
15738 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
15739 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
15740 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
15741 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
15742 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
15743 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
15744 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
15745 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
15746 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
15747 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
15748 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
15749 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
15750 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
15751 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
15752 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
15753 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
15754 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
15755 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
15756 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
15757 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
15758 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
15759 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
15760 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
15761 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
15762 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
15763 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
15764 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
15765 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
15766 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
15767 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
15768 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
15769 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
15770 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
15771 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
15772 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
15773 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
15774 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
15775 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
15776 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
15777 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
15778 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
15779 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
15780 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
15781 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
15782 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
15783 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
15784 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
15785 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
15786 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
15787 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
15788 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
15789 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
15790 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
15791 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
15792 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
15793 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
15794 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
15795 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
15796 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
15797 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
15798 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
15799 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
15800 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
15801 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
15802 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
15803 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
15804 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
15805 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
15806 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
15807 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
15808 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
15809 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
15810 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
15811 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
15812 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
15813 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
15814 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
15815 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
15816 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
15817 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
15818 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
15819 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
15820 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
15821 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
15822 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
15823 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
15824 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
15825 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
15826 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
15827 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
15828 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
15829 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
15830 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
15831 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
15832 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
15833 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
15834 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
15835 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
15836 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
15837 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
15838 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
15839 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
15840 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
15841 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
15842 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
15843 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
15844 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
15845 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
15846 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
15847 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
15848 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
15849 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
15850 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
15851 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
15852 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
15853 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
15854 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
15855 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
15856 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
15857 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
15858 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
15859 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
15860 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
15861 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
15862 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
15864 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
15865 _XOPEN_SOURCE_EXTENDED for XPG4.
15867 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
15869 * Makeconfig (localtime): Remove variable.
15870 (inst_localtime-file): Likewise.
15872 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
15874 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
15876 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15878 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
15880 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
15882 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
15884 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
15886 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15888 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
15890 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
15893 2012-05-01 Joseph Myers <joseph@codesourcery.com>
15897 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
15898 comparisons to determine direction to adjust input.
15899 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
15900 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
15901 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
15903 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
15905 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
15907 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
15908 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
15910 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
15912 * math/libm-test.inc (nexttoward_test): Add more tests.
15914 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
15917 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
15918 in version GLIBC_2.1, not GLIBC_2.0.
15919 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
15922 2012-04-30 Joseph Myers <joseph@codesourcery.com>
15925 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
15927 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
15928 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
15929 * math/libm-test.inc (acos_test): Add more tests.
15930 (asin_test): Likewise.
15931 * sysdeps/i386/fpu/libm-test-ulps: Update.
15932 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15935 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
15937 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
15938 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
15939 * math/libm-test.inc (acos_test_tonearest): New function.
15940 (acos_test_towardzero): Likewise.
15941 (acos_test_downward): Likewise.
15942 (acos_test_upward): Likewise.
15943 (asin_test_tonearest): Likewise.
15944 (asin_test_towardzero): Likewise.
15945 (asin_test_downward): Likewise.
15946 (asin_test_upward): Likewise.
15947 (main): Call the new functions.
15948 * sysdeps/i386/fpu/libm-test-ulps: Update.
15949 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15953 * math/e_exp10.c: Include <float.h>.
15954 (__ieee754_exp10): Handle underflow here rather than multiplying
15955 large negative argument by M_LN10.
15956 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
15958 * math/e_exp10l.c: Include <float.h>.
15959 (__ieee754_exp10l): Handle underflow here rather than multiplying
15960 large negative argument by M_LN10l.
15961 * math/libm-test.inc (exp10_test): Add another test. Do not allow
15962 spurious overflow exception on underflow.
15964 2012-04-29 Marek Polacek <polacek@redhat.com>
15966 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
15967 (__fortify_function): New macro.
15968 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
15969 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
15970 __extern_always_inline.
15971 * libio/bits/stdio2.h: Likewise.
15972 * libio/bits/stdio.h: Likewise.
15973 * string/string.h: Likewise.
15974 * string/bits/string3.h: Likewise.
15975 * include/stdio.h: Likewise.
15976 * stdlib/bits/stdlib.h: Likewise.
15977 * stdlib/stdlib.h: Likewise.
15978 * rt/bits/mqueue2.h: Likewise.
15979 * rt/mqueue.h: Likewise.
15980 * posix/bits/unistd.h: Likewise.
15981 * posix/unistd.h: Likewise.
15982 * io/bits/poll2.h: Likewise.
15983 * io/bits/fcntl2.h: Likewise.
15984 * io/fcntl.h: Likewise.
15985 * io/sys/poll.h: Likewise.
15986 * misc/bits/syslog.h: Likewise.
15987 * misc/bits/syslog-ldbl.h: Likewise.
15988 * misc/sys/syslog.h: Likewise.
15989 * socket/bits/socket2.h: Likewise.
15990 * socket/sys/socket.h: Likewise.
15991 * debug/tst-chk1.c: Likewise.
15992 * wcsmbs/bits/wchar2.h: Likewise.
15993 * wcsmbs/bits/wchar-ldbl.h: Likewise.
15994 * wcsmbs/wchar.h: Likewise.
15996 2012-04-29 Andreas Jaeger <aj@suse.de>
15998 * Makerules (tests): Remove enable-check-abi protection.
15999 (check-abi-warn): Remove.
16000 (check-abi-%): Remove check-abi-warn usage.
16002 * configure.in: Remove check-abi configure option.
16003 * configure: Regenerated.
16004 * config.make.in (enable-check-abi): Remove.
16006 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
16009 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
16010 double functions to double *_finite functions.
16013 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
16014 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
16016 * stdio-common/Makefile (tests): Add tst-sprintf3.
16017 * stdio-common/tst-sprintf3.c: New file.
16019 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
16020 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
16022 2012-04-28 Joseph Myers <joseph@codesourcery.com>
16024 * conform/conformtest.pl: Remove duplicate typed-constant
16027 2012-04-28 David S. Miller <davem@davemloft.net>
16029 * Makerules (%.abilist): Add vpath on sysdep_dirs.
16030 (check-abi-%): Remove AWK script prerequisite and explicit
16032 (check-abi): Rewrite to just diff the symlist with the abilist.
16033 (config-tls, config-abi-config): Delete, no longer used.
16034 (update-abi-%): Remove AWK script and explicit abilist directory.
16035 (update-abi): Rewrite to simply compare and conditionally copy the
16036 symlist and the sysdep abilist file. Remove update-abi-config
16038 * abilist/ld.abilist: Remove.
16039 * abilist/libBrokenLocale.abilist: Remove.
16040 * abilist/libanl.abilist: Remove.
16041 * abilist/libcrypt.abilist: Remove.
16042 * abilist/libdl.abilist: Remove.
16043 * abilist/librt.abilist: Remove.
16044 * abilist/libthread_db.abilist: Remove.
16045 * abilist/libutil.abilist: Remove.
16046 * scripts/extract-abilist.awk: Remove.
16047 * scripts/merge-abilist.awk: Remove.
16048 * sysdeps/generic/libcidn.abilist: New file.
16049 * sysdeps/generic/libnss_compat.abilist: New file.
16050 * sysdeps/generic/libnss_db.abilist: New file.
16051 * sysdeps/generic/libnss_dns.abilist: New file.
16052 * sysdeps/generic/libnss_files.abilist: New file.
16053 * sysdeps/generic/libnss_hesiod.abilist: New file.
16054 * sysdeps/generic/libnss_nis.abilist: New file.
16055 * sysdeps/generic/libnss_nisplus.abilist: New file.
16056 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
16057 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
16058 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
16060 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
16061 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
16062 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
16063 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
16064 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
16065 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
16066 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
16067 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
16068 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
16070 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
16071 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
16072 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
16073 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
16075 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
16076 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
16077 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
16078 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
16079 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
16080 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
16082 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
16083 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
16084 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
16086 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
16087 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
16089 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
16091 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
16093 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
16095 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
16097 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
16099 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
16101 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
16103 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
16105 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
16107 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
16109 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
16111 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
16113 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
16115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
16117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
16119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
16121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
16123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
16125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
16127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
16129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
16131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
16133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
16135 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
16137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
16139 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
16140 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
16142 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
16144 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
16146 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
16148 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
16150 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
16152 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
16154 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
16156 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
16158 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
16160 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
16162 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
16164 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
16165 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
16167 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
16169 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
16171 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
16173 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
16175 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
16177 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
16179 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
16181 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
16183 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
16185 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
16187 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
16189 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
16190 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
16191 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
16193 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
16194 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
16195 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
16196 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
16197 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
16198 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
16199 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
16200 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
16201 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
16202 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
16203 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
16204 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
16206 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
16208 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
16210 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
16212 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
16214 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
16216 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
16218 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
16220 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
16222 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
16224 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
16226 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
16228 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
16229 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
16231 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
16233 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
16235 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
16237 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
16239 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
16241 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
16243 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
16245 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
16247 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
16249 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
16251 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
16254 2012-04-28 Joseph Myers <joseph@codesourcery.com>
16256 * conform/conformtest.pl: Fix typo in handling typed-constant from
16259 2012-04-27 Joseph Myers <joseph@codesourcery.com>
16261 * README: Cut down references to pre-2.6 Linux kernels and
16262 Linuxthreads. Update lists of configurations in libc and ports
16263 and sort alphabetically. Say "or newer" with Linux kernel version
16266 * config.h.in [IS_IN_build]: Allow compiling without optimization.
16268 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16271 * math/libm-test.inc (logb_test_downward): New test to expose
16272 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
16275 2012-04-27 Joseph Myers <joseph@codesourcery.com>
16278 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
16280 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
16281 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
16283 2012-04-26 Joseph Myers <joseph@codesourcery.com>
16285 * sysdeps/unix/i386/brk.S: Remove file.
16286 * sysdeps/unix/i386/dl-brk.S: Likewise.
16287 * sysdeps/unix/i386/pipe.S: Likewise.
16288 * sysdeps/unix/i386/sigreturn.S: Likewise.
16289 * sysdeps/unix/i386/syscall.S: Likewise.
16290 * sysdeps/unix/i386/vfork.S: Likewise.
16291 * sysdeps/unix/i386/wait.S: Likewise.
16293 * sysdeps/unix/common/tcsendbrk.c: Move to ...
16294 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
16296 * configure.in (arm*-none*): Do not allow without
16297 --enable-hacker-mode.
16298 (netbsd*): Remove case setting base_os.
16299 (386bsd*): Likewise.
16300 (freebsd*): Likewise.
16303 (sunos*): Likewise.
16304 (ultrix*): Likewise.
16305 (newsos*): Likewise.
16306 (dynix*): Likewise.
16312 (minix*): Likewise.
16313 (irix4*): Likewise.
16314 (irix6*): Likewise.
16315 (solaris[2-9]*): Likewise.
16317 * configure: Regenerated.
16319 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16322 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
16323 overflow or cancellation in calculating denominator.
16324 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
16325 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
16326 down expression to avoid unexpected rounding in newer GCCs.
16327 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
16329 2012-04-26 David S. Miller <davem@davemloft.net>
16331 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
16332 long-double compat symbols.
16333 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
16334 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
16335 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
16336 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
16337 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
16338 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
16339 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
16340 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
16341 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
16342 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
16343 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
16344 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
16345 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
16347 2012-04-25 David S. Miller <davem@davemloft.net>
16349 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
16350 HWCAP_* values only after the memory barriers have been defined.
16351 (atomic_full_barrier): Define.
16352 (atomic_read_barrier): Define.
16353 (atomic_write_barrier): Define.
16355 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16357 * shlib-versions: Add libgcc_s version information.
16358 * sysdeps/generic/libgcc_s.h: Remove.
16359 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
16361 * sysdeps/gnu/unwind-resume.c: Likewise.
16362 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
16364 2012-04-25 David S. Miller <davem@davemloft.net>
16366 * sysdeps/unix/sparc/brk.S: Delete.
16367 * sysdeps/unix/sparc/dl-brk.S: Delete.
16368 * sysdeps/unix/sparc/pipe.S: Delete.
16369 * sysdeps/unix/sparc/sysdep.S: Delete.
16370 * sysdeps/unix/sparc/sysdep.h: Delete.
16371 * sysdeps/unix/sparc/vfork.S: Delete.
16372 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
16373 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
16374 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
16375 ret_ERRVAL, r0, r1, MOVE): Define.
16376 (JUMPTARGET): Remove.
16377 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
16378 sysdeps/unix/sparc/sysdep.h
16379 (ENTRY, END): Remove.
16380 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
16382 2012-04-25 Joseph Myers <joseph@codesourcery.com>
16384 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
16385 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
16388 * timezone/README: Update upstream location and email address for
16390 * timezone/zdump.c: Update from tzcode 2012b.
16391 * timezone/zic.c: Likewise.
16393 * configure.in (libc_cv_as_needed): Remove test.
16394 * configure: Regenerated.
16395 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
16396 conditional definition.
16397 [$(have-as-needed) != yes] (no-as-needed): Likewise.
16398 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
16399 * config.make.in (have-as-needed): Remove variable.
16401 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
16402 Paul Pluzhnikov <ppluzhnikov@google.com>
16404 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
16407 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
16409 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
16410 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
16411 * sysdeps/sh/strlen.S: Likewise.
16413 2012-04-24 Joseph Myers <joseph@codesourcery.com>
16415 * sysdeps/unix/fork.S: Remove file.
16416 * sysdeps/unix/i386/fork.S: Likewise.
16417 * sysdeps/unix/sparc/fork.S: Likewise.
16419 * sysdeps/unix/system.c: Remove file.
16420 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
16422 * sysdeps/unix/getegid.S: Remove file.
16423 * sysdeps/unix/geteuid.S: Likewise.
16425 2012-04-24 Roland McGrath <roland@hack.frob.com>
16427 * scripts/check-localplt.awk: New file.
16428 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
16430 * scripts/data/localplt-generic.data: Add a comment.
16432 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
16433 NODE when __dir_mkfile failed.
16434 * sysdeps/mach/hurd/symlinkat.c: Likewise.
16435 Reported by Ludovic Courtès <ludo@gnu.org>.
16437 2012-04-24 Andreas Jaeger <aj@suse.de>
16439 * Makerules (common-clean): Also remove gen-as-const-headers
16442 2012-04-24 Joseph Myers <joseph@codesourcery.com>
16444 * Makerules (native-compile): Do not change working directory for
16445 build. Use $(OUTPUT_OPTION) in command.
16446 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
16448 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16451 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
16452 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
16453 * math/libm-test.inc (floor_test): Add more tests.
16454 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
16456 2012-04-24 Joseph Myers <joseph@codesourcery.com>
16458 * sysdeps/unix/getdents.c: Remove file.
16459 * sysdeps/unix/sysv/getdents.c: Likewise.
16460 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
16462 * sysdeps/unix/syscalls.list (madvise): Add syscall from
16463 sysdeps/unix/mman/syscalls.list.
16465 (mprotect): Likewise.
16467 (munmap): Likewise.
16468 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
16469 * sysdeps/unix/mman/syscalls.list: Remove.
16470 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
16472 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
16473 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
16474 * configure: Regenerated.
16475 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
16476 $(libgcc_s_suffix).
16477 * config.make.in (libgcc_s_suffix): Remove variable.
16479 2012-04-23 Joseph Myers <joseph@codesourcery.com>
16481 * sysdeps/unix/sysv/gethostname.c: Move to ...
16482 * sysdeps/posix/gethostname.c: ... here.
16484 * sysdeps/unix/execve.S: Remove file.
16486 * sysdeps/unix/_exit.S: Remove file.
16488 2012-04-23 Andreas Jaeger <aj@suse.de>
16491 * manual/Makefile: Remove make dist support, there's no
16492 need for a stand-alone documentation tar ball.
16493 (TEXI2DVI): Define always, it's not in Makeconfig.
16496 (edition): Removed.
16497 (glibc-doc-$(edition).tar): Removed
16501 (ETAGS): Remove, it's in Makeconfig.
16502 (move-if-change): Remove, it's in Makeconfig.
16504 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
16507 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
16508 (strtod, strtof, strtold, strtol, strtoul, strtoq)
16509 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
16510 (strtod_l, strtof_l, strtold_l): Remove __wur.
16511 It is not necessarily an error to ignore strtol's return value.
16512 One can reliably look at the stored endptr to decide whether
16513 the number had valid syntax.
16515 2012-04-21 Andreas Jaeger <aj@suse.de>
16518 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
16520 2012-04-21 Joseph Myers <joseph@codesourcery.com>
16522 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
16523 * sysdeps/unix/sysv/Versions: Remove file.
16525 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
16528 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16530 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
16533 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
16534 version from __vm86.
16536 2012-04-20 Joseph Myers <joseph@codesourcery.com>
16538 * sysdeps/unix/common/lxstat.c: Remove file.
16539 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
16541 * sysdeps/unix/sysv/Makefile: Remove file.
16543 * sysdeps/unix/sysv/direct.h: Remove file.
16545 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
16546 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
16547 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
16548 * sysdeps/unix/sysv/bits/signum.h: Likewise.
16549 * sysdeps/unix/sysv/bits/stat.h: Likewise.
16550 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
16551 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
16553 * sysdeps/unix/sysv/setrlimit.c: Remove file.
16555 * sysdeps/unix/xmknod.c: Remove file.
16556 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
16558 * sysdeps/unix/sysv/settimeofday.c: Remove file.
16560 * sysdeps/unix/sysv/i386/time.S: Remove file.
16562 * sysdeps/unix/fxstat.c: Remove file.
16563 * sysdeps/unix/xstat.c: Likewise.
16564 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
16566 * sysdeps/unix/sysv/sigaction.c: Remove file.
16568 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
16569 (sysdep_headers): Remove variable.
16570 [termio.h not in sysdep_headers] (generated): Likewise.
16571 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
16572 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
16573 * sysdeps/unix/sysv/tcdrain.c: Likewise.
16574 * sysdeps/unix/sysv/tcflow.c: Likewise.
16575 * sysdeps/unix/sysv/tcflush.c: Likewise.
16576 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
16577 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
16578 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
16579 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
16580 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
16582 * sysdeps/unix/siglist.c: Remove file.
16584 * sysdeps/unix/getppid.S: Remove file.
16586 * sysdeps/unix/mkdir.c: Remove file.
16587 * sysdeps/unix/rmdir.c: Likewise.
16589 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
16591 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
16593 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
16594 errlist-compat value.
16596 2012-04-18 David S. Miller <davem@davemloft.net>
16598 * sysdeps/generic/memcopy.h (reg_char): Delete.
16599 * debug/strcat_chk.c: Use char, not reg_char.
16600 * debug/strcpy_chk.c: Likewise.
16601 * debug/strncat_chk.c: Likewise.
16602 * debug/strncpy_chk.c: Likewise.
16603 * string/memchr.c: Likewise.
16604 * string/memrchr.c: Likewise.
16605 * string/rawmemchr.c: Likewise.
16606 * string/strcat.c: Likewise.
16607 * string/strchr.c: Likewise.
16608 * string/strchrnul.c: Likewise.
16609 * string/strcmp.c: Likewise.
16610 * string/strcpy.c: Likewise.
16611 * string/strncat.c: Likewise.
16612 * string/strncmp.c: Likewise.
16613 * string/strncpy.c: Likewise.
16615 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
16617 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
16618 __builtin_memcopy is called when src and dest ranges are known to not
16621 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
16623 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
16624 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
16625 fwd_align_merge macro call.
16626 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
16627 bwd_align_merge macro call.
16628 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
16630 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
16632 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
16633 bwd_align_merge macros.
16634 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
16635 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
16636 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
16638 2012-04-18 David S. Miller <davem@davemloft.net>
16640 * sysdeps/sparc/sparc64/memcopy.h: Delete.
16642 2012-04-18 Andreas Jaeger <aj@suse.de>
16645 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
16646 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
16647 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
16649 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
16650 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
16651 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
16653 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
16654 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
16655 Adjust for changed ldbl-128 files.
16657 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
16658 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
16659 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
16661 2012-04-17 David S. Miller <davem@davemloft.net>
16663 * sysdeps/sparc/sparc32/memcopy.h: Delete.
16665 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
16667 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
16668 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
16669 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
16670 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
16671 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
16672 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
16674 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16677 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
16678 * math/libm-test.inc: Add ilogb errno and exception tests.
16679 * math/w_ilogb.c: New file: ilogb wrapper.
16680 * math/w_ilogbf.c: New file: ilogbf wrapper.
16681 * math/w_ilogbl.c: New file: ilogbl wrapper.
16682 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
16683 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
16684 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
16685 exception being thrown with 0.0 as argument.
16686 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
16687 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
16688 exception being thrown with 0.0 as argument.
16689 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
16690 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
16691 exception being thrown with 0.0 as argument.
16692 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
16693 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
16694 exception being thrown with 0.0 as argument.
16695 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
16696 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
16697 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
16698 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
16699 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
16700 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
16701 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
16702 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
16703 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
16705 2012-04-17 Petr Baudis <pasky@ucw.cz>
16707 * include/sys/uio.h: Change __vector to __iovec to avoid clash
16710 2012-04-16 Marek Polacek <polacek@redhat.com>
16712 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
16714 2012-04-16 Marek Polacek <polacek@redhat.com>
16716 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
16717 operands of fdivp instruction.
16719 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
16721 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
16722 * elf/tst-auditmod3b.c: Likewise.
16723 * elf/tst-auditmod4b.c: Likewise.
16724 * elf/tst-auditmod5b.c: Likewise.
16725 * elf/tst-auditmod6b.c: Likewise.
16726 * elf/tst-auditmod6c.c: Likewise.
16727 * elf/tst-auditmod7b.c: Likewise.
16728 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
16729 * sysdeps/x86_64/preconfigure.in: Likewise.
16730 * sysdeps/x86_64/preconfigure: Regenerated.
16732 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
16734 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
16737 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
16739 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
16740 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
16742 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
16745 * locale/iso-639.def: Fix gl language name. Spotted by
16748 2012-04-12 Roland McGrath <roland@hack.frob.com>
16751 * libio/libio.h (__io_write_fn): Update comment.
16753 2012-04-12 Petr Baudis <pasky@ucw.cz>
16756 * stdio.texi (Hook Functions): The user provided writer function
16757 is not allowed to return -1.
16759 2012-04-11 David S. Miller <davem@davemloft.net>
16761 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16763 2012-04-11 Mike Frysinger <vapier@gentoo.org>
16765 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
16766 Add a leading slash to rtkaio.
16768 2012-04-11 Jim Meyering <meyering@redhat.com>
16771 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
16772 It is not necessarily an error to ignore fwrite's return
16773 value. One can reliably use ferror to test for errors after
16776 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
16778 * bits/types.h (__snseconds_t): New type.
16779 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
16781 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
16782 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
16783 (__SNSECONDS_T_TYPE): Likewise.
16784 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
16785 (__SNSECONDS_T_TYPE): Likewise.
16786 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16787 (__SNSECONDS_T_TYPE): Likewise.
16789 2012-04-10 Andreas Jaeger <aj@suse.de>
16792 * manual/time.texi (Processor Time): Return type of times is
16793 elapsed real time since an arbitrary point in the past.
16794 (CPU Time): Move CLK_TCK from here...
16795 (Processor Time): ...to here. Correct description.
16796 * manual/conf.texi (Constants for Sysconf): Correct description of
16799 2012-04-10 David S. Miller <davem@davemloft.net>
16802 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
16803 where the is a gap between DT_REL(A) and DT_JMPREL.
16805 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
16807 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
16808 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
16809 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
16811 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16813 * elf/dl-support.c (_dl_inhibit_cache): New variable.
16814 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
16815 (dl_main): Handle --inhibit-cache.
16816 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
16818 * elf/dl-load.c (_dl_map_object): Use it.
16819 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
16821 2012-04-09 Joseph Myers <joseph@codesourcery.com>
16824 * sysdeps/i386/fpu/e_powl.S (p78): New object.
16825 (__ieee754_powl): Saturate large exponents rather than testing for
16826 overflow of y*log2(x).
16827 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
16828 * math/libm-test.inc (pow_test): Do not permit spurious overflow
16832 * math/s_ctan.c: Include <float.h>.
16833 (__ctan): Avoid internal overflow or cancellation in calculating
16835 * math/s_ctanf.c: Likewise.
16836 * math/s_ctanl.c: Likewise.
16837 * math/s_ctanh.c: Likewise.
16838 * math/s_ctanhf.c: Likewise.
16839 * math/s_ctanhl.c: Likewise.
16840 * math/libm-test.inc (ctan_test): Add more tests.
16841 (ctanh_test): Likewise.
16842 * sysdeps/i386/fpu/libm-test-ulps: Update.
16843 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16845 2012-04-09 Andreas Jaeger <aj@suse.de>
16848 * manual/filesys.texi (Directory Entries): Mention that d_namlen
16849 is an optional BSD extension.
16852 * manual/stdio.texi (Opening Streams): Document additional fopen
16855 2012-04-09 Roland McGrath <roland@hack.frob.com>
16857 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
16858 %eax without telling the compiler.
16860 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
16863 * manual/install.texi: Use sourceware.org.
16865 2012-04-09 Joseph Myers <joseph@codesourcery.com>
16868 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
16869 (__ieee754_pow): Generate overflow and underflow using huge*huge
16870 and tiny*tiny rather than just returning constant infinity or zero
16871 for large exponents.
16872 * math/libm-test.inc (pow_test): Require overflow exceptions for
16873 applicable cases of large exponents.
16876 * sysdeps/i386/fpu/e_pow.S (p10): New object.
16877 (__ieee754_pow): Use iterative multiplication algorithm only for
16878 integer exponents with absolute value below 1024. Check for odd
16879 integer exponents when using algorithm for real exponents.
16880 * math/libm-test.inc (pow_test): Add more tests.
16881 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16883 2012-04-08 Joseph Myers <joseph@codesourcery.com>
16886 * math/libm-test.inc (exp_test): Do not allow overflow exception
16889 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
16892 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
16893 instead of __kernel_standard_f.
16895 2012-04-08 Mike Frysinger <vapier@gentoo.org>
16897 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
16898 * sysdeps/x86_64/memset_chk.S: Likewise.
16900 2012-04-08 Andreas Jaeger <aj@suse.de>
16903 * manual/startup.texi (Environment Access): Describe return value
16904 for putenv and setenv.
16907 * manual/filesys.texi (Directory Entries): Add description for
16911 * manual/filesys.texi (Directory Entries): Clarify that it's file
16912 system not operating system in the description of DT_UNKNOWN.
16915 * manual/syslog.texi (closelog): Fix reference, it's openlog.
16917 2012-04-08 Stephen Compall <s11@member.fsf.org>
16920 * manual/llio.texi (Opening and Closing Files): Add cross
16921 reference to explain mode argument.
16923 2012-04-07 Mike Frysinger <vapier@gentoo.org>
16925 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
16926 * sysdeps/x86_64/memset_chk.S: Likewise.
16928 2012-04-07 David S. Miller <davem@davemloft.net>
16930 * elf/elf.h (R_SPARC_WDISP10): Define.
16931 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
16933 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
16934 R_SPARC_SIZE64 and R_SPARC_H34.
16936 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
16938 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
16939 conditions and remove no longer applicable assertion.
16941 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
16943 * bits/byteswap.h: Include <features.h>.
16944 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
16945 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
16947 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
16949 * bits/byteswap.h (__bswap_16): Removed.
16950 Include <bits/byteswap-16.h> to get __bswap_16.
16951 * sysdeps/i386/bits/byteswap.h: Likewise.
16952 * sysdeps/s390/bits/byteswap.h: Likewise.
16953 * sysdeps/x86_64/bits/byteswap.h: Likewise.
16954 * bits/byteswap-16.h: New file.
16955 * sysdeps/i386/bits/byteswap-16.h: Likewise.
16956 * sysdeps/s390/bits/byteswap-16.h: Likewise.
16957 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
16958 * string/Makefile (headers): Add bits/byteswap-16.h.
16960 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
16963 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
16965 * nss/Makefile (tests-static, tests): Add tst-nss-static.
16966 * nss/tst-nss-static.c: New.
16968 2012-04-06 Robert Millan <rmh@gnu.org>
16971 * manual/llio.texi (File Position Primitive): lseek
16972 refers to WHENCE when it really means OFFSET.
16974 2012-04-06 Andreas Jaeger <aj@suse.de>
16976 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
16977 strncmp declarations.
16979 * abilist/libc.abilist: Add __poll and __ppoll.
16981 2012-04-05 David S. Miller <davem@davemloft.net>
16983 * scripts/check-local-headers.sh: Accept a host triplet in the
16984 path matched by the exclude regexp.
16986 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
16988 * sysdeps/powerpc/powerpc32/dl-machine.h
16989 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
16990 * sysdeps/s390/s390-32/dl-machine.h
16991 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
16992 * sysdeps/sparc/sparc32/dl-machine.h
16993 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
16994 * sysdeps/sparc/sparc64/dl-machine.h
16995 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
16997 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
16999 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
17000 undefined symbol errors.
17002 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
17005 2012-04-05 Michael Matz <matz@suse.de>
17008 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
17010 2012-04-05 Andreas Jaeger <aj@suse.de>
17013 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
17016 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17018 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
17019 which ROUND is no valid rounding mode.
17021 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17023 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
17025 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
17027 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17029 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
17030 an exception using FPU order intentionally.
17032 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17034 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
17035 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
17036 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
17037 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
17039 2012-04-05 Simon Josefsson <simon@josefsson.org>
17042 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
17043 EINVAL when BUFLEN is too smal.
17045 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
17048 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
17049 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
17051 2012-04-03 Andreas Jaeger <aj@suse.de>
17054 * manual/setjmp.texi (System V contexts): Fix sentence.
17057 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
17058 New macro for this case.
17059 [!__GNUC__] (__bswap_64): New inline function for this case.
17060 * sysdeps/x86_64/bits/byteswap.h: Likewise.
17061 * bits/byteswap.h: Likewise.
17062 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
17063 ull, guard with __GLIBC_HAVE_LONG_LONG.
17065 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
17066 __GLIBC_HAVE_LONG_LONG.
17068 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
17069 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
17071 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17074 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
17075 inptr and inend, rather than using last_ch.
17077 2012-04-02 David S. Miller <davem@davemloft.net>
17079 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
17080 * stdio-common/printf-parse.h (read_int): Change return type to
17081 'int', return -1 on INT_MAX overflow.
17082 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
17083 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
17084 overflows INT_MAX. Check for overflow of in-format-string precision
17085 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
17086 SIZE_MAX not INT_MAX for integer overflow test.
17087 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
17088 skip the construct in the format string but do not record anything.
17089 * stdio-common/bug22.c: Adjust to test both width/prevision
17090 INT_MAX overflow as well as total length INT_MAX overflow. Check
17091 explicitly for proper errno values.
17093 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
17095 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
17097 * string/test-strcmp.c [! WIDE]: Likewise.
17098 * time/tst-mktime2.c: Likewise for INT_MAX.
17099 * string/test-string.h: #include <sys/param.h> for MIN.
17101 * csu/init-first.c (__libc_init_first): Call __ctype_init.
17102 * sysdeps/i386/init-first.c (init): Likewise.
17103 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
17104 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
17105 * sysdeps/sh/init-first.c (init): Likewise.
17107 2012-04-01 Ulrich Drepper <drepper@gmail.com>
17109 * po/ru.po: Update from translation team.
17110 * po/vi.po: Likewise.
17112 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
17114 * resolv/nss_dns/dns-host.c: Merge copyright years.
17116 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17118 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
17119 Optimize memcpy with prefetch if
17120 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
17121 src, dst pointers have unequal 16 byte alignments.
17123 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
17126 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
17127 from a CNAME entry and return the minimum ttl for the query.
17128 (gaih_getanswer_slice): Likewise.
17130 2012-03-30 Jeff Law <law@redhat.com>
17132 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
17134 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
17135 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
17137 * resolv/nss_dns/dns-host.c: Update copyright year.
17139 2012-03-30 Ulrich Drepper <drepper@gmail.com>
17141 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
17142 requests to save a system call. Fix check that all bytes are sent.
17144 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
17145 comments for sendmmsg.
17147 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17150 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
17151 with only 1 character between 0x0041 and 0x01b0.
17152 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
17153 * wcsmbs/tst-mbsnrtowcs.c: New file.
17155 2012-03-29 David S. Miller <davem@davemloft.net>
17157 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
17158 small copies by hand.
17160 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17163 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
17164 _nss_compat_initgroups_dyn): Fall back to malloc/free
17165 for large group memberships.
17167 2012-03-28 David S. Miller <davem@davemloft.net>
17169 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
17170 that branches into memcpy.
17171 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
17172 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
17173 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
17174 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
17175 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
17177 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
17178 implementation too.
17179 * sysdeps/sparc/mempcpy.S: New file.
17181 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
17182 the IFUNC routine in the libc case.
17183 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
17185 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
17186 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
17187 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
17188 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
17189 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
17190 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
17191 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
17192 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
17194 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
17195 loop to 256 bytes instead of 64 bytes and fix test signedness.
17197 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
17198 * sysdeps/sparc/sparc32/Makefile: rather than here...
17199 * sysdeps/sparc/sparc64/Makefile: and here.
17201 2012-03-28 Ulrich Drepper <drepper@gmail.com>
17203 * malloc/mallocbug.c: Avoid warnings about unused variables.
17205 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
17208 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
17209 in the right place. Discard and retry query if response is
17210 larger than input buffer size.
17212 2012-03-28 Joseph Myers <joseph@codesourcery.com>
17217 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
17218 x for large integer exponent.
17219 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
17220 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
17221 sign of result as needed afterwards.
17222 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
17223 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
17224 result for underflowing pow the same as for overflow.
17225 (__kernel_standard_l): Handle powl overflow and underflow here
17226 rather than calling __kernel_standard.
17227 * math/libm-test.inc (pow_test): Add more tests.
17242 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
17243 * sysdeps/ieee754/k_standard.c: Include <float.h>.
17244 (__kernel_standard_l): New function.
17245 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
17247 * math/w_acosl.c (__acosl): Likewise.
17248 * math/w_asinl.c (__asinl): Likewise.
17249 * math/w_atan2l.c (__atan2l): Likewise.
17250 * math/w_atanhl.c (__atanhl): Likewise.
17251 * math/w_coshl.c (__coshl): Likewise.
17252 * math/w_exp10l.c (__exp10l): Likewise.
17253 * math/w_exp2l.c (__exp2l): Likewise.
17254 * math/w_fmodl.c (__fmodl): Likewise.
17255 * math/w_hypotl.c (__hypotl): Likewise.
17256 * math/w_j0l.c (__j0l, __y0l): Likewise.
17257 * math/w_j1l.c (__j1l, __y1l): Likewise.
17258 * math/w_jnl.c (__jnl, __ynl): Likewise.
17259 * math/w_lgammal.c (__lgammal): Likewise.
17260 * math/w_log10l.c (__log10l): Likewise.
17261 * math/w_log2l.c (__log2l): Likewise.
17262 * math/w_logl.c (__logl): Likewise.
17263 * math/w_powl.c (__powl): Likewise.
17264 * math/w_remainderl.c (__remainderl): Likewise.
17265 * math/w_scalbl.c (sysv_scalbl): Likewise.
17266 * math/w_sinhl.c (__sinhl): Likewise.
17267 * math/w_sqrtl.c (__sqrtl): Likewise.
17268 * math/w_tgammal.c (__tgammal): Likewise.
17269 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
17270 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
17271 * math/libm-test.inc (acos_test): Add more tests.
17272 (acosh_test): Likewise.
17273 (asin_test): Likewise.
17274 (atanh_test): Likewise.
17275 (exp_test): Likewise.
17276 (exp10_test): Likewise.
17277 (exp2_test): Likewise.
17278 (expm1_test): Likewise.
17279 (lgamma_test): Likewise.
17280 (log_test): Likewise.
17281 (log10_test): Likewise.
17282 (log1p_test): Likewise.
17283 (log2_test): Likewise.
17284 (pow_test): Do not allow some spurious overflow exceptions.
17285 (sqrt_test): Add more tests.
17286 (tgamma_test): Likewise.
17287 (y0_test): Likewise.
17288 (y1_test): Likewise.
17289 (yn_test): Likewise.
17291 2012-03-27 Anton Blanchard <anton@samba.org>
17293 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
17295 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
17296 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
17297 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
17299 2012-03-27 David S. Miller <davem@davemloft.net>
17301 * conform/Makefile: Run run-conformtest.sh using $(BASH).
17303 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
17304 have-as-vis3 check.
17306 2012-03-27 Andreas Jaeger <aj@suse.de>
17308 * sysdeps/x86_64/elf/configure.in: Moved to ...
17309 * sysdeps/x86_64/configure.in: ... here.
17310 * sysdeps/x86_64/elf/start.S: Moved to ...
17311 * sysdeps/x86_64/start.S: ... here.
17312 * sysdeps/x86_64/elf/configure: Delete.
17314 * sysdeps/x86_64/configure.in: Merge contents from
17315 sysdeps/i386/configure.in (without i686 check).
17317 * sysdeps/i386/elf/Versions: Merge into ...
17318 * sysdeps/i386/Versions: ... this.
17319 * sysdeps/i386/elf/Versions: Delete file.
17320 * sysdeps/i386/elf/start.S: Moved to ...
17321 * sysdeps/i386/start.S: ...here.
17322 * sysdeps/i386/elf/configure.in: Merge into...
17323 * sysdeps/i386/configure.in: ...here.
17324 * sysdeps/i386/elf/configure.in: Delete file.
17325 * sysdeps/i386/elf/configure: Delete file.
17327 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
17328 * debug/backtracesyms.c: ... here.
17329 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
17330 * debug/backtracesymsfd.c: ... here.
17331 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
17332 * sysdeps/generic/ifunc-sel.h: ... here.
17334 * sysdeps/unix/i386/start.c: Delete file.
17335 * sysdeps/unix/sparc/start.c: Delete file.
17336 * sysdeps/unix/start.c: Delete file.
17338 * sysdeps/sh/elf/configure.in: Moved to ...
17339 * sysdeps/sh/configure.in: ... here.
17340 * sysdeps/sh/elf/start.S: Moved to ...
17341 * sysdeps/sh/start.S: ... here.
17342 * sysdeps/sh/elf/configure: Delete file.
17344 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
17345 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
17346 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
17347 * sysdeps/powerpc/powerpc64/entry.h: ... here.
17348 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
17349 * sysdeps/powerpc/powerpc64/start.S: here.
17350 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
17351 * sysdeps/powerpc/powerpc64/Makefile: ... this.
17352 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
17353 * sysdeps/powerpc/powerpc64/configure.in: ... this.
17354 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
17356 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
17357 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
17358 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
17359 * sysdeps/powerpc/powerpc32/start.S: ... here.
17360 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
17361 * sysdeps/powerpc/powerpc32/configure.in: ... this.
17362 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
17364 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
17365 * sysdeps/powerpc/ifunc-sel.h: ... here.
17366 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
17367 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
17369 * sysdeps/sparc/elf/configure.in: Moved to ...
17370 * sysdeps/sparc/configure.in: ... here.
17371 * sysdeps/sparc/elf/configure: Delete file.
17372 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
17373 * sysdeps/sparc/sparc32/start.S: ... here.
17374 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
17375 * sysdeps/sparc/sparc64/start.S: ... here.
17376 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
17377 * sysdeps/sparc/sparc32/Makefile: ... this.
17378 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
17379 * sysdeps/sparc/sparc64/Makefile: ... this.
17381 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
17382 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
17383 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
17384 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
17385 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
17386 * sysdeps/s390/s390-32/setjmp.S: ... here.
17387 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
17388 * sysdeps/s390/s390-32/configure.in: ... here.
17389 * sysdeps/s390/s390-32/elf/configure: Delete file.
17390 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
17391 * sysdeps/s390/s390-32/start.S: ... here.
17393 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
17394 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
17395 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
17396 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
17397 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
17398 * sysdeps/s390/s390-64/setjmp.S: ... here.
17399 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
17400 * sysdeps/s390/s390-64/configure.in: ... here
17401 * sysdeps/s390/s390-64/elf/configure: Delete file.
17402 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
17403 * sysdeps/s390/s390-64/start.S: ... here.
17404 * sysdeps/s390/s390-64/elf/configure: Delete.
17406 * configure.in: Remove support for elf directories in sysdeps.
17408 * configure: Regenerated.
17409 * sysdeps/i386/configure: Regenerated.
17410 * sysdeps/powerpc/powerpc32/configure: Regenerated.
17411 * sysdeps/powerpc/powerpc64/configure: Regenerated.
17412 * sysdeps/s390/s390-32/configure: Regenerated.
17413 * sysdeps/s390/s390-64/configure: Regenerated.
17414 * sysdeps/sh/configure: Regenerated.
17415 * sysdeps/sparc/configure: Regenerated.
17416 * sysdeps/x86_64/configure: Regenerated.
17418 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
17420 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17422 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
17423 denormal result into account.
17425 2012-03-25 Roland McGrath <roland@hack.frob.com>
17427 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
17428 Reported by Allan McRae <allan@archlinux.org>.
17430 2012-03-23 Jeff Law <law@redhat.com>
17432 * nss/getnssent.c (__nss_getent): Fix typo.
17434 2012-03-23 David S. Miller <davem@davemloft.net>
17436 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17438 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
17440 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
17441 to pad to uint64_t for each field.
17442 (dl_tls_index): Replace unsigned long with uint64_t.
17444 2012-03-23 Daniel Jacobowitz <dmj@google.com>
17445 Paul Pluzhnikov <ppluzhnikov@google.com>
17448 * grp/Makefile (otherlibs): Don't set it.
17449 * inet/Makefile (otherlibs): Likewise.
17450 * login/Makefile (otherlibs): Likewise.
17451 * nscd/Makefile (otherlibs): Likewise.
17452 * posix/Makefile (otherlibs): Likewise.
17453 * pwd/Makefile (otherlibs): Likewise.
17454 * rt/Makefile (otherlibs): Likewise.
17455 * sunrpc/Makefile (otherlibs): Likewise.
17456 * nss/Makefile (otherlibs): Likewise.
17457 Add libnss_files to routines and static-only-routines.
17458 ($(objpfx)getent): Remove rule.
17459 * resolv/Makefile: Add libnss_dns and libresolv to routines and
17460 static-only-routines.
17462 2012-03-22 Joseph Myers <joseph@codesourcery.com>
17465 * math/s_cexp.c: Include <float.h>.
17466 (__cexp): Handle exp result overflowing not necessarily
17467 overflowing both real and imaginary parts of result.
17468 * math/s_cexpf.c: Likewise.
17469 * math/s_cexpl.c: Likewise.
17470 * math/libm-test.inc (cexp_test): Add more tests.
17471 * sysdeps/i386/fpu/libm-test-ulps: Update.
17472 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17474 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
17476 * include/link.h (ELFW): New macro.
17477 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
17478 Replace ELF64_R_TYPE with ELFW(R_TYPE).
17480 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
17482 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
17485 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
17487 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
17489 (struct La_x32_retval): Likewise.
17491 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
17493 * sysdeps/x86_64/preconfigure.in: New file.
17494 * sysdeps/x86_64/preconfigure: New generated file.
17496 2012-03-22 Joseph Myers <joseph@codesourcery.com>
17499 * math/e_exp2l.c: Include <float.h>.
17500 (__ieee754_exp2l): Handle overflow and underflow cases
17501 separately. Only pass fractional part of argument to
17503 * math/libm-test.inc (exp2_test): Add more tests.
17505 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
17506 negating x to take absolute value.
17507 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
17509 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
17510 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
17512 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
17513 computing low part if x was negated.
17514 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
17516 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
17518 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
17519 la_x32_gnu_pltexit.
17520 (pltexit): Cast int_retval to ptrdiff_t.
17521 * elf/tst-auditmod3b.c: Likewise.
17522 * elf/tst-auditmod4b.c: Likewise.
17523 * elf/tst-auditmod5b.c: Likewise.
17524 * elf/tst-auditmod6b.c: Likewise.
17525 * elf/tst-auditmod6c.c: Likewise.
17526 * elf/tst-auditmod7b.c: Likewise.
17528 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
17529 and x32_gnu_pltexit.
17531 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
17532 __ELF_NATIVE_CLASS.
17533 (La_x32_regs): New macro.
17534 (La_x32_retval): Likewise.
17535 (la_x32_gnu_pltenter): New function prototype.
17536 (la_x32_gnu_pltexit): Likewise.
17538 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
17540 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
17543 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17545 * configure.in (libc_cv_cc_nofma): Check for option to disable
17546 generation of FMA instructions.
17547 * configure: Regenerate.
17548 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
17549 * sysdeps/ieee754/dbl-64/Makefile: New file.
17550 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
17551 Remove brandred-fma4.
17552 (CFLAGS-brandred-fma4.c): Remove.
17553 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
17554 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
17556 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
17559 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
17561 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
17562 LLONG_MAX != LONG_MAX.
17563 (_itoa_word): Use _ITOA_WORD_TYPE on value.
17564 (_fitoa_word): Likewise.
17565 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
17566 LLONG_MAX != LONG_MAX.
17567 * stdio-common/_itowa.h: Include <_itoa.h>.
17568 (_itowa_word): Use _ITOA_WORD_TYPE on value.
17569 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
17570 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
17571 only if not defined.
17572 (_ITOA_WORD_TYPE): Likewise.
17573 (_itoa_word): Use _ITOA_WORD_TYPE on value.
17574 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
17576 2012-03-21 David S. Miller <davem@davemloft.net>
17578 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17580 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
17582 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
17583 of x86_64 when setting libc_cv_slibdir, libdir and
17585 * sysdeps/unix/sysv/linux/configure: Regenerated.
17587 2012-03-21 Joseph Myers <joseph@codesourcery.com>
17589 * manual/lang.texi (Old Varargs): Remove section.
17590 (How Variadic): Update menu.
17591 (va_start): Do not mention varargs.h.
17593 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
17594 Joseph Myers <joseph@codesourcery.com>
17596 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
17598 * configure: Regenerated.
17600 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
17602 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
17603 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
17606 2012-03-21 Joseph Myers <joseph@codesourcery.com>
17609 * Makefile (files-for-dist): Remove NOTES.
17610 (NOTES): Remove rule.
17611 * README: Don't refer to NOTES.
17612 * manual/creature.texi: Don't include macros.texi.
17613 * manual/intro.texi (creature.texi): Remove comment referring to
17616 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
17617 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
17618 * configure: Regenerated.
17619 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
17620 LIBC_TRY_CC_OPTION.
17621 (libc_cv_as_i686): Likewise.
17622 (libc_cv_cc_avx): Likewise.
17623 (libc_cv_cc_sse2avx): Likewise.
17624 (libc_cv_cc_fma4): Likewise.
17625 (libc_cv_cc_novzeroupper): Likewise.
17626 * sysdeps/i386/configure: Regenerated.
17629 * sysdeps/i386/fpu/s_cexp.S: Remove.
17630 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
17631 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
17632 * math/libm-test.inc (cexp_test): Add more tests.
17633 * sysdeps/i386/fpu/libm-test-ulps: Update.
17634 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17636 2012-03-21 Allan McRae <allan@archlinux.org>
17638 * timezone/Makefile: Do not install iso3166.tab and zone.tab
17640 2012-03-21 Joseph Myers <joseph@codesourcery.com>
17643 * math/w_exp2.c: Do not include <float.h>.
17644 (o_threshold, u_threshold): Remove.
17645 (__exp2): Calculate result before checking finiteness and calling
17647 * math/w_exp2f.c: Likewise.
17648 * math/w_exp2l.c: Likewise.
17649 * math/libm-test.inc (exp2_test): Require overflow exception for
17653 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
17654 range of signed 64-bit integers before using fistpll. Remove
17655 checks for whether integers fit in mantissa bits.
17656 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
17657 the range of signed 32-bit integers before using fistpl. Remove
17658 checks for whether integers fit in mantissa bits.
17659 * sysdeps/i386/fpu/e_powl.S (p64): New object.
17660 (__ieee754_powl): Test for y outside the range of signed 64-bit
17661 integers before using fistpll. Reduce 64-bit values to 63-bit
17663 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
17664 divide-by-zero is raised for zero to large negative powers.
17665 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
17666 (__ieee754_powl): Test for y outside the range of signed 64-bit
17667 integers before using fistpll. Reduce 64-bit values to 63-bit
17669 * math/libm-test.inc (pow_test): Add more tests.
17671 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
17673 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
17674 <stdio-common/_itoa.h>.
17675 * debug/segfault.c: Likewise.
17676 * elf/dl-cache.c: Likewise.
17677 * elf/dl-minimal.c: Likewise.
17678 * elf/dl-misc.c: Likewise.
17679 * elf/dl-sysdep.c: Likewise.
17680 * elf/dl-version.c: Likewise.
17681 * elf/rtld.c: Likewise.
17682 * hurd/hurdsock.c: Likewise.
17683 * hurd/lookup-retry.c: Likewise.
17684 * malloc/malloc.c: Likewise.
17685 * malloc/mtrace.c: Likewise.
17686 * nscd/nscd_getgr_r.c: Likewise.
17687 * nscd/nscd_getpw_r.c: Likewise.
17688 * nscd/nscd_getserv_r.c: Likewise.
17689 * posix/getopt_init.c: Likewise.
17690 * posix/wordexp.c: Likewise.
17691 * stdio-common/_itoa.c: Likewise.
17692 * stdio-common/printf_fphex.c: Likewise.
17693 * stdio-common/vfprintf.c: Likewise.
17694 * string/_strerror.c: Likewise.
17695 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
17696 * sysdeps/i386/i686/hp-timing.h: Likewise.
17697 * sysdeps/mach/_strerror.c: Likewise.
17698 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
17699 * sysdeps/mach/hurd/sethostid.c: Likewise.
17700 * sysdeps/mach/hurd/xmknodat.c: Likewise.
17701 * sysdeps/mach/xpg-strerror.c: Likewise.
17702 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
17703 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
17704 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
17705 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
17706 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
17707 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
17708 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
17709 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
17710 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
17711 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
17712 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
17713 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
17714 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
17715 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
17716 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
17717 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
17718 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
17719 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
17720 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
17721 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
17722 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
17724 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
17726 * stdio-common/_itoa.h: Moved to ...
17727 * sysdeps/generic/_itoa.h: Here.
17729 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
17731 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
17732 instead of "_itoa.h" and "_itowa.h".
17733 * stdio-common/vfprintf.: Likewise.
17735 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
17737 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
17739 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
17740 (__signbit): Likwise.
17741 (llrintf): Likwise.
17744 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
17746 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
17749 2012-03-20 Joseph Myers <joseph@codesourcery.com>
17751 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
17752 OVERFLOW_EXCEPTION_OK.
17753 * math/libm-test.inc ("Philosophy"): Update comment about
17755 (OVERFLOW_EXCEPTION): Define.
17756 (OVERFLOW_EXCEPTION_OK): Likewise.
17757 (INVALID_EXCEPTION_OK): Renumber.
17758 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
17759 (IGNORE_ZERO_INF_SIGN): Likewise.
17760 (test_exceptions): Handle FE_OVERFLOW.
17761 (exp10_test): Expect overflow exceptions.
17762 (exp2_test): Likewise.
17763 (expm1_test): Likewise.
17764 (nextafter_test): Likewise.
17765 (pow_test): Likewise.
17766 (scalbn_test): Likewise.
17767 (scalbln_test): Likewise.
17769 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17771 * sysdeps/x86_64/bits/atomic.h
17772 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
17774 (atomic_exchange_acq): Likewise.
17775 (__arch_exchange_and_add_body): Likewise.
17776 (__arch_add_body): Likewise.
17777 (atomic_add_negative): Likewise.
17778 (atomic_add_zero): Likewise.
17780 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17782 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
17783 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
17785 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17787 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
17788 Check __x86_64__ instead of __WORDSIZE.
17790 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17792 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
17794 2012-03-19 David S. Miller <davem@davemloft.net>
17796 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17798 * sysdeps/sparc/fpu/fenv_private.h: New file.
17799 * sysdeps/sparc/fpu/math_private.h: Use it.
17800 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
17802 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
17803 (libc_feholdexcept_setroundl): Remove.
17804 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
17806 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
17807 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
17809 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17811 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
17812 int64_t instead of long int.
17813 (INSERT_WORDS64): Likwise.
17815 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17817 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
17818 _Unwind_GetCFA return to _Unwind_Ptr first.
17820 2012-03-19 Joseph Myers <joseph@codesourcery.com>
17823 * math/s_clog.c: Include <float.h>.
17824 (__clog): Scale large or subnormal inputs.
17825 * math/s_clogf.c: Likewise.
17826 * math/s_clogl.c: Likewise.
17827 * math/s_clog10.c: Include <float.h>.
17828 (M_LOG10_2): Define.
17829 (__clog10): Scale large or subnormal inputs.
17830 * math/s_clog10f.c: Likewise.
17831 * math/s_clog10l.c: Likewise.
17832 * math/libm-test.inc (clog_test): Add more tests.
17833 (clog10_test): Likewise.
17834 * sysdeps/i386/fpu/libm-test-ulps: Update.
17835 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17838 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
17840 * math/libm-test.inc (atan2_test): Add another test.
17842 * Makerules (common-objdir-compile): Remove.
17843 * sysdeps/unix/Makefile (config-generated): Do not add
17844 $(unix-generated) to variable.
17845 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
17846 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
17848 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
17850 [generic bits/local_lim.h] (before-compile): Do not append to
17852 [generic bits/local_lim.h] (common-generated): Likewise.
17853 [generic sys/param.h] (before-compile): Do not append to variable.
17854 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
17855 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
17856 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
17857 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
17859 [generic sys/param.h] (sys/param.h-includes): Remove variable.
17860 [generic sys/param.h] (sys/param.h-includes): Remove rule.
17861 [generic sys/param.h] ($(addprefix
17862 $(common-objpfx),$(sys/param.h-includes))): Likewise.
17863 [generic sys/param.h] (common-generated): Do not append to
17865 [generic sys/param.h] (sysdep_headers): Likewise.
17866 [generic bits/errno.h] (before-compile): Do not append to
17868 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
17870 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
17871 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
17872 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
17873 [generic bits/errno.h] (common-generated): Do not append to
17875 [generic bits/ioctls.h] (before-compile): Do not append to
17877 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
17879 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
17880 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
17881 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
17883 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
17884 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
17885 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
17886 [generic bits/ioctls.h] (common-generated): Do not append to
17888 [generic sys/syscall.h] (syscall.h): Remove variable.
17889 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
17891 [generic sys/syscall.h] (before-compile): Do not append to
17893 [generic sys/syscall.h] (common-generated): Likewise.
17894 * sysdeps/unix/errnos-tmpl.c: Remove file.
17895 * sysdeps/unix/errnos.awk: Likewise.
17896 * sysdeps/unix/ioctls-tmpl.c: Likewise.
17897 * sysdeps/unix/ioctls.awk: Likewise.
17898 * sysdeps/unix/mk-local_lim.c: Likewise.
17899 * sysdeps/unix/snarf-ioctls: Likewise.
17901 2012-03-19 Richard Henderson <rth@twiddle.net>
17903 * sysdeps/i386/fpu/fenv_private.h: New file.
17904 * sysdeps/i386/fpu/math_private.h: Use it.
17905 (math_opt_barrier, math_force_eval): Remove.
17906 (libc_feholdexcept_setround_53bit): Remove.
17907 (libc_feupdateenv_53bit): Remove.
17908 * sysdeps/x86_64/fpu/math_private.h: Likewise.
17909 (math_opt_barrier, math_force_eval): Remove.
17910 (libc_feholdexcept): Remove.
17911 (libc_feholdexcept_setround): Remove.
17912 (libc_fetestexcept, libc_fesetenv): Remove.
17913 (libc_feupdateenv_test): Remove.
17914 (libc_feupdateenv, libc_feholdsetround): Remove.
17915 (libc_feresetround): Remove.
17917 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
17918 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
17920 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
17921 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
17922 (libc_feupdateenv_testl): New.
17923 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
17924 (libc_feupdateenv_testf): New.
17925 (libc_feupdateenv): Use libc_feupdateenv_test.
17926 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
17927 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
17929 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
17930 (libc_feholdsetroundf, libc_feholdsetroundl): New.
17931 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
17932 (libc_feresetround_noex): New.
17933 (libc_feresetround_noexf): New.
17934 (libc_feresetround_noexl): New.
17935 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
17936 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
17937 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
17938 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
17940 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
17941 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
17943 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
17944 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
17945 SET_RESTORE_ROUND_NOEX.
17946 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
17947 SET_RESTORE_ROUND_NOEXF.
17948 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
17949 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
17950 (libc_feholdsetroundf): New.
17951 (libc_feresetround, libc_feresetroundf): New.
17953 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
17954 (libc_feholdexcept_setround_53bit): Convert from macro to function.
17955 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
17957 * sysdeps/generic/math_private.h: Include <fenv.h>.
17958 (default_libc_feholdexcept): New.
17959 (default_libc_feholdexcept_setround): New.
17960 (default_libc_fesetenv, default_libc_feupdateenv): New.
17961 (libc_feholdexcept): Only define if undefined.
17962 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
17963 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
17964 (libc_feholdexcept_setroundl): Likewise.
17965 (libc_feholdexcept_setround_53bit): Likewise.
17966 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
17967 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
17968 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
17969 (libc_feupdateenv_53bit): Likewise.
17970 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
17971 (libc_feholdexcept): Convert from macro to inline function.
17972 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
17973 (libc_fesetenv, libc_feupdateenv): Likewise.
17975 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
17976 not previously defined.
17977 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
17978 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
17979 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
17980 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
17981 * sysdeps/ieee754/flt-32/math_private.h: New file.
17982 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
17983 math_private.h below SET_FLOAT_WORD.
17984 (__isnan, __isinf_ns, __finite): Remove.
17985 (__isnanf, __isinf_nsf, __finitef): Remove.
17987 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
17989 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17991 2012-03-17 David S. Miller <davem@davemloft.net>
17994 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
17997 2012-03-16 David S. Miller <davem@davemloft.net>
17999 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
18003 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
18005 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
18006 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
18007 sysdep_routines when subdir is sysvipc.
18008 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
18009 __getshmlba helper.
18011 * sysdeps/sparc/fpu/libm-test/ulps: Update.
18013 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
18015 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
18018 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
18020 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
18021 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
18022 (__lround): Renamed to ...
18023 (__llround): This. Replace long int with long long int.
18024 Define lround functions as aliases of llround functions.
18025 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
18027 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
18029 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
18030 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
18031 adresses to uintptr_t. Replace "long int" and "unsigned long
18032 int" with "greg_t" on va_arg.
18034 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
18036 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
18037 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
18039 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
18040 Move e_machine check before EI_CLASS check. Handle x32
18041 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
18042 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
18043 SKIP_EM_IA_64 and include
18044 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
18046 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
18047 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
18048 (add_system_dir): New macro.
18050 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
18051 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
18053 2012-03-16 Joseph Myers <joseph@codesourcery.com>
18064 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
18066 * math/w_j0f.c (j0f): Likewise.
18068 * math/w_j0l.c (__j0l): Likewise.
18070 * math/w_j1.c (j1): Likewise.
18072 * math/w_j1f.c (j1f): Likewise.
18074 * math/w_j1l.c (__j1l): Likewise.
18076 * math/w_jn.c (jn): Likewise.
18078 * math/w_jnf.c (jnf): Likewise.
18080 * math/w_jnl.c (__jnl): Likewise.
18082 * math/libm-test.inc (j0_test): Add more tests.
18083 (j1_test): Likewise.
18084 (jn_test): Likewise. Add trailing semicolon to existing test.
18085 (y0_test): Likewise.
18086 (y1_test): Likewise.
18087 * sysdeps/i386/fpu/libm-test-ulps: Update.
18088 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18092 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
18093 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
18094 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
18095 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
18096 (__tanl): Set errno for infinite argument.
18097 * sysdeps/i386/fpu/mptan.c: Remove.
18098 * sysdeps/i386/fpu/s_tan.S: Likewise.
18099 * sysdeps/i386/fpu/s_tanl.S: Likewise.
18100 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
18101 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
18102 * math/libm-test.inc (tan_test): Add more tests and enable more
18103 tests for double and long double.
18104 * sysdeps/i386/fpu/libm-test-ulps: Update.
18105 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18107 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
18109 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
18110 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
18112 2012-03-16 Roland McGrath <roland@hack.frob.com>
18114 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
18115 * configure.in: Use it for both main tree and add-ons.
18116 * configure: Regenerated.
18118 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
18120 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
18122 2012-03-16 Joseph Myers <joseph@codesourcery.com>
18124 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
18128 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
18129 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
18130 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
18131 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
18132 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
18134 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
18135 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
18136 != 0 for prec == 2.
18137 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
18138 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
18139 * sysdeps/i386/fpu/s_cosl.S: Likewise.
18140 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
18141 * sysdeps/i386/fpu/s_sinl.S: Likewise.
18142 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
18143 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
18144 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
18145 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
18146 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
18147 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
18148 * math/libm-test.inc (cos_test): Add more tests and enable more
18149 tests for long double.
18150 (sin_test): Likewise.
18151 (sincos_test): Likewise.
18152 * sysdeps/i386/fpu/libm-test-ulps: Update.
18153 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18155 2012-03-16 David S. Miller <davem@davemloft.net>
18157 * sysdeps/sparc/fpu/math_private.h: New file.
18159 2012-03-15 David S. Miller <davem@davemloft.net>
18161 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
18163 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
18164 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
18166 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
18167 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
18168 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
18169 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
18170 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
18171 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
18173 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
18175 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
18176 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
18178 * sysdeps/sparc/sparc-ifunc.h: New file.
18179 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
18181 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
18182 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
18184 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
18186 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
18187 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
18188 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
18189 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
18191 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
18192 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
18193 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
18194 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
18195 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
18197 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
18199 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
18200 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
18201 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
18202 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
18203 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
18204 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
18205 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
18206 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
18207 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
18208 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
18209 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
18210 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
18211 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
18212 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
18213 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
18214 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
18215 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
18216 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
18217 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
18218 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
18219 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
18220 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
18221 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
18222 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
18224 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
18226 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
18228 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18230 2012-03-15 Andreas Jaeger <aj@suse.de>
18233 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
18234 ieee754/flt-32 implementation for sin, cos and sincos.
18235 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
18236 * sysdeps/i386/fpu/s_cosf.S: Likewise.
18237 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
18238 * sysdeps/i386/fpu/s_sinf.S: Likewise.
18239 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
18240 ieee754/flt-32 implementation for tan.
18242 * math/libm-test.inc (cos_test): Enable some large input tests for
18244 (sin_test): Likewise.
18245 (sincos_test): Likewise.
18246 (tan_test): Add tests for large input.
18248 * sysdeps/i386/fpu/libm-test-ulps: Update.
18250 2012-03-15 Andreas Jaeger <aj@suse.de>
18253 * math/libm-test.inc (cos_test): Add more test cases.
18254 (sin_test): Likewise.
18255 (sincos_test): Likewise.
18257 2012-03-15 Andreas Jaeger <aj@suse.de>
18260 * math/libm-test.inc (cos_test): Add a test case for large input
18262 (sin_test): Likewise.
18263 (sincos_test): Likewise.
18265 2012-03-15 Andreas Jaeger <aj@suse.de>,
18266 Joseph Myers <joseph@codesourcery.com>
18269 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
18270 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
18271 * sysdeps/i386/fpu/branred.c: Likewise.
18272 * sysdeps/i386/fpu/dosincos.c: Likewise.
18273 * sysdeps/i386/fpu/mpa.c: Likewise.
18274 * sysdeps/i386/fpu/s_cos.S: Likewise.
18275 * sysdeps/i386/fpu/s_sin.S: Likewise.
18276 * sysdeps/i386/fpu/s_sincos.S: Likewise.
18277 * sysdeps/i386/fpu/sincos32.c: Likewise.
18279 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
18281 (libc_feupdateenv_53bit): Define.
18282 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
18284 (libc_feupdateenv_53bit): Define.
18286 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
18287 53 bit (without extend i386 double precision).
18289 * math/libm-test.inc (sincos_test): Add tests for large input.
18293 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
18295 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
18297 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18299 2012-03-15 David S. Miller <davem@davemloft.net>
18301 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
18302 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
18303 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
18304 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
18305 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
18306 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
18307 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
18308 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
18309 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
18310 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
18311 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
18312 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
18313 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
18314 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
18315 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
18316 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
18318 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
18319 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
18321 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
18322 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
18324 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
18325 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
18327 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
18328 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
18329 fmin/fmax sysdep routines.
18330 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
18332 2012-03-14 David S. Miller <davem@davemloft.net>
18334 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
18335 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
18336 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
18337 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
18338 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
18339 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
18340 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
18341 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
18342 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
18343 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
18344 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
18345 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
18346 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
18347 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
18348 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
18349 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
18350 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
18351 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
18352 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
18353 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
18354 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
18355 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
18356 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
18357 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
18358 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
18359 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
18360 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
18361 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
18362 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
18364 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
18366 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
18367 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
18369 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
18370 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
18372 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
18373 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
18375 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
18376 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
18378 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
18379 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
18381 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
18383 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
18385 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
18387 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
18389 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
18391 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
18393 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
18394 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
18396 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
18397 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
18399 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
18400 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
18402 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
18403 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
18406 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
18409 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18411 * sysdeps/sparc/configure.in: New file.
18412 * sysdeps/sparc/configure: Generate.
18413 * configure.in (libc_cv_sparc_as_vis3): Substitute.
18414 * configure: Regenerate.
18415 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
18416 * config.make.in (have-as-vis3): New.
18417 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
18418 available use -Av9d instead of -Av9a.
18419 * sysdeps/sparc/sparc64/Makefile: Likewise.
18420 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
18421 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
18423 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
18425 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
18427 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
18429 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
18430 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
18431 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
18432 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
18433 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
18435 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
18436 fzeros/fnegs to load 0x80000000 into a float register instead of
18438 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
18440 2012-03-14 Joseph Myers <joseph@codesourcery.com>
18442 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18444 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
18445 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
18446 ($(inst_includedir)/bits/syscall.h): Remove rule.
18447 ($(objpfx)bits/syscall.d): Include instead of
18448 $(objpfx)syscall-list.d.
18449 (generated): Change syscall-list.h and syscall-list.d to
18450 bits/syscall.h and bits/syscall.d.
18452 2012-03-14 Roland McGrath <roland@hack.frob.com>
18455 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
18457 2012-03-14 Joseph Myers <joseph@codesourcery.com>
18460 * math/s_csqrt.c: Include <float.h>.
18461 (__csqrt): Scale large or subnormal inputs.
18462 * math/s_csqrtf.c: Likewise.
18463 * math/s_csqrtl.c: Likewise.
18464 * math/libm-test.inc (csqrt_test): Add more tests.
18465 * sysdeps/i386/fpu/libm-test-ulps: Update.
18466 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18469 * math/libm-test.inc (hypot_test): Add more tests.
18471 2012-03-13 David S. Miller <davem@davemloft.net>
18474 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
18475 double-precision for the calculation instead of scaling.
18477 2012-03-13 Joseph Myers <joseph@codesourcery.com>
18479 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
18480 manipulate bits before adding and subtracting TWO52[sx].
18481 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
18482 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
18484 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
18486 2012-03-13 David S. Miller <davem@davemloft.net>
18488 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
18489 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
18490 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
18491 rtld-global-offsets.h
18492 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
18494 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
18497 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
18499 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
18500 'err' in the ifdef scope in which it is actually used.
18502 * nss/nss_db/db-init.c: Include string.h
18504 2012-03-12 David S. Miller <davem@davemloft.net>
18506 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
18507 masking out of the most significant byte of random value used.
18508 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
18509 Fix coding style in previous change.
18511 * sysdeps/unix/sysv/linux/kernel-features.h
18512 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
18513 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
18515 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
18518 2012-03-11 David S. Miller <davem@davemloft.net>
18520 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
18521 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
18522 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
18523 for 'resultvar' otherwise things get truncated on 64-bit.
18525 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
18526 Fix masking out of the most significant byte of random value used.
18528 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18530 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
18532 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18534 2012-03-09 David S. Miller <davem@davemloft.net>
18536 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
18537 variables with appropriate CPP guards.
18538 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
18539 frame pointer, not the stack pointer. Correct layout comments. Fix test
18540 on resulting framesize and the management of the outregs buffer for pltexit.
18541 Preserve floating point return values across _dl_call_pltexit call.
18542 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
18543 framesize and the management of the outregs buffer for pltexit.
18544 Preserve floating point return values across _dl_call_pltexit
18546 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
18547 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
18548 (print_exit): Fix format string for return register value.
18550 2012-03-10 Joseph Myers <joseph@codesourcery.com>
18552 * sunrpc/Makefile (others): Add rpcgen.
18553 ($(objpfx)rpcgen): Remove special build rule and dependency on
18555 * sunrpc/rpcgen.c: New file.
18557 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
18560 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
18561 * stdio-common/bug-vfprintf-nargs.c: Likewise.
18562 * sysdeps/i386/crti.S: Likewise.
18563 * sysdeps/i386/crtn.S: Likewise.
18564 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
18565 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
18566 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
18567 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
18568 * sysdeps/sh/crti.S: Likewise.
18569 * sysdeps/sh/crtn.S: Likewise.
18570 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
18573 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
18575 * locale/programs/locfile-kw.gperf: Likewise.
18576 * locale/programs/charmap-kw.h: Regenerated.
18577 * locale/programs/locfile-kw.h: Likewise.
18580 * intl/plural.y: Replace FSF snail mail address with URL.
18581 * intl/plural.c: Regenerated.
18583 2012-03-09 Richard Henderson <rth@twiddle.net>
18585 * include/math_private.h: Remove file.
18586 * math/math_private.h: Move file ...
18587 * sysdeps/generic/math_private.h: ... here.
18589 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
18590 * sysdeps/powerpc/fpu/math_private.h: Likewise.
18591 * sysdeps/x86_64/fpu/math_private.h: Likewise.
18593 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
18594 and <math_private.h>.
18595 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
18596 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
18597 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
18598 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
18599 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
18600 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
18601 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
18602 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18603 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
18604 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
18605 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18606 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
18607 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
18608 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
18609 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
18610 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
18611 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
18612 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
18613 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
18614 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
18615 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18616 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
18617 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
18618 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18619 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
18620 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
18621 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
18622 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
18623 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18624 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
18625 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
18626 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
18627 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
18628 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
18629 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
18630 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
18631 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
18632 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
18633 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
18634 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
18635 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
18636 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
18637 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
18638 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
18639 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
18640 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
18641 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
18642 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
18643 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
18644 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
18645 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
18646 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
18647 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
18648 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
18649 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
18650 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
18651 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
18652 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
18653 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
18654 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
18655 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
18656 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
18657 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18658 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
18659 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
18660 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
18661 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
18662 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
18663 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
18664 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
18665 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
18666 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
18667 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
18668 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
18669 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
18670 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
18671 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
18672 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
18673 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
18674 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
18675 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
18676 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
18677 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
18678 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
18679 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
18680 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
18681 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
18682 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
18683 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
18684 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
18685 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
18686 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
18687 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
18688 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
18689 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
18690 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
18691 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
18692 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
18693 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
18694 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
18695 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
18696 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
18697 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
18698 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
18699 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
18700 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
18701 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
18702 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
18703 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
18704 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
18705 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
18706 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
18707 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
18708 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
18709 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
18710 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
18711 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
18712 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
18713 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
18714 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
18715 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
18716 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
18717 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
18718 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
18719 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
18720 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
18721 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
18722 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
18723 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
18724 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
18725 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
18726 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
18727 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
18728 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
18729 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
18730 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
18731 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
18732 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
18733 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
18734 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
18735 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
18736 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
18737 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
18738 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
18739 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
18740 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
18741 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
18742 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
18743 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
18744 * sysdeps/ieee754/k_standard.c: Likewise.
18745 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
18746 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
18747 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
18748 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
18749 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
18750 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
18751 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
18752 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
18753 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
18754 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
18755 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
18756 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
18757 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
18758 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
18759 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
18760 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
18761 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
18762 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
18763 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
18764 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
18765 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
18766 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
18767 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
18768 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
18769 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
18770 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
18771 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
18772 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
18773 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
18774 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
18775 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
18776 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
18777 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
18778 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
18779 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
18780 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
18781 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
18782 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
18783 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
18784 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
18785 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
18786 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
18787 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
18788 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
18789 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
18790 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
18791 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
18792 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
18793 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
18794 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
18795 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
18796 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
18797 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
18798 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
18799 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
18800 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
18801 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
18802 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
18803 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
18804 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
18805 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
18806 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
18807 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
18808 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
18809 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
18810 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
18811 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
18812 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
18813 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
18814 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
18815 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
18816 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
18817 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
18818 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
18819 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
18820 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
18821 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
18822 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
18823 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
18824 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
18825 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
18826 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
18827 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
18828 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
18829 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
18830 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
18831 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
18832 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
18833 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
18834 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
18835 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
18836 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
18837 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
18838 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
18839 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
18840 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
18841 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
18842 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
18843 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
18844 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
18845 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
18846 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
18847 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
18848 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
18849 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
18850 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
18851 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
18852 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
18853 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
18854 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
18855 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
18856 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
18857 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
18858 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
18859 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
18860 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
18861 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
18862 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
18863 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
18864 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
18865 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
18866 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
18867 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
18868 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
18869 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
18870 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
18871 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
18872 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
18873 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
18874 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
18875 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
18876 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
18877 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
18878 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
18879 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
18880 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
18881 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
18882 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
18883 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
18884 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
18885 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
18886 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
18887 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
18888 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
18889 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
18890 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
18891 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
18892 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
18893 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
18894 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
18895 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
18896 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
18897 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
18898 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
18899 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
18900 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
18901 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
18902 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
18903 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
18904 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
18905 * sysdeps/ieee754/s_lib_version.c: Likewise.
18906 * sysdeps/ieee754/s_matherr.c: Likewise.
18907 * sysdeps/ieee754/s_signgam.c: Likewise.
18908 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
18909 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
18910 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
18911 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
18912 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
18913 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
18914 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
18915 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
18916 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
18917 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
18918 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
18919 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
18920 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
18921 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
18922 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
18923 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
18924 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
18925 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
18926 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
18927 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
18928 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
18930 2012-03-09 Joseph Myers <joseph@codesourcery.com>
18932 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
18933 * sunrpc/rpc_main.c: Likewise.
18934 * sunrpc/rpc_svcout.c: Likewise.
18936 2012-03-09 David S. Miller <davem@davemloft.net>
18938 * include/math_private.h: New file.
18940 2012-03-09 Joseph Myers <joseph@codesourcery.com>
18942 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
18943 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
18944 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
18945 from <bits/socket_type.h>.
18946 (enum __socket_type): Don't define here.
18947 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
18948 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18949 bits/socket_type.h.
18952 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
18953 checking __USE_GNU.
18955 * Makerules ($(inst_includedir)/%.h): New rule.
18956 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
18957 (install-others): Remove variable setting.
18958 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
18960 2012-03-08 Richard Henderson <rth@twiddle.net>
18962 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
18963 from macro to inline function; merge with the
18964 !__LIBC_INTERNAL_MATH_INLINES version.
18965 (__ieee754_sqrtf): Likewise.
18967 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
18968 to inline function.
18969 (__rintf, __floor, __floorf): Likewise.
18971 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
18972 macro to inline function.
18973 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
18975 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
18976 not <math/math_private.h>.
18978 2012-03-08 David S. Miller <davem@davemloft.net>
18980 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
18982 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
18984 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
18986 * resolv/gai_misc.c (handle_requests): Fix struct timespec
18988 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
18989 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
18991 2012-03-08 Ulrich Drepper <drepper@gmail.com>
18993 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
18994 be defined individually, they must be defined as a block. Define
18995 S for printing a string instead of hidint the different by using a
18996 macro for adding the 'l'.
18997 * stdio-common/tst-fphex-wide.c: Adjust.
18999 2012-03-07 Marek Polacek <polacek@redhat.com>
19001 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
19003 2012-03-08 Marek Polacek <polacek@redhat.com>
19006 * stdio-common/Makefile (tests): Add tst-fphex-wide.
19007 * stdio-common/tst-fphex.c: Define a few macros to make the
19008 test reusable. Use them.
19009 * stdio-common/tst-fphex-wide.c: New file.
19011 2012-03-08 Joseph Myers <joseph@codesourcery.com>
19014 * manual/macros.texi (gnusystems): New macro.
19015 (nongnusystems): Likewise.
19016 (gnulinuxhurdsystems): Likewise.
19017 (gnuhurdsystems): Likewise..
19018 (gnulinuxsystems): Likewise.
19019 * manual/charset.texi: Use new macros or @theglibc{} to refer to
19020 variants of the GNU system, not "GNU system".
19021 * manual/conf.texi: Likewise.
19022 * manual/errno.texi: Likewise. Update example of errno macro
19024 * manual/filesys.texi: Likewise.
19025 (getumask): Document as specific to GNU/Hurd.
19026 * manual/install.texi: Likewise. Reword some references to
19028 * manual/intro.texi: Likewise.
19029 * manual/io.texi: Likewise.
19030 (File Name Portability): Detail which constraints are inapplicable
19031 to all GNU systems and which are only inapplicable to GNU/Hurd.
19032 * manual/job.texi: Likewise.
19033 * manual/llio.texi: Likewise.
19034 (O_NOCTTY): Document as present on GNU/Linux.
19035 * manual/maint.texi: Likewise.
19036 * manual/memory.texi: Likewise.
19037 * manual/pattern.texi: Likewise.
19038 * manual/pipe.texi: Likewise.
19039 * manual/process.texi: Likewise.
19040 * manual/resource.texi: Likewise.
19041 (RUSAGE_CHILDREN): Remove statement about specifying a particular
19043 * manual/setjmp.texi: Likewise.
19044 * manual/signal.texi: Likewise.
19045 * manual/startup.texi: Likewise.
19046 * manual/stdio.texi: Likewise.
19047 * manual/terminal.texi: Likewise.
19048 (ONLCR): Document as POSIX.
19049 (OXTABS): Document availability on GNU/Linux as XTABS.
19050 (ONOEOT): Document availability separately from other bits.
19051 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
19052 * manual/time.texi: Likewise.
19053 * manual/users.texi: Likewise.
19054 * INSTALL: Regenerated.
19055 * sysdeps/gnu/errlist.c: Regenerated.
19057 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
19058 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
19059 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
19061 * configure: Regenerated.
19063 2012-03-07 Joseph Myers <joseph@codesourcery.com>
19065 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
19066 default includes instead of AC_HEADER_CHECK.
19067 * sysdeps/i386/configure: Regenerated.
19070 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
19071 * math/s_cacoshf.c (__cacoshf): Likewise.
19072 * math/s_cacoshl.c (__cacoshl): Likewise.
19073 * math/s_casinh.c (__casinh): Set signs of result from argument.
19074 * math/s_casinhf.c (__casinhf): Likewise.
19075 * math/s_casinhl.c (__casinhl): Likewise.
19076 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
19077 (casinh_test): Add more tests.
19078 * sysdeps/i386/fpu/libm-test-ulps: Update.
19079 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19081 2012-03-07 Ulrich Drepper <drepper@gmail.com>
19083 * po/zh_TW.po: Update from translation team.
19085 * login/Makefile (distribute): Remove variable.
19086 * catgets/Makefile: Likewise.
19087 * mach/Makefile: Likewise.
19088 * malloc/Makefile: Likewise.
19089 * misc/Makefile: Likewise.
19090 * iconv/Makefile: Likewise.
19091 * nscd/Makefile: Likewise.
19092 * hurd/Makefile: Likewise.
19093 * manual/Makefile: Likewise.
19094 * locale/Makefile: Likewise.
19095 * intl/Makefile: Likewise.
19096 * conform/Makefile: Likewise.
19097 * nss/Makefile: Likewise.
19098 * time/Makefile: Likewise.
19099 * soft-fp/Makefile: Likewise.
19100 * dirent/Makefile: Likewise.
19101 * gmon/Makefile: Likewise.
19102 * po/Makefile: Likewise.
19103 * rt/Makefile: Likewise.
19104 * socket/Makefile: Likewise.
19105 * math/Makefile: Likewise.
19106 * signal/Makefile: Likewise.
19107 * debug/Makefile: Likewise.
19108 * elf/Makefile: Likewise.
19109 * timezone/Makefile: Likewise.
19110 * stdlib/Makefile: Likewise.
19111 * iconvdata/Makefile: Likewise.
19112 * sunrpc/Makefile: Likewise.
19113 * io/Makefile: Likewise.
19114 * argp/Makefile: Likewise.
19115 * inet/Makefile: Likewise.
19116 * hesiod/Makefile: Likewise.
19117 * grp/Makefile: Likewise.
19118 * csu/Makefile: Likewise.
19119 * wctype/Makefile: Likewise.
19120 * crypt/Makefile: Likewise.
19121 * libio/Makefile: Likewise.
19122 * string/Makefile: Likewise.
19123 * nis/Makefile: Likewise.
19124 * resolv/Makefile: Likewise.
19125 * stdio-common/Makefile: Likewise.
19126 * wcsmbs/Makefile: Likewise.
19127 * dlfcn/Makefile: Likewise.
19128 * posix/Makefile: Likewise.
19131 * timezone/Makefile: Don't install timezone files, just the programs
19134 2012-03-06 Ulrich Drepper <drepper@gmail.com>
19136 * nss/databases.def: Add missing gshadow entry.
19138 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
19140 2012-03-06 Marek Polacek <polacek@redhat.com>
19143 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
19144 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
19145 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
19146 * stdio-common/tst-long-dbl-fphex.c: New file.
19148 2012-03-06 David S. Miller <davem@davemloft.net>
19150 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
19151 (set_obp_int): New function.
19152 (get_obp_int): New function.
19153 (__get_clockfreq_via_dev_openprom): Likewise.
19154 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
19155 Avoid unused variable warnings on 'val' and use builtin_expect.
19156 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
19158 (INLINE_CLONE_SYSCALL): Likewise.
19160 2012-03-05 David S. Miller <davem@davemloft.net>
19162 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19164 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
19166 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19168 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
19169 only for |x| >= 40.
19170 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
19172 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
19174 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
19175 Replace gettimeofday with __vdso_gettimeofday.
19177 * sysdeps/unix/sysv/linux/x86_64/init-first.c
19178 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
19179 __vdso_clock_gettime and __vdso_getcpu.
19181 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
19182 time with __vdso_time.
19184 2012-03-05 Joseph Myers <joseph@codesourcery.com>
19186 * manual/lang.texi (size_t): Note types to which size_t may be
19187 equivalent with the GNU C Library, but do not describe when
19188 differences between them are significant.
19190 2012-03-05 Andreas Jaeger <aj@suse.de>
19192 * sysdeps/i386/fpu/libm-test-ulps: Update.
19194 2012-03-05 Joseph Myers <joseph@codesourcery.com>
19197 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
19198 (__ieee754_pow): Save and restore rounding mode and use
19199 round-to-nearest for main computations.
19200 * math/libm-test.inc (pow_test_tonearest): New function.
19201 (pow_test_towardzero): Likewise.
19202 (pow_test_downward): Likewise.
19203 (pow_test_upward): Likewise.
19204 (main): Call the new functions.
19205 * sysdeps/i386/fpu/libm-test-ulps: Update.
19206 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19209 * math/libm-test.inc (cosh_test_tonearest): New function.
19210 (cosh_test_towardzero): Likewise.
19211 (cosh_test_downward): Likewise.
19212 (cosh_test_upward): Likewise.
19213 (sinh_test_tonearest): Likewise.
19214 (sinh_test_towardzero): Likewise.
19215 (sinh_test_downward): Likewise.
19216 (sinh_test_upward): Likewise.
19217 (main): Call the new functions.
19218 * sysdeps/i386/fpu/libm-test-ulps: Update.
19219 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19221 2012-03-05 Tom de Vries <tom@codesourcery.com>
19223 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
19224 default stack guard is set in last bytes.
19225 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
19227 2012-03-05 Kees Cook <keescook@chromium.org>
19229 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
19232 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
19233 possibly allocate from heap instead of stack.
19234 * stdio-common/bug-vfprintf-nargs.c: New file.
19235 * stdio-common/Makefile (tests): Add nargs overflow test.
19237 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
19239 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19241 2012-03-03 Marek Polacek <polacek@redhat.com>
19243 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
19244 * math/math_private.h: Likewise.
19245 * stdlib/tst-strtod.c: Likewise.
19246 * sysdeps/i386/i486/bits/atomic.h: Likewise.
19247 * sysdeps/x86_64/bits/atomic.h: Likewise.
19249 2012-03-02 David S. Miller <davem@davemloft.net>
19251 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
19252 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
19253 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
19254 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
19255 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
19256 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
19257 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
19258 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
19260 2012-03-02 Roland McGrath <roland@hack.frob.com>
19263 * manual/examples/README: New file, says the example source files
19264 can be used under GPL>=2.
19265 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
19266 line containing just "*/".
19267 * manual/examples/add.c: Add copyright header (GPL>=2).
19268 * manual/examples/argp-ex1.c: Likewise.
19269 * manual/examples/argp-ex2.c: Likewise.
19270 * manual/examples/argp-ex3.c: Likewise.
19271 * manual/examples/argp-ex4.c: Likewise.
19272 * manual/examples/atexit.c: Likewise.
19273 * manual/examples/db.c: Likewise.
19274 * manual/examples/dir.c: Likewise.
19275 * manual/examples/dir2.c: Likewise.
19276 * manual/examples/execinfo.c: Likewise.
19277 * manual/examples/filecli.c: Likewise.
19278 * manual/examples/filesrv.c: Likewise.
19279 * manual/examples/fmtmsgexpl.c: Likewise.
19280 * manual/examples/genpass.c: Likewise.
19281 * manual/examples/inetcli.c: Likewise.
19282 * manual/examples/inetsrv.c: Likewise.
19283 * manual/examples/isockad.c: Likewise.
19284 * manual/examples/longopt.c: Likewise.
19285 * manual/examples/memopen.c: Likewise.
19286 * manual/examples/memstrm.c: Likewise.
19287 * manual/examples/mkfsock.c: Likewise.
19288 * manual/examples/mkisock.c: Likewise.
19289 * manual/examples/mygetpass.c: Likewise.
19290 * manual/examples/pipe.c: Likewise.
19291 * manual/examples/popen.c: Likewise.
19292 * manual/examples/rprintf.c: Likewise.
19293 * manual/examples/search.c: Likewise.
19294 * manual/examples/select.c: Likewise.
19295 * manual/examples/setjmp.c: Likewise.
19296 * manual/examples/sigh1.c: Likewise.
19297 * manual/examples/sigusr.c: Likewise.
19298 * manual/examples/stpcpy.c: Likewise.
19299 * manual/examples/strdupa.c: Likewise.
19300 * manual/examples/strftim.c: Likewise.
19301 * manual/examples/strncat.c: Likewise.
19302 * manual/examples/subopt.c: Likewise.
19303 * manual/examples/swapcontext.c: Likewise.
19304 * manual/examples/termios.c: Likewise.
19305 * manual/examples/testopt.c: Likewise.
19306 * manual/examples/testpass.c: Likewise.
19307 * manual/examples/timeval_subtract.c: Likewise.
19310 * manual/time.texi (Elapsed Time): Move timeval_subtract example
19312 * manual/timeval_subtract.c.texi: ... here, new file.
19314 2012-03-02 David S. Miller <davem@davemloft.net>
19316 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
19318 2012-03-02 Joseph Myers <joseph@codesourcery.com>
19321 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
19322 (__sin): Save and restore rounding mode and use round-to-nearest
19323 for all computations.
19324 (__cos): Save and restore rounding mode and use round-to-nearest
19325 for all computations.
19326 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
19328 (tan): Save and restore rounding mode and use round-to-nearest for
19330 * math/libm-test.inc (cos_test_tonearest): New function.
19331 (cos_test_towardzero): Likewise.
19332 (cos_test_downward): Likewise.
19333 (cos_test_upward): Likewise.
19334 (sin_test_tonearest): Likewise.
19335 (sin_test_towardzero): Likewise.
19336 (sin_test_downward): Likewise.
19337 (sin_test_upward): Likewise.
19338 (tan_test_tonearest): Likewise.
19339 (tan_test_towardzero): Likewise.
19340 (tan_test_downward): Likewise.
19341 (tan_test_upward): Likewise.
19342 (main): Call the new functions.
19343 * sysdeps/i386/fpu/libm-test-ulps: Update.
19344 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19347 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
19348 small n, then large n, before computing and testing k+n.
19349 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
19350 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
19352 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
19354 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
19355 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
19356 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
19357 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
19358 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
19359 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
19360 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
19361 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
19362 * math/libm-test.inc (scalbn_test): Add more tests.
19363 (scalbln_test): Likewise.
19365 * manual/filesys.texi (mode_t): Describe constraints on size and
19366 signedness, not exact equivalence to a particular type.
19368 (ino64_t): Likewise.
19370 (nlink_t): Likewise.
19371 (blkcnt_t): Likewise.
19372 (blkcnt64_t): Likewise.
19373 * manual/llio.texi (off_t): Likewise.
19376 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
19377 (__ieee754_exp): Save and restore rounding mode and use
19378 round-to-nearest for all computations.
19379 * math/libm-test.inc (exp_test_tonearest): New function.
19380 (exp_test_towardzero): Likewise.
19381 (exp_test_downward): Likewise.
19382 (exp_test_upward): Likewise.
19383 (main): Call the new functions.
19384 * sysdeps/i386/fpu/libm-test-ulps: Update.
19385 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19387 2012-03-01 Chris Demetriou <cgd@google.com>
19389 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
19390 have predictable order.
19392 2012-03-01 David S. Miller <davem@davemloft.net>
19394 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
19396 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
19397 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
19398 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
19399 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
19401 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
19402 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
19403 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
19404 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
19405 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
19406 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
19407 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
19408 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
19409 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
19411 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19413 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
19414 * sysdeps/sparc/fpu/libm-test-ulps: to here.
19415 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
19417 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
19418 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
19419 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
19420 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
19421 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
19422 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
19423 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
19424 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
19425 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
19426 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
19427 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
19428 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
19429 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
19430 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
19431 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
19432 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
19433 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
19434 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
19435 * sysdeps/sparc/elf/configure: Regenerated.
19437 2012-03-01 Joseph Myers <joseph@codesourcery.com>
19439 * configure.in (AS, LD): Require binutils 2.20 or later.
19440 * configure: Regenerated.
19441 * manual/install.texi (Tools for Compilation): Give binutils 2.20
19442 as required minimum version.
19443 * INSTALL: Regenerated.
19447 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
19448 before squaring exponent.
19449 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
19450 bottom long double and 27 bits of top long double before squaring
19452 * math/libm-test.inc (erfc_test): Add more tests.
19453 * sysdeps/i386/fpu/libm-test-ulps: Update.
19454 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19455 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19457 2012-03-01 Kai Tietz <ktietz@redhat.com>
19459 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
19460 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
19461 containing bit-fields.
19462 * soft-fp/extended.h (_FP_UNION_E): Likewise.
19463 * soft-fp/single.h (_FP_UNION_S): Likewise.
19464 * soft-fp/double.h (_FP_UNION_D): Likewise.
19466 2012-02-29 Joseph Myers <joseph@codesourcery.com>
19469 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
19470 not include ../strcmp.S.
19471 [USE_AS_STRNCASECMP_L]: Likewise.
19472 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
19473 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
19474 * sysdeps/i386/i686/multiarch/strncase_l-c.c
19475 (__strncasecmp_l_ia32): Define as alias to
19476 __strncasecmp_l_nonascii.
19479 * math/libm-test.inc (expm1_test): Add test for bug 5794.
19480 * sysdeps/i386/fpu/libm-test-ulps: Update.
19481 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19483 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
19484 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19486 2012-02-29 Jeff Law <law@redhat.com>
19488 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
19489 out of bounds read.
19491 2012-02-29 Marek Polacek <polacek@redhat.com>
19494 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
19495 * elf/Makefile: Add rules to run tst-unused-dep.out.
19497 2012-02-28 David S. Miller <davem@davemloft.net>
19499 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
19500 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
19501 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
19502 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
19503 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
19504 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
19506 2012-02-29 Joseph Myers <joseph@codesourcery.com>
19508 * math/libm-test.inc (llround_test): Move one test from
19509 lround_test. Use TEST_f_L in moved test.
19510 (lround_test): Move misplaced test to llround_test. Add testcase
19513 2012-02-28 Ulrich Drepper <drepper@gmail.com>
19515 * sysdeps/x86_64/fpu/e_expf.S: New file.
19516 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
19518 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
19521 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
19522 of remain_len that may cause incomplete multi-byte character and
19524 * posix/bug-regex33.c: New file.
19525 * posix/Makefile (tests): Add bug-regex33.
19527 2012-02-28 Joseph Myers <joseph@codesourcery.com>
19529 * manual/macros.texi: New file.
19530 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
19531 * manual/libc.texinfo: Include macros.texi.
19532 * manual/creatute.texi: Likewise.
19533 * manual/install.texi: Likewise.
19534 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
19535 @glibcadj{} in references to the GNU C Library.
19536 * manual/charset.texi: Likewise.
19537 * manual/conf.texi: Likewise.
19538 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
19539 when not using those macros.
19540 * manual/creature.texi: Likewise.
19541 * manual/crypt.texi: Likewise.
19542 * manual/errno.texi: Likewise.
19543 * manual/filesys.texi: Likewise.
19544 * manual/header.texi: Likewise.
19545 * manual/install.texi: Likewise.
19546 * manual/intro.texi: Likewise.
19547 * manual/io.texi: Likewise.
19548 * manual/job.texi: Likewise.
19549 * manual/lang.texi: Likewise.
19550 * manual/libc.texiinfo: Likewise.
19551 * manual/llio.texi: Likewise.
19552 * manual/locale.texi: Likewise.
19553 * manual/maint.texi: Likewise.
19554 * manual/math.texi: Likewise.
19555 * manual/memory.texi: Likewise.
19556 * manual/message.texi: Likewise.
19557 * manual/nss.texi: Likewise.
19558 * manual/pattern.texi: Likewise.
19559 * manual/process.texi: Likewise.
19560 * manual/resource.texi: Likewise.
19561 * manual/search.texi: Likewise.
19562 * manual/setjmp.texi: Likewise.
19563 * manual/signal.texi: Likewise.
19564 * manual/socket.texi: Likewise.
19565 * manual/startup.texi: Likewise.
19566 * manual/stdio.texi: Likewise.
19567 * manual/string.texi: Likewise.
19568 * manual/sysinfo.texi: Likewise.
19569 * manual/syslog.texi: Likewise.
19570 * manual/terminal.texi: Likewise.
19571 * manual/time.texi: Likewise.
19572 * manual/users.texi: Likewise.
19573 * INSTALL: Regenerated.
19574 * NOTES: Regenerated.
19575 * sysdeps/gnu/errlist.c: Regenerated.
19577 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
19579 * include/dirent.h: Include <dirstream.h> before
19582 2012-02-28 David S. Miller <davem@davemloft.net>
19584 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
19585 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
19586 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
19587 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
19589 2012-02-27 David S. Miller <davem@davemloft.net>
19591 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
19592 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
19593 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
19594 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
19596 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
19597 frame pointer instead of stack pointer relative arg slot.
19598 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
19599 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
19600 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
19602 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
19605 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
19607 2012-02-27 David S. Miller <davem@davemloft.net>
19609 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
19610 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
19611 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
19612 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
19613 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
19614 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
19615 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
19616 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
19618 2012-02-27 Joseph Myers <joseph@codesourcery.com>
19620 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
19621 later. Allow versions 5-9.
19622 * configure: Regenerated.
19623 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
19624 required minimum version and 4.6 as recommended version. Do not
19625 mention bugs in GCC 2.7 and 2.8.
19626 * INSTALL: Regenerated.
19628 2012-02-27 David S. Miller <davem@davemloft.net>
19630 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
19631 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
19632 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
19633 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
19634 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
19635 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
19636 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
19637 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
19639 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
19640 manipulate bits before adding and subtracting TWO112[sx].
19641 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
19643 2012-02-27 Roland McGrath <roland@hack.frob.com>
19646 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
19647 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
19648 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
19649 being in POSIX, because they are in 1003.1-2008.
19651 * rt/tst-aio.c: Include <fcntl.h>.
19652 * rt/tst-aio7.c: Likewise.
19653 * rt/tst-aio64.c: Likewise.
19655 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
19657 2012-02-27 Joseph Myers <joseph@codesourcery.com>
19659 * manual/install.texi (--with-headers): Describe headers as
19660 interface headers, not private headers.
19661 (Specific advice for GNU/Linux systems): Describe use of headers
19662 from "make headers_install", not private headers from older
19664 * INSTALL: Regenerated.
19665 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
19667 * sysdeps/unix/sysv/linux/configure: Regenerated.
19669 * manual/llio.texi (fclean): Remove documentation.
19671 * manual/Makefile (libc-texi-generated): New variable. Include
19673 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
19674 $(libc-texi-generated), not duplicated list of files.
19675 (version.texi, stamp-version): New rules.
19676 (realclean): Remove $(libc-texi-generated), not individual files
19677 from that list. Do not remove dir-add.texinfo.
19678 * manual/libc.texinfo: Comment out uses of edition numbers and
19679 references to printed manual. Remove last-updated dates.
19680 (EDITION): Comment out.
19682 (VERSION, UPDATED): Remove.
19683 (version.texi): Include.
19685 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
19687 * sysdeps/posix/spawni.c: Include <signal.h>.
19688 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
19689 * sysdeps/pthread/aio_fsync.c: Likewise.
19691 2012-02-26 Ulrich Drepper <drepper@gmail.com>
19693 * conform/Makefile (tests): Run only when not cross-compiling and
19694 when fast-check is not defined.
19696 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
19697 * conform/data/limits.h-data: Fixes for POSIX2008.
19698 * conform/run-conformtest.sh: Run all tests.
19699 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
19701 * include/bits/dlfcn.h: Likewise.
19702 * include/langinfo.h: Likewise.
19703 * include/monetary.h: Likewise.
19704 * include/sys/poll.h: Likewise.
19706 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
19708 * posix/spawn.h: Define __need_sigset_t.
19709 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
19710 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
19711 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
19712 to get sigevent_t only.
19713 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
19714 only for __USE_GNU.
19715 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
19716 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
19717 process_vm_writev only for __USE_GNU.
19718 * termios/termios.h: Declare tcgetsid also for POSIX2008.
19720 * conform/Makefile: For now ignore errors from run-conformtest.
19721 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
19722 POSIX to avoid namespace pollution. Don't prepend headers.
19723 * conform/data/aio.h-data: Fixes for POSIX testing.
19724 * conform/data/fcntl.h-data: Likewise.
19725 * conform/data/glob.h-data: Likewise.
19726 * conform/data/grp.h-data: Likewise.
19727 * conform/data/pthread.h-data: Likewise.
19728 * conform/data/pwd.h-data: Likewise.
19729 * conform/data/signal.h-data: Likewise.
19730 * conform/data/spawn.h-data: Likewise.
19731 * conform/data/stdio.h-data: Likewise.
19732 * conform/data/stdlib.h-data: Likewise.
19733 * conform/data/stropts.h-data: Likewise.
19734 * conform/data/sys/mman.h-data: Likewise.
19735 * conform/data/sys/stat.h-data: Likewise.
19736 * conform/data/sys/types.h-data: Likewise.
19737 * conform/data/sys/wait.h-data: Likewise.
19738 * conform/data/time.h-data: Likewise.
19739 * conform/data/unistd.h-data: Likewise.
19740 * conform/data/utime.h-data: Likewise.
19742 * io/sys/stat.h: fchmod was always in POSIX.
19743 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
19744 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
19745 * rt/aio.h: Define __need_timespec before including <time.h>.
19746 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
19747 struct. Add forward declaration of pthread_attr_t and use it in
19749 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
19750 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
19751 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
19752 always remove CLK_TCK definition.
19754 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
19756 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
19758 2012-02-25 Ulrich Drepper <drepper@gmail.com>
19760 * conform/run-conformtest.sh: New file.
19761 * conform/Makefile: Run run-conformtest for tests.
19762 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
19765 * conform/data/uchar.h-data: New file.
19766 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
19767 * conform/data/arpa/inet.h-data: Likewise.
19768 * conform/data/assert.h-data: Likewise.
19769 * conform/data/complex.h-data: Likewise.
19770 * conform/data/cpio.h-data: Likewise.
19771 * conform/data/ctype.h-data: Likewise.
19772 * conform/data/dirent.h-data: Likewise.
19773 * conform/data/dlfcn.h-data: Likewise.
19774 * conform/data/errno.h-data: Likewise.
19775 * conform/data/fcntl.h-data: Likewise.
19776 * conform/data/float.h-data: Likewise.
19777 * conform/data/fmtmsg.h-data: Likewise.
19778 * conform/data/fnmatch.h-data: Likewise.
19779 * conform/data/ftw.h-data: Likewise.
19780 * conform/data/glob.h-data: Likewise.
19781 * conform/data/grp.h-data: Likewise.
19782 * conform/data/iconv.h-data: Likewise.
19783 * conform/data/inttypes.h-data: Likewise.
19784 * conform/data/langinfo.h-data: Likewise.
19785 * conform/data/libgen.h-data: Likewise.
19786 * conform/data/limits.h-data: Likewise.
19787 * conform/data/locale.h-data: Likewise.
19788 * conform/data/math.h-data: Likewise.
19789 * conform/data/monetary.h-data: Likewise.
19790 * conform/data/mqueue.h-data: Likewise.
19791 * conform/data/ndbm.h-data: Likewise.
19792 * conform/data/net/if.h-data: Likewise.
19793 * conform/data/netdb.h-data: Likewise.
19794 * conform/data/netinet/in.h-data: Likewise.
19795 * conform/data/nl_types.h-data: Likewise.
19796 * conform/data/poll.h-data: Likewise.
19797 * conform/data/pthread.h-data: Likewise.
19798 * conform/data/pwd.h-data: Likewise.
19799 * conform/data/regex.h-data: Likewise.
19800 * conform/data/sched.h-data: Likewise.
19801 * conform/data/search.h-data: Likewise.
19802 * conform/data/semaphore.h-data: Likewise.
19803 * conform/data/setjmp.h-data: Likewise.
19804 * conform/data/signal.h-data: Likewise.
19805 * conform/data/spawn.h-data: Likewise.
19806 * conform/data/stdarg.h-data: Likewise.
19807 * conform/data/stdio.h-data: Likewise.
19808 * conform/data/stdlib.h-data: Likewise.
19809 * conform/data/string.h-data: Likewise.
19810 * conform/data/strings.h-data: Likewise.
19811 * conform/data/stropts.h-data: Likewise.
19812 * conform/data/sys/ipc.h-data: Likewise.
19813 * conform/data/sys/mman.h-data: Likewise.
19814 * conform/data/sys/msg.h-data: Likewise.
19815 * conform/data/sys/resource.h-data: Likewise.
19816 * conform/data/sys/select.h-data: Likewise.
19817 * conform/data/sys/sem.h-data: Likewise.
19818 * conform/data/sys/shm.h-data: Likewise.
19819 * conform/data/sys/socket.h-data: Likewise.
19820 * conform/data/sys/stat.h-data: Likewise.
19821 * conform/data/sys/statvfs.h-data: Likewise.
19822 * conform/data/sys/time.h-data: Likewise.
19823 * conform/data/sys/timeb.h-data: Likewise.
19824 * conform/data/sys/times.h-data: Likewise.
19825 * conform/data/sys/types.h-data: Likewise.
19826 * conform/data/sys/uio.h-data: Likewise.
19827 * conform/data/sys/un.h-data: Likewise.
19828 * conform/data/sys/utsname.h-data: Likewise.
19829 * conform/data/sys/wait.h-data: Likewise.
19830 * conform/data/syslog.h-data: Likewise.
19831 * conform/data/tar.h-data: Likewise.
19832 * conform/data/termios.h-data: Likewise.
19833 * conform/data/utime.h-data: Likewise.
19834 * conform/data/utmpx.h-data: Likewise.
19835 * conform/data/varargs.h-data: Likewise.
19836 * conform/data/wchar.h-data: Likewise.
19837 * conform/data/wctype.h-data: Likewise.
19838 * conform/data/wordexp.h-data: Likewise.
19840 * include/stropts.h: New file.
19841 * include/uchar.h: New file.
19842 * include/aio.h: Changes to allow conformtest.pl to use the headers.
19843 * include/assert.h: Likewise.
19844 * include/ctype.h: Likewise.
19845 * include/dirent.h: Likewise.
19846 * include/dlfcn.h: Likewise.
19847 * include/fcntl.h: Likewise.
19848 * include/fnmatch.h: Likewise.
19849 * include/glob.h: Likewise.
19850 * include/grp.h: Likewise.
19851 * include/libio.h: Likewise.
19852 * include/locale.h: Likewise.
19853 * include/math.h: Likewise.
19854 * include/net/if.h: Likewise.
19855 * include/netdb.h: Likewise.
19856 * include/netinet/in.h: Likewise.
19857 * include/pthread.h: Likewise.
19858 * include/pwd.h: Likewise.
19859 * include/regex.h: Likewise.
19860 * include/sched.h: Likewise.
19861 * include/search.h: Likewise.
19862 * include/setjmp.h: Likewise.
19863 * include/signal.h: Likewise.
19864 * include/stdio.h: Likewise.
19865 * include/stdlib.h: Likewise.
19866 * include/string.h: Likewise.
19867 * include/sys/cdefs.h: Likewise.
19868 * include/sys/mman.h: Likewise.
19869 * include/sys/msg.h: Likewise.
19870 * include/sys/resource.h: Likewise.
19871 * include/sys/select.h: Likewise.
19872 * include/sys/socket.h: Likewise.
19873 * include/sys/stat.h: Likewise.
19874 * include/sys/statvfs.h: Likewise.
19875 * include/sys/time.h: Likewise.
19876 * include/sys/times.h: Likewise.
19877 * include/sys/uio.h: Likewise.
19878 * include/sys/utsname.h: Likewise.
19879 * include/sys/wait.h: Likewise.
19880 * include/termios.h: Likewise.
19881 * include/time.h: Likewise.
19882 * include/ulimit.h: Likewise.
19883 * include/unistd.h: Likewise.
19884 * include/utime.h: Likewise.
19885 * include/wchar.h: Likewise.
19886 * include/wctype.h: Likewise.
19887 * include/wordexp.h: Likewise.
19889 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
19891 * time/time.h: TIME_UTC must be a macro.
19892 Make timespec_get available for ISO C11 only as well.
19894 2012-02-24 Ulrich Drepper <drepper@gmail.com>
19896 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
19897 Reported by Peng Haitao <penght@cn.fujitsu.com>.
19899 2012-02-24 Joseph Myers <joseph@codesourcery.com>
19901 * configure.in: Use -o not -a in test for unsupported multi-arch.
19903 2012-02-24 Joseph Myers <joseph@codesourcery.com>
19905 * manual/texinfo.tex: Update to version 2012-01-19.16.
19907 2012-02-24 Joseph Myers <joseph@codesourcery.com>
19909 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
19911 2012-02-24 Roland McGrath <roland@hack.frob.com>
19914 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
19915 * manual/fdl-1.3.texi: New file.
19916 * manual/fdl-1.1.texi: File removed.
19919 * manual/libc.texinfo (FDL_VERSION): New @set.
19920 Use it for mention of FDL in cover text.
19921 (Documentation License): Use it in @include file name.
19923 2012-02-22 Joseph Myers <joseph@codesourcery.com>
19924 Roland McGrath <roland@hack.frob.com>
19927 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
19928 not LONG_LONG_MAX and LONG_LONG_MIN.
19929 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
19930 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
19932 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
19934 2012-02-22 Joseph Myers <joseph@codesourcery.com>
19938 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
19939 manipulate bits before adding and subtracting TWO23[sx].
19940 * math/libm-test.inc (nearbyint_test): Add more tests.
19942 2012-02-22 Joseph Myers <joseph@codesourcery.com>
19945 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
19946 bits before adding and subtracting TWO23[sx].
19947 * math/libm-test.inc (rint_test): Add more tests.
19948 (rint_test_tonearest): Likewise.
19949 (rint_test_towardzero): Likewise.
19950 (rint_test_downward): Likewise.
19951 (rint_test_upward: Likewise.
19953 2012-02-22 Joseph Myers <joseph@codesourcery.com>
19956 * include/stdc-predef.h: New file. Extracted from features.h.
19957 * include/features.h: Include stdc-predef.h.
19958 * Makefile (headers): Add stdc-predef.h.
19959 * CONFORMANCE (Compiler limitations): Update.
19961 2012-02-22 Joseph Myers <joseph@codesourcery.com>
19963 * manual/libc.texinfo (VERSION, UPDATED): Revert.
19965 2012-02-21 David S. Miller <davem@davemloft.net>
19967 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
19968 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
19970 2012-02-20 David S. Miller <davem@davemloft.net>
19972 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
19973 using a normal save/restore sequence, rather than allocating a
19974 dummy stack frame just to store a frame pointer and restore.
19975 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
19977 2012-02-21 Joseph Myers <joseph@codesourcery.com>
19979 * manual/install.texi: Fix stray word in line-wrapped comment.
19981 2012-02-20 David S. Miller <davem@davemloft.net>
19983 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
19984 both binutils and gcc support GOTDATA.
19986 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
19987 "rd %pc" in the PIC register setup sequences.
19989 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
19990 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
19991 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
19992 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
19993 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
19994 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
19995 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
19996 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
19997 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
19998 (SYSCALL_ERROR_HANDLER): Likewise.
19999 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
20000 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
20001 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
20002 (SYSCALL_ERROR_HANDLER): Likewise.
20004 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
20005 (HAVE_GCC_GOTDATA): New.
20006 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
20007 relocation support in both binutils and gcc.
20008 * sysdeps/sparc/elf/configure: Regenerate.
20010 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
20011 * sysdeps/sparc/sparc32/elf/configure: Delete.
20012 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
20013 * sysdeps/sparc/sparc64/elf/configure: Delete.
20014 * sysdeps/sparc/elf/configure.in: New file.
20015 * sysdeps/sparc/elf/configure: Generate.
20017 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
20018 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
20019 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
20020 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
20021 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
20023 2012-02-21 Joseph Myers <joseph@codesourcery.com>
20025 * manual/install.texi: Do not mention specific glibc version
20027 * manual/libc.texinfo (VERSION, UPDATED): Update.
20028 (@copying): Use @copyright{} and range of years.
20030 2012-02-21 Joseph Myers <joseph@codesourcery.com>
20033 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
20034 [crti.S not in sysdirs] (generated): Do not append.
20035 [crti.S not in sysdirs] (omit-deps): Likewise.
20036 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
20037 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
20038 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
20039 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
20040 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
20042 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
20043 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
20044 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
20045 * csu/defs.awk: Remove file.
20046 * sysdeps/generic/initfini.c: Likewise.
20047 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
20049 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
20052 2012-02-20 Joseph Myers <joseph@codesourcery.com>
20054 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
20055 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
20056 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
20057 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
20058 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
20059 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
20061 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
20062 (__EPOLL_PACKED): Define to empty if not defined by
20064 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
20065 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20068 2012-02-20 Joseph Myers <joseph@codesourcery.com>
20070 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
20071 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
20072 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
20073 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
20075 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
20076 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20079 2012-02-20 Joseph Myers <joseph@codesourcery.com>
20081 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
20083 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20084 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
20085 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
20086 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20088 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
20090 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
20091 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
20093 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
20095 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
20096 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
20098 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
20100 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
20103 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
20105 * math/w_acos.c: Use non-signaling floating-point comparisons.
20106 * math/w_acosf.c: Likewise.
20107 * math/w_acosh.c: Likewise.
20108 * math/w_acoshf.c: Likewise.
20109 * math/w_acoshl.c: Likewise.
20110 * math/w_acosl.c: Likewise.
20111 * math/w_asin.c: Likewise.
20112 * math/w_asinf.c: Likewise.
20113 * math/w_asinl.c: Likewise.
20114 * math/w_atanh.c: Likewise.
20115 * math/w_atanhf.c: Likewise.
20116 * math/w_atanhl.c: Likewise.
20117 * math/w_exp2.c: Likewise.
20118 * math/w_exp2f.c: Likewise.
20119 * math/w_exp2l.c: Likewise.
20120 * math/w_j0.c: Likewise.
20121 * math/w_j0f.c: Likewise.
20122 * math/w_j0l.c: Likewise.
20123 * math/w_j1.c: Likewise.
20124 * math/w_j1f.c: Likewise.
20125 * math/w_j1l.c: Likewise.
20126 * math/w_jn.c: Likewise.
20127 * math/w_jnf.c: Likewise.
20128 * math/w_log.c: Likewise.
20129 * math/w_log10.c: Likewise.
20130 * math/w_log10f.c: Likewise.
20131 * math/w_log10l.c: Likewise.
20132 * math/w_log2.c: Likewise.
20133 * math/w_log2f.c: Likewise.
20134 * math/w_log2l.c: Likewise.
20135 * math/w_logf.c: Likewise.
20136 * math/w_logl.c: Likewise.
20137 * math/w_sqrt.c: Likewise.
20138 * math/w_sqrtf.c: Likewise.
20139 * math/w_sqrtl.c: Likewise.
20140 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
20141 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
20142 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
20143 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
20144 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
20146 2012-02-19 Joseph Myers <joseph@codesourcery.com>
20149 * manual/string.texi (strnlen): Use correct parameter name in
20150 equivalent expression.
20152 2012-02-19 Joseph Myers <joseph@codesourcery.com>
20155 * manual/users.texi (seteuid): Consistently use neweuid for
20158 2012-02-19 Joseph Myers <joseph@codesourcery.com>
20161 * manual/nss.texi (Services in the NSS configuration): Correct
20162 list of services in example configuration file.
20164 2012-02-19 Nick Bowler <nbowler@draconx.ca>
20167 * manual/arith.texi: Remove statements about negative zero
20168 behaving identically to zero.
20170 2012-02-18 Joseph Myers <joseph@codesourcery.com>
20173 * manual/install.texi: Do not document upgrading from libc5.
20175 2012-02-18 Joseph Myers <joseph@codesourcery.com>
20178 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
20180 2012-02-18 David S. Miller <davem@davemloft.net>
20182 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
20183 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
20184 %o7 across the call.
20185 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
20187 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
20188 SETUP_PIC_REG_LEAF.
20189 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
20190 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
20191 * sysdeps/sparc/crtn.S: Likewise.
20193 2012-02-17 Ulrich Drepper <drepper@gmail.com>
20195 * aout/Makefile: Remove.
20197 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
20200 * manual/examples/argp-ex1.c (main): Format definition in GNU
20202 * manual/examples/argp-ex2.c (main): Likewise.
20203 * manual/examples/argp-ex3.c (main): Likewise.
20204 * manual/examples/argp-ex4.c (main): Likewise.
20205 * manual/examples/longopt.c (main): Use new-style prototype
20207 * manual/examples/strncat.c (main): Specify return type and use
20208 (void) for arguments.
20209 * manual/examples/subopt.c (main): Use char **argv argument.
20211 2012-02-17 Joseph Myers <joseph@codesourcery.com>
20214 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
20217 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
20220 * manual/string.texi (strchr): Change when strchrnul is
20223 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
20226 * manual/locale.texi (setlocale): Document LOCPATH.
20228 2012-02-17 Joseph Myers <joseph@codesourcery.com>
20231 * manual/process.texi (execle): Move @dots{} before last argument.
20233 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
20236 * manual/charset.texi (Generic Charset Conversion): Fix typo
20237 (LC_TYPE -> LC_CTYPE).
20239 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
20242 * manual/arith.texi (scalbn): Use @var{} on parameter names.
20243 (scalbnf): Likewise.
20244 (scalbnl): Likewise.
20245 (scalbln): Likewise.
20246 (scalblnf): Likewise.
20247 (scalblnl): Likewise.
20248 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
20249 (vwarnx): Likewise.
20252 * manual/filesys.texi (telldir): Use braces around return type.
20253 * manual/llio.texi (mmap): Add space after comma.
20254 (mmap64): Likewise.
20255 * manual/math.texi (jn): Use @var{} on parameter names.
20261 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
20263 * manual/resource.texi (ulimit): Use @dots{} instead of literal
20265 (sched_get_priority_min): Remove semicolon on @deftypefun line.
20266 (sched_get_priority_max): Likewise.
20267 * manual/signal.texi (sigvec): Add space after comma.
20268 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
20270 (if_indextoname): Likewise.
20271 (if_freenameindex): Likewise.
20272 (sendto): Use ',' instead of '.' in prototype.
20273 * manual/startup.texi (syscall): Use @dots{} instead of literal
20275 * manual/stdio.texi (__fpending): Separate initial words of
20276 paragraph from @deftypefun line.
20277 * manual/syslog.texi (syslog): Use @dots{} instead of literal
20279 (vsyslog): Use @var{} on parameter names.
20280 * manual/terminal.texi (stty): Use @var{} on parameter names.
20281 * manual/users.texi (getutmp): Use @var{} on parameter names.
20282 (getutmpx): Likewise.
20284 2012-02-17 Joseph Myers <joseph@codesourcery.com>
20287 * manual/stdio.texi (fopen): Fix typos in description of
20290 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
20293 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
20294 get clock_id definition.
20296 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
20299 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
20300 (madvise): Cast every argument to void on its own.
20302 2012-02-17 Joseph Myers <joseph@codesourcery.com>
20305 * manual/startup.texi (Exit Status): Fix typo.
20307 2012-02-17 Joseph Myers <joseph@codesourcery.com>
20310 * manual/examples/argp-ex1.c: Include <stdlib.h>.
20311 * manual/examples/argp-ex2.c: Likewise.
20312 * manual/examples/argp-ex3.c: Likewise.
20314 2012-02-16 Richard Henderson <rth@redhat.com>
20316 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
20317 * sysdeps/s390/s390-32/initfini.c: Remove.
20318 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
20319 * sysdeps/s390/s390-64/initfini.c: Remove.
20321 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20323 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
20324 compiler output for sysdeps/generic/initfini.c.
20325 * sysdeps/sh/elf/initfini.c: Remove file.
20327 2012-02-16 David S. Miller <davem@davemloft.net>
20330 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
20332 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
20333 * sysdeps/sparc/crti.S: New file.
20334 * sysdeps/sparc/crtn.S: New file.
20335 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
20336 * sysdeps/sparc/sparc64/Makefile: Likewise.
20338 2012-02-15 Mike Frysinger <vapier@gentoo.org>
20341 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
20343 2012-02-15 Roland McGrath <roland@hack.frob.com>
20346 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
20348 * mach/devstream.c (cookie_io_functions_t): Macro removed.
20349 (write, read, close): Likewise.
20350 Patch by Aurelien Jarno <aurelien@aurel32.net>.
20352 2012-02-15 Joseph Myers <joseph@codesourcery.com>
20354 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
20355 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
20356 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
20357 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
20359 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
20360 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20363 2012-02-14 Marek Polacek <polacek@redhat.com>
20365 * sysdeps/x86_64/crti.S: New file.
20366 * sysdeps/x86_64/crtn.S: New file.
20367 * sysdeps/x86_64/elf/initfini.c: Remove file.
20369 2012-02-13 Joseph Myers <joseph@codesourcery.com>
20371 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
20372 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
20373 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
20374 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
20376 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
20377 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20380 2012-02-13 Joseph Myers <joseph@codesourcery.com>
20382 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
20383 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
20384 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
20385 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
20387 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
20388 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20391 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
20393 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
20394 __feraiseexcept instead of feraiseexcept.
20396 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
20397 nanosleep invocations.
20398 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
20399 strings, and add error checking for a nanosleep invocations.
20401 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
20403 Replace FSF snail mail address with URLs, as per GNU coding standards.
20404 Most of the snail mail addresses were wrong anyway, and omitting
20405 them makes the source code easier to maintain. Almost all of the
20406 changes are to license notices and to locale LC_IDENTIFICATION
20407 addresses, except for this one:
20408 * manual/libc.texinfo: In "Published by", give the FSF's URL,
20409 not its snail mail address.
20411 2012-02-09 Richard Henderson <rth@twiddle.net>
20413 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
20414 of kernel-features.h.
20416 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
20418 2012-02-08 Marek Polacek <polacek@redhat.com>
20420 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
20421 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
20422 * sysdeps/gnu/_G_config.h: Likewise.
20423 * sysdeps/generic/_G_config.h: Likewise.
20425 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
20427 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
20429 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20431 * sysdeps/powerpc/powerpc32/crti.S: New file.
20432 * sysdeps/powerpc/powerpc32/crtn.S: New file.
20433 * sysdeps/powerpc/powerpc64/crti.S: New file.
20434 * sysdeps/powerpc/powerpc64/crtn.S: New file.
20436 * Makeconfig (have-initfini): Don't set.
20437 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
20438 * configure.in (nopic_initfini): Don't substitute.
20439 * config.h.in (HAVE_INITFINI): Don't #undef.
20440 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
20441 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
20443 2012-02-08 Joseph Myers <joseph@codesourcery.com>
20445 Support crti.S and crtn.S provided directly by architectures.
20446 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
20447 [crti.S in sysdirs] (omit-deps): Likewise.
20448 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
20449 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
20450 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
20451 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
20452 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
20453 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
20454 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
20455 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
20456 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
20457 compiler output for sysdeps/generic/initfini.c.
20458 * sysdeps/i386/elf/Makefile: Remove file.
20459 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
20461 2012-02-07 Marek Polacek <polacek@redhat.com>
20463 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
20464 * sysdeps/gnu/_G_config.h: Likewise.
20465 * sysdeps/mach/hurd/_G_config.h: Likewise.
20467 2012-02-07 Marek Polacek <polacek@redhat.com>
20469 * math/Makefile (tests): Add tst-CMPLX2.
20470 * math/tst-CMPLX2.c: New file.
20472 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
20474 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
20476 * math/libm-test.inc (jn_test): Add missing L suffix.
20478 2012-02-06 Marek Polacek <polacek@redhat.com>
20480 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
20481 * sysdeps/i386/fpu/e_powf.S: Likewise.
20482 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
20483 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
20484 * sysdeps/i386/fpu/e_acosh.S: Likewise.
20485 * sysdeps/i386/fpu/e_pow.S: Likewise.
20486 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
20487 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
20488 * sysdeps/i386/fpu/s_expm1.S: Likewise.
20489 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
20490 * sysdeps/i386/fpu/e_log2.S: Likewise.
20491 * sysdeps/i386/fpu/e_log2l.S: Likewise.
20492 * sysdeps/i386/fpu/e_scalb.S: Likewise.
20493 * sysdeps/i386/fpu/e_powl.S: Likewise.
20494 * sysdeps/i386/fpu/s_log1p.S: Likewise.
20495 * sysdeps/i386/fpu/e_log10f.S: Likewise.
20496 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
20497 * sysdeps/i386/fpu/e_logl.S: Likewise.
20498 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
20499 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
20500 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
20501 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
20502 * sysdeps/i386/fpu/e_log2f.S: Likewise.
20503 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
20504 * sysdeps/i386/fpu/e_log.S: Likewise.
20505 * sysdeps/i386/fpu/s_cexp.S: Likewise.
20506 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
20507 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
20508 * sysdeps/i386/fpu/e_logf.S: Likewise.
20509 * sysdeps/i386/fpu/e_log10l.S: Likewise.
20510 * sysdeps/i386/fpu/e_atanh.S: Likewise.
20511 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
20512 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
20513 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
20514 * sysdeps/i386/fpu/e_log10.S: Likewise.
20515 * sysdeps/i386/fpu/s_frexp.S: Likewise.
20516 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
20517 * sysdeps/i386/fpu/s_asinh.S: Likewise.
20518 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
20519 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
20520 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
20521 * sysdeps/i386/asm-syntax.h: Likewise.
20522 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
20523 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
20524 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
20525 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
20526 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
20527 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
20528 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
20529 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
20530 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
20531 * sysdeps/powerpc/sysdep.h: Likewise.
20532 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
20533 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
20535 2012-02-06 Joseph Myers <joseph@codesourcery.com>
20538 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
20540 2012-02-06 Joseph Myers <joseph@codesourcery.com>
20542 * sysdeps/i386/sysdep.h: Include <features.h>.
20543 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
20546 2012-02-05 Joseph Myers <joseph@codesourcery.com>
20548 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
20550 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
20553 2012-02-03 Joseph Myers <joseph@codesourcery.com>
20555 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
20556 (SETUP_PIC_REG): Use GET_PC_THUNK.
20557 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
20560 2012-02-03 Joseph Myers <joseph@codesourcery.com>
20562 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
20563 for non-PIC compilation.
20564 (SETUP_PIC_REG): Add .p2align directive.
20565 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
20566 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
20567 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
20568 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
20569 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
20570 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
20571 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
20572 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
20573 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
20574 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
20575 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
20576 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
20577 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
20578 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
20579 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
20580 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
20581 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
20582 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
20583 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
20584 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
20585 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
20586 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
20587 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
20588 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
20589 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
20590 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
20591 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
20592 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
20593 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
20594 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
20595 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
20596 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
20597 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
20598 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
20599 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
20600 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
20601 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
20602 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
20603 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
20604 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
20605 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
20607 2012-02-03 Joseph Myers <joseph@codesourcery.com>
20609 * math/tst-CMPLX.c: Include <stdio.h>.
20611 2012-01-31 Joseph Myers <joseph@codesourcery.com>
20613 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
20615 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
20616 * sysdeps/sparc/bits/mathdef.h: Likewise.
20618 2012-01-31 Marek Polacek <polacek@redhat.com>
20620 * libio/libio.h: Don't define _PARAMS.
20621 * locale/programs/config.h: Don't define PARAMS.
20622 * stdlib/strtol_l.c: Likewise.
20623 (__strtol_l): Remove PARAMS from the prototype.
20625 2012-01-31 Ulrich Drepper <drepper@gmail.com>
20627 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
20628 names. Just use the correct names. Remove unnecessary wrapper
20630 * malloc/arena.c: Likewise.
20631 * malloc/hooks.c: Likewise.
20633 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
20634 ARENA_TEST says not to. Simplify test for creation of a new arena.
20635 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
20637 2012-01-30 Ulrich Drepper <drepper@gmail.com>
20639 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
20641 (update_get_addr): New function.
20642 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
20643 GET_ADDR_MODULE parameter.
20645 2012-01-30 Joseph Myers <joseph@codesourcery.com>
20647 * crypt/cert.c: Remove __STDC__ conditionals.
20648 * crypt/crypt-entry.c: Likewise.
20649 * crypt/crypt_util.c: Likewise.
20650 * libio/filedoalloc.c: Likewise.
20651 * libio/fileops.c: Likewise.
20652 * libio/genops.c: Likewise.
20653 * libio/iofclose.c: Likewise.
20654 * libio/iofdopen.c: Likewise.
20655 * libio/iofopen.c: Likewise.
20656 * libio/iofopen64.c: Likewise.
20657 * libio/iogetdelim.c: Likewise.
20658 * libio/iopopen.c: Likewise.
20659 * libio/obprintf.c: Likewise.
20660 * libio/oldfileops.c: Likewise.
20661 * libio/oldiofclose.c: Likewise.
20662 * libio/oldiofdopen.c: Likewise.
20663 * libio/oldiofopen.c: Likewise.
20664 * libio/oldiopopen.c: Likewise.
20665 * libio/wfiledoalloc.c: Likewise.
20666 * libio/wgenops.c: Likewise.
20667 * locale/programs/xmalloc.c: Likewise.
20668 * misc/syslog.c: Likewise.
20669 * stdio-common/xbug.c: Likewise.
20670 * string/memchr.c: Likewise.
20671 * string/memcmp.c: Likewise.
20672 * string/memrchr.c: Likewise.
20673 * string/rawmemchr.c: Likewise.
20674 * sysdeps/posix/getcwd.c: Likewise.
20675 * time/strftime_l.c: Likewise.
20677 2012-01-30 Joseph Myers <joseph@codesourcery.com>
20679 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
20680 * config.make.in (config-cflags-sse2avx): Define.
20681 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
20684 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
20686 * scripts/config.guess: Update from upstream config git repository.
20687 * scripts/config.sub: Likewise.
20689 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
20691 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
20693 (R_TILEPRO_*, R_TILEGX_*): New macros.
20695 * scripts/firstversions.awk: Fix bug in version range handling.
20697 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
20699 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
20701 * include/sys/epoll.h: New file.
20702 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
20705 2012-01-28 Ulrich Drepper <drepper@gmail.com>
20707 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
20708 Avoid unnecessary __WORDSIZE == 64 test.
20709 (fmaxf): Use VEX format if possible.
20714 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
20715 * math/math_private.h: Remove libc_fegetround* and
20717 * sysdeps/i386/configure.in: Check for -msse2avx.
20718 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
20719 also if SSE2AVX is defined.
20720 Remove libc_fegetround* and libc_fesetround*.
20721 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
20722 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
20723 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
20725 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
20726 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
20727 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
20728 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
20729 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
20731 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
20733 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20735 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
20737 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
20739 2012-01-27 Ulrich Drepper <drepper@gmail.com>
20742 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
20744 * Makeconfig (libm): Define.
20745 * elf/Makefile: Add rules to build and run tst-relsort1.
20746 * elf/tst-relsort1.c: New file.
20747 * elf/tst-relsort1mod1.c: New file.
20748 * elf/tst-relsort1mod2.c: New file.
20750 2012-01-27 Joseph Myers <joseph@codesourcery.com>
20752 * math/s_ldexp.c: Remove __STDC__ conditionals.
20753 * math/s_ldexpf.c: Likewise.
20754 * math/s_ldexpl.c: Likewise.
20755 * math/s_nextafter.c: Likewise.
20756 * math/s_nexttowardf.c: Likewise.
20757 * math/s_significand.c: Likewise.
20758 * math/s_significandf.c: Likewise.
20759 * math/s_significandl.c: Likewise.
20760 * math/w_jnl.c: Likewise.
20761 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
20762 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
20763 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
20764 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
20765 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
20766 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
20767 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
20768 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
20769 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
20770 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
20771 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
20772 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
20773 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
20774 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
20775 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
20776 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
20777 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
20778 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
20779 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
20780 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
20781 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
20782 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
20783 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
20784 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
20785 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
20786 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
20787 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
20788 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
20789 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
20790 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
20791 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
20792 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
20793 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
20794 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
20795 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
20796 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
20797 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
20798 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
20799 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
20800 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
20801 * sysdeps/ieee754/k_standard.c: Likewise.
20802 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
20803 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
20804 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
20805 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
20806 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
20807 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
20808 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
20809 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
20810 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
20811 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
20812 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
20813 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
20814 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
20815 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
20816 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
20817 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
20818 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
20819 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
20820 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
20821 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
20822 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
20823 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
20824 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
20825 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
20826 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
20827 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
20828 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
20829 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
20830 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
20831 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
20832 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
20833 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
20834 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
20835 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
20836 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
20837 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
20838 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
20839 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
20840 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
20841 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
20842 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
20843 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
20844 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
20845 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
20846 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
20847 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
20848 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
20849 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
20850 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
20851 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
20852 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
20853 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
20854 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
20855 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
20856 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
20857 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
20858 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
20859 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
20860 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
20861 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
20862 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
20863 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
20864 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
20865 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
20866 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
20867 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
20868 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
20869 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
20870 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
20871 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
20872 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
20873 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
20874 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
20875 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
20876 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
20877 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
20878 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
20879 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
20880 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
20881 * sysdeps/ieee754/s_matherr.c: Likewise.
20882 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
20883 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
20884 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
20885 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
20887 2012-01-26 Joseph Myers <joseph@codesourcery.com>
20889 * crypt/md5.h: Remove __STDC__ conditionals.
20890 * libio/libioP.h: Likewise.
20891 * locale/programs/config.h: Likewise.
20892 * sysdeps/generic/sysdep.h: Likewise.
20893 * sysdeps/i386/asm-syntax.h: Likewise.
20894 * sysdeps/s390/asm-syntax.h: Likewise.
20895 * sysdeps/unix/sysdep.h: Likewise.
20896 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
20897 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
20899 2012-01-26 Joseph Myers <joseph@codesourcery.com>
20901 * libio/libio.h: Remove __STDC__ conditionals.
20902 * malloc/obstack.h: Likewise.
20903 * math/complex.h: Likewise.
20904 * math/math.h: Likewise.
20905 * sysdeps/generic/_G_config.h: Likewise.
20906 * sysdeps/gnu/_G_config.h: Likewise.
20907 * sysdeps/mach/hurd/_G_config.h: Likewise.
20908 * sysdeps/powerpc/bits/mathdef.h: Likewise.
20909 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
20910 * sysdeps/sparc/bits/mathdef.h: Likewise.
20912 2012-01-26 Ulrich Drepper <drepper@gmail.com>
20915 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
20916 Clean up HAS_* macros.
20917 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
20918 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
20920 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
20922 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
20923 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
20924 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
20925 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
20926 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
20928 2012-01-25 Joseph Myers <joseph@codesourcery.com>
20930 * elf/tst-unique3.cc (gets): Remove declaration.
20931 * elf/tst-unique3lib.cc (gets): Likewise.
20932 * elf/tst-unique3lib2.cc (gets): Likewise.
20933 * elf/tst-unique4.cc (gets): Likewise.
20935 2012-01-24 Ulrich Drepper <drepper@gmail.com>
20937 * include/stdio.h: Add C++ protection. Add gets declarations and
20939 * debug/tst-chk1.c: Don't declare gets here.
20940 * stdio-common/tst-gets.c: Likewise.
20942 2012-01-24 Joseph Myers <joseph@codesourcery.com>
20944 * posix/glob: Remove directory.
20946 2012-01-24 Joseph Myers <joseph@codesourcery.com>
20948 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
20950 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
20952 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
20953 of the non-standard EPFNOSUPPORT.
20955 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
20957 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
20958 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
20959 ANYWHERE set to 1 only on KERN_NO_SPACE error.
20961 2012-01-21 Ulrich Drepper <drepper@gmail.com>
20963 * wcsmbs/uchar.h: Test __STDC_VERSION__.
20965 2012-01-20 Ulrich Drepper <drepper@gmail.com>
20967 * nscd/aicache.c (addhstaiX): Do not cache negative results of
20969 * nscd/grpcache.c (cache_addgr): Likewise.
20970 * nscd/hstcache.c (cache_addhst): Likewise.
20971 * nscd/initgrcache.c (addinitgroupsX): Likewise.
20972 * nscd/pwdcache.c (cache_addpw): Likewise.
20973 * nscd/servicescache.c (cache_addserv): Likewise.
20975 2012-01-16 Ulrich Drepper <drepper@gmail.com>
20977 * malloc/malloc.c: Various cleanups.
20978 * malloc/hooks.c: Likewise.
20980 * stdlib/Makefile (tests): Add bug-fmtmsg1.
20981 * stdlib/bug-fmtmsg1.c: New file.
20983 * stdlib/fmtmsg.c (init): Add missing unlock.
20984 Patch by Peng Haitao <penght@cn.fujitsu.com>.
20986 2012-01-12 Marek Polacek <polacek@redhat.com>
20988 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
20991 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
20993 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
20994 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
20995 macro to ensure uniqueness of label name.
20996 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
20997 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
20999 2012-01-11 Ulrich Drepper <drepper@gmail.com>
21001 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
21003 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
21004 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
21005 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
21006 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
21008 2012-01-10 Ulrich Drepper <drepper@gmail.com>
21010 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
21012 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
21013 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
21014 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
21016 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
21018 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
21019 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
21020 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
21021 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
21023 * math/bits/math-finite.h: Add ldexp support.
21025 2012-01-10 Marek Polacek <polacek@redhat.com>
21027 * locale/programs/localedef.h (show_archive_content): Add noreturn
21030 2012-01-09 Ulrich Drepper <drepper@gmail.com>
21032 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
21034 2012-01-08 Ulrich Drepper <drepper@gmail.com>
21036 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
21038 * io/Makefile (headers): Add bits/poll2.h.
21040 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
21042 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
21043 typo #include statement.
21045 2012-01-08 Ulrich Drepper <drepper@gmail.com>
21047 * include/sys/cdefs.h: Define __attribute_alloc_size.
21048 * catgets/gencat.c: Add alloc_size attribute and apply consistently
21049 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
21050 * elf/pldd.c: Likewise.
21051 * iconv/iconv_charmap.c: Likewise.
21052 * iconv/iconvconfig.c: Likewise.
21053 * iconv/strtab.c: Likewise.
21054 * locale/programs/locale.c: Likewise.
21055 * locale/programs/localedef.h: Likewise.
21056 * locale/programs/simple-hash.c: Likewise.
21057 * nscd/nscd.h: Likewise.
21058 * nss/makedb.c: Likewise.
21059 * sysdeps/generic/ldconfig.h: Likewise.
21060 * locale/programs/localedef.c: Remove xmalloc prototype.
21061 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
21063 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
21065 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
21068 2012-01-08 Ulrich Drepper <drepper@gmail.com>
21070 * math/Makefile (tests): Add tst-CMPLX.
21071 * math/tst-CMPLX.c: New file.
21073 * math/complex.h (CMPLXL): Fix typo.
21075 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
21076 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
21078 * debug/tst-chk1.c: Add poll and ppoll tests.
21079 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
21080 * include/sys/poll.h: Add hidden proto for ppoll.
21081 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
21082 * sysdeps/mach/hurd/ppoll.c: Likewise.
21083 * io/ppoll.c: Likewise.
21084 * debug/poll_chk.c: New file.
21085 * debug/ppoll_chk.c: New file.
21086 * include/bits/poll2.h: New file.
21087 * io/bits/poll2.h: New file.
21090 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
21092 * configure.in: static is always set to yes. Remove.
21093 * config.make.in: Don't set build-static.
21094 * Makeconfig: Remove use of build-static.
21095 * dlfcn/Makefile: Likewise.
21096 * elf/Makefile: Likewise.
21097 * math/Makefile: Likewise.
21098 * misc/Makefile: Likewise.
21099 * nptl/Makefile: Likewise.
21100 * sysdeps/mach/hurd/Makefile: Likewise.
21102 * configure.in: PWD_P is not used anymore.
21103 * config.make.in: Remove PWD_P entry.
21105 * configure.in: Remove last remnants of RANLIB.
21106 No need to check for signed size_t anymore.
21107 Don't set libc_commonpagesize and libc_relro_required here for Alpha
21109 Remove __builtin_expect test because we require at least gcc 3.4.
21110 * aclocal.m4: Likewise.
21112 * wcsmbs/mbrtoc16.c: Implement using towc function.
21113 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
21114 * wcsmbs/wcsmbsload.c: Likewise.
21115 * iconv/gconv_simple.c: Likewise.
21116 * iconv/gconv_int.h: Likewise.
21117 * iconv/gconv_builtin.h: Likewise.
21118 * iconv/iconv_prog.c: Remove CHAR16 handling.
21120 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
21122 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
21124 * configure.in: Remove --with-elf and --enable-bounded options.
21125 Dont set base_machine for ia64. More non-ELF conditions removed.
21126 Remove testing and setting of leading underscore information.
21127 * config.make.in (build-bounded): Set to no.
21128 * config.h.in: Remove NO_UNDERSCORES entry.
21129 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
21131 * csu/start.c: Remove !NO_UNDERSCORE code.
21132 * locale/localeinfo.h: Likewise.
21133 * sysdeps/generic/machine-gmon.h: Likewise.
21134 * sysdeps/generic/sysdep.h: Likewise.
21135 * sysdeps/i386/sysdep.h: Likewise.
21136 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
21137 * sysdeps/mach/sysdep.h: Likewise.
21138 * sysdeps/s390/s390-32/sysdep.h: Likewise.
21139 * sysdeps/s390/s390-64/sysdep.h: Likewise.
21140 * sysdeps/sh/sysdep.h: Likewise.
21141 * sysdeps/sparc/sparc32/alloca.S: Likewise.
21142 * sysdeps/unix/i386/sysdep.S: Likewise.
21143 * sysdeps/unix/sparc/start.c: Likewise.
21144 * sysdeps/unix/sparc/sysdep.S: Likewise.
21145 * sysdeps/unix/sparc/sysdep.h: Likewise.
21146 * sysdeps/unix/start.c: Likewise.
21147 * sysdeps/unix/x86_64/sysdep.S: Likewise.
21148 * sysdeps/x86_64/sysdep.h: Likewise.
21150 2012-01-07 Ulrich Drepper <drepper@gmail.com>
21153 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
21155 * argp/argp-fmtstream.h: Use const instead __const.
21156 * argp/argp.h: Likewise.
21157 * assert/assert.h: Likewise.
21158 * bits/fenv.h: Likewise.
21159 * bits/sched.h: Likewise.
21160 * bits/sigset.h: Likewise.
21161 * bits/sigthread.h: Likewise.
21162 * catgets/nl_types.h: Likewise.
21163 * conform/data/pthread.h-data: Likewise.
21164 * crypt/crypt-private.h: Likewise.
21165 * crypt/crypt.h: Likewise.
21166 * crypt/crypt_util.c: Likewise.
21167 * ctype/ctype.h: Likewise.
21168 * debug/execinfo.h: Likewise.
21169 * debug/mbsnrtowcs_chk.c: Likewise.
21170 * debug/mbsrtowcs_chk.c: Likewise.
21171 * debug/wcsnrtombs_chk.c: Likewise.
21172 * debug/wcsrtombs_chk.c: Likewise.
21173 * debug/wcstombs_chk.c: Likewise.
21174 * dirent/dirent.h: Likewise.
21175 * dlfcn/dlfcn.h: Likewise.
21176 * elf/neededtest4.c: Likewise.
21177 * grp/grp.h: Likewise.
21178 * gshadow/gshadow.h: Likewise.
21179 * iconv/gconv.h: Likewise.
21180 * iconv/gconv_int.h: Likewise.
21181 * iconv/gconv_simple.c: Likewise.
21182 * iconv/iconv.h: Likewise.
21183 * iconv/loop.c: Likewise.
21184 * iconv/skeleton.c: Likewise.
21185 * include/aio.h: Likewise.
21186 * include/aliases.h: Likewise.
21187 * include/argz.h: Likewise.
21188 * include/arpa/inet.h: Likewise.
21189 * include/assert.h: Likewise.
21190 * include/dirent.h: Likewise.
21191 * include/dlfcn.h: Likewise.
21192 * include/execinfo.h: Likewise.
21193 * include/fcntl.h: Likewise.
21194 * include/fenv.h: Likewise.
21195 * include/glob.h: Likewise.
21196 * include/grp.h: Likewise.
21197 * include/libintl.h: Likewise.
21198 * include/mntent.h: Likewise.
21199 * include/netdb.h: Likewise.
21200 * include/pwd.h: Likewise.
21201 * include/rpc/netdb.h: Likewise.
21202 * include/sched.h: Likewise.
21203 * include/search.h: Likewise.
21204 * include/shadow.h: Likewise.
21205 * include/signal.h: Likewise.
21206 * include/stdio.h: Likewise.
21207 * include/stdlib.h: Likewise.
21208 * include/string.h: Likewise.
21209 * include/sys/socket.h: Likewise.
21210 * include/sys/stat.h: Likewise.
21211 * include/sys/statfs.h: Likewise.
21212 * include/sys/statvfs.h: Likewise.
21213 * include/sys/syslog.h: Likewise.
21214 * include/sys/time.h: Likewise.
21215 * include/sys/uio.h: Likewise.
21216 * include/time.h: Likewise.
21217 * include/unistd.h: Likewise.
21218 * include/utmp.h: Likewise.
21219 * include/wchar.h: Likewise.
21220 * include/wctype.h: Likewise.
21221 * inet/aliases.h: Likewise.
21222 * inet/arpa/inet.h: Likewise.
21223 * inet/netinet/ether.h: Likewise.
21224 * inet/netinet/in.h: Likewise.
21225 * intl/libintl.h: Likewise.
21226 * io/bits/fcntl2.h: Likewise.
21227 * io/fcntl.h: Likewise.
21228 * io/ftw.h: Likewise.
21229 * io/sys/poll.h: Likewise.
21230 * io/sys/stat.h: Likewise.
21231 * io/sys/statfs.h: Likewise.
21232 * io/sys/statvfs.h: Likewise.
21233 * io/utime.h: Likewise.
21234 * libio/bits/stdio.h: Likewise.
21235 * libio/bits/stdio2.h: Likewise.
21236 * libio/libio.h: Likewise.
21237 * libio/libioP.h: Likewise.
21238 * libio/stdio.h: Likewise.
21239 * locale/lc-ctype.c: Likewise.
21240 * locale/locale.h: Likewise.
21241 * login/utmp.h: Likewise.
21242 * malloc/arena.c: Likewise.
21243 * malloc/malloc.c: Likewise.
21244 * malloc/malloc.h: Likewise.
21245 * malloc/mcheck.c: Likewise.
21246 * malloc/mtrace.c: Likewise.
21247 * math/bits/mathcalls.h: Likewise.
21248 * math/fenv.h: Likewise.
21249 * math/math_private.h: Likewise.
21250 * misc/bits/error.h: Likewise.
21251 * misc/bits/syslog.h: Likewise.
21252 * misc/err.h: Likewise.
21253 * misc/error.h: Likewise.
21254 * misc/fstab.h: Likewise.
21255 * misc/mntent.h: Likewise.
21256 * misc/regexp.h: Likewise.
21257 * misc/search.h: Likewise.
21258 * misc/sgtty.h: Likewise.
21259 * misc/sys/mman.h: Likewise.
21260 * misc/sys/syslog.h: Likewise.
21261 * misc/sys/uio.h: Likewise.
21262 * misc/sys/xattr.h: Likewise.
21263 * misc/ttyent.h: Likewise.
21264 * nis/rpcsvc/ypclnt.h: Likewise.
21265 * nss/nss.h: Likewise.
21266 * posix/bits/unistd.h: Likewise.
21267 * posix/fnmatch.h: Likewise.
21268 * posix/glob.h: Likewise.
21269 * posix/sched.h: Likewise.
21270 * posix/spawn.h: Likewise.
21271 * posix/sys/wait.h: Likewise.
21272 * posix/unistd.h: Likewise.
21273 * posix/wordexp.h: Likewise.
21274 * pwd/pwd.h: Likewise.
21275 * resolv/netdb.h: Likewise.
21276 * resource/sys/resource.h: Likewise.
21277 * rt/aio.h: Likewise.
21278 * rt/bits/mqueue2.h: Likewise.
21279 * rt/mqueue.h: Likewise.
21280 * shadow/shadow.h: Likewise.
21281 * signal/signal.h: Likewise.
21282 * socket/send.c: Likewise.
21283 * socket/sendto.c: Likewise.
21284 * socket/sys/socket.h: Likewise.
21285 * stdio-common/printf.h: Likewise.
21286 * stdlib/bits/stdlib.h: Likewise.
21287 * stdlib/fmtmsg.h: Likewise.
21288 * stdlib/monetary.h: Likewise.
21289 * stdlib/stdlib.h: Likewise.
21290 * stdlib/ucontext.h: Likewise.
21291 * streams/stropts.h: Likewise.
21292 * string/argz.h: Likewise.
21293 * string/bits/string2.h: Likewise.
21294 * string/string.h: Likewise.
21295 * string/strings.h: Likewise.
21296 * sunrpc/rpc/auth.h: Likewise.
21297 * sunrpc/rpc/auth_des.h: Likewise.
21298 * sunrpc/rpc/clnt.h: Likewise.
21299 * sunrpc/rpc/netdb.h: Likewise.
21300 * sunrpc/rpc/pmap_clnt.h: Likewise.
21301 * sunrpc/rpc/xdr.h: Likewise.
21302 * sysdeps/generic/inttypes.h: Likewise.
21303 * sysdeps/generic/net/if.h: Likewise.
21304 * sysdeps/generic/sys/swap.h: Likewise.
21305 * sysdeps/gnu/net/if.h: Likewise.
21306 * sysdeps/gnu/utmpx.h: Likewise.
21307 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
21308 * sysdeps/i386/i486/bits/string.h: Likewise.
21309 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
21310 * sysdeps/s390/bits/string.h: Likewise.
21311 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
21312 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
21313 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
21314 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
21315 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
21316 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
21317 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
21318 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
21319 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
21320 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
21321 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
21322 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
21323 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
21324 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
21325 * sysdeps/unix/sysv/linux/readv.c: Likewise.
21326 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
21327 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
21328 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
21329 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
21330 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
21331 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
21332 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
21333 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
21334 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
21335 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
21336 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
21337 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
21338 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
21339 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
21340 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
21341 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
21342 * sysvipc/sys/ipc.h: Likewise.
21343 * sysvipc/sys/msg.h: Likewise.
21344 * sysvipc/sys/sem.h: Likewise.
21345 * sysvipc/sys/shm.h: Likewise.
21346 * termios/termios.h: Likewise.
21347 * time/sys/time.h: Likewise.
21348 * time/time.h: Likewise.
21349 * wcsmbs/bits/wchar2.h: Likewise.
21350 * wcsmbs/uchar.h: Likewise.
21351 * wcsmbs/wchar.h: Likewise.
21352 * wctype/wctype.h: Likewise.
21355 * Makeconfig: Remove all but ELF support including AIX support.
21356 * Makerules: Likewise.
21357 * config.h.in: Likewise.
21358 * config.make.in: Likewise.
21359 * configure: Likewise.
21360 * configure.in: Likewise.
21361 * csu/Makefile: Likewise.
21362 * csu/version.c: Likewise.
21363 * debug/Makefile: Likewise.
21364 * dlfcn/Makefile: Likewise.
21365 * elf/Makefile: Likewise.
21366 * extra-lib.mk: Likewise.
21367 * iconv/Makefile: Likewise.
21368 * include/libc-symbols.h: Likewise.
21369 * include/shlib-compat.h: Likewise.
21370 * resolv/Makefile: Likewise.
21371 * resolv/res_libc.c: Likewise.
21372 * rt/Makefile: Likewise.
21373 * sysdeps/i386/asm-syntax.h: Likewise.
21374 * sysdeps/i386/sysdep.h: Likewise.
21375 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
21376 * sysdeps/mach/sysdep.h: Likewise.
21377 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
21378 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
21379 * sysdeps/s390/asm-syntax.h: Likewise.
21380 * sysdeps/s390/s390-32/sysdep.h: Likewise.
21381 * sysdeps/s390/s390-64/sysdep.h: Likewise.
21382 * sysdeps/sh/sysdep.h: Likewise.
21383 * sysdeps/unix/sparc/sysdep.h: Likewise.
21384 * sysdeps/wordsize-32/divdi3.c: Likewise.
21385 * sysdeps/x86_64/sysdep.h: Likewise.
21387 * argp/Versions: Remove _argp_unlock_xxx.
21390 * abilist/ld.abilist: Update. Adjust for removal of tls option.
21391 * abilist/libBrokenLocale.abilist: Likewise.
21392 * abilist/libanl.abilist: Likewise.
21393 * abilist/libc.abilist: Likewise.
21394 * abilist/libcrypt.abilist: Likewise.
21395 * abilist/libdl.abilist: Likewise.
21396 * abilist/libm.abilist: Likewise.
21397 * abilist/libnsl.abilist: Likewise.
21398 * abilist/libpthread.abilist: Likewise.
21399 * abilist/libresolv.abilist: Likewise.
21400 * abilist/librt.abilist: Likewise.
21401 * abilist/libthread_db.abilist: Likewise.
21402 * abilist/libutil.abilist: Likewise.
21403 * abilist/libnss_db.abilist: New file.
21405 * scripts/abilist.awk: Add support for indirect functions.
21407 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
21409 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
21411 * shlib-versions: Remove entries for ports architectures.
21413 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
21415 * elf/stackguard-macros.h: Remove support for IA-64.
21416 * elf/tst-auditmod1.c: Likewise.
21417 * sysdeps/generic/ldsodefs.h: Likewise.
21419 * sysdeps/unix/sysv/linux/configure.in: Ports should define
21420 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
21424 * configure.in: Remove --enable-omitfp support.
21426 * config.make.in: Likewise.
21427 * Makeconfig: Likewise.
21428 * manual/install.texi: Likewise.
21430 In case anyone cares, the IA-64 architecture could move to ports.
21431 * sysdeps/ia64/*: Removed.
21432 * sysdeps/unix/sysv/linux/ia64/*: Removed.
21433 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
21436 * configure.in: Remove entries for unsupported architectures.
21439 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
21440 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
21442 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
21443 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
21444 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
21445 fall back to using wcrtomb.
21446 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
21447 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
21449 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
21450 * wcsmbs/tst-c16c32-1.c: New file.
21452 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
21455 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
21457 * elf/tst-unique3.cc: Add explicit declaration of gets.
21458 * elf/tst-unique3lib.cc: Likewise.
21459 * elf/tst-unique3lib2.cc: Likewise.
21460 * elf/tst-unique4.cc: Likewise.
21462 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
21464 2012-01-06 Joseph Myers <joseph@codesourcery.com>
21467 * assert/assert.h (static_assert): Don't define for C++.
21468 * libio/stdio.h (gets): Do declare for C++ <= C++11.
21469 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
21471 2012-01-03 Ulrich Drepper <drepper@gmail.com>
21473 * iconv/loop.c (single loop): Fix assertion in storing of
21476 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
21478 2012-01-01 Ulrich Drepper <drepper@gmail.com>
21480 * posix/getconf.c: Update copyright year.
21481 * nss/getent.c: Likewise.
21482 * nss/makedb.c: Likewise.
21483 * iconv/iconvconfig.c: Likewise.
21484 * iconv/iconv_prog.c: Likewise.
21485 * elf/ldconfig.c: Likewise.
21486 * elf/pldd.c: Likewise.
21487 * elf/sotruss.ksh: Likewise.
21488 * catgets/gencat.c: Likewise.
21489 * csu/version.c: Likewise.
21490 * elf/ldd.bash.in: Likewise.
21491 * elf/sprof.c (print_version): Likewise.
21492 * locale/programs/locale.c: Likewise.
21493 * locale/programs/localedef.c: Likewise.
21494 * login/programs/pt_chown.c: Likewise.
21495 * nscd/nscd.c (print_version): Likewise.
21496 * debug/xtrace.sh: Likewise.
21497 * malloc/memusage.sh: Likewise.
21498 * malloc/mtrace.pl: Likewise.
21499 * debug/catchsegv.sh: Likewise.
21501 2011-12-30 Jakub Jelinek <jakub@redhat.com>
21503 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
21506 2011-12-24 Ulrich Drepper <drepper@gmail.com>
21509 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
21510 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
21512 * iconv/gconv_int.h: Likewise.
21513 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
21514 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
21515 from libc for GLIBC_2.16.
21516 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
21517 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
21518 * wcsmbs/uchar.h: Really define mbstate_t.
21519 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
21520 * wcsmbs/c16rtomb.c: New file.
21521 * wcsmbs/mbrtoc16.c: New file.
21522 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
21523 for C/POSIX locale.
21524 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
21525 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
21527 * wcsmbs/wchar.h: Add missing __restrict.
21529 2011-12-23 Ulrich Drepper <drepper@gmail.com>
21532 * time/Makefile (routines): Add timespec_get.
21533 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
21534 * time/time.h: Define TIME_UTC and declare timespec_get. Define
21535 timespec for ISO C11.
21536 * time/timespec_get.c: New file.
21537 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
21538 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
21541 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
21542 * stdlib/stdlib.h: Declare aligned_alloc.
21543 * Versions.def: Add GLIBC_2.16 for libc.
21544 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
21547 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
21550 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
21554 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
21557 * assert/assert.h (static_assert): Define.
21559 * version.h: Update for 2.16 development version.
21562 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
21565 * version.h (RELEASE): Bump for 2.15 release.
21566 * include/features.h (__GLIBC_MINOR__): Bump to 15.
21568 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
21569 Patch by Marek Polacek <mpolacek@redhat.com>.
21571 * bits/byteswap.h: Protect long long constants with __extension__.
21572 * sysdeps/i386/bits/byteswap.h: Likewise.
21573 * sysdeps/ia64/bits/byteswap.h: Likewise.
21574 * sysdeps/s390/bits/byteswap.h: Likewise.
21575 * sysdeps/x86_64/bits/byteswap.h: Likewise.
21577 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21580 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
21581 destination buffer.
21582 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
21584 2011-12-23 Marek Polacek <polacek@redhat.com>
21586 * elf/dl-addr.c (determine_info): Add inline keyword.
21587 * elf/tst-auditmod4b.c (check_avx): Likewise.
21588 * elf/tst-auditmod6b.c (check_avx): Likewise.
21589 * elf/tst-auditmod6c.c (check_avx): Likewise.
21590 * elf/tst-auditmod7b.c (check_avx): Likewise.
21592 2011-12-23 Ulrich Drepper <drepper@gmail.com>
21594 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
21597 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21600 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
21601 processing for last bytes.
21603 2011-08-06 Bruno Haible <bruno@clisp.org>
21606 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
21607 U+0385, not to U+1FEE.
21610 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
21611 entry for U+00A5 U+0301.
21613 2011-12-22 Ulrich Drepper <drepper@gmail.com>
21616 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
21617 buffer for the output is too small.
21619 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
21623 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
21624 SSE flags if possible.
21626 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21629 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
21630 processing for last bytes.
21632 2011-12-22 Joseph Myers <joseph@codesourcery.com>
21634 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
21635 (syscall-list-default-options, syscall-list-default-condition)
21636 (syscall-list-includes): Define.
21637 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
21638 list of ABIs and options and #if conditions for each ABI. Do not
21639 handle common syscalls between ABIs specially.
21640 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
21642 (syscall-list-variants, syscall-list-32bit-options)
21643 (syscall-list-32bit-condition, syscall-list-64bit-options)
21644 (syscall-list-64bit-condition): Define.
21645 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
21646 (syscall-list-variants, syscall-list-32bit-options)
21647 (syscall-list-32bit-condition, syscall-list-64bit-options)
21648 (syscall-list-64bit-condition): Define.
21649 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
21651 (syscall-list-variants, syscall-list-32bit-options)
21652 (syscall-list-32bit-condition, syscall-list-64bit-options)
21653 (syscall-list-64bit-condition): Define.
21654 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
21656 (syscall-list-variants, syscall-list-32bit-options)
21657 (syscall-list-32bit-condition, syscall-list-64bit-options)
21658 (syscall-list-64bit-condition): Define.
21660 2011-12-22 Ulrich Drepper <drepper@gmail.com>
21662 * locale/iso-639.def: Add brx entry.
21665 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
21666 Proposed by Mariusz_Cukr <marcukr@op.pl>.
21668 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
21669 __feraiseexcept_renamed.
21671 2011-12-21 Ulrich Drepper <drepper@gmail.com>
21674 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
21675 EPOLLET with unsigned values.
21676 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
21677 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
21679 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
21680 to large cancellation.
21681 * math/s_cacoshf.c: Likewise.
21682 * math/s_cacoshl.c: Likewise.
21684 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
21688 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
21689 * math/s_cacoshf.c: Likewise.
21690 * math/s_cacoshl.c: Likewise.
21692 2011-12-21 Ulrich Drepper <drepper@gmail.com>
21695 * iconv/gconv.h: Define __GCONV_SWAP.
21696 * iconvdata/unicode.c: The swap bit must be stored in __flags.
21697 * iconvdata/utf-16.c: Likewise.
21698 * iconvdata/utf-32.c: Likewise.
21700 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
21703 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
21704 numerator after shifting it by one limb.
21706 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
21708 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
21709 under [__USE_EXTERN_INLINES].
21711 2011-12-17 Ulrich Drepper <drepper@gmail.com>
21714 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
21716 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21718 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
21719 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
21721 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
21722 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
21723 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
21724 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
21725 for strncasecmp/strncasecmp_l compilation.
21726 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
21727 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
21729 2011-12-08 Marek Polacek <mpolacek@redhat.com>
21732 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
21735 2011-12-17 Ulrich Drepper <drepper@gmail.com>
21738 * time/tzfile.c (__tzfile_read): Check values from file header.
21740 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
21742 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
21743 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
21744 * powerpc/powerpc32/dl-start.S: Likewise.
21745 * powerpc/powerpc32/elf/start.S: Likewise.
21746 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
21747 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
21748 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
21749 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
21750 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
21751 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
21752 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
21753 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
21754 * powerpc/powerpc32/fpu/s_round.S: Likewise.
21755 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
21756 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
21757 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
21758 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
21759 * powerpc/powerpc32/memset.S: Likewise.
21760 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
21761 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
21762 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
21763 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
21764 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
21765 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
21766 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
21767 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
21768 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
21769 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
21770 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
21771 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
21772 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
21774 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21776 * math/libm-test.inc: Added more nearbyint tests.
21777 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
21778 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
21779 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
21780 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
21782 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
21784 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
21787 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21789 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
21790 Add wcscpy-ssse3 wcscpy-c.
21791 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
21792 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
21793 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
21794 * sysdeps/x86_64/wcschr.S: New file.
21795 * sysdeps/x86_64/wcsrchr.S: New file.
21796 * string/test-strcmp.c: Remove checking of wcscmp function for
21798 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
21799 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
21800 wcsrchr-sse2 wcsrchr-c.
21801 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
21802 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
21803 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
21804 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
21805 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
21806 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
21807 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
21808 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
21809 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
21810 * wcsmbc/wcschr.c (WCSCHR): New macro.
21812 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21814 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
21815 * wcsmbs/test-wcsrchr.c: New file.
21816 * string/test-strrchr.c: Add wcsrchr support.
21818 * wcsmbs/test-wcscpy.c: New file.
21819 * string/test-strcpy.c: Add wcscpy support.
21822 2011-12-10 Ulrich Drepper <drepper@gmail.com>
21824 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
21827 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
21830 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
21832 2011-12-04 Ulrich Drepper <drepper@gmail.com>
21834 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
21835 Minor optimizations.
21837 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
21838 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
21839 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
21841 2011-12-03 Ulrich Drepper <drepper@gmail.com>
21843 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
21844 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
21845 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
21846 for gcc to avoid warnings.
21847 * inet/Makefile (tests): Add tst-checks.
21848 * inet/tst-checks.c: New file.
21850 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
21853 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
21856 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
21857 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
21859 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
21861 2011-12-02 Ulrich Drepper <drepper@gmail.com>
21863 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
21866 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
21868 2011-11-29 Joseph Myers <joseph@codesourcery.com>
21870 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
21871 conditional on GCC version.
21872 (__arch_compare_and_exchange_val_8_acq)
21873 (__arch_compare_and_exchange_val_16_acq)
21874 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
21875 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
21876 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
21878 2011-12-02 Joseph Myers <joseph@codesourcery.com>
21880 * sysdeps/sh/backtrace.c: New file.
21882 2011-12-02 Andreas Schwab <schwab@redhat.com>
21884 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
21887 2011-12-01 Andreas Schwab <schwab@redhat.com>
21889 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
21890 falling back to utime.
21892 2011-11-30 Andreas Schwab <schwab@redhat.com>
21894 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
21895 expectations for float.
21897 2011-11-29 Andreas Schwab <schwab@redhat.com>
21899 * locale/weight.h (findidx): Add parameter len.
21900 * locale/weightwc.h (findidx): Likewise.
21901 * posix/fnmatch_loop.c (FCT): Adjust caller.
21902 * posix/regcomp.c (build_equiv_class): Likewise.
21903 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
21904 * posix/regexec.c (check_node_accept_bytes): Likewise.
21905 * string/strcoll_l.c (STRCOLL): Likewise.
21906 * string/strxfrm_l.c (STRXFRM): Likewise.
21908 2011-11-17 Ulrich Drepper <drepper@gmail.com>
21910 * Makefile.in: Remove CVSOPT handling.
21911 * configure.in: Remove use of AC_REVISION.
21912 * iconvdata/Makefile (distribute): No need to filter out CVS.
21913 * scripts/list-sources.sh: Remove CVS, subversion and monotone
21916 2011-11-16 Andreas Schwab <schwab@redhat.com>
21918 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
21919 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
21920 [USE_AS_STRNCASECMP_L]: Likewise.
21921 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
21922 NO_TLS_DIRECT_SEG_REFS.
21923 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
21924 Fix argument offsets for non-PIC.
21925 [USE_AS_STRNCASECMP_L]: Likewise.
21926 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
21927 NO_TLS_DIRECT_SEG_REFS.
21929 2011-11-15 Ulrich Drepper <drepper@gmail.com>
21931 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
21933 * locale/loadlocale.c (_nl_load_locale): Likewise.
21935 2011-11-15 Andreas Schwab <schwab@redhat.com>
21937 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
21938 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
21939 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
21940 (SYSCALL_GETTIME): Set errno on error.
21942 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
21943 count references to noai6ai_cached.
21945 2011-11-15 Ulrich Drepper <drepper@gmail.com>
21947 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
21949 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
21950 FD_CLOEXEC for /proc/self/maps.
21952 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
21953 FD_CLOEXEC for /proc/meminfo.
21955 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
21958 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
21959 FD_CLOEXEC for given file.
21961 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
21963 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
21964 FD_CLOEXEC for /etc/hosts.
21965 (_gethtent): Likewise.
21967 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
21969 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
21970 cancellation and set FD_CLOEXEC for /etc/netgroup.
21972 * nss/nss_files/files-key.c (search): Don't allow cancellation when
21973 reading /etc/publickey.
21975 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
21976 allow cancellation when reading /etc/group.
21978 * nss/nss_files/files-alias.c (internal_setent): Don't allow
21980 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
21982 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
21983 when using data file.
21985 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
21987 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
21988 (write_nis_obj): Use "c" and "e" in fopen.
21990 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
21992 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
21994 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
21996 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
21998 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
22001 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
22003 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
22005 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
22007 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
22008 file parsing and set FD_CLOEXEC.
22010 2011-11-14 Ulrich Drepper <drepper@gmail.com>
22012 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
22014 2011-11-14 Andreas Schwab <schwab@redhat.com>
22016 * malloc/arena.c (arena_get2): Don't call reused_arena when
22017 _int_new_arena failed.
22019 2011-11-14 Ulrich Drepper <drepper@gmail.com>
22021 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
22022 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
22023 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
22024 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
22025 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
22026 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
22027 to compile strcasecmp and strncasecmp.
22028 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
22029 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
22031 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
22033 2011-11-13 Ulrich Drepper <drepper@gmail.com>
22035 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
22036 locale-defines.sym to gen-as-const-headers.
22037 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
22038 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
22039 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
22040 to compile strcasecmp and strncasecmp.
22041 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
22042 strcasecmp_l and strncasecmp_l.
22043 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
22044 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
22045 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
22046 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
22047 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
22048 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
22049 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
22050 * sysdeps/i386/i686/multiarch/strncase.S: New file.
22051 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
22052 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
22053 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
22055 2011-11-12 Ulrich Drepper <drepper@gmail.com>
22057 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
22058 result of SYSDEP_GETTIME_CPU to retval.
22059 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
22060 parameter list to macro. Remove trailing semicolon. Adjust users.
22062 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
22065 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
22067 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
22069 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
22070 from unused variable.
22072 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
22074 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
22077 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
22080 * sunrpc/rpc_prot.c (rejected): Fix case value.
22082 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
22083 unsigned long long int to avoid warnings in shift.
22085 * posix/regex_internal.c (re_string_reconstruct): Actually use result
22087 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
22090 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
22091 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
22092 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
22094 * nis/nis_table.c (nis_list): Use variable of correct type for
22095 result of __follow_path call.
22097 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22099 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
22100 of math functions ceil, trunc, floor, round, and sqrt, when
22101 avaliable on the platform.
22102 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
22104 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
22105 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
22106 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
22108 2011-10-30 Marek Polacek <mpolacek@redhat.com>
22110 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
22111 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
22113 2011-11-11 Roland McGrath <roland@hack.frob.com>
22115 * include/unistd.h: Fix __readlink return type.
22116 Reported by Chris Metcalf <cmetcalf@tilera.com>.
22118 2011-11-11 Ulrich Drepper <drepper@gmail.com>
22120 * stdlib/ucontext.h: Undo last change for makecontext.
22122 2011-11-11 Andreas Schwab <schwab@redhat.com>
22124 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
22126 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
22127 * setjmp/setjmp.h: Mark functions as non-leaf.
22128 * setjmp/bits/setjmp2.h: Likewise.
22129 * stdlib/ucontext.h: Likewise.
22131 2011-11-10 Andreas Schwab <schwab@redhat.com>
22133 * malloc/arena.c (_int_new_arena): Don't increment narenas.
22134 (reused_arena): Don't check arena limit.
22135 (arena_get2): Atomically check arena limit.
22137 2011-11-08 Ulrich Drepper <drepper@gmail.com>
22139 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
22140 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
22142 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
22145 2011-11-07 Andreas Schwab <schwab@redhat.com>
22147 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
22148 handler when locking.
22150 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
22151 Fix size of allocated buffer.
22153 2011-11-04 Andreas Schwab <schwab@redhat.com>
22156 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
22157 declarations for long double functions.
22158 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
22160 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
22162 2011-11-03 Andreas Schwab <schwab@redhat.com>
22164 * nscd/nscd.c (main): Don't start AVC thread until credentials are
22167 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
22170 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
22172 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
22174 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
22176 * include/alloca.h (stackinfo_alloca_round): Define.
22177 (extend_alloca): Use it.
22178 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
22179 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
22182 * scripts/check-local-headers.sh: Ignore libaudit.h.
22184 * nscd/Makefile (extra-objs): Make recursively expanded.
22186 2011-11-01 Ulrich Drepper <drepper@gmail.com>
22188 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
22189 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
22191 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
22192 * posix/tst-rfc3484-2.c: Likewise.
22193 * posix/tst-rfc3484-3.c: Likewise.
22195 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
22197 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
22199 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
22200 process_vm_writev from libc using GLIBC_2.15 version.
22202 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
22204 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
22206 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
22209 2011-10-31 Ulrich Drepper <drepper@gmail.com>
22212 * nss/getent.c (initgroups_keys): Show error message in case no group
22215 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
22216 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
22217 __bump_nl_timestamp.
22218 * nscd/connections (nscd_init): When host database is served open
22219 netlink socket and request notification about configuration changes.
22220 (main_loop_poll): Track netlink file descriptor and bump timestamp
22221 in case data becomes available.
22222 (main_loop_epoll): Likewise.
22223 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
22224 (database_pers_head): Add extra_data fileds.
22225 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
22226 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
22227 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
22229 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
22230 in6ai data, call __free_in6ai.
22231 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
22232 Add -DHAVE_NETLINK.
22233 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
22234 interface information. Reuse previous data if netlink timestamp
22236 (__bump_nl_timestamp): New function.
22237 (__free_in6ai): New function.
22239 2011-10-30 Ulrich Drepper <drepper@gmail.com>
22241 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
22242 close_not_cancel_no_status here.
22243 (__check_pf): Reorganize code a bit to not call close twice if OOM.
22245 2011-10-29 Ulrich Drepper <drepper@gmail.com>
22248 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
22251 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
22252 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
22253 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
22255 2011-07-03 Andreas Jaeger <aj@suse.de>
22258 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
22259 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
22260 * math/libm-test.inc (sin_test): Add test case.
22262 2011-10-29 Ulrich Drepper <drepper@gmail.com>
22265 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
22266 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
22268 * elf/chroot_canon.c (chroot_canon): Cleanups.
22270 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
22273 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
22274 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
22276 * string/test-strchr.c: Make usable for strchrnul testing.
22277 * string/test-strchrnul.c: New file.
22278 * string/Makefile (strop-tests): Add strchrnul.
22280 * po/it.po: Update from translation team.
22281 * po/es.po: Likewise.
22283 2011-10-28 Ulrich Drepper <drepper@gmail.com>
22285 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
22286 the three constants needed as parameters. Drop the others.
22287 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
22288 __m128i_strloadu_tolower.
22289 Create and initialize variable zero and use it in all the places
22290 where _mm_setzero_si128 was used.
22292 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
22293 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
22294 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
22295 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
22297 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
22298 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
22299 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
22300 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
22301 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
22302 __mpranred, __mptan.
22303 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
22304 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
22305 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
22306 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
22307 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
22308 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
22309 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
22310 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
22311 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
22313 2011-10-28 Andreas Schwab <schwab@redhat.com>
22315 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
22316 redefine if SHARED.
22317 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
22319 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
22320 wide char related routines to wcsmbs subdir.
22322 2011-10-27 Andreas Schwab <schwab@redhat.com>
22325 * misc/sys/cdefs.h (__THROWNL): Define.
22326 * posix/unistd.h: Use __THREADNL instead of __THREAD
22327 for memory synchronization functions.
22329 2011-10-26 Roland McGrath <roland@hack.frob.com>
22332 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
22334 * manual/stdio.texi (Obstack Streams): Node removed.
22336 2011-10-26 Andreas Schwab <schwab@redhat.com>
22338 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
22339 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
22340 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
22342 * math/math_private.h (math_force_eval): Allow non-addressable
22344 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
22346 2011-10-25 Ulrich Drepper <drepper@gmail.com>
22348 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
22349 file is not needed.
22351 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
22352 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
22353 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
22354 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
22355 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
22356 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
22357 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
22358 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
22360 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
22361 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
22362 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
22363 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
22364 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
22365 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
22366 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
22367 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
22368 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
22369 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
22370 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
22371 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
22372 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
22373 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
22374 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
22375 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
22376 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
22377 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
22378 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
22380 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
22381 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
22383 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
22384 place. Use VEX encoding when compiling for AVX.
22386 2011-10-25 Andreas Schwab <schwab@redhat.com>
22388 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
22389 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
22391 * string/test-strchr.c (do_test): Don't generate NUL bytes.
22393 2011-10-25 Ulrich Drepper <drepper@gmail.com>
22395 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
22396 useless if() expression.
22397 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
22398 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
22399 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
22400 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
22401 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
22402 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
22403 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
22404 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
22405 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
22406 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
22407 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
22408 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
22409 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
22410 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
22411 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
22412 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
22413 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
22414 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
22415 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
22417 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
22419 2011-10-25 Andreas Schwab <schwab@redhat.com>
22421 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
22423 * elf/dl-fini.c (_dl_sort_fini): Likewise.
22425 2011-10-25 Ulrich Drepper <drepper@gmail.com>
22427 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
22428 .text section. Avoid duplicate constants.
22429 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
22430 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22431 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
22432 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22433 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22434 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22435 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22436 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22437 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
22438 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
22439 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
22440 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
22441 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
22442 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
22443 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
22444 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
22445 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
22446 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
22447 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22448 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22449 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
22450 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
22451 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
22452 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
22453 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
22454 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
22455 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
22456 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
22457 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
22458 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
22459 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
22460 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
22461 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
22462 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
22463 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
22464 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
22465 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
22466 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
22467 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
22468 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
22469 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
22470 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
22471 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
22472 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
22473 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
22475 2011-10-24 Ulrich Drepper <drepper@gmail.com>
22477 * sysdeps/x86_64/dla.h: Move to ...
22478 * sysdeps/x86_64/fpu/dla.h: ...here.
22479 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
22480 situations. Use __builtin_fma only for gcc 4.6 and up.
22482 * config.make.in: Add have-mfma4 entry.
22483 * configure.in: Substitute libc_cv_cc_fma4.
22484 * math/Makefile (dbl-only-routines): Add sincostab.
22485 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
22486 Use __sincostab not sincos.
22487 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
22489 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22490 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22491 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22492 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
22494 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
22495 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
22496 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
22497 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
22499 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
22500 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
22502 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
22503 define aliases when function name is a macro.
22504 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
22505 sysdeps/ieee754/dbl-64/sincos.tbl.
22506 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
22507 fma4-enabled routines.
22508 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
22509 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
22510 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
22511 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
22512 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
22513 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
22514 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
22515 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
22516 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
22517 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
22518 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
22519 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
22520 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
22521 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
22522 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
22523 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
22524 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
22525 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
22526 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
22527 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
22528 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
22529 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
22530 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
22531 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
22532 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
22533 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
22534 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
22535 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
22536 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
22537 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
22539 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
22541 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22542 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22543 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22544 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22545 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22546 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22547 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22548 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22550 2011-10-24 Andreas Schwab <schwab@redhat.com>
22552 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
22554 2011-10-23 Ulrich Drepper <drepper@gmail.com>
22556 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
22558 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
22560 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
22562 * string/strnlen.c: Don't define STRNLEN, reverse logic.
22563 Remove unused variable magic_bits.
22564 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
22566 * string/strnlen.c: Define and use STRNLEN macro.
22567 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
22568 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
22569 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
22570 * wcsmbs/wcslen.c: Define and use WCSLEN.
22571 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
22572 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
22573 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
22574 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
22575 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
22576 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
22577 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
22579 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22581 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22582 strnlen-sse2-no-bsf.
22583 Rename strlen-no-bsf to strlen-sse2-no-bsf.
22584 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
22585 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
22586 Add strnlen support.
22587 (USE_AS_STRNLEN): New macro.
22588 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
22589 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
22590 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
22591 * sysdeps/x86_64/wcslen.S: New file.
22593 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
22595 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
22596 XMM-moves are used for copying on small sizes.
22598 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22600 * wcsmbs/Makefile (strop-tests): Add wcschr.
22601 * wcsmbs/test-wcschr.c: New file.
22602 * string/test-strchr.c: Update.
22603 Add wcschr support.
22606 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22608 * wcsmbs/Makefile (strop-tests): Add wcslen.
22609 * wcsmbs/test-wcslen.c: New file.
22610 * string/test-strlen.c: Update.
22611 Add wcslen support.
22614 2011-10-23 Ulrich Drepper <drepper@gmail.com>
22616 * po/it.po: Update from translation team.
22618 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22620 * sysdeps/x86_64/wcscmp.S: Update.
22621 Fix wrong comparison semantics.
22622 wcscmp shall use signed comparison not unsigned.
22623 Don't use substraction to avoid overflow bug.
22624 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
22625 * wcsmbc/wcscmp.c: Likewise.
22626 * string/test-strcmp.c: Likewise.
22627 Add new tests to check cases with negative values.
22629 2011-10-23 Ulrich Drepper <drepper@gmail.com>
22631 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
22632 * sysdeps/x86_64/dla.h: ...here. New file.
22633 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
22634 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22635 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22636 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22637 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22638 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22639 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22640 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22641 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22643 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
22645 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
22646 __ynl_finite aliases.
22648 2011-10-22 Ulrich Drepper <drepper@gmail.com>
22650 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22652 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
22654 [DLA_FMA] (EMULV): Use DLA_FMA.
22655 [DLA_FMA] (MUL12): Use EMULV.
22656 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
22657 that are not needed.
22658 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22659 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22660 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22661 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22662 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22663 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22664 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22666 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
22668 * math/s_nan.c: Undef __nan.
22669 * math/s_nanf.c: Undef __nanf.
22670 * math/s_nanl.c: Undef __nanl.
22671 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
22674 2011-10-22 Ulrich Drepper <drepper@gmail.com>
22676 * math/s_catan.c: Add branch predictions.
22677 * math/s_catanf.c: Likewise.
22678 * math/s_catanh.c: Likewise.
22679 * math/s_catanhf.c: Likewise.
22680 * math/s_catanhl.c: Likewise.
22681 * math/s_catanl.c: Likewise.
22682 * math/s_cexp.c: Likewise.
22683 * math/s_cexpf.c: Likewise.
22684 * math/s_cexpl.c: Likewise.
22685 * math/s_clog.c: Likewise.
22686 * math/s_clog10.c: Likewise.
22687 * math/s_clog10f.c: Likewise.
22688 * math/s_clog10l.c: Likewise.
22689 * math/s_clogf.c: Likewise.
22690 * math/s_clogl.c: Likewise.
22691 * math/s_csqrt.c: Likewise.
22692 * math/s_csqrtf.c: Likewise.
22693 * math/s_csqrtl.c: Likewise.
22694 * math/s_ctanf.c: Likewise.
22695 * math/s_ctanh.c: Likewise.
22696 * math/s_ctanhf.c: Likewise.
22697 * math/s_ctanhl.c: Likewise.
22698 * math/s_ctanl.c: Likewise.
22700 * math/math_private.h: Define __nan, __nanf, __nanl.
22701 * math/s_cacosh.c: Include <math_private.h>.
22702 * math/s_cacoshl.c: Likewise.
22703 * math/s_casinh.c: Likewise.
22704 * math/s_casinhf.c: Likewise.
22705 * math/s_casinhl.c: Likewise.
22706 * math/s_ccos.c: Rely entire on ccosh.
22707 * math/s_ccosf.c: Rely entire on ccoshf.
22708 * math/s_ccosl.c: Rely entirely on ccoshl.
22709 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
22710 Remove tests for FE_INVALID.
22711 * math/s_ccoshf.c: Likewise.
22712 * math/s_ccoshl.c: Likewise.
22713 * math/s_csin.c: Likewise.
22714 * math/s_csinf.c: Likewise.
22715 * math/s_csinh.c Likewise.
22716 * math/s_csinhf.c: Likewise.
22717 * math/s_csinhl.c: Likewise.
22718 * math/s_csinl.c: Likewise.
22719 * math/s_ctan.c: Likewise.
22720 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
22721 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
22722 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
22724 2011-10-21 Ulrich Drepper <drepper@gmail.com>
22726 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
22727 compilation problems.
22729 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
22732 2011-10-20 Ulrich Drepper <drepper@gmail.com>
22734 * sysdeps/i386/configure.in: Test for -mfma4 option.
22735 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
22736 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
22737 COMMON_CPUID_INDEX_80000001.
22738 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
22739 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
22740 use it if FMA3 is not supported.
22741 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
22743 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
22744 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
22746 2011-10-20 Andreas Schwab <schwab@redhat.com>
22749 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
22750 it would create a cycle with a link time dependency.
22752 2011-10-19 Ulrich Drepper <drepper@gmail.com>
22754 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
22756 * string/Makefile (strop-tests): Add rawmemchr.
22757 * string/test-rawmemchr.c: New file.
22759 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
22760 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
22761 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
22762 when compiling str{,n}casecmp and when AVX is available. Hook up
22763 new optimized code in initializers.
22765 2011-10-19 Andreas Schwab <schwab@redhat.com>
22767 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
22768 __feraiseexcept instead of feraiseexcept.
22770 2011-10-18 Ulrich Drepper <drepper@gmail.com>
22772 * math/math_private.h: Define defaults for libc_fetestexcept and
22774 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
22775 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
22776 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
22777 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
22778 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
22779 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
22780 libc_fetestexcept and libc_feupdateenv.
22782 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
22783 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
22784 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
22785 * sysdeps/x86_64/fpu/math_private.h: Define special version of
22786 libc_feholdexcept_setround.
22788 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
22789 Add s_nearbyint-c and s_nearbyintf-c.
22790 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
22791 nearbyintf inlines.
22792 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
22793 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
22794 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
22795 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
22797 * math/math_private.h: Define defaults for libc_fegetround,
22798 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
22799 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
22800 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
22801 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
22802 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
22803 standard functions.
22804 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
22805 Remove comments and hacks for old compiler versions.
22806 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
22807 libc_fegetround, libc_fesetround, libc_feholdexcept, and
22808 libc_feholdexceptl.
22810 2011-10-18 Andreas Schwab <schwab@redhat.com>
22812 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
22813 (__feraiseexcept_renamed): Add __NTH.
22814 (feraiseexcept): Add __NTH. Rename local variables to fix
22815 namespace violations.
22817 2011-10-17 Ulrich Drepper <drepper@gmail.com>
22819 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
22821 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
22823 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
22824 recently added interfaces.
22825 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
22827 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
22828 about macro parameter expansion.
22830 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
22831 __NO_MATH_INLINES is defined. Cleanups.
22833 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
22834 and __floorf is target has SSE4.1.
22835 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
22836 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
22837 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
22838 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
22840 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
22842 (floorf): Likewise.
22844 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
22846 2011-10-17 Andreas Schwab <schwab@redhat.com>
22848 * misc/sys/cdefs.h: Fix last change.
22850 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
22853 2011-10-16 Ulrich Drepper <drepper@gmail.com>
22855 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
22857 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
22858 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
22859 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
22860 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
22861 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
22862 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
22863 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
22864 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
22865 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
22866 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
22867 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
22868 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
22869 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
22870 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
22871 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
22872 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
22873 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
22874 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
22875 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
22876 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
22877 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
22878 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
22880 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
22881 ceil, ceilf, floor, floorf.
22883 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
22884 Perform IRELATIVE relocations last.
22886 * elf/do-rel.h: Add another parameter nrelative, replacing the
22887 local variable with the same name. Change name of the function
22888 to end in Rel or Rela (uppercase).
22889 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
22890 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
22891 elf_dynamic_do_##reloc function.
22893 2011-10-15 Ulrich Drepper <drepper@gmail.com>
22895 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
22896 is sufficient, at least on modern CPUs.
22898 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
22900 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
22901 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
22903 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
22905 * math/bits/math-finite.h: Add entries for exp.
22906 * math/e_expl.c: Add __*_finite alias.
22907 * sysdeps/i386/fpu/e_exp.S: Likewise.
22908 * sysdeps/i386/fpu/e_expf.S: Likewise.
22909 * sysdeps/i386/fpu/e_expl.c: Likewise.
22910 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22911 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
22912 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
22913 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
22914 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
22915 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
22916 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
22918 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
22919 is sufficient, at least on modern CPUs.
22921 * ctype/ctype-info.c (__ctype_init): Define.
22922 * include/ctype.h (__ctype_init): Declare.
22923 (__ctype_b_loc): The variable is always initialized.
22924 (__ctype_toupper_loc): Likewise.
22925 (__ctype_tolower_loc): Likewise.
22926 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
22927 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
22929 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
22931 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
22933 * configure.in: Also look in $cxxmachine/include for C++ system
22936 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22938 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
22939 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
22940 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
22941 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
22942 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
22943 (USE_AS_WMEMCMP): New macro.
22945 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
22946 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
22947 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
22948 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
22949 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22950 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
22951 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
22952 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
22953 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
22954 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
22955 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
22956 (USE_AS_WMEMCMP): New macro.
22957 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
22958 * sysdeps/string/test-memcmp.c: Update.
22959 Fix simple_wmemcmp.
22961 * wcsmbs/wmemcmp.c: Update.
22962 (WMEMCMP): New macro.
22965 2011-10-12 Andreas Jaeger <aj@suse.de>
22968 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
22970 2011-10-15 Ulrich Drepper <drepper@gmail.com>
22972 * libio/iofwide.c (do_length): Avoid warning.
22974 * ctype/ctype.h (__isctype_f): Add missing __THROW.
22976 2011-10-14 Ulrich Drepper <drepper@gmail.com>
22978 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
22980 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
22981 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
22982 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
22983 * sysdeps/i386/i686/fpu/e_log.S: New file.
22984 * sysdeps/i386/i686/fpu/e_logf.S: New file.
22985 * sysdeps/i386/i686/fpu/e_logl.S: New file.
22987 * ctype/ctype.h: Add support for inlined isXXX functions when
22988 compiling C++ code.
22990 2011-10-14 Andreas Schwab <schwab@redhat.com>
22992 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
22994 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
22996 2011-10-13 Roland McGrath <roland@hack.frob.com>
22999 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
23001 2011-10-13 Andreas Schwab <schwab@redhat.com>
23003 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
23004 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
23007 * sysdeps/x86_64/memrchr.S: Check for zero size.
23009 * string/stratcliff.c: Add memrchr tests.
23011 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23013 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23014 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
23015 rawmemchr-sse2 rawmemchr-sse2-bsf.
23016 * sysdeps/i386/i686/multiarch/memchr.S: New file.
23017 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
23018 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
23019 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
23020 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
23021 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
23022 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
23023 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
23024 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
23025 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
23026 * string/memrchr.c (MEMRCHR): New macro.
23028 2011-10-12 Ulrich Drepper <drepper@gmail.com>
23030 Add integration with gcc's -ffinite-math-only and optimize wrapper
23032 * Versions.def: Define GLIBC_2.15 version for libm.
23033 * math/Makefile (headers): Add bits/math-finite.h.
23034 * math/bits/math-finite.h: New file.
23035 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
23036 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
23037 * math/e_acoshl.c: Add __*_finite alias.
23038 * math/e_acosl.c: Likewise.
23039 * math/e_asinl.c: Likewise.
23040 * math/e_atan2l.c: Likewise.
23041 * math/e_atanhl.c: Likewise.
23042 * math/e_coshl.c: Likewise.
23043 * math/e_exp10.c: Likewise.
23044 * math/e_exp10f.c: Likewise.
23045 * math/e_exp10l.c: Likewise.
23046 * math/e_exp2l.c: Likewise.
23047 * math/e_fmodl.c: Likewise.
23048 * math/e_gammal_r.c: Likewise.
23049 * math/e_hypotl.c: Likewise.
23050 * math/e_j0l.c: Likewise.
23051 * math/e_j1l.c: Likewise.
23052 * math/e_jnl.c: Likewise.
23053 * math/e_lgammal_r.c: Likewise.
23054 * math/e_log10l.c: Likewise.
23055 * math/e_log2l.c: Likewise.
23056 * math/e_logl.c: Likewise.
23057 * math/e_powl.c: Likewise.
23058 * math/e_sinhl.c: Likewise.
23059 * math/e_sqrtl.c: Likewise.
23060 * math/e_scalb.c: Completely rewritten and optimized.
23061 * math/e_scalbf.c: Likewise.
23062 * math/e_scalbl.c: Likewise.
23063 * math/w_acos.c: Likewise.
23064 * math/w_acosf.c: Likewise.
23065 * math/w_acosl.c: Likewise.
23066 * math/w_acosh.c: Likewise.
23067 * math/w_acoshf.c: Likewise.
23068 * math/w_acoshl.c: Likewise.
23069 * math/w_asin.c: Likewise.
23070 * math/w_asinf.c: Likewise.
23071 * math/w_asinl.c: Likewise.
23072 * math/w_atan2.c: Likewise.
23073 * math/w_atan2f.c: Likewise.
23074 * math/w_atan2l.c: Likewise.
23075 * math/w_atanh.c: Likewise.
23076 * math/w_atanhf.c: Likewise.
23077 * math/w_atanhl.c: Likewise.
23078 * math/w_exp10.c: Likewise.
23079 * math/w_exp10f.c: Likewise.
23080 * math/w_exp10l.c: Likewise.
23081 * math/w_fmod.c: Likewise.
23082 * math/w_fmodf.c: Likewise.
23083 * math/w_fmodl.c: Likewise.
23084 * math/w_j0.c: Likewise.
23085 * math/w_j0f.c: Likewise.
23086 * math/w_j0l.c: Likewise.
23087 * math/w_j1.c: Likewise.
23088 * math/w_j1f.c: Likewise.
23089 * math/w_j1l.c: Likewise.
23090 * math/w_jn.c: Likewise.
23091 * math/w_jnf.c: Likewise.
23092 * math/w_log.c: Likewise.
23093 * math/w_logf.c: Likewise.
23094 * math/w_logl.c: Likewise.
23095 * math/w_log10.c: Likewise.
23096 * math/w_log10f.c: Likewise.
23097 * math/w_log10l.c: Likewise.
23098 * math/w_log2.c: Likewise.
23099 * math/w_log2f.c: Likewise.
23100 * math/w_log2l.c: Likewise.
23101 * math/w_pow.c: Likewise.
23102 * math/w_powf.c: Likewise.
23103 * math/w_powl.c: Likewise.
23104 * math/w_remainder.c: Likewise.
23105 * math/w_remainderf.c: Likewise.
23106 * math/w_remainderl.c: Likewise.
23107 * math/w_scalb.c: Likewise.
23108 * math/w_scalbf.c: Likewise.
23109 * math/w_scalbl.c: Likewise.
23110 * math/w_sqrt.c: Likewise.
23111 * math/w_sqrtf.c: Likewise.
23112 * math/w_sqrtl.c: Likewise.
23113 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
23114 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
23116 * math/math_private.h: Declare __kernel_standard_f.
23117 * math/w_cosh.c: Remove cruft and optimize a bit.
23118 * math/w_coshf.c: Likewise.
23119 * math/w_coshl.c: Likewise.
23120 * math/w_exp2.c: Likewise.
23121 * math/w_exp2f.c: Likewise.
23122 * math/w_exp2l.c: Likewise.
23123 * math/w_hypot.c: Likewise.
23124 * math/w_hypotf.c: Likewise.
23125 * math/w_hypotl.c: Likewise.
23126 * math/w_lgamma.c: Likewise.
23127 * math/w_lgamma_r.c: Likewise.
23128 * math/w_lgammaf.c: Likewise.
23129 * math/w_lgammaf_r.c: Likewise.
23130 * math/w_lgammal.c: Likewise.
23131 * math/w_lgammal_r.c: Likewise.
23132 * math/w_sinh.c: Likewise.
23133 * math/w_sinhf.c: Likewise.
23134 * math/w_sinhl.c: Likewise.
23135 * math/w_tgamma.c: Likewise.
23136 * math/w_tgammaf.c: Likewise.
23137 * math/w_tgammal.c: Likewise.
23138 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
23139 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
23140 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
23141 Minor optimizations. Pretty printing. Remove cruft.
23142 * sysdeps/i386/fpu/e_acosf.S: Likewise.
23143 * sysdeps/i386/fpu/e_acosh.S: Likewise.
23144 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
23145 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
23146 * sysdeps/i386/fpu/e_acosl.c: Likewise.
23147 * sysdeps/i386/fpu/e_asin.S: Likewise.
23148 * sysdeps/i386/fpu/e_asinf.S: Likewise.
23149 * sysdeps/i386/fpu/e_atan2.S: Likewise.
23150 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
23151 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
23152 * sysdeps/i386/fpu/e_atanh.S: Likewise.
23153 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
23154 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
23155 * sysdeps/i386/fpu/e_exp10.S: Likewise.
23156 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
23157 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
23158 * sysdeps/i386/fpu/e_exp2.S: Likewise.
23159 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
23160 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
23161 * sysdeps/i386/fpu/e_fmod.S: Likewise.
23162 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
23163 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
23164 * sysdeps/i386/fpu/e_hypot.S: Likewise.
23165 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
23166 * sysdeps/i386/fpu/e_log.S: Likewise.
23167 * sysdeps/i386/fpu/e_log10.S: Likewise.
23168 * sysdeps/i386/fpu/e_log10f.S: Likewise.
23169 * sysdeps/i386/fpu/e_log10l.S: Likewise.
23170 * sysdeps/i386/fpu/e_log2.S: Likewise.
23171 * sysdeps/i386/fpu/e_log2f.S: Likewise.
23172 * sysdeps/i386/fpu/e_log2l.S: Likewise.
23173 * sysdeps/i386/fpu/e_logf.S: Likewise.
23174 * sysdeps/i386/fpu/e_logl.S: Likewise.
23175 * sysdeps/i386/fpu/e_pow.S: Likewise.
23176 * sysdeps/i386/fpu/e_powf.S: Likewise.
23177 * sysdeps/i386/fpu/e_powl.S: Likewise.
23178 * sysdeps/i386/fpu/e_remainder.S: Likewise.
23179 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
23180 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
23181 * sysdeps/i386/fpu/e_scalb.S: Likewise.
23182 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
23183 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
23184 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
23185 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
23186 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
23187 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
23188 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
23189 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23190 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
23191 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
23192 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
23193 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
23194 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
23195 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
23196 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
23197 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
23198 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
23199 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23200 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
23201 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
23202 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23203 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
23204 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
23205 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
23206 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23207 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
23208 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
23209 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
23210 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
23211 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
23212 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
23213 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
23214 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
23215 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
23216 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
23217 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
23218 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
23219 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
23220 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
23221 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
23222 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
23223 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
23224 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
23225 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
23226 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
23227 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
23228 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
23229 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
23230 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
23231 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
23232 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
23233 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
23234 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
23235 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
23236 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
23237 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
23238 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
23239 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
23240 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
23241 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
23242 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
23243 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
23244 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
23245 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
23246 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
23247 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
23248 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
23249 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
23250 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
23251 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
23252 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
23253 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
23254 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
23255 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
23256 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
23257 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
23258 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
23259 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
23260 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
23261 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
23262 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
23263 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
23264 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
23265 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
23266 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
23267 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
23268 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
23269 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
23270 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
23271 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
23272 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
23273 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
23274 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
23275 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
23276 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
23277 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
23278 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
23279 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
23280 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
23281 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
23282 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
23283 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
23284 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
23285 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
23286 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
23287 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
23288 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
23289 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
23290 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
23291 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
23292 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
23293 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
23294 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
23295 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
23296 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
23297 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
23298 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
23299 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
23300 (__isnanf): Likewise.
23301 (__isinf_ns): Likewise.
23302 (__isinf_nsf): Likewise.
23303 (__finite): Likewise.
23304 (__finitef): Likewise.
23305 (__ieee754_sqrt): Define as macro.
23306 (__ieee754_sqrtf): Define as macro.
23307 (__ieee754_sqrtl): Define as macro.
23308 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
23310 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
23311 __FINITE_MATH_ONLY__ consistent.
23312 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
23314 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
23316 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
23319 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
23321 2011-10-09 Ulrich Drepper <drepper@gmail.com>
23323 * po/ja.po: Update from translation team.
23325 2011-10-08 Roland McGrath <roland@hack.frob.com>
23327 * locale/programs/locarchive.c (prepare_address_space): New function.
23328 (create_archive, enlarge_archive, open_archive): Use it.
23330 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
23331 inside [SHARED], where it is used.
23333 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
23335 * nss/getent.c (netgroup_keys): Remove unused variable.
23336 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
23338 2011-10-08 Ulrich Drepper <drepper@gmail.com>
23340 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
23341 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
23342 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
23343 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
23344 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
23345 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
23346 * math/Makefile (libm-calls): Add s_isinf_ns.
23347 * math/divtc3.c: Use __isinf_nsl instead of isinf.
23348 * math/multc3.c: Likewise.
23349 * math/s_casin.c: Likewise.
23350 * math/s_casinf.c: Likewise.
23351 * math/s_casinl.c: Likewise.
23352 * math/s_ccos.c: Likewise.
23353 * math/s_ccosf.c: Likewise.
23354 * math/s_ccosl.c: Likewise.
23355 * math/s_ctan.c: Likewise.
23356 * math/s_ctanf.c: Likewise.
23357 * math/s_ctanh.c: Likewise.
23358 * math/s_ctanhf.c: Likewise.
23359 * math/s_ctanhl.c: Likewise.
23360 * math/s_ctanl.c: Likewise.
23361 * math/w_fmod.c: Likewise.
23362 * math/w_fmodf.c: Likewise.
23363 * math/w_fmodl.c: Likewise.
23364 * math/w_remainder.c: Likewise.
23365 * math/w_remainderf.c: Likewise.
23366 * math/w_remainderl.c: Likewise.
23367 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
23368 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
23369 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
23370 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
23371 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
23372 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
23373 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
23374 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
23376 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
23378 * stdio-common/printf_fphex.c: Likewise.
23379 * stdio-common/printf_size.c: Likewise.
23381 * math/e_exp10.c: Include math_private.h using <...> not "...".
23382 * math/e_exp10f.c: Likewise.
23383 * math/e_exp10l.c: Likewise.
23384 * math/e_exp2l.c: Likewise.
23385 * math/e_j0l.c: Likewise.
23386 * math/e_j1l.c: Likewise.
23387 * math/e_jnl.c: Likewise.
23388 * math/e_lgammal_r.c: Likewise.
23389 * math/e_rem_pio2l.c: Likewise.
23390 * math/e_scalb.c: Likewise.
23391 * math/e_scalbf.c: Likewise.
23392 * math/e_scalbl.c: Likewise.
23393 * math/k_cosl.c: Likewise.
23394 * math/k_sinl.c: Likewise.
23395 * math/k_tanl.c: Likewise.
23396 * math/s_cacoshf.c: Likewise.
23397 * math/s_catan.c: Likewise.
23398 * math/s_catanf.c: Likewise.
23399 * math/s_catanh.c: Likewise.
23400 * math/s_catanhf.c: Likewise.
23401 * math/s_catanhl.c: Likewise.
23402 * math/s_catanl.c: Likewise.
23403 * math/s_ccosh.c: Likewise.
23404 * math/s_ccoshf.c: Likewise.
23405 * math/s_ccoshl.c: Likewise.
23406 * math/s_cexp.c: Likewise.
23407 * math/s_cexpf.c: Likewise.
23408 * math/s_cexpl.c: Likewise.
23409 * math/s_clog.c: Likewise.
23410 * math/s_clog10.c: Likewise.
23411 * math/s_clog10f.c: Likewise.
23412 * math/s_clog10l.c: Likewise.
23413 * math/s_clogf.c: Likewise.
23414 * math/s_clogl.c: Likewise.
23415 * math/s_csin.c: Likewise.
23416 * math/s_csinf.c: Likewise.
23417 * math/s_csinh.c: Likewise.
23418 * math/s_csinhf.c: Likewise.
23419 * math/s_csinhl.c: Likewise.
23420 * math/s_csinl.c: Likewise.
23421 * math/s_csqrt.c: Likewise.
23422 * math/s_csqrtf.c: Likewise.
23423 * math/s_csqrtl.c: Likewise.
23424 * math/s_ctan.c: Likewise.
23425 * math/s_ctanf.c: Likewise.
23426 * math/s_ctanh.c: Likewise.
23427 * math/s_ctanhf.c: Likewise.
23428 * math/s_ctanhl.c: Likewise.
23429 * math/s_ctanl.c: Likewise.
23430 * math/s_ldexp.c: Likewise.
23431 * math/s_ldexpf.c: Likewise.
23432 * math/s_ldexpl.c: Likewise.
23433 * math/s_significand.c: Likewise.
23434 * math/s_significandf.c: Likewise.
23435 * math/s_significandl.c: Likewise.
23436 * math/w_acos.c: Likewise.
23437 * math/w_acosf.c: Likewise.
23438 * math/w_acosh.c: Likewise.
23439 * math/w_acoshf.c: Likewise.
23440 * math/w_acoshl.c: Likewise.
23441 * math/w_acosl.c: Likewise.
23442 * math/w_asin.c: Likewise.
23443 * math/w_asinf.c: Likewise.
23444 * math/w_asinl.c: Likewise.
23445 * math/w_atan2.c: Likewise.
23446 * math/w_atan2f.c: Likewise.
23447 * math/w_atan2l.c: Likewise.
23448 * math/w_atanh.c: Likewise.
23449 * math/w_atanhf.c: Likewise.
23450 * math/w_atanhl.c: Likewise.
23451 * math/w_cosh.c: Likewise.
23452 * math/w_coshf.c: Likewise.
23453 * math/w_coshl.c: Likewise.
23454 * math/w_dremf.c: Likewise.
23455 * math/w_exp10.c: Likewise.
23456 * math/w_exp10f.c: Likewise.
23457 * math/w_exp10l.c: Likewise.
23458 * math/w_exp2.c: Likewise.
23459 * math/w_exp2f.c: Likewise.
23460 * math/w_fmod.c: Likewise.
23461 * math/w_fmodf.c: Likewise.
23462 * math/w_fmodl.c: Likewise.
23463 * math/w_hypot.c: Likewise.
23464 * math/w_hypotf.c: Likewise.
23465 * math/w_hypotl.c: Likewise.
23466 * math/w_j0.c: Likewise.
23467 * math/w_j0f.c: Likewise.
23468 * math/w_j0l.c: Likewise.
23469 * math/w_j1.c: Likewise.
23470 * math/w_j1f.c: Likewise.
23471 * math/w_j1l.c: Likewise.
23472 * math/w_jn.c: Likewise.
23473 * math/w_jnf.c: Likewise.
23474 * math/w_jnl.c: Likewise.
23475 * math/w_lgamma.c: Likewise.
23476 * math/w_lgamma_r.c: Likewise.
23477 * math/w_lgammaf.c: Likewise.
23478 * math/w_lgammaf_r.c: Likewise.
23479 * math/w_lgammal.c: Likewise.
23480 * math/w_lgammal_r.c: Likewise.
23481 * math/w_log.c: Likewise.
23482 * math/w_log10.c: Likewise.
23483 * math/w_log10f.c: Likewise.
23484 * math/w_log10l.c: Likewise.
23485 * math/w_log2.c: Likewise.
23486 * math/w_log2f.c: Likewise.
23487 * math/w_log2l.c: Likewise.
23488 * math/w_logf.c: Likewise.
23489 * math/w_logl.c: Likewise.
23490 * math/w_pow.c: Likewise.
23491 * math/w_powf.c: Likewise.
23492 * math/w_powl.c: Likewise.
23493 * math/w_remainder.c: Likewise.
23494 * math/w_remainderf.c: Likewise.
23495 * math/w_remainderl.c: Likewise.
23496 * math/w_scalb.c: Likewise.
23497 * math/w_scalbf.c: Likewise.
23498 * math/w_scalbl.c: Likewise.
23499 * math/w_sinh.c: Likewise.
23500 * math/w_sinhf.c: Likewise.
23501 * math/w_sinhl.c: Likewise.
23502 * math/w_sqrt.c: Likewise.
23503 * math/w_sqrtf.c: Likewise.
23504 * math/w_sqrtl.c: Likewise.
23505 * math/w_tgamma.c: Likewise.
23506 * math/w_tgammaf.c: Likewise.
23507 * math/w_tgammal.c: Likewise.
23509 * po/ja.po: Update from translation team.
23511 2011-09-29 Andreas Jaeger <aj@suse.de>
23514 * sunrpc/netname.c (netname2host): Fix logic.
23518 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
23520 * math/w_remainder.c (__remainder): Likewise.
23521 * math/w_remainderf.c (__remainderf): Likewise.
23522 * math/libm-test.inc (remainder_test): Add test cases.
23524 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23526 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
23529 2011-10-07 Ulrich Drepper <drepper@gmail.com>
23531 * string/test-memcmp.c: Avoid unncessary #defines.
23532 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
23534 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23536 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
23537 Use new sse2 version for core i3 - i7 as it's faster
23538 than sse42 version.
23539 (bit_Prefer_PMINUB_for_stringop): New.
23540 * sysdeps/x86_64/rawmemchr.S: Update.
23541 Replace with faster SSE2 version.
23542 * sysdeps/x86_64/memrchr.S: New file.
23543 * sysdeps/x86_64/memchr.S: Update.
23544 Replace with faster SSE2 version.
23546 2011-09-12 Marek Polacek <mpolacek@redhat.com>
23548 * elf/dl-load.c (lose): Add cast to avoid warning.
23550 2011-10-07 Ulrich Drepper <drepper@gmail.com>
23552 * po/ca.po: Update from translation team.
23554 * inet/getnetgrent_r.c: Hook up nscd.
23555 * nscd/Makefile (routines): Add nscd_netgroup.
23556 (nscd-modules): Add netgroupcache.
23557 (CFLAGS-netgroupcache.c): Define.
23558 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
23559 (cache_search): Add const to second parameter.
23560 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
23562 (dbs): Add netgrdb entry.
23563 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
23564 (verify_persistent_db): Handle netgrdb.
23565 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
23566 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
23568 (netgroup_response_header): Define.
23569 (innetgroup_response_header): Define.
23570 (datahead): Add netgroup_response_header and innetgroup_response_header
23572 * nscd/nscd.conf: Add entries for netgroup cache.
23573 * nscd/nscd.h (dbtype): Add netgrdb.
23574 (_PATH_NSCD_NETGROUP_DB): Define.
23575 (netgroup_iov_disabled): Declare.
23576 (xmalloc, xcalloc, xrealloc): Move declarations here.
23577 (cache_search): Adjust prototype.
23578 Add netgroup-related prototypes.
23579 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
23580 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
23581 (__nscd_innetgr): Declare.
23582 * nscd/selinux.c (perms): Use access_vector_t as element type and
23583 add netgroup-related initializers.
23584 * nscd/netgroupcache.c: New file.
23585 * nscd/nscd_netgroup.c: New file.
23586 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
23587 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
23588 For four parameters use innetgr.
23589 * nss/nss_files/files-init.c: Add definition and callback for netgr.
23590 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
23591 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
23592 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
23594 * nscd/connections.c (register_traced_file): Don't register file
23595 for disabled databases.
23597 2011-10-06 Ulrich Drepper <drepper@gmail.com>
23599 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
23601 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
23602 from tree and freeing node.
23604 2011-09-25 Jiri Olsa <jolsa@redhat.com>
23606 * nss/nsswitch.c (__nss_database_lookup): Handle
23607 nss_parse_service_list out of memory case.
23609 2011-09-15 Jiri Olsa <jolsa@redhat.com>
23611 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
23612 out of memory case.
23614 2011-10-04 Andreas Schwab <schwab@redhat.com>
23616 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
23617 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
23619 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
23620 elf_machine_rela, elf_machine_lazy_rel.
23621 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
23622 (ELF_DYNAMIC_DO_REL): Likewise.
23623 (ELF_DYNAMIC_DO_RELA): Likewise.
23624 (ELF_DYNAMIC_RELOCATE): Likewise.
23625 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
23626 to ELF_DYNAMIC_DO_REL.
23627 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
23628 (dl_main): In trace mode always set __RTLD_NOIFUNC.
23629 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
23631 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
23632 skip_ifunc, don't call ifunc function if non-zero.
23633 (elf_machine_rela): Likewise.
23634 (elf_machine_lazy_rel): Likewise.
23635 (elf_machine_lazy_rela): Likewise.
23636 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
23637 (elf_machine_lazy_rel): Likewise.
23638 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
23640 (elf_machine_lazy_rel): Likewise.
23641 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
23643 (elf_machine_lazy_rel): Likewise.
23644 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
23645 (elf_machine_lazy_rel): Likewise.
23646 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
23647 (elf_machine_lazy_rel): Likewise.
23648 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
23649 (elf_machine_lazy_rel): Likewise.
23650 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
23651 (elf_machine_lazy_rel): Likewise.
23652 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
23653 (elf_machine_lazy_rel): Likewise.
23654 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
23655 (elf_machine_lazy_rel): Likewise.
23657 2011-09-28 Ulrich Drepper <drepper@gmail.com>
23659 * nss/nss_files/files-init.c (_nss_files_init): Use static
23660 initialization for all the *_traced_file variables.
23662 2011-09-28 Andreas Schwab <schwab@redhat.com>
23664 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23666 2011-09-27 Roland McGrath <roland@hack.frob.com>
23669 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
23671 2011-09-27 Andreas Schwab <schwab@redhat.com>
23673 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
23674 Reread the line before reparsing it.
23676 2011-09-26 Andreas Schwab <schwab@redhat.com>
23678 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
23680 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
23681 Maxim Kuvyrkov <maxim@codesourcery.com>
23682 Joseph Myers <joseph@codesourcery.com>
23684 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
23685 if needed for __stack_chk_guard.
23687 2011-09-19 Roland McGrath <roland@hack.frob.com>
23689 * sysdeps/posix/spawni.c (script_execute): Always define it.
23690 It will be optimized away if unused.
23691 (maybe_script_execute): New function.
23692 (__spawni): Call it.
23694 * Makerules: Don't include tls.make.
23695 (config-tls): Always set to thread.
23696 * tls.make.c: File removed.
23698 2011-09-19 Mike Frysinger <vapier@gentoo.org>
23700 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
23701 * config.make.in (CPPFLAGS-config): New substituted variable.
23703 2011-09-15 Ulrich Drepper <drepper@gmail.com>
23705 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
23708 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
23709 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
23711 2011-09-15 Roland McGrath <roland@hack.frob.com>
23713 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
23714 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
23715 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
23716 (CALL_FAIL): Likewise.
23717 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
23718 (CALL_FAIL): Macro removed.
23719 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
23721 2011-09-15 Ulrich Drepper <drepper@gmail.com>
23723 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
23724 for __FINITE_MATH_ONLY__ == 1.
23726 2011-09-15 Andreas Schwab <schwab@redhat.com>
23728 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
23729 __ieee754_sqrt instead of sqrt.
23730 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
23731 __ieee754_sqrtf instead of sqrtf.
23732 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
23733 __floorf instead of floorf.
23734 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
23735 __floorf, __truncf instead of floorf, truncf.
23737 2011-09-14 Ulrich Drepper <drepper@gmail.com>
23739 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
23741 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
23742 __extern_always_inline.
23743 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
23746 2011-09-14 Andreas Schwab <schwab@redhat.com>
23748 * elf/rtld.c (dl_main): Also relocate in dependency order when
23749 doing symbol dependency testing.
23751 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
23753 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
23754 Always define `refsym'.
23756 2011-09-13 Andreas Schwab <schwab@redhat.com>
23758 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
23759 (__FD_ELT): Renamed from __FDELT.
23760 * misc/bits/select2.h (__FD_ELT): Likewise.
23761 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
23762 __FD_MASK instead of __FDELT, __FDMASK.
23763 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
23765 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
23768 * elf/Makefile (gen-ldd): Fix pattern.
23770 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
23771 (init_tls): Likewise.
23773 2011-09-12 Ulrich Drepper <drepper@gmail.com>
23775 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
23777 2011-09-12 Andreas Schwab <schwab@redhat.com>
23779 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
23780 `struct cmsghdr *' instead of `void *'.
23781 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
23784 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
23786 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
23788 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
23789 ldd_rewrite_script.
23791 2011-09-11 Ulrich Drepper <drepper@gmail.com>
23793 * configure.in: Remove --with-tls option.
23794 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
23795 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
23796 out in case it is missing.
23797 * sysdeps/ia64/elf/configure.in: Likewise.
23798 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
23799 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
23800 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
23801 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
23802 * sysdeps/sh/elf/configure.in: Likewise.
23803 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
23804 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
23805 * sysdeps/x86_64/elf/configure.in: Likewise.
23806 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
23807 * sysdeps/mach/hurd/tls.h: Likewise.
23810 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
23813 * configure.in: Fix use of AC_INIT.
23815 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
23817 2011-09-10 Ulrich Drepper <drepper@gmail.com>
23819 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
23821 * malloc/hooks.c: Likewise.
23824 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
23825 variables statically.
23826 (narenas): Initialize.
23827 (list_lock): Initialize.
23828 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
23829 initializtion of main_arena and list_lock. Small cleanups.
23830 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
23831 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
23832 Add initializers to main_arena and mp_.
23833 (malloc_state): Remove pagesize member. Change all users to use
23836 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
23837 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
23838 is always initialized.
23840 * malloc/malloc.c: Removed unused configurations and dead code.
23841 * malloc/arena.c: Likewise.
23842 * malloc/hooks.c: Likewise.
23843 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
23845 * include/tls.h: Removed. USE___THREAD must always be defined.
23846 * bits/libc-tsd.h: Don't handle !USE___THREAD.
23847 * elf/dl-libc.c: Likewise.
23848 * elf/dl-tsd.c: Likewise.
23849 * include/errno.h: Likewise.
23850 * include/netdb.h: Likewise.
23851 * include/resolv.h: Likewise.
23852 * inet/herrno-loc.c: Likewise.
23853 * inet/herrno.c: Likewise.
23854 * malloc/arena.c: Likewise.
23855 * malloc/hooks.c: Likewise.
23856 * malloc/malloc.c: Likewise.
23857 * resolv/res-state.c: Likewise.
23858 * resolv/res_libc.c: Likewise.
23859 * sysdeps/i386/dl-machine.h: Likewise.
23860 * sysdeps/ia64/dl-machine.h: Likewise.
23861 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
23862 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
23863 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
23864 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
23865 * sysdeps/sh/dl-machine.h: Likewise.
23866 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
23867 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
23868 * sysdeps/unix/i386/sysdep.S: Likewise.
23869 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
23870 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
23871 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
23872 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
23873 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
23874 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
23875 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
23876 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
23877 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23878 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
23879 * sysdeps/unix/x86_64/sysdep.S: Likewise.
23880 * sysdeps/x86_64/dl-machine.h: Likewise.
23881 * tls.make.c: Likewise.
23883 * configure.in: Remove --with-__thread option. Make tests for
23884 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
23885 tls_model attribute fail if no support is available. Remove
23887 * Makeconfig: Adjust for dropped configure option. All features are
23889 * Makerules: Likewise.
23890 * Versions.def: Likewise.
23891 * argp/argp-fmtstream.c: Likewise.
23892 * argp/argp-fmtstream.h: Likewise.
23893 * argp/argp-help.c: Likewise.
23894 * assert/assert.c: Likewise.
23895 * config.h.in: Likewise.
23896 * config.make.in: Likewise.
23897 * configure: Likewise.
23898 * configure.in: Likewise.
23899 * csu/Versions: Likewise.
23900 * csu/init.c: Likewise.
23901 * elf/tst-audit2.c: Likewise.
23902 * elf/tst-tls10.c: Likewise.
23903 * elf/tst-tls10.h: Likewise.
23904 * elf/tst-tls11.c: Likewise.
23905 * elf/tst-tls12.c: Likewise.
23906 * elf/tst-tls14.c: Likewise.
23907 * elf/tst-tlsmod11.c: Likewise.
23908 * elf/tst-tlsmod12.c: Likewise.
23909 * elf/tst-tlsmod13.c: Likewise.
23910 * elf/tst-tlsmod13a.c: Likewise.
23911 * elf/tst-tlsmod14a.c: Likewise.
23912 * elf/tst-tlsmod15b.c: Likewise.
23913 * elf/tst-tlsmod16a.c: Likewise.
23914 * elf/tst-tlsmod16b.c: Likewise.
23915 * elf/tst-tlsmod7.c: Likewise.
23916 * elf/tst-tlsmod8.c: Likewise.
23917 * elf/tst-tlsmod9.c: Likewise.
23918 * gmon/gmon.c: Likewise.
23919 * grp/fgetgrent_r.c: Likewise.
23920 * grp/putgrent.c: Likewise.
23921 * hurd/fopenport.c: Likewise.
23922 * include/libc-symbols.h: Likewise.
23923 * include/tls.h: Likewise.
23924 * intl/gettextP.h: Likewise.
23925 * intl/loadinfo.h: Likewise.
23926 * locale/global-locale.c: Likewise.
23927 * locale/localeinfo.h: Likewise.
23928 * mach/devstream.c: Likewise.
23929 * malloc/arena.c: Likewise.
23930 * malloc/set-freeres.c: Likewise.
23931 * misc/err.c: Likewise.
23932 * misc/getttyent.c: Likewise.
23933 * misc/mntent_r.c: Likewise.
23934 * posix/getopt.c: Likewise.
23935 * posix/wordexp.c: Likewise.
23936 * pwd/fgetpwent_r.c: Likewise.
23937 * resolv/Versions: Likewise.
23938 * resolv/res_hconf.c: Likewise.
23939 * shadow/fgetspent_r.c: Likewise.
23940 * shadow/putspent.c: Likewise.
23941 * stdio-common/printf_fphex.c: Likewise.
23942 * stdio-common/tmpfile.c: Likewise.
23943 * stdlib/abort.c: Likewise.
23944 * stdlib/fmtmsg.c: Likewise.
23945 * sunrpc/auth_unix.c: Likewise.
23946 * sunrpc/clnt_perr.c: Likewise.
23947 * sunrpc/clnt_tcp.c: Likewise.
23948 * sunrpc/clnt_udp.c: Likewise.
23949 * sunrpc/clnt_unix.c: Likewise.
23950 * sunrpc/openchild.c: Likewise.
23951 * sunrpc/svc_simple.c: Likewise.
23952 * sunrpc/svc_tcp.c: Likewise.
23953 * sunrpc/svc_udp.c: Likewise.
23954 * sunrpc/svc_unix.c: Likewise.
23955 * sunrpc/xdr.c: Likewise.
23956 * sunrpc/xdr_array.c: Likewise.
23957 * sunrpc/xdr_rec.c: Likewise.
23958 * sunrpc/xdr_ref.c: Likewise.
23959 * sunrpc/xdr_stdio.c: Likewise.
23961 2011-09-09 Ulrich Drepper <drepper@gmail.com>
23963 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23965 2011-07-03 Andreas Jaeger <aj@suse.de>
23967 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
23968 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
23969 regenerate with gen-libm-tests.pl.
23971 2010-05-12 Petr Baudis <pasky@suse.cz>
23974 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
23975 around j0() zero points by switching to j1().
23976 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
23977 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
23978 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
23979 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
23981 2011-09-09 Ulrich Drepper <drepper@gmail.com>
23983 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
23985 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
23987 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
23988 Patch in part by Pavel Roskin <proski@gnu.org>.
23991 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
23993 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
23994 Free memory block if necessary.
23997 * libio/genops.c (INTDEF): For string streams the _lock pointer can
23998 be NULL. Don't lock in this case.
24000 2011-09-09 Roland McGrath <roland@hack.frob.com>
24002 * elf/elf.h (ELFOSABI_GNU): New macro.
24003 (ELFOSABI_LINUX): Define to that.
24005 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
24007 * string/strncat.c (strncat): Undef the symbol in case it has been
24008 defined in bits/string.h.
24010 2011-09-09 Ulrich Drepper <drepper@gmail.com>
24012 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
24014 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
24017 2011-08-17 Andreas Jaeger <aj@suse.de>
24019 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
24021 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
24022 Ian Lance Taylor <iant@google.com>
24024 * math/libm-test.inc (lround_test): New testcase.
24025 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
24027 2011-09-08 Ulrich Drepper <drepper@gmail.com>
24029 * Makefile: Remove support for automatic cvs check-ins.
24030 * Makerules: Likewise.
24031 * config.make.in: Likewise.
24032 * configure.in: Likewise.
24033 * intl/Makefile: Likewise.
24034 * locale/Makefile: Likewise.
24035 * po/Makefile: Likewise.
24036 * posix/Makefile: Likewise.
24037 * sysdeps/gnu/Makefile: Likewise.
24038 * sysdeps/mach/hurd/Makefile: Likewise.
24039 * sysdeps/sparc/sparc32/Makefile: Likewise.
24042 * posix/Makefile (bug-regex32-ENV): Define.
24043 Patch by John Stanley <jpsinthemix@verizon.net>.
24045 * misc/Makefile (headers): Add bits/select2.h.
24046 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
24047 * misc/bits/select2.h: New file.
24048 * include/bits/select2.h: New file.
24049 * debug/Makefile (routines): Add fdelt_chk.
24050 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
24051 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
24053 * debug/fdelt_chk.c: New file.
24055 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
24056 * wcsmbs/test-wmemcmp.c: Likewise.
24057 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
24058 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
24060 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24062 * string/Makefile (strop-tests): Add memcmp.
24063 * string/test-wmemcmp.c: New file.
24064 * string/test-memcmp.c: Add wmemcmp support.
24066 2011-09-08 Roland McGrath <roland@hack.frob.com>
24069 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
24072 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
24073 garbage value in a __mach_port_mod_refs call in the cases of the
24074 task-self and thread-self ports.
24076 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
24078 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
24080 2011-09-08 Andreas Schwab <schwab@redhat.com>
24082 * elf/dl-load.c (lose): Check for non-null L.
24084 2011-09-07 Ulrich Drepper <drepper@gmail.com>
24086 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
24088 * elf/dl-libc.c (dlerror_run): Pass back error code from
24092 * elf/dl-load.c (lose): Free l_origin if it is valid.
24094 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
24096 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
24097 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
24098 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
24099 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
24100 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
24101 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
24103 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24105 * sysdeps/powerpc/fpu/e_hypot.c: New file.
24106 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
24107 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
24108 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
24109 * sysdeps/powerpc/fpu/k_cosf.c: New file.
24110 * sysdeps/powerpc/fpu/k_sinf.c: New file.
24111 * sysdeps/powerpc/fpu/s_cosf.c: New file.
24112 * sysdeps/powerpc/fpu/s_sinf.c: New file.
24113 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
24114 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
24116 2011-08-15 Alan Modra <amodra@gmail.com>
24119 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
24120 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
24121 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
24122 ppc_mcount to static-only-routines.
24123 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
24125 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
24126 __mcount_internal with usual JUMPTARGET. Remove useless nop.
24128 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
24130 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
24131 for finite and infinity parameters.
24133 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
24135 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
24136 and add nop instructions for throughput optimization.
24137 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
24139 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
24141 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
24142 aligned copy for power7 with vector-scalar instructions.
24143 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
24145 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
24147 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
24150 2011-09-07 Andreas Schwab <schwab@redhat.com>
24153 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
24156 2011-09-07 Ulrich Drepper <drepper@gmail.com>
24158 * sysdeps/unix/sysv/linux/x86_64/init-first.c
24159 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
24160 syscall wrapper around clock_gettime in __vdso_clock_gettime.
24161 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
24164 2011-09-06 Ulrich Drepper <drepper@gmail.com>
24166 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
24167 Forgot to demangle the pointer.
24169 * sysdeps/i386/sysdep.h: Define atom_text_section.
24170 * sysdeps/x86_64/sysdep.h: Likewise.
24171 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
24172 section with atom_text_section.
24173 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
24174 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
24175 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
24176 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
24177 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
24179 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
24180 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
24181 already be defined. Change to take two parameters and don't assign
24182 result to variable. Adjust all users.
24183 Define INTERNAL_GETTIME if not already defined.
24184 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
24186 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
24187 HAVE_CLOCK_GETTIME_VSYSCALL.
24188 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
24190 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
24191 gettimeofday vsyscall, just use time.
24193 2011-09-06 Andreas Schwab <schwab@redhat.com>
24195 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
24198 2011-09-06 Ulrich Drepper <drepper@gmail.com>
24200 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
24202 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
24204 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
24205 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
24206 syscall if possible.
24208 2011-09-05 Ulrich Drepper <drepper@gmail.com>
24210 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
24211 e_ident. Don't pass to find_mapsXX.
24212 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
24214 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24216 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24217 strchr-sse2-no-bsf strrchr-sse2-no-bsf
24218 * sysdeps/x86_64/multiarch/strchr.S: Update.
24219 Check bit_slow_BSF bit.
24220 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
24221 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
24222 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
24224 2011-09-05 Ulrich Drepper <drepper@gmail.com>
24227 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
24229 (tryshell): Define.
24230 (__spawni): Change last parameter to be flag. Test
24231 SPAWN_XFLAGS_USE_PATH flag to use path or not.
24232 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
24233 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
24234 * posix/spawni.c: Likewise.
24235 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
24236 * posix/spawnp.c: Likewise. Change normal version to use
24237 SPAWN_XFLAGS_USE_PATH.
24238 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
24239 SPAWN_XFLAGS_TRY_SHELL.
24242 * posix/glob.h: Remove gcc 1.x support.
24245 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
24247 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24249 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24250 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
24252 * sysdeps/i386/i686/multiarch/strchr.S: New file.
24253 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
24254 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
24255 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
24256 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
24257 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
24259 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24261 * sysdeps/x86_64/wcscmp.S: New file.
24263 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
24264 wcscmp-c wcscmp-sse2
24265 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
24266 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
24267 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
24268 * wcsmbs/wcscmp.c: Allow renaming.
24270 2011-09-05 David S. Miller <davem@davemloft.net>
24272 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
24273 stack slot, rather than the struct return pointer slot.
24274 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
24275 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
24276 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
24277 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
24279 2011-09-05 Ulrich Drepper <drepper@gmail.com>
24281 * po/ja.po: Update from translation team.
24284 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
24285 kernel in 64-bit binaries.
24287 2011-09-01 David S. Miller <davem@davemloft.net>
24289 * elf/elf.h (HWCAP_SPARC_*): Move to..
24290 * sysdeps/sparc/sysdep.h: this new file and add new values.
24291 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
24292 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
24293 _DL_HWCAP_COUNT to 24.
24294 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
24296 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
24297 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
24298 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
24299 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
24300 instead of magic constants.
24301 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
24303 2011-08-31 David S. Miller <davem@davemloft.net>
24305 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
24306 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
24307 Reimplement to do errno handling inline.
24308 (SYSCALL_ERROR_HANDLER): New macro.
24309 (__SYSCALL_STRING): Do not do errno handling in asm.
24310 (__CLONE_SYSCALL_STRING): Delete.
24311 (__INTERNAL_SYSCALL_STRING): Delete.
24312 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
24313 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
24314 (PSEUDO): Reimplement to do errno handling inline.
24315 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
24316 (SYSCALL_ERROR_HANDLER): New macro.
24317 (__SYSCALL_STRING): Do not do errno handling in asm.
24318 (__CLONE_SYSCALL_STRING): Delete.
24319 (__INTERNAL_SYSCALL_STRING): Delete.
24320 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
24321 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
24323 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
24324 (inline_syscall*): Add 'err' argument.
24325 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
24326 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
24327 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
24328 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
24330 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
24331 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
24333 2011-08-30 Andreas Schwab <schwab@redhat.com>
24335 * elf/rtld.c (dl_main): Relocate objects in dependency order.
24337 2011-08-29 Jiri Olsa <jolsa@redhat.com>
24339 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
24342 2011-08-24 David S. Miller <davem@davemloft.net>
24344 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
24346 2011-08-24 Andreas Schwab <schwab@redhat.com>
24348 * elf/Makefile: Add rules to build and run unload8 test.
24349 * elf/unload8.c: New file.
24350 * elf/unload8mod1.c: New file.
24351 * elf/unload8mod1x.c: New file.
24352 * elf/unload8mod2.c: New file.
24353 * elf/unload8mod3.c: New file.
24355 * elf/dl-close.c (_dl_close_worker): Reset private search list if
24358 2011-08-23 David S. Miller <davem@davemloft.net>
24360 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
24361 subtract stack bias.
24362 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
24363 %sp not %fp in calculations.
24364 (_JMPBUF_UNWINDS_ADJ): Likewise.
24366 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
24367 (aio_suspend): Call it to force an exception region around the
24368 AIO_MISC_WAIT() invocation.
24370 2011-08-23 Andreas Schwab <schwab@redhat.com>
24372 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
24375 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
24377 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
24379 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
24380 and <dl-machine.h>.
24381 (Elf64_FuncDesc): Remove.
24383 2011-08-22 David S. Miller <davem@davemloft.net>
24385 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
24386 sigaltstack check, add missing cfi directives.
24387 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
24388 missing cfi directives, and sigaltstack handling.
24390 2011-08-16 Andreas Schwab <schwab@redhat.com>
24393 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
24394 object is seen twice.
24395 * elf/dl-fini.c (_dl_sort_fini): Likewise.
24397 * elf/Makefile (distribute): Add tst-initorder2.c.
24398 (tests): Add tst-initorder2.
24399 (modules-names): Add tst-initorder2a tst-initorder2b
24400 tst-initorder2c tst-initorder2d. Add rules to build them.
24401 ($(objpfx)tst-initorder2.out): New rule.
24402 * elf/tst-initorder2.c: New file.
24403 * elf/tst-initorder2.exp: New file.
24405 2011-08-22 Andreas Schwab <schwab@redhat.com>
24407 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
24409 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
24410 dependencies back to end of function.
24412 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
24413 $(elfobjdir)/ld.so.
24415 2011-08-21 Ulrich Drepper <drepper@gmail.com>
24417 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
24418 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
24419 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
24420 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
24421 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
24422 of __vdso_gettimeofday.
24423 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
24424 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
24426 (_libc_vdso_platform_setup): Remove initialization of
24427 __vdso_gettimeofday and __vdso_time.
24429 2011-08-20 Ulrich Drepper <drepper@gmail.com>
24431 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
24432 and fgetc_unlocked.
24433 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
24436 * elf/dl-open.c (add_to_global): Report additions to the global scope
24437 for LD_DEBUG=scopes.
24438 (dl_open_worker): Also print scope of newly loaded dependencies.
24439 (_dl_show_scope): Indicate if there is no scope.
24442 * stdio-common/Makefile (tests): Add bug24.
24443 * stdio-common/bug24.c: New file.
24445 2011-08-19 Andreas Jaeger <aj@suse.de>
24448 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
24449 non-existant file when using close-on-exec mode.
24451 2011-08-20 Ulrich Drepper <drepper@gmail.com>
24453 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
24454 the very first instruction.
24456 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
24457 the CFI state in the end.
24458 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
24459 inclusion of dl-trampoline.h.
24460 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
24462 2011-08-19 Andreas Schwab <schwab@redhat.com>
24464 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
24465 expectations for long double.
24467 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
24468 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
24470 2011-08-14 David S. Miller <davem@davemloft.net>
24472 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
24473 artificual limit depends upon the system page size.
24475 2011-08-17 Ulrich Drepper <drepper@gmail.com>
24477 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
24478 * resolv/Makefile: Define CFLAGS-libresolv.
24480 2011-08-17 Andreas Schwab <schwab@redhat.com>
24482 * nss/makedb.c (compute_tables): Make variables used in nested
24485 2011-08-17 Ulrich Drepper <drepper@gmail.com>
24487 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
24488 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
24489 if buffer was too small.
24491 * elf/pldd.c (main): Attach to all threads in the process.
24492 Rewrite /proc handling to use *at functions.
24494 2011-08-16 Ulrich Drepper <drepper@gmail.com>
24496 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
24497 specifies first scope to show.
24498 (dl_open_worker): Update callers. Move printing scope of new
24499 object to before the relocation.
24500 * elf/rtld.c (dl_main): Update _dl_show_scope call.
24501 * sysdeps/generic/ldsodefs.h: Update declaration.
24503 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
24504 string for the scope number.
24506 2011-08-14 Ulrich Drepper <drepper@gmail.com>
24508 * nscd/servicescache.c (cache_addserv): Make sure written is always
24511 2011-08-14 Roland McGrath <roland@hack.frob.com>
24513 * sysdeps/i386/i486/bits/atomic.h
24514 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
24515 statement expression, so as to suppress "set but not used" warning.
24516 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
24518 * string/strncat.c (STRNCAT): Use prototype definition.
24520 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
24521 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
24523 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
24524 (localedef-modules): Add localedef.
24525 (locale-modules): Add locale.
24527 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
24528 * elf/rtld.c (dl_main): Invert order of assignment in last change,
24529 to avoid a warning.
24531 2011-08-14 David S. Miller <davem@davemloft.net>
24533 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
24534 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
24536 2011-08-13 Ulrich Drepper <drepper@gmail.com>
24538 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
24539 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
24540 * elf/rtld.c (dl_main): Set l_name of vDSO.
24541 Call _dl_show_scope when DL_DEBUG_SCOPES.
24542 (process_dl_debug): Recognize scopes flag and also set it for all.
24543 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
24544 Declare _dl_show_scope.
24546 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
24547 (do_dlopen): Pass caller_dlopen to dl_open.
24548 (__libc_dlopen_mode): Initialize caller_dlopen.
24550 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
24551 of libc. Make tolower call locale-independent. Optimize a bit by
24552 using isdigit instead of isalnum.
24553 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
24555 2011-08-12 Ulrich Drepper <drepper@gmail.com>
24557 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
24558 was a dependency or dynamically loaded.
24560 2011-08-11 Ulrich Drepper <drepper@gmail.com>
24562 * intl/l10nflist.c: Allow architecture-specific pop function.
24563 * sysdeps/x86_64/l10nflist.c: New file.
24565 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
24568 2011-08-10 Andreas Schwab <schwab@redhat.com>
24570 * include/dirent.h: Add libc_hidden_proto for scandirat and
24571 scandirat64. Don't declare __scandirat64.
24572 * dirent/scandirat.c: Add libc_hidden_def.
24573 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
24574 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
24576 2011-08-10 David S. Miller <davem@davemloft.net>
24578 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
24580 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
24581 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
24582 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
24584 2011-08-09 Ulrich Drepper <drepper@gmail.com>
24586 * Versions.def [libc]: Add GLIBC_2.15.
24587 * dirent/Makefile (routines): Add scandirat and scandirat64.
24588 * dirent/Versions [libc]: Export scandirat and scandirat64 for
24590 * dirent/dirent.h: Declare scandirat and scandirat64.
24591 * dirent/scandirat.c: New file.
24592 * dirent/scandirat64.c: New file.
24593 * sysdeps/wordsize-64/scandirat.c: New file.
24594 * sysdeps/wordsize-64/scandirat64.c: New file.
24595 * dirent/opendir.c: Define opendirat.
24596 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
24598 * dirent/scandir64.c: Adjust for scandir.c change.
24599 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
24600 __scandirat64, and __scandir_cancel_handler.
24601 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
24602 additional parameter and use openat instead of open (outside of ld.so).
24603 Add new __opendir as wrapper around __opendirat.
24604 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
24605 here without requiring old scandirat implementation.
24607 2011-08-08 Ulrich Drepper <drepper@gmail.com>
24609 * dirent/scandir.c (cancel_handler): Renamed to
24610 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
24611 defined. Adjust users.
24612 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
24613 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
24615 2011-08-04 Ulrich Drepper <drepper@gmail.com>
24617 * string/test-string.h (IMPL): Use __STRING to expand name and then
24620 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
24623 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24625 * string/Makefile: Update.
24626 (strop-tests): Append strncat.
24627 * string/test-wcscmp.c: New file.
24628 New comprehensive test for wcscmp.
24629 * string/test-strcmp.c: Update.
24630 (WIDE): New define.
24632 2011-07-22 Andreas Schwab <schwab@redhat.com>
24634 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
24637 2011-07-26 Andreas Schwab <schwab@redhat.com>
24639 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
24640 encoding to ACE if AI_IDN.
24642 2011-08-01 Jakub Jelinek <jakub@redhat.com>
24644 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
24645 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
24647 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24649 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
24650 Fix overflow bug in strncat.
24651 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
24653 * string/test-strncat.c: Update.
24654 Add new tests for checking overflow bugs.
24656 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24658 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24659 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
24660 * sysdeps/i386/i686/multiarch/strcat.S: New file.
24661 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
24662 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
24663 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
24664 * sysdeps/i386/i686/multiarch/strncat.S: New file.
24665 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
24666 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
24668 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
24669 (USE_AS_STRCAT): Define.
24670 Add strcat and strncat support.
24671 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
24673 2011-07-25 Andreas Schwab <schwab@redhat.com>
24675 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
24676 __n bigger than INT_MAX+1.
24677 (__strncmp_g): Likewise.
24679 2011-07-23 Ulrich Drepper <drepper@gmail.com>
24681 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
24682 * libio/stido.h: Likewise.
24684 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
24686 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
24689 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
24690 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
24691 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
24692 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
24693 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
24696 * scripts/test-installation.pl: Don't expect libnss_test1 to be
24699 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
24701 (_dl_x86_64_save_sse): Likewise.
24703 2011-07-22 Ulrich Drepper <drepper@gmail.com>
24705 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
24707 (_dl_x86_64_save_sse): Likewise.
24709 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
24711 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
24713 2011-07-21 Andreas Schwab <schwab@redhat.com>
24715 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
24717 (_dl_x86_64_save_sse): Use correct AVX check.
24719 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24721 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
24722 bug in strncpy/strncat.
24723 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
24725 2011-07-21 Ulrich Drepper <drepper@gmail.com>
24727 * string/tester.c (test_strcat): Add tests for different alignments
24728 of source and destination.
24729 (test_strncat): Likewise.
24731 2011-07-20 Ulrich Drepper <drepper@gmail.com>
24734 * posix/glob.c (glob): Check passed in values before using them in
24735 expressions to avoid some overflows.
24736 (glob_in_dir): Likewise.
24739 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
24740 check for AVX enablement so that we don't crash with old kernels and
24742 * elf/tst-audit4.c: Add same checks here.
24743 * elf/tst-audit6.c: Likewise.
24745 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
24747 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
24749 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
24751 2011-07-20 Ulrich Drepper <drepper@gmail.com>
24753 * po/cs.po: Update from translation team.
24754 * po/bg.po: Likewise.
24756 2011-07-12 Marek Polacek <mpolacek@redhat.com>
24758 * misc/sys/cdefs.h: Add support for const attribute.
24759 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
24760 to gnu_dev_{major,minor,makedev} functions.
24762 2011-07-20 Marek Polacek <mpolacek@redhat.com>
24764 * intl/dcigettext.c (get_output_charset): Add missing bracket.
24766 2011-07-20 Andreas Schwab <schwab@redhat.com>
24768 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
24771 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24773 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
24774 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
24775 register in order to avoid conflicts with the soft frame pointer
24776 being held in r11 when necessary.
24777 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
24778 (INTERNAL_VSYSCALL_NCS): Likewise.
24780 2011-07-14 Marek Polacek <mpolacek@redhat.com>
24782 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
24783 * elf/dl-fini.c (_dl_fini): Adjust caller.
24784 * elf/dl-close.c (_dl_close_worker): Likewise.
24785 * sysdeps/generic/ldsodefs.h: Adjust declaration.
24787 2011-07-15 Marek Polacek <mpolacek@redhat.com>
24789 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
24790 "aux_cache->nlibs < 0".
24792 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
24793 in the reload-count case.
24795 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24797 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24798 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
24799 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
24800 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
24801 * sysdeps/x86_64/multiarch/strcat.S: New file.
24802 * sysdeps/x86_64/multiarch/strncat.S: New file.
24803 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
24804 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
24805 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
24806 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
24807 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
24808 (USE_AS_STRCAT): Define.
24809 Add strcat and strncat support.
24810 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
24811 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
24812 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
24813 * string/strncat.c: Update.
24814 (USE_AS_STRNCAT): Define.
24815 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24816 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
24818 * sysdeps/x86_64/multiarch/init-arch.h
24819 (bit_Prefer_PMINUB_for_stringop): New.
24820 (index_Prefer_PMINUB_for_stringop): Likewise.
24821 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
24822 bit_Prefer_PMINUB_for_stringop.
24824 2011-07-19 Ulrich Drepper <drepper@gmail.com>
24826 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
24828 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
24829 of casting of buffer.
24830 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
24831 buffer32 and buffer64.
24832 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
24833 writes instead of casting of buffer.
24834 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
24836 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
24839 2011-07-19 Andreas Schwab <schwab@redhat.com>
24841 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
24843 2011-07-19 Ulrich Drepper <drepper@gmail.com>
24845 * nscd/nscd.c (termination_handler): Don't do anything for a database
24846 if it has not yet been initialized.
24848 2011-07-18 Ulrich Drepper <drepper@gmail.com>
24850 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
24852 2011-07-15 Marek Polacek <mpolacek@redhat.com>
24854 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
24856 2011-07-18 Ulrich Drepper <drepper@gmail.com>
24858 * po/nl.po: Update from translation team.
24859 * po/sv.po: Likewise.
24861 2011-07-16 Roland McGrath <roland@hack.frob.com>
24863 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
24864 now disallowed by GCC.
24866 * configure.in (use-default-link): Default to yes if a test -shared
24867 link meets our qualifications.
24868 * configure: Regenerated.
24870 * config.make.in (output-format): New variable.
24871 * configure.in: Check for ld --print-output-format support.
24872 * configure: Regenerated.
24873 * Makerules ($(common-objpfx)format.lds)
24874 [$(output-format) != unknown]: Just use $(output-format),
24875 instead of the linker-script munging.
24877 2011-07-14 Roland McGrath <roland@hack.frob.com>
24879 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
24880 of $(common-objpfx)shlib.lds.
24881 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
24883 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
24884 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
24886 * configure.in (-z relro check): Adjust test code to add a large
24887 writable data section after it.
24888 * configure: Regenerated.
24890 2011-07-11 Roland McGrath <roland@hack.frob.com>
24892 * configure.in (-z relro check): Fix test code to make the variable
24894 * configure: Regenerated.
24896 2011-07-11 Ulrich Drepper <drepper@gmail.com>
24898 * nscd/nscd.h (struct traced_file): Define.
24899 (struct database_dyn): Remove inotify_descr, reset_res, and filename
24900 elements. Add traced_files.
24901 (inotify_fd): Declare.
24902 (register_traced_file): Declare.
24903 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
24904 (inotify_fd): Export.
24905 (resolv_conf_descr): Remove.
24906 (nscd_init): Move inotify descriptor creation to main.
24907 Don't register files for notification here.
24908 (register_traced_file): New function.
24909 (invalidate_cache): Don't use reset_res to determine whether to call
24910 res_init, go through the list of registered files.
24911 (main_loop_poll): The inotify descriptors are now stored in the
24912 structures for the traced files.
24913 (main_loop_epoll): Likewise
24914 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
24915 to __nss_disable_nscd.
24916 * nscd/cache.c (prune_cache): There is no single inotify descriptor
24917 for a database anymore. Check the records for all the registered
24919 * nss/Makefile (libnss_files-routines): Add files-init.
24920 (libnss_db-routines): Add db-init.
24921 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
24922 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
24923 * nss/nss_db/db-init.c: New file.
24924 * nss/nss_files/files-init.c: New file.
24925 * nss/nsswitch.c (nss_load_library): New function. Broken out of
24926 __nss_lookup_function.
24927 (__nss_lookup_function): Call nss_load_library.
24928 (nss_load_all_libraries): New function.
24929 (__nss_disable_nscd): Take parameter with callback function for files
24930 to register. Set is_nscd. Load all the DSOs for the NSS modules
24931 used for the cached services.
24932 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
24933 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
24934 options for features to all the files in nscd.
24936 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
24938 2011-07-10 Roland McGrath <roland@hack.frob.com>
24940 * csu/elf-init.c (__libc_csu_init): Comment typo.
24942 2011-07-09 Ulrich Drepper <drepper@gmail.com>
24944 * po/pl.po: Update from translation team.
24945 * po/ja.po: Likewise.
24946 * po/ru.po: Likewise.
24947 * po/ko.po: Likewise.
24948 * po/fr.po: Likewise.
24950 2011-07-09 Roland McGrath <roland@hack.frob.com>
24952 * configure.in (.ctors/.dtors header and trailer check):
24953 Use an empirical test on a built program.
24954 * configure: Regenerated.
24956 * configure.in (-z relro check): Use an empirical test on a built DSO.
24957 Detect, but do not require, on ia64.
24958 * configure: Regenerated.
24960 * configure.in (READELF): Find it with AC_CHECK_TOOL.
24961 Update tests that use readelf to use $READELF instead.
24962 * configure: Regenerated.
24964 2011-07-08 Ulrich Drepper <drepper@gmail.com>
24966 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
24967 if the result is not used.
24969 2011-07-05 Andreas Jaeger <aj@suse.de>
24972 * stdlib/tst-strtod.c: Add testcase.
24974 2011-07-07 Ulrich Drepper <drepper@gmail.com>
24976 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
24977 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
24978 The latter has a higher limit. Take additional parameter to pass to
24980 (__pathconf): Pass file to __statfs_link_max.
24981 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
24983 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
24987 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
24988 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
24990 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
24991 (__statfs_filesize_max): Likewise.
24992 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
24994 2011-07-05 Andreas Jaeger <aj@suse.de>
24996 * resolv/res_comp.c (dn_skipname): Remove unused variable.
24998 2011-07-06 Marek Polacek <mpolacek@redhat.com>
25000 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
25002 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
25005 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
25007 * Makefile (strop-tests): Add strncat.
25008 * string/test-strncat.c: New file.
25010 2011-06-30 Marek Polacek <mpolacek@redhat.com>
25012 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
25014 2011-06-21 Andreas Jaeger <aj@suse.de>
25016 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
25017 Copy rule from iconvdata/Makefile.
25019 2011-07-06 Ulrich Drepper <drepper@gmail.com>
25022 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
25023 but no long options are defined, just return 'W'.
25025 2011-06-22 Marek Polacek <mpolacek@redhat.com>
25028 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
25030 2011-07-06 Ulrich Drepper <drepper@gmail.com>
25032 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
25034 (innetgr): Likewise.
25036 2011-07-05 Roland McGrath <roland@hack.frob.com>
25038 * config.make.in (install_root): Default to $(DESTDIR).
25040 2011-07-05 Ulrich Drepper <drepper@gmail.com>
25042 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
25044 2011-07-02 Roland McGrath <roland@hack.frob.com>
25046 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
25048 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
25049 containing directory rather than embedding absolute directory names.
25051 * scripts/check-local-headers.sh: Rewritten using awk.
25052 Match by word, not by line. Print error messages for matches.
25053 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
25055 * Makerules [shlib-lds-flags empty]:
25056 ($(common-objpfx)libc_pic.opts): New target.
25057 ($(common-objpfx)libc_pic.os.clean): New target.
25058 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
25060 * config.make.in (OBJCOPY): New variable.
25061 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
25062 * configure: Regenerated.
25064 * config.make.in (use-default-link): New variable.
25065 * configure.in (use_default_link): Grok --with-default-link to set it.
25066 * configure: Regenerated.
25067 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
25068 (shlib-lds, shlib-lds-flags): Define to empty.
25070 * Makerules (shlib-lds): New variable.
25071 (shlib-lds-flags): New variable.
25072 (build-shlib, build-moduile, build-module-asneeded): Use it.
25073 ($(common-objpfx)libc.so): Use $(shlib-lds).
25074 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
25075 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
25077 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
25078 DT_FLAGS/DT_FLAGS_1 with zero flags.
25080 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
25081 linker script munging.
25083 2011-07-02 Ulrich Drepper <drepper@gmail.com>
25085 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
25087 * crypt/sha512.c (sha512_process_block): Perform total addition using
25088 128-bit if possible.
25089 (__sha512_finish_ctx): Likewise.
25090 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
25092 * crypt/sha256.c (SWAP64): Define.
25093 (sha256_process_block): Perform total addition using 64-bit if
25095 (__sha256_finish_ctx): Likewise.
25097 2011-07-01 Ulrich Drepper <drepper@gmail.com>
25099 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
25100 * nscd/initgrcache.c (addinitgroupsX): Likewise.
25101 * nscd/hstcache.c (cache_addhst): Likewise.
25102 * nscd/grpcache.c (cache_addgr): Likewise.
25103 * nscd/aicache.c (addhstaiX): Likewise
25104 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
25106 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
25108 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
25109 * nscd/initgrcache.c (addinitgroupsX): Likewise.
25110 * nscd/hstcache.c (cache_addhst): Likewise.
25111 * nscd/grpcache.c (cache_addgr): Likewise.
25112 * nscd/aicache.c (addhstaiX): Likewise
25114 2011-07-01 Andreas Schwab <schwab@redhat.com>
25116 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
25117 domain only when needed.
25119 2011-06-30 Andreas Schwab <schwab@redhat.com>
25121 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
25122 is always restored.
25124 2011-06-29 Ulrich Drepper <drepper@gmail.com>
25126 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
25127 are re-adding the entry.
25128 * nscd/servicescache.c (cache_addserv): Likewise.
25130 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
25132 * sysdeps/generic/dl-irel.h: fix protection against multiple
25134 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
25136 2011-06-28 Ulrich Drepper <drepper@gmail.com>
25139 * malloc/memusage.sh: Fix quoting in message.
25140 * debug/xtrace.sh: Likewise.
25142 * configure.in: Remove support for --experimental-malloc option, make
25144 * config.make.in: Likewise.
25145 * malloc/Makefile: Likewise.
25147 2011-06-27 Andreas Schwab <schwab@redhat.com>
25149 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
25150 two-byte characters.
25152 2011-06-27 Roland McGrath <roland@hack.frob.com>
25154 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
25155 AC_CACHE_CHECK invocation.
25156 * configure: Regenerated.
25158 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
25160 2011-06-27 Ulrich Drepper <drepper@gmail.com>
25163 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
25164 bit from old_res_options.
25166 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
25168 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
25169 value type for setfct.
25171 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
25173 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
25174 __gettimeofday instead of gettimeofday.
25176 2011-06-26 Ulrich Drepper <drepper@gmail.com>
25178 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
25180 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
25182 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
25184 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
25187 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
25189 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25190 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
25191 strcpy-sse2-unaligned strncpy-sse2-unaligned
25192 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
25193 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
25194 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
25195 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
25196 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
25197 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
25198 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
25199 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
25200 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
25201 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
25202 (STRCPY): Support SSE2 and SSSE3 versions.
25204 2011-06-24 Ulrich Drepper <drepper@gmail.com>
25207 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
25208 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
25209 kernels which artificially limit size of requests.
25211 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
25213 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25214 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
25215 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
25216 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
25217 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
25218 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
25219 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
25220 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
25221 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
25222 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
25223 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
25224 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
25225 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
25226 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
25227 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
25228 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25229 Enable unaligned load optimization for Intel Core i3, i5 and i7
25231 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
25233 (index_Fast_Unaligned_Load): Define.
25234 (HAS_FAST_UNALIGNED_LOAD): Define.
25236 2011-06-23 Marek Polacek <mpolacek@redhat.com>
25238 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
25240 2011-06-22 Ulrich Drepper <drepper@gmail.com>
25243 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
25244 until it is clear that the information is realy needed.
25245 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
25247 2011-06-22 Andreas Schwab <schwab@redhat.com>
25249 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
25251 2011-06-22 Ulrich Drepper <drepper@gmail.com>
25253 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
25254 /sys/devices/system/cpu/online if it is usable.
25256 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
25257 reading the information from the /proc filesystem to once a second.
25259 2011-06-21 Andreas Jaeger <aj@suse.de>
25261 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
25262 NULL after inclusion of kernel headers.
25264 2011-06-21 Ulrich Drepper <drepper@gmail.com>
25266 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
25267 calls to internal_setent.
25270 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
25271 addresses using gethostbyname4_r ignore IPv4 addresses.
25273 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
25274 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
25276 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
25278 2011-06-20 David S. Miller <davem@davemloft.net>
25280 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
25282 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
25284 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
25285 (elf_irel): Use it.
25286 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
25287 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
25288 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
25289 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
25290 * sysdeps/x86_64/dl-irel.h: Likewise.
25292 * elf/dl-runtime.c: Use elf_ifunc_invoke.
25293 * elf/dl-sym.c: Likewise.
25295 2011-06-15 Ulrich Drepper <drepper@gmail.com>
25297 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
25298 need to dereference resplen2.
25300 2011-06-14 Andreas Schwab <schwab@redhat.com>
25302 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
25304 2011-06-15 Ulrich Drepper <drepper@gmail.com>
25306 * Makeconfig: Define vardbdir and inst_vardbdir.
25307 * nss/Makefile: Add rules to install db-Makefile.
25309 * nss/nss_db/db-XXX.c: Cleanup.
25311 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
25312 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
25314 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
25315 * nss/makedb.c: Implement -g option to specify that value strings
25316 are generated and should not be added to table iterated over for
25318 * nss/nss_db/db-initgroups.c: New file.
25320 * nss/getent.c: Add support for initgroups lookups through getgrouplist
25323 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
25324 (internal_getgrouplist): Adjust to name change.
25325 Update use_initgroups_entry if this is not the first call.
25326 * nss/databases.def: Add initgroups entry.
25328 * nss/makedb.c (compute_tables): Check result of multiple hash table
25329 sizes to minimize maximum chain length.
25331 2011-06-14 Ulrich Drepper <drepper@gmail.com>
25333 * Versions.def: Add entry for libnss_db.
25334 * shlib-versions: Likewise.
25335 * nss/Makefile: Add rules to build libnss_db.
25336 * nss/Versions: Add libnss_db information. Organize libnss_files
25338 * nss/db-Makefile: Add gshadow support. Change rules for the new
25339 makedb progra. Some minor improvements to generate smaller files.
25340 * nss/nss_db/nss_db.h: Move NSS database header data structures to
25342 * nss/makedb.c: ...here.
25343 Improve database format to be smaller and require less memory at
25345 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
25347 * nss/nss_db/db-netgrp.c: Likewise.
25348 * nss/nss_db/db-open.c: Likewise.
25349 * nss/nss_files/flies-XXX.x: Adjust comments.
25350 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
25351 * nss/nss_files/files-grp.c: Likewise.
25352 * nss/nss_files/files-hosts.c: Likewise.
25353 * nss/nss_files/files-network.c: Likewise.
25354 * nss/nss_files/files-proto.c: Likewise.
25355 * nss/nss_files/files-pwd.c: Likewise.
25356 * nss/nss_files/files-rpc.c: Likewise.
25357 * nss/nss_files/files-service.c: Likewise.
25358 * nss/nss_files/files-sgrp.c: Likewise.
25359 * nss/nss_files/files-spwd.c: Likewise.
25360 * nss/nss_db/db-alias.c: Removed.
25361 * nss/nss_db/dummy-db.h: Removed.
25363 2011-06-02 Ulrich Drepper <drepper@gmail.com>
25365 * nss/makedb.c: Rewritten to not use database library.
25366 * nss/Makefile: Update to build new makedb program.
25368 2011-06-14 Andreas Jaeger <aj@suse.de>
25370 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
25371 memset declaration.
25373 2011-06-10 Andreas Schwab <schwab@redhat.com>
25375 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
25378 2011-06-10 Roland McGrath <roland@hack.frob.com>
25380 * Makerules (shlib.lds): Fail if the linker script comes out empty.
25381 * elf/Makefile ($(objpfx)ld.so): Likewise.
25383 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
25384 Don't list ld.so twice in dependencies.
25386 * posix/bug-regex31.c: Include <stdlib.h>.
25388 * nscd/hstcache.c (cache_addhst): Remove unused variable.
25390 * nis/nss_compat/compat-spwd.c
25391 (getspent_next_nss_netgr): Remove unused variable.
25392 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
25394 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
25395 nonmembers" output to use the right array.
25397 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
25399 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
25401 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
25402 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
25403 * catgets/gencat.c (read_input_file): Likewise.
25404 * locale/programs/locarchive.c (enlarge_archive): Likewise.
25406 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
25407 variable definition inside #if's controlling its use.
25409 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
25411 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
25413 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
25415 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
25418 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
25420 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
25421 * configure: Regenerated.
25423 * Makerules: Revert last change.
25424 * elf/Makefile: Likewise.
25426 2011-06-09 Roland McGrath <roland@hack.frob.com>
25428 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
25429 * elf/Makefile ($(objpfx)librtld.os): Likewise.
25430 (reloc-link): Likewise.
25432 2011-06-09 Ulrich Drepper <drepper@gmail.com>
25434 * elf/Makefile: Add rules to build pldd.
25435 * elf/pldd.c: New file.
25436 * elf/pldd-xx.c: New file.
25438 2011-06-07 Ulrich Drepper <drepper@gmail.com>
25440 * version.h: Update for 2.15 development version.
25442 2011-06-07 David S. Miller <davem@davemloft.net>
25444 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
25446 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
25447 elf_machine_lazy_rel): Likewise.
25448 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
25449 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
25450 elf_machine_lazy_rel): Likewise.
25451 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
25452 dl_hwcap via passed in argument.
25453 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
25456 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25458 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
25460 2011-06-06 Roland McGrath <roland@hack.frob.com>
25463 * manual/fdl-1.1.texi: New file, verbatim from:
25464 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
25465 * manual/lgpl-2.1.texi: New file, verbatim from:
25466 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
25467 * manual/Makefile (licenses): New variable, list those new file names.
25469 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
25471 * manual/fdl.texi: File removed.
25472 * manual/lesser.texi: File removed.
25473 * manual/libc.texinfo (Copying, Documentation License):
25474 Use new @include file names, put @appendix directive before @include.
25476 2011-06-04 Jakub Jelinek <jakub@redhat.com>
25479 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
25480 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
25481 (mq_open): Add __NTH.
25483 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
25485 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25486 Assume Intel Core i3/i5/i7 processor if AVX is available.
25488 2011-05-31 Ulrich Drepper <drepper@gmail.com>
25490 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
25493 2011-05-31 Andreas Schwab <schwab@redhat.com>
25495 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
25496 memory. Use alloca_account. Fix memory leak when retrying.
25498 2011-05-31 Ulrich Drepper <drepper@gmail.com>
25500 * version.h (RELEASE): Bump for 2.14 release.
25501 * include/features.h (__GLIBC_MINOR__): Bump to 14.
25503 * config.make.in (RANLIB): Remove entry.
25505 2011-05-30 Ulrich Drepper <drepper@gmail.com>
25507 * po/Makefile (po-sed-cmd): Add ksh to extensions.
25508 (libc.pot): Work around missing support for .ksh extension in xgettext.
25511 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
25512 if both request failed.
25513 (send_dg): In case of server errors clear resplen or *resplen2.
25516 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
25517 when there are multiple maps.
25518 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
25519 (_dl_fini): Remove test here.
25521 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
25523 2011-05-29 Ulrich Drepper <drepper@gmail.com>
25526 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
25527 bit from old_res_options.
25528 (gaih_inet): Likewise.
25531 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
25534 * resolv/res_init.c (res_setoptions): Make the code more compact.
25537 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
25541 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
25543 * malloc/malloc.h: Mark malloc hook variables as deprecated.
25546 * malloc/malloc.h: Declare malloc hook variables as volatile.
25548 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
25552 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
25553 raise in the comment.
25554 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
25555 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
25556 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
25558 2011-05-28 Ulrich Drepper <drepper@gmail.com>
25561 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
25562 grow the buffers more if it already has to be sufficient.
25563 (build_wcs_upper_buffer): Likewise.
25564 * posix/regexec.c (check_matching): Likewise.
25565 (clean_state_log_if_needed): Likewise.
25566 (extend_buffers): Don't enlarge buffers beyond size of the input
25568 Patches mostly by Emil Wojak <emil@wojak.eu>.
25569 * posix/bug-regex32.c: New file.
25570 * posix/Makefile (tests): Add bug-regex32.
25572 * locale/findlocale.c (_nl_find_locale): Return right away if
25573 _nl_explode_name failed.
25574 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
25576 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
25578 * debug/xtrace.sh: Unify messages.
25579 * malloc/memusage.sh: Likewise.
25582 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
25583 time symbol from vDSO. Substitute with vsyscall if not available.
25584 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
25587 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
25588 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
25589 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
25590 Add sendmmsg and internal_sendmmsg.
25591 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
25592 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
25593 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
25595 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
25596 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
25597 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
25599 2011-05-27 Ulrich Drepper <drepper@gmail.com>
25602 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
25603 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
25605 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
25609 * iconvdata/Makefile (tests): Add bug-iconv9.
25610 * iconvdata/bug-iconv9.c: New file.
25612 2011-05-27 Andreas Schwab <schwab@redhat.com>
25615 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
25617 2011-05-25 Jakub Jelinek <jakub@redhat.com>
25619 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
25620 (struct user_regs_struct): Change intcs field back to cs.
25622 2011-05-25 Ulrich Drepper <drepper@gmail.com>
25624 * po/ja.po: Update from translation team.
25626 2011-05-23 Ulrich Drepper <drepper@gmail.com>
25629 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
25630 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
25632 2011-05-20 Andreas Schwab <schwab@redhat.com>
25634 * stdlib/longlong.h: Update from GCC.
25636 2011-05-23 Andreas Schwab <schwab@redhat.com>
25638 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
25640 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
25641 Add parameter name.
25642 (__sysconf): Pass it down.
25644 2011-05-22 Ulrich Drepper <drepper@gmail.com>
25647 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
25649 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
25650 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
25651 add in in __libc_use_alloca calls. Adjust callers.
25652 (glob): Use malloc in some situations.
25654 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
25655 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
25658 2011-05-21 Ulrich Drepper <drepper@gmail.com>
25660 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
25661 and CLOCK_BOOTTIME_ALARM.
25664 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
25667 * string/_strerror.c (__strerror_r): Print negative errors as signed
25671 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
25672 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
25673 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
25675 * configure.in: Fix typo in redirection and correct removal of test
25676 files in two cases.
25679 * locale/setlocale.c (new_composite_name): Fix test to check for
25680 identical name of all categories.
25683 * libio/filedoalloc.c (local_isatty): New function.
25684 (_IO_file_doallocate): Use local_isatty.
25685 * stdio-common/perror.c (perror): In case a new stream is used
25686 forward the stream error.
25687 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
25690 2011-05-20 Ulrich Drepper <drepper@gmail.com>
25693 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
25695 * include/alloca.h (extend_alloca_account): Define.
25698 * posix/regex.h: Fix comments with documentation of user-accessible
25699 fields after compilation and describe correct free'ing of pattern
25700 after re_compile_pattern.
25701 Patch by Reuben Thomas <rrt@sc3d.org>.
25703 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
25705 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
25706 and -mno-altivec to prevent the compiler from using Altivec and/or
25707 VSX instructions when the corresponding registers are not available.
25709 2011-05-19 Andreas Schwab <schwab@redhat.com>
25711 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
25713 2011-05-19 Ulrich Drepper <drepper@gmail.com>
25715 * libio/freopen.c (freopen): Use __dup2, not dup2.
25716 * libio/freopen64.c (freopen64): Likewise.
25718 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
25721 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
25722 * math/Makefile (tests): Add test-powl.
25723 (CFLAGS-test-powl.c): Define.
25724 * math/test-powl.c: New file.
25726 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
25728 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
25730 2011-05-17 Ulrich Drepper <drepper@gmail.com>
25733 * iconvdata/gb18030.c: Update to GB18020-2005.
25735 2011-05-16 Ulrich Drepper <drepper@gmail.com>
25737 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
25738 RE_SYNTAX_POSIX_AWK): Update to match recent development.
25739 Patch by Aharon Robbins <arnold@skeeve.com>.
25742 * stdlib/putenv.c (putenv): Don't always create copy of the variable
25746 * misc/pselect.c (__pselect): Handle timeout value errors hidden
25747 through underflows.
25750 * misc/error.c (error_at_line): Ensure file_name and old_file_name
25751 point to strings before performing equality test for error_one_per_line
25755 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
25758 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
25759 (struct user_fpregs_struct): Avoid __uint*_t types.
25762 * malloc/mtrace.c (tr_where): Add additional parameter to point to
25763 symbol info. Use it instead of calling _dl_addr locally.
25764 (lock_and_info): New function.
25765 (tr_freehook): Call lock_and_info and pass symbol info as additional
25766 parameter to tr_where.
25767 (tr_mallochook): Likewise.
25768 (tr_reallochook): Likewise.
25769 (tr_memalignhook): Likewise.
25771 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
25772 used and couldn't be at all thread-safe.
25774 2011-05-15 Ulrich Drepper <drepper@gmail.com>
25776 * libio/freopen.c (freopen): Don't close old file descriptor
25777 before the new one is opened. Instead dup the new file descriptor
25778 to the old one after the new stream is created.
25779 * libio/freopen64.c (freopen64): Likewise.
25780 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
25781 * libio/fileops.c (_IO_new_file_close_it): Handle new
25782 _IO_FLAGS2_NOCLOSE flag.
25783 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
25784 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
25785 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
25786 _IO_FLAGS2_NOCLOSE flag.
25787 * include/unistd.h: Add hidden_proto for dup3.
25788 Define __have_dup3.
25789 * io/dup3.c: Define hidden symbol.
25790 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
25793 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
25794 when an incomplete long option is used.
25795 * posix/tst-getopt_long1.c: New file.
25796 * posix/Makefile (tests): Add tst-getopt_long1.
25799 * scripts/config.guess: Update from autoconf-2.68.
25800 * scripts/config.sub: Likewise.
25803 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
25805 (has_cpuclock): ...this. New function.
25806 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
25807 macro here based on has_cpuclock code.
25810 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25811 First byte (not low byte) is now always NUL.
25812 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
25814 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25815 Use non-cancelable interfaces.
25818 * locale/iso-639.def: Add entry for Sorani.
25821 * include/stdlib.h: Move include protection to the right place.
25822 Define abort_msg_s. Declare __abort_msg with it.
25823 * stdlib/abort.c (__abort_msg): Adjust type.
25824 * assert/assert.c (__assert_fail_base): New function. Majority
25825 of code from __assert_fail. Allocate memory for __abort_msg with
25827 (__assert_fail): Now call __assert_fail_base.
25828 * assert/assert-perr.c: Remove bulk of implementation. Use
25829 __assert_fail_base.
25830 * include/assert.hL Declare __assert_fail_base.
25831 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
25833 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
25835 2011-05-14 Ulrich Drepper <drepper@gmail.com>
25839 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
25840 until all modules are registered in the DTV.
25841 * elf/Makefile: Add rules to build and run tst-tls19.
25842 * elf/tst-tls19.c: New file.
25843 * elf/tst-tls19mod1.c: New file.
25844 * elf/tst-tls19mod2.c: New file.
25845 * elf/tst-tls19mod3.c: New file.
25846 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
25849 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
25853 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
25854 two-byte sequence errors.
25855 * iconvdata/Makefile (tests): Add bug-iconv8.
25856 * iconvdata/bug-iconv8.c: New file.
25859 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
25862 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
25865 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
25866 (dummy_getcfa): New function.
25867 (init): Get _Unwind_GetCFA address, use dummy if not found.
25868 (backtrace_helper): In recursion check, also check whether CFA changes.
25869 (__backtrace): Completely initialize arg.
25871 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
25872 storing incomplete byte sequence in state object. Avoid testing for
25873 guaranteed too small input if we know there is enough data available.
25875 2011-05-11 Andreas Schwab <schwab@redhat.com>
25877 * Makeconfig (+link-pie): Indent.
25878 * Rules (binaries-pie): Define if $(have-fpie) and
25880 (binaries-shared): Also filter out $(binaries-pie).
25881 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
25882 * nscd/Makefile (others-pie): Add nscd.
25883 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
25884 ($(objpfx)nscd): Remove command override.
25885 * login/Makefile (others-pie): Add pt_chown.
25886 ($(objpfx)pt_chown): Remove command override.
25887 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
25888 remove command overrides.
25890 2011-05-13 Ulrich Drepper <drepper@gmail.com>
25892 * libio/tst_putwc.c: Fix error messages.
25895 * libio/fileops.c (_IO_new_file_close_it): Always flush when
25896 currently writing and seek to current position when not.
25897 * libio/Makefile (tests): Add bug-fclose1.
25898 * libio/bug-fclose1.c: New file.
25900 2011-05-12 Ulrich Drepper <drepper@gmail.com>
25903 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
25904 don't set DF_1_NODELETE here.
25905 (do_lookup_x): When entering new entry test for copy relocation
25906 and if necessary set DF_1_NODELETE flag.
25907 * elf/tst-unique4.cc: New file.
25908 * elf/tst-unique4.h: New file.
25909 * elf/tst-unique4lib.cc: New file.
25910 * elf/Makefile: Add rules to build and run tst-unique4.
25911 Patch by Piotr Bury <pbury@goahead.com>.
25913 2011-05-11 Ulrich Drepper <drepper@gmail.com>
25916 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
25919 * misc/mntent_r.c (addmntent): Flush the stream after the output
25922 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
25923 (is_trusted_path_normalize): Skip initial colon. Append slash
25924 to empty buffer. Duplicate is_trusted_path code but allow
25925 constructed patch to be prefix.
25926 (is_dst): Allow $ORIGIN followed by /.
25927 (_dl_dst_substitute): Correct clearing of check_for_trusted.
25928 Correct testing of result of is_trusted_path_normalize
25929 (decompose_rpath): Fix warning.
25931 2011-05-10 Ulrich Drepper <drepper@gmail.com>
25934 * grp/initgroups.c (internal_getgrouplist): When we found the service
25935 list through the initgroups entry in nsswitch.conf do not always
25936 continue on a successful lookup. Don't always use the
25937 __nss_group_database value if it is set.
25938 * nss/nsswitch.conf (initgroups): Change action for successful db
25939 lookup to continue for compatibility.
25941 2011-05-09 Ulrich Drepper <drepper@gmail.com>
25944 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
25946 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
25948 * iconvdata/tst-tables.sh: Likewise.
25949 * iconvdata/cp770.c: New file.
25950 * iconvdata/cp771.c: New file.
25951 * iconvdata/cp772.c: New file.
25952 * iconvdata/cp773.c: New file.
25953 * iconvdata/cp774.c: New file.
25954 * iconvdata/testdata/CP770: New file.
25955 * iconvdata/testdata/CP770..UTF8: New file.
25956 * iconvdata/testdata/CP771: New file.
25957 * iconvdata/testdata/CP771..UTF8: New file.
25958 * iconvdata/testdata/CP772: New file.
25959 * iconvdata/testdata/CP772..UTF8: New file.
25960 * iconvdata/testdata/CP773: New file.
25961 * iconvdata/testdata/CP773..UTF8: New file.
25962 * iconvdata/testdata/CP774: New file.
25963 * iconvdata/testdata/CP774..UTF8: New file.
25965 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
25967 * iconvdata/gen-8bit-gap.sh: Likewise.
25968 * iconvdata/gen-8bit.sh: Likewise.
25970 * locale/iso-639.def: Add ary entry.
25973 * locale/C-translit.h.in: Add U20A1 transliteration.
25976 * locale/iso-639.def: Add wae entry.
25977 Patch by Kevin Bortis <bortis@translate-wae.ch>.
25980 * locale/programs/localedef.c (construct_output_path): Use ssize_t
25984 * locale/C-translit.h.in: Add entry for U20B9.
25985 Patch by pravin.d.s@gmail.com.
25987 2011-05-08 Ulrich Drepper <drepper@gmail.com>
25990 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
25991 ENAMETOOLONG use generic getcwd.
25992 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
25993 in rtld. Use *stat64.
25994 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
25995 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
25996 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
25997 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
25998 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
25999 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
26000 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
26001 __fstatat64 macros.
26002 * include/dirent.h: Add libc_hidden_proto for rewinddir.
26003 * dirent/rewinddir.c: Add libc_hidden_def.
26004 * sysdeps/mach/hurd/rewinddir.c: Likewise.
26005 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
26007 * include/dirent.h (__alloc_dir): Add flags parameter.
26008 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
26009 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
26011 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
26012 from fdopendir if O_CLOEXEC is already set.
26014 2011-03-15 Alan Modra <amodra@gmail.com>
26016 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
26017 l_tls_firstbyte_offset non-zero. Save padding offset in
26018 l_tls_firstbyte_offset for later use.
26019 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
26020 freeing static tls block.
26022 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
26024 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
26025 where #ifdef was intended. The intent is to prevent ARG_MAX from
26026 being defined by the kernel headers.
26028 2011-05-07 Ulrich Drepper <drepper@gmail.com>
26031 * resolv/resolv.h: Define RES_NOTLDQUERY.
26032 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
26033 no-tld-query and set RES_NOTLDQUERY.
26034 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
26035 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
26036 modern BIND to search name as TLD unless forbidden.
26038 2011-05-07 Petr Baudis <pasky@suse.cz>
26039 Ulrich Drepper <drepper@gmail.com>
26042 * elf/dl-load.c (fillin_rpath): Move trusted path check...
26043 (is_trusted_path): ...to here.
26044 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
26045 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
26046 using is_trusted_path_normalize() in setuid scripts.
26048 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
26050 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
26051 __BEGIN/__END_DECLS.
26053 2011-05-06 Ulrich Drepper <drepper@gmail.com>
26055 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
26056 NSS_STATUS_NOTFOUND if no record was found.
26058 2011-05-05 Andreas Schwab <schwab@redhat.com>
26060 * sunrpc/Makefile (headers): Add rpc/netdb.h.
26061 (headers-not-in-tirpc): Remove rpc/netdb.h
26062 * resolv/netdb.h: Revert last change.
26064 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
26066 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
26067 circular dependency between libgcc.a and libc.a.
26069 2011-05-05 Andreas Schwab <schwab@redhat.com>
26071 * resolv/netdb.h: Don't include <rpc/netdb.h>.
26072 * nis/Makefile: Don't install rpcsvc/*.
26073 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
26074 instead of <rpc/types.h>.
26075 (MAXHOSTNAMELEN): Define.
26077 2011-05-03 Andreas Schwab <schwab@redhat.com>
26079 * elf/ldconfig.c (add_dir): Don't crash on empty path.
26081 2011-04-28 Maciej Babinski <mbabinski@google.com>
26084 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
26085 gethostbyname4_r when IPv6 results are possible.
26087 2011-05-02 Ulrich Drepper <drepper@gmail.com>
26090 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
26091 _PC_PIPE_BUF handling.
26093 2011-04-30 Bruno Haible <bruno@clisp.org>
26096 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
26097 * resolv/netdb.h (getnameinfo): Change type of flags parameter
26099 * inet/getnameinfo.c (getnameinfo): Likewise.
26101 2011-04-29 Ulrich Drepper <drepper@gmail.com>
26103 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
26104 to groups setting in database lookup.
26105 * nss/nsswitch.conf: Add initgroups entry.
26107 2011-04-22 Ulrich Drepper <drepper@gmail.com>
26110 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
26112 Patch by Eric Blake <eblake@redhat.com>.
26114 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
26116 * sunrpc/Makefile (need-export-routines): Add svc_run.
26117 (routines): Remove svc_run.
26118 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
26119 * sunrpc/clnt_perr.c (clnt_perrno): Export.
26120 * sunrpc/svc_run.c (svc_run): Likewise.
26121 * sunrpc/svc_udp.c (svcudp_create): Likewise.
26123 2011-04-21 Ulrich Drepper <drepper@gmail.com>
26125 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
26126 problem in reallocation in last patch.
26128 2011-04-20 Ulrich Drepper <drepper@gmail.com>
26130 * sunrpc/Makefile: Move inclusion of Rules.
26132 2011-04-19 Ulrich Drepper <drepper@gmail.com>
26134 * nss/nss_files/files-initgroups.c: New file.
26135 * nss/Makefile (libnss_files-routines): Add files-initgroups.
26136 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
26137 _nss_files_initgroups_dyn.
26139 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
26141 * elf/elf.h (R_ARM_IRELATIVE): Define.
26143 2011-04-19 Ulrich Drepper <drepper@gmail.com>
26145 * po/ru.po: Update from translation team.
26147 2011-04-17 Ulrich Drepper <drepper@gmail.com>
26149 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
26152 2011-02-06 Mike Frysinger <vapier@gentoo.org>
26155 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
26156 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
26157 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
26158 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
26159 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
26161 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
26163 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
26165 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
26166 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
26167 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
26169 2011-04-17 Ulrich Drepper <drepper@gmail.com>
26172 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
26174 * stdlib/bug-getcontext.c: New file.
26175 * stdlib/Makefile: Add rules to build and run bug-getcontext.
26177 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26179 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
26180 instructions into .machine "z9-109".
26181 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
26182 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
26184 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26186 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
26187 between environment variables and auxiliary vector.
26189 2011-04-16 Ulrich Drepper <drepper@gmail.com>
26191 * Makefile: Add rules to build linkobj/libc.so.
26192 * include/libc-symbols.h: Define libc_hidden_nolink.
26193 * include/rpc/auth.h: Mark functions which are to be hidden.
26194 * include/rpc/auth_des.h: Likewise.
26195 * include/rpc/auth_unix.h: Likewise.
26196 * include/rpc/clnt.h: Likewise.
26197 * include/rpc/des_crypt.h: Likewise.
26198 * include/rpc/key_prot.h: Likewise.
26199 * include/rpc/pmap_clnt.h: Likewise.
26200 * include/rpc/pmap_prot.h: Likewise.
26201 * include/rpc/pmap_rmt.h: Likewise.
26202 * include/rpc/rpc_msg.h: Likewise.
26203 * include/rpc/svc.h: Likewise.
26204 * include/rpc/svc_auth.h: Likewise.
26205 * include/rpc/xdr.h: Likewise.
26206 * nis/Makefile: Link all DSOs against linkobj/libc.so.
26207 * nss/Makefile: Likewise.
26208 * sunrpc/Makefile: Don't install headers. Build library with normal
26209 entry points. Don't build rpcinfo. Link RPC tests appropriately.
26210 * sunrpc/auth_des.c: Hide exported symbols by default, export some
26211 for the compat linking library. Remove use of INTDEF/INTUSE.
26212 * sunrpc/auth_none.c: Likewise.
26213 * sunrpc/auth_unix.c: Likewise.
26214 * sunrpc/authdes_prot.c: Likewise.
26215 * sunrpc/authuxprot.c: Likewise.
26216 * sunrpc/clnt_gen.c: Likewise.
26217 * sunrpc/clnt_perr.c: Likewise.
26218 * sunrpc/clnt_raw.c: Likewise.
26219 * sunrpc/clnt_simp.c: Likewise.
26220 * sunrpc/clnt_tcp.c: Likewise.
26221 * sunrpc/clnt_udp.c: Likewise.
26222 * sunrpc/clnt_unix.c: Likewise.
26223 * sunrpc/des_crypt.c: Likewise.
26224 * sunrpc/des_soft.c: Likewise.
26225 * sunrpc/get_myaddr.c: Likewise.
26226 * sunrpc/key_call.c: Likewise.
26227 * sunrpc/key_prot.c: Likewise.
26228 * sunrpc/netname.c: Likewise.
26229 * sunrpc/pm_getmaps.c: Likewise.
26230 * sunrpc/pm_getport.c: Likewise.
26231 * sunrpc/pmap_clnt.c: Likewise.
26232 * sunrpc/pmap_prot.c: Likewise.
26233 * sunrpc/pmap_prot2.c: Likewise.
26234 * sunrpc/pmap_rmt.c: Likewise.
26235 * sunrpc/publickey.c: Likewise.
26236 * sunrpc/rpc_cmsg.c: Likewise.
26237 * sunrpc/rpc_common.c: Likewise.
26238 * sunrpc/rpc_dtable.c: Likewise.
26239 * sunrpc/rpc_prot.c: Likewise.
26240 * sunrpc/rpc_thread.c: Likewise.
26241 * sunrpc/rtime.c: Likewise.
26242 * sunrpc/svc.c: Likewise.
26243 * sunrpc/svc_auth.c: Likewise.
26244 * sunrpc/svc_authux.c: Likewise.
26245 * sunrpc/svc_raw.c: Likewise.
26246 * sunrpc/svc_run.c: Likewise.
26247 * sunrpc/svc_simple.c: Likewise.
26248 * sunrpc/svc_tcp.c: Likewise.
26249 * sunrpc/svc_udp.c: Likewise.
26250 * sunrpc/svc_unix.c: Likewise.
26251 * sunrpc/svcauth_des.c: Likewise.
26252 * sunrpc/xcrypt.c: Likewise.
26253 * sunrpc/xdr.c: Likewise.
26254 * sunrpc/xdr_array.c: Likewise.
26255 * sunrpc/xdr_float.c: Likewise.
26256 * sunrpc/xdr_intXX_t.c: Likewise.
26257 * sunrpc/xdr_mem.c: Likewise.
26258 * sunrpc/xdr_rec.c: Likewise.
26259 * sunrpc/xdr_ref.c: Likewise.
26260 * sunrpc/xdr_sizeof.c: Likewise.
26261 * sunrpc/xdr_stdio.c: Likewise.
26263 2011-04-10 Ulrich Drepper <drepper@gmail.com>
26266 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
26267 * sysdeps/ia64/dl-tls.h: Likewise.
26268 * sysdeps/powerpc/dl-tls.h: Likewise.
26269 * sysdeps/s390/dl-tls.h: Likewise.
26270 * sysdeps/sh/dl-tls.h: Likewise.
26271 * sysdeps/sparc/dl-tls.h: Likewise.
26272 * sysdeps/x86_64/dl-tls.h: Likewise.
26273 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
26275 2011-03-14 Andreas Schwab <schwab@redhat.com>
26277 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
26278 rpath element also skip the following colon.
26279 (expand_dynamic_string_token): Add is_path parameter and pass
26280 down to DL_DST_REQUIRED and _dl_dst_substitute.
26281 (decompose_rpath): Call expand_dynamic_string_token with
26282 non-zero is_path. Ignore empty rpaths.
26283 (_dl_map_object_from_fd): Call expand_dynamic_string_token
26286 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
26288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
26291 2011-04-09 Ulrich Drepper <drepper@gmail.com>
26294 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
26295 Patch by Filipe David Manana <fdmanana@apache.org>.
26297 2011-04-07 Andreas Schwab <schwab@redhat.com>
26299 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
26300 Maintain aligned stack.
26301 (CHECK_RSP): Remove unused macro.
26303 2011-04-03 Ulrich Drepper <drepper@gmail.com>
26305 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
26306 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
26308 2011-04-02 Ulrich Drepper <drepper@gmail.com>
26310 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
26312 * include/features.h: Mention __USE_XOPEN2K8 in comment.
26314 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
26317 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
26318 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
26319 * sysdeps/x86_64/memmove.c: New file.
26320 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
26321 (memcpy): Renamed to ...
26322 (__new_memcpy): This.
26323 (memcpy): Provide GLIBC_2_14 memcpy.
26324 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
26325 (memcpy): Provide GLIBC_2_2_5 memcpy.
26327 2011-04-01 Ulrich Drepper <drepper@gmail.com>
26330 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
26332 2011-03-30 Andreas Schwab <schwab@redhat.com>
26334 * misc/syncfs.c: New file.
26335 * misc/Makefile (routines): Add syncfs.
26336 * posix/unistd.h: Declare syncfs.
26337 * sysdeps/unix/syscalls.list: Add syncfs.
26339 2011-04-01 Andreas Schwab <schwab@redhat.com>
26341 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
26343 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
26344 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
26345 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
26346 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
26347 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26348 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
26349 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
26351 2011-04-01 Ulrich Drepper <drepper@gmail.com>
26353 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
26354 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
26355 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
26356 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
26357 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
26358 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26359 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
26361 * io/Makefile: Compile fallocate.c, fallocate64.c, and
26362 sync_file_range.c with -fexceptions.
26363 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
26364 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
26365 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
26366 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
26367 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
26368 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
26369 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
26370 sync_file_range as cancellation point
26371 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
26372 now a wrapper around __call_sync_file_range with cancellation handling.
26373 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
26374 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
26375 function name to __call_sync_file_range.
26376 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
26377 Add call_sync_file_range.
26379 2011-04-01 Andreas Schwab <schwab@redhat.com>
26381 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26384 2011-04-01 Ulrich Drepper <drepper@gmail.com>
26386 * iconv/iconv.h: Fix typo in comment.
26387 * io/fcntl.h: Likewise.
26388 * libio/stdio.h: Likewise.
26389 * posix/spawn.h: Likewise.
26390 * posix/unistd.h: Likewise.
26391 * stdlib/stdlib.h: Likewise.
26392 * time/time.h: Likewise.
26393 * wcsmbs/wchar.h: Likewise.
26395 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
26396 open_by_handle): Add.
26397 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
26398 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
26399 Augment a few comments.
26400 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
26401 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
26402 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
26403 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26404 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
26405 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
26408 * io/fcntl.h (AT_EMPTY_PATH): Define.
26410 2011-03-30 Ulrich Drepper <drepper@gmail.com>
26412 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
26413 * sysdeps/unix/sysv/linux/bits/time.h: New file.
26414 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
26416 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
26417 * Versions.def: Add GLIBC_2.14.
26418 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
26421 2011-03-22 Ulrich Drepper <drepper@gmail.com>
26423 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
26425 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
26427 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
26430 * string/test-strncmp.c (do_page_test): New function.
26431 (check2): Likewise.
26432 (test_main): Call check2.
26433 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
26435 2011-03-20 Ulrich Drepper <drepper@gmail.com>
26438 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
26439 Handle cache information in CPU leaf 4.
26440 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
26442 2011-03-18 Ulrich Drepper <drepper@gmail.com>
26445 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
26446 character representation.
26447 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
26449 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
26451 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
26452 END(__isnan) to END(__isnanf) to match function entry point/label
26453 EALIGN(__isnanf,...).
26455 2011-03-10 Jakub Jelinek <jakub@redhat.com>
26457 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
26459 2011-03-10 Ulrich Drepper <drepper@gmail.com>
26462 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
26463 copy from the symbol referenced in the relocation to initialize the
26465 Patch by Piotr Bury <pbury@goahead.com>.
26466 * elf/Makefile: Add rules to build and tst-unique3.
26467 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
26468 * elf/tst-unique3.cc: New file.
26469 * elf/tst-unique3.h: New file.
26470 * elf/tst-unique3lib.cc: New file.
26471 * elf/tst-unique3lib2.cc: New file.
26473 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
26475 2011-03-10 Mike Frysinger <vapier@gentoo.org>
26477 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
26478 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
26481 2011-03-06 Ulrich Drepper <drepper@gmail.com>
26483 * elf/dl-load.c (_dl_map_object): If we are looking for the first
26484 to-be-loaded object along a path to loader is ld.so.
26486 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
26487 Ulrich Drepper <drepper@gmail.com>
26489 * sysdeps/x86_64/memset.S: After aligning destination, code
26490 branches to different locations depending on the value of
26491 misalignment, when multiarch is enabled. Fix this.
26493 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
26495 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
26496 Set _x86_64_preferred_memory_instruction for AMD processsors.
26497 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26498 Set bit_Prefer_SSE_for_memop for AMD processors.
26500 2011-03-04 Ulrich Drepper <drepper@gmail.com>
26502 * libio/fmemopen.c (fmemopen): Optimize a bit.
26504 2011-03-03 Andreas Schwab <schwab@redhat.com>
26506 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
26508 2011-03-03 Roland McGrath <roland@redhat.com>
26510 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
26512 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
26514 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
26515 __bzero_ultra1 instead of __memset_ultra1.
26517 2011-02-23 Andreas Schwab <schwab@redhat.com>
26518 Ulrich Drepper <drepper@gmail.com>
26521 * include/link.h (struct link_map): Add l_orig_initfini.
26522 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
26523 returning unsuccessfully.
26524 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
26525 close of a file loaded at startup, restore the original l_initfini
26527 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
26528 list, store the pointer.
26529 * elf/Makefile ($(objpfx)noload-mem): New rule.
26530 (noload-ENV): Define.
26531 (tests): Add $(objpfx)noload-mem.
26532 * elf/noload.c: Include <memcheck.h>.
26533 (main): Call mtrace. Close all opened handles.
26535 2011-02-17 Andreas Schwab <schwab@redhat.com>
26538 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
26539 dependencies are missing.
26541 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
26543 Fix __if_freereq crash: Unlike the generic version which uses free,
26545 * sysdeps/mach/hurd/ifreq.h: New file.
26547 2011-01-27 Petr Baudis <pasky@suse.cz>
26548 Ulrich Drepper <drepper@gmail.com>
26551 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
26552 to extend_alloca().
26553 * stdio-common/bug23.c: New file.
26554 * stdio-common/Makefile (tests): Add bug23.
26556 2010-09-28 Andreas Schwab <schwab@redhat.com>
26557 Ulrich Drepper <drepper@gmail.com>
26560 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
26561 before performing relro protection. At old place add assertion
26562 to make sure nothing changed.
26564 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
26565 Glauber de Oliveira Costa <glommer@gmail.com>
26567 * elf/elf.h: Add new ARM TLS relocs.
26569 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
26571 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
26572 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
26574 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
26576 * sysdeps/wordsize-64/tst-writev.c: New file.
26578 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
26580 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
26581 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
26582 insns in _dl_start to prevent a TOC reference before relocs are
26585 2011-02-15 Ulrich Drepper <drepper@gmail.com>
26588 * Makeconfig: Remove RANLIB definition.
26589 * Makerules: Don't use RANLIB.
26590 * aclocal.m4: Remove ranlib test.
26591 * configure.in: No need to check for ranlib.
26592 * elf/rtld-Rules: Don't use RANLIB.
26594 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
26596 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
26598 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
26599 inclusion protection macro.
26601 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
26602 SIGRTMIN and SIGRTMAX and print information in that case only when
26603 SIGRTMIN is defined.
26605 2011-02-11 Jakub Jelinek <jakub@redhat.com>
26607 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
26608 arginfo fn returning -1.
26610 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
26611 and thousands string is zero terminated.
26613 2011-02-03 Andreas Schwab <schwab@redhat.com>
26615 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
26616 sysdeps/unix/sysv/linux/bits/socket.h.
26618 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
26620 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
26621 (__CPU_COUNT): Remove old macros.
26622 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
26623 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
26624 (__CPU_ALLOC, __CPU_FREE): Add macros.
26625 (__sched_cpualloc, __sched_cpufree): Add declarations.
26627 2011-02-05 Ulrich Drepper <drepper@gmail.com>
26629 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
26630 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
26631 * nscd/aicache.c (addhstaiX): Return timeout of added value.
26632 (readdhstai): Return value of addhstaiX call.
26633 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
26634 (addgrbyX): Return value returned by cache_addgr.
26635 (readdgrbyname): Return value returned by addgrbyX.
26636 (readdgrbygid): Likewise.
26637 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
26638 (addpwbyX): Return value returned by cache_addpw.
26639 (readdpwbyname): Return value returned by addhstbyX.
26640 (readdpwbyuid): Likewise.
26641 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
26642 (addservbyX): Return value returned by cache_addserv.
26643 (readdservbyname): Return value returned by addservbyX:
26644 (readdservbyport): Likewise.
26645 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
26646 (addhstbyX): Return value returned by cache_addhst.
26647 (readdhstbyname): Return value returned by addhstbyX.
26648 (readdhstbyaddr): Likewise.
26649 (readdhstbynamev6): Likewise.
26650 (readdhstbyaddrv6): Likewise.
26651 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
26652 (readdinitgroups): Return value returned by addinitgroupsX.
26653 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
26654 (prune_cache): Keep track of timeout value of re-added entries.
26655 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
26656 * nscd/nscd.h: Adjust prototypes of readd* functions.
26658 2011-02-04 Roland McGrath <roland@redhat.com>
26660 * nis/nis_server.c (nis_servstate): Use the right name for 0.
26661 (nis_stats): Likewise.
26662 * nis/nis_modify.c (nis_modify): Likewise.
26663 * nis/nis_remove.c (nis_remove): Likewise.
26664 * nis/nis_add.c (nis_add): Likewise.
26666 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
26668 * posix/fnmatch_loop.c: Add some consts.
26670 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
26672 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
26675 * config.make.in (config-cflags-novzeroupper): Define.
26676 * configure.in: Substitute libc_cv_cc_novzeroupper.
26677 * elf/Makefile (AVX-CFLAGS): Define.
26678 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
26679 (CFLAGS-tst-auditmod4a.c): Likewise.
26680 (CFLAGS-tst-auditmod4b.c): Likewise.
26681 (CFLAGS-tst-auditmod6b.c): Likewise.
26682 (CFLAGS-tst-auditmod6c.c): Likewise.
26683 (CFLAGS-tst-auditmod7b.c): Likewise.
26684 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
26686 2011-02-02 Ulrich Drepper <drepper@gmail.com>
26688 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
26689 function to the callback.
26690 Patch partly by Jiri Olsa <jolsa@redhat.com>.
26692 2011-02-02 Andreas Schwab <schwab@redhat.com>
26694 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
26697 2011-01-19 Ulrich Drepper <drepper@gmail.com>
26700 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
26702 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
26704 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
26707 * elf/Makefile: Add rules to build and run new test.
26708 * elf/tst-initorder.c: New file.
26709 * elf/tst-initorder.exp: New file.
26710 * elf/tst-initordera1.c: New file.
26711 * elf/tst-initordera2.c: New file.
26712 * elf/tst-initordera3.c: New file.
26713 * elf/tst-initordera4.c: New file.
26714 * elf/tst-initorderb1.c: New file.
26715 * elf/tst-initorderb2.c: New file.
26716 * elf/tst-order-a1.c: New file.
26717 * elf/tst-order-a2.c: New file.
26718 * elf/tst-order-a3.c: New file.
26719 * elf/tst-order-a4.c: New file.
26720 * elf/tst-order-b1.c: New file.
26721 * elf/tst-order-b2.c: New file.
26722 * elf/tst-order-main.c: New file.
26723 New test case by George Gensure <werkt0@gmail.com>.
26725 2010-10-01 Andreas Schwab <schwab@redhat.com>
26727 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
26728 decoding ACE if AI_CANONIDN.
26730 2011-01-18 Ulrich Drepper <drepper@gmail.com>
26732 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
26734 2011-01-17 Ulrich Drepper <drepper@gmail.com>
26736 * version.h (RELEASE): Bump for 2.13 release.
26737 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
26739 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
26741 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
26743 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
26744 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
26745 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
26746 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
26747 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
26748 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
26750 * posix/getconf.c: Update copyright year.
26751 * catgets/gencat.c: Likewise.
26752 * csu/version.c: Likewise.
26753 * debug/catchsegv.sh: Likewise.
26754 * debug/xtrace.sh: Likewise.
26755 * elf/ldconfig.c: Likewise.
26756 * elf/ldd.bash.in: Likewise.
26757 * elf/sprof.c (print_version): Likewise.
26758 * iconv/iconv_prog.c: Likewise.
26759 * iconv/iconvconfig.c: Likewise.
26760 * locale/programs/locale.c: Likewise.
26761 * locale/programs/localedef.c: Likewise.
26762 * malloc/memusage.sh: Likewise.
26763 * malloc/mtrace.pl: Likewise.
26764 * nscd/nscd.c (print_version): Likewise.
26765 * nss/getent.c: Likewise.
26767 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
26768 PF_CAIF, and PF_ALG.
26769 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
26771 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
26773 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
26774 (modules-names): Use them.
26775 (ifunc-test-modules, ifunc-pie-tests): Define.
26776 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
26777 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
26778 (test-extras): Likewise.
26779 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
26780 $(compile-command.c).
26781 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
26782 (all-built-dso): Define.
26783 (check-textrel.out, check-execstack.out): Depend on it.
26785 * configure.in: Don't override --enable-multi-arch.
26787 2011-01-15 Ulrich Drepper <drepper@gmail.com>
26790 * nscd/hstcache.c (tryagain): Define.
26791 (cache_addhst): Return tryagain not notfound for temporary errors.
26792 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
26795 2011-01-14 Ulrich Drepper <drepper@gmail.com>
26798 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
26799 to make the syscall.
26800 * sysdeps/unix/sysv/linux/setgroups.c: New file.
26803 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
26804 and fall back to matching as normal character if the string ends before
26805 the matching ']' is found. This is what POSIX requires.
26806 * posix/testfnm.c: Adjust test result.
26807 * posix/globtest.sh: Adjust test result. Add new test.
26808 * posix/tst-fnmatch.input: Likewise.
26809 * posix/tst-fnmatch2.c: Add new test.
26811 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
26813 * elf/Makefile (check-execstack): Revert last change. Depend on
26815 (check-execstack.h): New target.
26816 (generated): Add check-execstack.h.
26817 * elf/check-execstack.c: Include "check-execstack.h".
26818 (main): Revert last change.
26819 (handle_file): Return zero if GNU_STACK is absent and
26820 DEFAULT_STACK_PERMS doesn't include PF_X.
26822 2011-01-13 Ulrich Drepper <drepper@gmail.com>
26824 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
26825 in child fails because the descriptor is already closed.
26826 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
26827 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
26828 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
26831 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
26835 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
26836 temporary buffer used to handle multi lookups locally.
26837 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
26839 2011-01-12 Ulrich Drepper <drepper@gmail.com>
26841 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
26844 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
26846 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
26847 alignment for SSE2.
26849 2011-01-12 Ulrich Drepper <drepper@gmail.com>
26852 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
26853 characters. When rounding increased number of integer digits recompute
26855 * stdio-common/tst-grouping.c: New file.
26856 * stdio-common/Makefile: Add rules to build and run tst-grouping.
26858 2011-01-09 Ulrich Drepper <drepper@gmail.com>
26860 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
26861 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
26863 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
26865 * bits/select.h: Likewise.
26867 2011-01-08 Ulrich Drepper <drepper@gmail.com>
26869 * po/ja.po: Update from translation team.
26871 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
26874 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
26875 implementation just like for lxstat, fxstatat, et al.
26877 2010-12-27 Jim Meyering <meyering@redhat.com>
26880 * posix/regexec.c (build_trtable): Return failure indication upon
26881 calloc failure. Otherwise, re_search_internal could infloop on OOM.
26883 2010-12-25 Ulrich Drepper <drepper@gmail.com>
26886 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
26887 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
26888 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
26889 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
26892 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
26895 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
26896 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
26898 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
26900 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
26901 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
26902 script has SORT_BY_INIT_PRIORITY.
26903 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
26904 NO_CTORS_DTORS_SECTIONS is defined.
26905 * elf/soinit.c: Likewise.
26906 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
26907 NO_CTORS_DTORS_SECTIONS is defined.
26908 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
26909 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
26910 * sysdeps/sh/init-first.c: Likewise.
26911 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
26913 2010-12-24 Ulrich Drepper <drepper@gmail.com>
26915 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
26916 always use the slow path.
26918 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
26920 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
26921 similar rule which adds the sysdep directories to the header search in
26922 order to pick up the correct platform stackinfo.h.
26923 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
26924 perform test if it is, otherwise return successfully without testing.
26925 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
26926 DEFAULT_STACK_PERMS define in stackinfo.h.
26927 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
26928 defined in stackinfo.h.
26929 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
26930 DEFAULT_STACK_PERMS defined in stackinfo.h.
26931 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
26932 * sysdeps/ia64/stackinfo.h: Likewise.
26933 * sysdeps/s390/stackinfo.h: Likewise.
26934 * sysdeps/sh/stackinfo.h: Likewise.
26935 * sysdeps/sparc/stackinfo.h: Likewise.
26936 * sysdeps/x86_64/stackinfo.h: Likewise.
26937 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
26938 PF_X for powerpc64. Retain PF_X for powerpc32.
26940 2010-12-19 Ulrich Drepper <drepper@gmail.com>
26942 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
26944 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
26945 GETDENTS_64BIT_ALIGNED.
26947 2010-12-14 Ulrich Drepper <dreper@gmail.com>
26949 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
26951 2010-12-10 Andreas Schwab <schwab@redhat.com>
26953 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
26956 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
26957 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
26959 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
26960 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
26962 2010-12-09 Ulrich Drepper <drepper@gmail.com>
26965 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
26968 2010-12-09 Jakub Jelinek <jakub@redhat.com>
26970 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
26972 2010-12-03 Ulrich Drepper <drepper@gmail.com>
26974 * po/it.po: Update from translation team.
26976 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
26978 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
26981 2010-11-30 Ulrich Drepper <drepper@gmail.com>
26983 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
26985 2010-11-24 Andreas Schwab <schwab@redhat.com>
26987 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
26989 (gaih_getanswer_slice): Likewise.
26991 2010-10-20 Jakub Jelinek <jakub@redhat.com>
26993 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
26995 2010-05-31 Petr Baudis <pasky@suse.cz>
26998 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
26999 silently even in the chroot mode.
27001 2010-11-22 Ulrich Drepper <drepper@gmail.com>
27003 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
27004 last patch a bit. Pretty printing
27006 2010-05-31 Petr Baudis <pasky@suse.cz>
27009 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
27010 initialization of skip_initgroups_dyn.
27012 2010-11-19 Ulrich Drepper <drepper@gmail.com>
27014 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
27015 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
27017 2010-11-16 Ulrich Drepper <drepper@gmail.com>
27019 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
27021 2010-11-11 Andreas Schwab <schwab@redhat.com>
27023 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
27024 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
27025 (tst-fnmatch-ENV): Set MALLOC_TRACE.
27026 ($(objpfx)tst-fnmatch-mem): New rule.
27027 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
27028 * posix/tst-fnmatch.c (main): Call mtrace.
27030 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
27032 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27033 Support Intel processor model 6 and model 0x2c.
27035 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
27037 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
27040 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
27043 * string/test-strncasecmp.c (check_result): New function.
27044 (do_one_test): Use it.
27045 (check1): New function.
27046 (test_main): Use it.
27047 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
27048 Support strcasecmp and strncasecmp.
27050 2010-11-08 Ulrich Drepper <drepper@gmail.com>
27053 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
27054 * sysdeps/x86_64/bits/byteswap.h: Likewise.
27056 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
27058 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
27060 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27062 * sysdeps/x86_64/multiarch/bzero.S: New file.
27063 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
27064 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
27065 * sysdeps/x86_64/multiarch/memset.S: New file.
27066 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
27067 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27068 Set bit_Prefer_SSE_for_memop for Intel processors.
27069 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
27071 (index_Prefer_SSE_for_memop): Define.
27072 (HAS_PREFER_SSE_FOR_MEMOP): Define.
27074 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
27076 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
27077 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
27079 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
27082 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
27083 (__x86_64_raw_data_cache_size_half): Likewise.
27084 (__x86_64_raw_shared_cache_size): Likewise.
27085 (__x86_64_raw_shared_cache_size_half): Likewise.
27087 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
27088 (__x86_64_raw_data_cache_size_half): Likewise.
27089 (__x86_64_raw_shared_cache_size): Likewise.
27090 (__x86_64_raw_shared_cache_size_half): Likewise.
27091 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
27092 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
27093 and __x86_64_raw_shared_cache_size_half. Round
27094 __x86_64_data_cache_size_half, __x86_64_data_cache_size
27095 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
27096 to multiple of 256 bytes.
27098 2010-11-03 Ulrich Drepper <drepper@gmail.com>
27101 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
27102 of inacessible symlinks. Verify result of symlink before returning it.
27103 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
27104 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
27106 2010-10-28 Erich Ritz <erichritz@gmail.com>
27108 * math/math.h (isinf): Fix typo in comment.
27110 2010-11-01 Ulrich Drepper <drepper@gmail.com>
27112 * po/da.po: Update from translation team.
27114 2010-10-26 Ulrich Drepper <drepper@gmail.com>
27116 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
27117 is added to the list.
27119 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27120 Ulrich Drepper <drepper@gmail.com>
27122 * elf/dl-object.c (_dl_new_object): Don't append the new object to
27123 the global list here. Move code to...
27124 (_dl_add_to_namespace_list): ...here. New function.
27125 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
27126 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
27127 * elf/dl-load.c (lose): Don't remove the element from the list.
27128 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
27129 (_dl_map_object): Likewise.
27131 2010-10-25 Ulrich Drepper <drepper@gmail.com>
27134 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
27135 into all bytes of SSE register.
27136 Patch by Richard Li <richardpku@gmail.com>.
27138 2010-10-24 Ulrich Drepper <drepper@gmail.com>
27141 * malloc/malloc.c (_int_free): Fill correct number of bytes when
27144 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
27146 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
27147 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
27148 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
27149 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
27150 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
27152 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
27154 2010-10-22 Andreas Schwab <schwab@redhat.com>
27156 * include/dlfcn.h (__RTLD_SECURE): Define.
27157 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
27158 mode & __RTLD_SECURE instead.
27159 (open_path): Rename preloaded parameter to secure.
27160 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
27161 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
27162 * elf/dl-deps.c (openaux): Likewise.
27163 * elf/rtld.c (struct map_args): Remove is_preloaded.
27164 (map_doit): Don't use it.
27165 (dl_main): Likewise.
27166 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
27167 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
27169 2010-09-09 Andreas Schwab <schwab@redhat.com>
27171 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
27172 (sysd-rules-targets): Remove duplicates.
27173 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
27174 rtld-%.$o dependency.
27176 2010-10-18 Andreas Schwab <schwab@redhat.com>
27178 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
27179 _dl_map_object do it.
27181 2010-10-19 Ulrich Drepper <drepper@gmail.com>
27183 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
27184 fast fma builtins, define the macros in the C99 standard.
27185 (FP_FAST_FMAF): Likewise.
27186 (FP_FAST_FMAL): Likewise.
27187 * sysdeps/x86_64/bits/mathdef.h: Likewise.
27189 * bits/mathdef.h: Update copyright year.
27190 * sysdeps/powerpc/bits/mathdef.h: Likewise.
27192 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
27194 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
27195 builtins, define the macros in the C99 standard.
27196 (FP_FAST_FMAF): Likewise.
27197 (FP_FAST_FMAL): Likewise.
27198 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
27200 (FP_FAST_FMAF): Likewise.
27202 2010-10-15 Jakub Jelinek <jakub@redhat.com>
27205 * math/libm-test.inc (fma_test): Some new testcases.
27206 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
27207 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
27208 y and infinite z. Do multiplication by C already in long double.
27209 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
27210 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
27211 y and infinite z. Do bitwise or of inexact bit into u.d.
27212 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
27213 * sysdeps/i386/fpu/s_fmaf.S: Removed.
27214 * sysdeps/i386/fpu/s_fma.S: Removed.
27215 * sysdeps/i386/fpu/s_fmal.S: Removed.
27217 2010-10-16 Jakub Jelinek <jakub@redhat.com>
27220 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
27221 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
27222 computation is not scheduled after fetestexcept. Fix value
27223 of minimum denormal long double.
27225 2010-10-14 Jakub Jelinek <jakub@redhat.com>
27228 * math/libm-test.inc (fma_test): Add some more tests.
27229 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
27232 2010-10-15 Andreas Schwab <schwab@redhat.com>
27234 * scripts/data/localplt-s390-linux-gnu.data: New file.
27235 * scripts/data/localplt-s390x-linux-gnu.data: New file.
27237 2010-10-13 Jakub Jelinek <jakub@redhat.com>
27240 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
27241 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
27243 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
27245 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
27246 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
27247 if one of x and y is very large and the other is subnormal.
27248 * sysdeps/s390/fpu/s_fmaf.c: New file.
27249 * sysdeps/s390/fpu/s_fma.c: New file.
27250 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
27251 * sysdeps/powerpc/fpu/s_fma.S: New file.
27252 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
27253 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
27254 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
27256 2010-10-12 Jakub Jelinek <jakub@redhat.com>
27259 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
27261 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
27262 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
27263 * sysdeps/i386/i686/multiarch/s_fma.c: Include
27264 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
27265 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
27266 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
27267 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
27269 2010-10-12 Ulrich Drepper <drepper@redhat.com>
27272 * posix/regcomp.c (parse_branch): One more memory leak plugged.
27273 * posix/bug-regex31.input: Add test case.
27275 2010-10-11 Ulrich Drepper <drepper@gmail.com>
27277 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
27278 * posix/bug-regex31.input: New file.
27281 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
27282 (parse_sub_exp): Fix last change, use postorder.
27284 * posix/bug-regex31.c: New file.
27285 * posix/Makefile: Add rules to build and run bug-regex31.
27287 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
27290 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
27293 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
27294 to have entries in sys_siglist.
27297 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
27300 2010-10-07 Jakub Jelinek <jakub@redhat.com>
27303 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
27304 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
27305 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
27306 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
27307 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
27308 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
27309 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
27310 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
27311 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
27312 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
27313 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
27314 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
27315 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
27316 * math/ftestexcept.c (fetestexcept): Likewise.
27317 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
27318 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
27319 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
27320 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
27321 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
27322 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
27323 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
27325 2010-10-11 Ulrich Drepper <drepper@gmail.com>
27328 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
27331 2010-10-06 Ulrich Drepper <drepper@gmail.com>
27333 * string/bug-strstr1.c: New file.
27334 * string/Makefile: Add rules to build and run bug-strstr1.
27336 2010-10-05 Eric Blake <eblake@redhat.com>
27339 * string/str-two-way.h (two_way_long_needle): Always clear memory
27340 when skipping input due to the shift table.
27342 2010-10-03 Ulrich Drepper <drepper@gmail.com>
27345 * malloc/mcheck.c: Handle large requests.
27348 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
27349 for strncmp and strncasecmp.
27350 * string/stratcliff.c: Add tests for strcmp and strncmp.
27351 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
27353 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
27355 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
27358 2010-09-30 Andreas Jaeger <aj@suse.de>
27360 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
27361 (CGROUP_SUPER_MAGIC): Define.
27362 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
27363 Handle btrfs and cgroup file systems.
27364 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
27367 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
27369 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
27370 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
27372 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27375 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
27376 trying to locate the ELF header.
27378 2010-09-27 Andreas Schwab <schwab@redhat.com>
27381 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
27382 Mask out sign-bit copies when constructing f_fsid.
27384 2010-09-24 Petr Baudis <pasky@suse.cz>
27386 * debug/stack_chk_fail_local.c: Add missing licence exception.
27387 * debug/warning-nop.c: Likewise.
27389 2010-09-15 Joseph Myers <joseph@codesourcery.com>
27391 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
27392 implementing getdents64 using getdents syscall, set d_type if
27393 __ASSUME_GETDENTS32_D_TYPE.
27395 2010-09-16 Andreas Schwab <schwab@redhat.com>
27397 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
27398 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
27400 2010-09-21 Ulrich Drepper <drepper@redhat.com>
27403 * posix/unistd.h: Undo change of feature selection for ftruncate from
27406 2010-09-20 Ulrich Drepper <drepper@redhat.com>
27408 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
27411 2010-09-20 Andreas Schwab <schwab@redhat.com>
27413 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
27415 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
27417 2010-09-14 Andreas Schwab <schwab@redhat.com>
27419 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
27420 variables after CHECK_SP call.
27421 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
27423 2010-09-13 Andreas Schwab <schwab@redhat.com>
27424 Ulrich Drepper <drepper@redhat.com>
27426 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
27427 re-relocationg ld.so.
27428 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
27429 _dl_init_paths call.
27430 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
27433 2010-09-14 Ulrich Drepper <drepper@redhat.com>
27435 * resolv/res_init.c (__res_vinit): Count the default server we added.
27437 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
27438 Ulrich Drepper <drepper@redhat.com>
27441 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
27442 (____longjmp_chk): Use %ebx for saving value across system call.
27445 2010-09-06 Andreas Schwab <schwab@redhat.com>
27447 * manual/Makefile: Don't mix pattern rules with normal rules.
27449 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
27451 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
27453 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
27454 * libio/iofopncook.c (_IO_cookie_init): Likewise.
27455 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
27456 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
27457 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
27460 2010-09-04 Ulrich Drepper <drepper@redhat.com>
27463 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
27464 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
27466 2010-09-02 Ulrich Drepper <drepper@redhat.com>
27468 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
27469 * sysdeps/x86_64/addmul_1.S: Likewise.
27470 * sysdeps/x86_64/lshift.S: Likewise.
27471 * sysdeps/x86_64/mul_1.S: Likewise.
27472 * sysdeps/x86_64/rshift.S: Likewise.
27473 * sysdeps/x86_64/sub_n.S: Likewise.
27474 * sysdeps/x86_64/submul_1.S: Likewise.
27476 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
27478 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
27479 Define __sched_param instead of SCHED_* and sched_param when
27480 <bits/sched.h> is included with __need_schedparam defined.
27481 * bits/sched.h [__need_schedparam]
27482 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
27483 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
27484 (__defined_schedparam): Define to 1.
27485 (__sched_param): New structure, identical to sched_param.
27486 (__need_schedparam): Undefine.
27488 2010-08-31 Mike Frysinger <vapier@gentoo.org>
27490 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
27491 (epoll_create1): Declare.
27493 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
27495 2010-08-31 Andreas Schwab <schwab@redhat.com>
27498 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
27499 shifting retval into place.
27501 2010-09-01 Ulrich Drepper <drepper@redhat.com>
27503 * nis/rpcsvc/nis.h: Update copyright notice.
27504 * nis/rpcsvc/nis.x: Likewise.
27505 * nis/rpcsvc/nis_callback.h: Likewise.
27506 * nis/rpcsvc/nis_callback.x: Likewise.
27507 * nis/rpcsvc/nis_object.x: Likewise.
27508 * nis/rpcsvc/nis_tags.h: Likewise.
27509 * nis/rpcsvc/yp.h: Likewise.
27510 * nis/rpcsvc/yp.x: Likewise.
27511 * nis/rpcsvc/ypupd.h: Likewise.
27512 * nis/yp_xdr.c: Likewise.
27513 * nis/ypupdate_xdr.c: Likewise.
27515 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
27516 mainly the body of pmap_getport. Add parameters to specify timeouts.
27517 (pmap_getport): Use __libc_rpc_getport.
27518 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
27519 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
27520 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
27522 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
27524 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
27527 2010-08-27 Roland McGrath <roland@redhat.com>
27529 * sysdeps/i386/i686/multiarch/Makefile
27530 (CFLAGS-varshift.c): New variable.
27532 2010-08-27 Ulrich Drepper <drepper@redhat.com>
27534 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
27535 * sysdeps/i386/i686/multiarch/varshift.c: New file.
27537 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
27539 * sysdeps/x86_64/strlen.S: Minimal code improvement.
27541 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
27543 * sysdeps/x86_64/strlen.S: Unroll the loop.
27544 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27545 strlen-sse2 strlen-sse2-bsf.
27546 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
27547 __strlen_no_bsf if bit_Slow_BSF is set.
27548 (__strlen_sse42): Removed.
27549 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
27550 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
27552 2010-08-25 Roland McGrath <roland@redhat.com>
27554 * sysdeps/x86_64/multiarch/varshift.S: File removed.
27555 * sysdeps/x86_64/multiarch/varshift.c: New file.
27556 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
27557 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
27558 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
27559 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
27561 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
27563 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27564 strlen-sse2 strlen-sse2-bsf.
27565 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
27566 __strlen_sse2_bsf if bit_Slow_BSF is unset.
27567 (__strlen_sse2): Removed.
27568 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
27569 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
27570 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
27571 bit_Slow_BSF for Atom.
27572 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
27573 (index_Slow_BSF): Define.
27574 (HAS_SLOW_BSF): Define.
27576 2010-08-25 Ulrich Drepper <drepper@redhat.com>
27579 * resolv/res_init.c (__res_vinit): When no server address at all
27580 is given default to loopback.
27582 2010-08-24 Roland McGrath <roland@redhat.com>
27584 * configure.in: Remove config-name.h generation.
27585 * configure: Regenerated.
27586 * config-name.in: File removed.
27587 * scripts/config-uname.sh: New file.
27588 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
27589 ($(objdir)config-name.h): New target.
27591 * sunrpc/rpc_parse.h: Avoid nested comment.
27593 2010-08-24 Richard Henderson <rth@redhat.com>
27594 Ulrich Drepper <drepper@redhat.com>
27595 H.J. Lu <hongjiu.lu@intel.com>
27597 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
27598 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
27599 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
27600 Replace _mm_srli_si128 with __m128i_shift_right. Replace
27601 _mm_alignr_epi8 with _mm_loadu_si128.
27602 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
27603 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
27604 (__m128i_shift_right): Removed.
27605 * sysdeps/i386/i686/multiarch/varshift.h: New file.
27606 * sysdeps/i386/i686/multiarch/varshift.S: New file.
27607 * sysdeps/x86_64/multiarch/varshift.h: New file.
27608 * sysdeps/x86_64/multiarch/varshift.S: New file.
27610 2010-08-21 Mike Frysinger <vapier@gentoo.org>
27612 * configure.in: Move assembler checks to before sysdep dir checking.
27614 2010-08-20 Petr Baudis <pasky@suse.cz>
27616 * LICENSES: Sync the sunrpc license.
27618 2010-08-19 Ulrich Drepper <drepper@redhat.com>
27620 * sunrpc/auth_des.c: Update copyright notice once again.
27621 * sunrpc/auth_none.c: Likewise.
27622 * sunrpc/auth_unix.c: Likewise.
27623 * sunrpc/authdes_prot.c: Likewise.
27624 * sunrpc/authuxprot.c: Likewise.
27625 * sunrpc/bindrsvprt.c: Likewise.
27626 * sunrpc/clnt_gen.c: Likewise.
27627 * sunrpc/clnt_perr.c: Likewise.
27628 * sunrpc/clnt_raw.c: Likewise.
27629 * sunrpc/clnt_simp.c: Likewise.
27630 * sunrpc/clnt_tcp.c: Likewise.
27631 * sunrpc/clnt_udp.c: Likewise.
27632 * sunrpc/clnt_unix.c: Likewise.
27633 * sunrpc/des_crypt.c: Likewise.
27634 * sunrpc/des_soft.c: Likewise.
27635 * sunrpc/get_myaddr.c: Likewise.
27636 * sunrpc/getrpcport.c: Likewise.
27637 * sunrpc/key_call.c: Likewise.
27638 * sunrpc/key_prot.c: Likewise.
27639 * sunrpc/openchild.c: Likewise.
27640 * sunrpc/pm_getmaps.c: Likewise.
27641 * sunrpc/pm_getport.c: Likewise.
27642 * sunrpc/pmap_clnt.c: Likewise.
27643 * sunrpc/pmap_prot.c: Likewise.
27644 * sunrpc/pmap_prot2.c: Likewise.
27645 * sunrpc/pmap_rmt.c: Likewise.
27646 * sunrpc/rpc/auth.h: Likewise.
27647 * sunrpc/rpc/auth_unix.h: Likewise.
27648 * sunrpc/rpc/clnt.h: Likewise.
27649 * sunrpc/rpc/des_crypt.h: Likewise.
27650 * sunrpc/rpc/key_prot.h: Likewise.
27651 * sunrpc/rpc/netdb.h: Likewise.
27652 * sunrpc/rpc/pmap_clnt.h: Likewise.
27653 * sunrpc/rpc/pmap_prot.h: Likewise.
27654 * sunrpc/rpc/pmap_rmt.h: Likewise.
27655 * sunrpc/rpc/rpc.h: Likewise.
27656 * sunrpc/rpc/rpc_des.h: Likewise.
27657 * sunrpc/rpc/rpc_msg.h: Likewise.
27658 * sunrpc/rpc/svc.h: Likewise.
27659 * sunrpc/rpc/svc_auth.h: Likewise.
27660 * sunrpc/rpc/types.h: Likewise.
27661 * sunrpc/rpc/xdr.h: Likewise.
27662 * sunrpc/rpc_clntout.c: Likewise.
27663 * sunrpc/rpc_cmsg.c: Likewise.
27664 * sunrpc/rpc_common.c: Likewise.
27665 * sunrpc/rpc_cout.c: Likewise.
27666 * sunrpc/rpc_dtable.c: Likewise.
27667 * sunrpc/rpc_hout.c: Likewise.
27668 * sunrpc/rpc_main.c: Likewise.
27669 * sunrpc/rpc_parse.c: Likewise.
27670 * sunrpc/rpc_parse.h: Likewise.
27671 * sunrpc/rpc_prot.c: Likewise.
27672 * sunrpc/rpc_sample.c: Likewise.
27673 * sunrpc/rpc_scan.c: Likewise.
27674 * sunrpc/rpc_scan.h: Likewise.
27675 * sunrpc/rpc_svcout.c: Likewise.
27676 * sunrpc/rpc_tblout.c: Likewise.
27677 * sunrpc/rpc_util.c: Likewise.
27678 * sunrpc/rpc_util.h: Likewise.
27679 * sunrpc/rpcinfo.c: Likewise.
27680 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
27681 * sunrpc/rpcsvc/key_prot.x: Likewise.
27682 * sunrpc/rpcsvc/klm_prot.x: Likewise.
27683 * sunrpc/rpcsvc/mount.x: Likewise.
27684 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
27685 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
27686 * sunrpc/rpcsvc/rex.x: Likewise.
27687 * sunrpc/rpcsvc/rstat.x: Likewise.
27688 * sunrpc/rpcsvc/rusers.x: Likewise.
27689 * sunrpc/rpcsvc/sm_inter.x: Likewise.
27690 * sunrpc/rpcsvc/spray.x: Likewise.
27691 * sunrpc/rpcsvc/yppasswd.x: Likewise.
27692 * sunrpc/rtime.c: Likewise.
27693 * sunrpc/svc.c: Likewise.
27694 * sunrpc/svc_auth.c: Likewise.
27695 * sunrpc/svc_authux.c: Likewise.
27696 * sunrpc/svc_raw.c: Likewise.
27697 * sunrpc/svc_run.c: Likewise.
27698 * sunrpc/svc_simple.c: Likewise.
27699 * sunrpc/svc_tcp.c: Likewise.
27700 * sunrpc/svc_udp.c: Likewise.
27701 * sunrpc/svc_unix.c: Likewise.
27702 * sunrpc/svcauth_des.c: Likewise.
27703 * sunrpc/xcrypt.c: Likewise.
27704 * sunrpc/xdr.c: Likewise.
27705 * sunrpc/xdr_array.c: Likewise.
27706 * sunrpc/xdr_float.c: Likewise.
27707 * sunrpc/xdr_mem.c: Likewise.
27708 * sunrpc/xdr_rec.c: Likewise.
27709 * sunrpc/xdr_ref.c: Likewise.
27710 * sunrpc/xdr_sizeof.c: Likewise.
27711 * sunrpc/xdr_stdio.c: Likewise.
27713 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
27716 2010-08-19 Andreas Schwab <schwab@redhat.com>
27718 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
27720 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
27722 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
27723 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
27724 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
27725 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
27726 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
27727 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
27728 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
27729 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
27730 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
27731 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
27732 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
27733 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
27734 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
27735 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
27737 2010-07-26 Anton Blanchard <anton@samba.org>
27739 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
27740 * malloc/arena.c (heap_trim): Likewise.
27742 2010-08-16 Ulrich Drepper <drepper@redhat.com>
27744 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
27746 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
27747 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
27749 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
27751 * sysdeps/i386/elf/Makefile: New file.
27753 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
27755 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
27756 from fanotify_init.
27757 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
27758 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
27760 2010-08-15 Ulrich Drepper <drepper@redhat.com>
27762 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
27764 * sysdeps/multiarch/strcmp.S: Likewise.
27766 2010-08-14 Ulrich Drepper <drepper@redhat.com>
27768 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
27769 strncase_l-nonascii.
27770 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
27771 Add strncase_l-ssse3.
27772 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
27773 * sysdeps/x86_64/strcmp.S: Likewise.
27774 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
27775 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
27776 * sysdeps/x86_64/strncase.S: New file.
27777 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
27778 * sysdeps/x86_64/strncase_l.S: New file.
27779 * string/Makefile (strop-tests): Add strncasecmp.
27780 * string/test-strncasecmp.c: New file.
27782 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
27785 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
27786 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
27788 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
27790 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
27792 2010-08-12 Ulrich Drepper <drepper@redhat.com>
27794 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
27795 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
27796 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
27798 2010-05-01 Alan Modra <amodra@gmail.com>
27800 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
27801 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
27802 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
27803 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
27804 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
27805 tidying. Don't tail-call __sigjmp_save for static lib.
27806 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
27808 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
27809 (CALL_MCOUNT): Add eh info, and nop after bl.
27810 (TAIL_CALL_SYSCALL_ERROR): New macro.
27811 (PSEUDO_RET): Use it.
27812 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
27813 Correct save location of integer regs and cr.
27814 (_dl_profile_resolve): Correct cr save location. Delete nops
27815 after bl when SHARED. Reduce cfi size a little by better
27816 placement of cfi directives.
27817 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
27818 make a stack frame. Instead use parm save area as a temp.
27819 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
27820 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
27821 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
27822 Don't make a stack frame for parent, use parm save area.
27823 Increase child stack frame to 112 bytes. Don't save unused reg,
27824 and adjust reg usage. Set up cfi on error recovery and
27825 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
27826 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
27827 (__makecontext): Add dummy nop after jump to exit.
27828 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
27829 Use correct parm save area and cr save, reduce stack frame.
27830 Correct cfi for possible PSEUDO_RET frame setup.
27831 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
27832 Branch to local label emitted by PSEUDO_RET rather than
27835 2010-08-12 Andreas Schwab <schwab@redhat.com>
27838 * locale/programs/locale.c (print_assignment): New function.
27839 (show_locale_vars): Use it.
27841 2010-08-11 Ulrich Drepper <drepper@redhat.com>
27843 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
27845 (struct statfs64): Likewise.
27846 (_STATFS_F_FLAGS): Define.
27847 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
27848 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
27849 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
27850 (ST_VALID): Define locally.
27851 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
27852 __statvfs_getflags, use the provided value.
27853 * sysdeps/unix/sysv/linux/kernel-features.h: Define
27854 __ASSUME_STATFS_F_FLAGS.
27856 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
27858 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
27859 Add sys/fanotify.h.
27860 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
27861 fanotify_mask for GLIBC_2.13.
27862 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
27863 fanotify_init and fanotify_mark.
27864 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
27865 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
27867 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
27869 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
27870 prlimit64 for GLIBC_2.13.
27871 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
27873 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
27875 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
27876 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
27877 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
27878 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
27879 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
27881 * sysdeps/unix/sysv/linux/prlimit.c: New file.
27884 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
27885 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
27887 * nss/Makefile: Add rules to build and run tst-nss-test1.
27888 * shlib-versions: Add entry for libnss_test1.
27889 * nss/nss_test1.c: New file.
27890 * nss/tst-nss-test1.c: New file.
27892 * nss/nsswitch.c (__nss_database_custom): Define new variable.
27893 (__nss_configure_lookup): Set appropriate entry in
27894 __nss_configure_lookup to true.
27895 * nss/nsswitch.h: Define enum with indeces of databases in
27896 databases and __nss_database_custom arrays. Declare
27897 __nss_database_custom.
27898 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
27899 to avoid using nscd when custom rules are installed.
27900 * nss/getXXbyYY_r.c: Likewise.
27901 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
27903 * nss/nss_files/files-parse.c: Whitespace fixes.
27905 2010-08-09 Ulrich Drepper <drepper@redhat.com>
27908 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
27909 * posix/fnmatch_loop.c: Likewise.
27911 2010-07-17 Andi Kleen <ak@linux.intel.com>
27913 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
27914 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
27915 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
27916 * Versions.def [GLIBC_2.13]: Add.
27918 2010-08-06 Ulrich Drepper <drepper@redhat.com>
27920 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
27921 Also fail if tpwd after pwuid call is NULL.
27923 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
27925 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
27926 when converting to ms.
27928 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
27930 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
27931 EOPNOTSUPP errors with ENOTTY.
27932 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
27933 EOPNOTSUPP errors with ENOTTY.
27935 2010-07-31 Ulrich Drepper <drepper@redhat.com>
27937 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
27938 Add strcasecmp_l-ssse3.
27939 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
27941 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
27942 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
27943 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
27945 2010-07-30 Ulrich Drepper <drepper@redhat.com>
27947 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
27949 * string/Makefile (strop-tests): Add strcasecmp.
27950 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
27951 strcasecmp_l-nonascii.
27952 (gen-as-const-headers): Add locale-defines.sym.
27953 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
27954 * sysdeps/x86_64/strcasecmp.S: New file.
27955 * sysdeps/x86_64/strcasecmp_l.S: New file.
27956 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
27957 * sysdeps/x86_64/locale-defines.sym: New file.
27958 * string/test-strcasecmp.c: New file.
27960 * string/test-strcasestr.c: Test both ends of the range of characters.
27961 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
27963 2010-07-29 Roland McGrath <roland@redhat.com>
27966 * manual/locale.texi (Yes-or-No Questions): Fix example code.
27968 2010-07-27 Ulrich Drepper <drepper@redhat.com>
27970 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
27973 2010-07-27 Andreas Schwab <schwab@redhat.com>
27975 * manual/memory.texi (Malloc Tunable Parameters): Document
27978 2010-07-26 Roland McGrath <roland@redhat.com>
27981 * configure.in (-fgnu89-inline check): Set and substitute
27982 gnu89_inline, not libc_cv_gnu89_inline.
27983 * configure: Regenerated.
27984 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
27986 2010-07-26 Ulrich Drepper <drepper@redhat.com>
27988 * string/test-strnlen.c: New file.
27989 * string/Makefile (strop-tests): Add strnlen.
27990 * string/tester.c (test_strnlen): Add a few more test cases.
27991 * string/tst-strlen.c: Better error reporting.
27993 * sysdeps/x86_64/strnlen.S: New file.
27995 2010-07-24 Ulrich Drepper <drepper@redhat.com>
27997 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
27998 lower-latency instructions.
28000 2010-07-23 Ulrich Drepper <drepper@redhat.com>
28002 * string/test-strcasestr.c: New file.
28003 * string/test-strstr.c: New file.
28004 * string/Makefile (strop-tests): Add strstr and strcasestr.
28005 * string/str-two-way.h: Don't undefine MAX.
28006 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
28008 2010-07-21 Andreas Schwab <schwab@redhat.com>
28010 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28011 strcasestr-nonascii.
28012 (CFLAGS-strcasestr-nonascii.c): Define.
28013 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
28014 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
28015 Remove unused attribute.
28017 2010-07-20 Roland McGrath <roland@redhat.com>
28019 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
28020 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
28021 ld.so.cache was broken. With it, there is no way to disable dsocaps
28022 like LD_HWCAP_MASK can disable hwcaps.
28024 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
28026 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
28028 2010-07-16 Ulrich Drepper <drepper@redhat.com>
28030 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
28031 call in strcasestr.
28032 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
28033 __strcasestr_sse42_nonascii.
28034 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
28035 strcasestr-nonascii.c.
28036 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
28038 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
28040 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
28041 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
28042 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
28043 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
28045 2010-07-09 Ulrich Drepper <drepper@redhat.com>
28047 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
28050 2010-07-06 Andreas Schwab <schwab@redhat.com>
28053 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
28056 2010-07-06 Ulrich Drepper <drepper@redhat.com>
28058 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
28059 _PC_PIPE_BUF using F_GETPIPE_SZ.
28061 2010-07-05 Roland McGrath <roland@redhat.com>
28063 * manual/arith.texi (Rounding Functions): Fix rint description
28064 implicit in round description.
28066 2010-07-02 Ulrich Drepper <drepper@redhat.com>
28068 * elf/Makefile: Fix linking for a few tests to make recent linker
28071 2010-06-30 Andreas Schwab <schwab@redhat.com>
28073 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
28074 $(common-objpfx)libc_nonshared.a.
28076 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
28078 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
28079 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
28080 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
28081 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
28082 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
28083 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
28084 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
28085 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
28086 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
28087 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
28088 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
28089 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
28090 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
28091 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
28092 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
28093 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
28094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
28095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
28096 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
28097 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
28098 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
28099 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
28100 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
28101 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
28102 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
28103 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
28104 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
28105 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
28106 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
28107 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
28108 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
28109 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
28110 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
28111 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
28112 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
28113 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
28114 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
28115 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
28116 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
28117 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
28118 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
28119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
28120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
28121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
28122 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
28123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
28124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
28125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
28127 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
28129 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
28130 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
28131 * string/memmove.c (memmove): Renamed to ...
28132 (MEMMOVE): ...this. Default to memmove.
28133 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
28134 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
28136 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28137 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
28138 mempcpy-ssse3-back memmove-ssse3-back.
28139 * sysdeps/x86_64/multiarch/bcopy.S: New file .
28140 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
28141 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
28142 * sysdeps/x86_64/multiarch/memcpy.S: New file.
28143 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
28144 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
28145 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
28146 * sysdeps/x86_64/multiarch/memmove.c: New file.
28147 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
28148 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
28149 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
28150 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
28151 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
28152 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
28154 (index_Fast_Copy_Backward): Define.
28155 (HAS_ARCH_FEATURE): Define.
28156 (HAS_FAST_REP_STRING): Define.
28157 (HAS_FAST_COPY_BACKWARD): Define.
28159 2010-06-21 Andreas Schwab <schwab@redhat.com>
28161 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
28162 Restore proper fallback handling.
28164 2010-06-19 Ulrich Drepper <drepper@redhat.com>
28167 * posix/group_member.c (__group_member): Correct checking loop.
28169 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
28170 OOM in getpwuid_r correctly. Return error number when the caller
28171 should return, otherwise -1.
28172 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
28173 call returning > 0 value.
28174 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
28176 2010-06-07 Andreas Schwab <schwab@redhat.com>
28178 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
28179 libc_nonshared.a from targets in modules-names.
28181 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
28183 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
28186 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
28188 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
28189 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
28190 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
28191 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
28193 2010-06-02 Andreas Schwab <schwab@redhat.com>
28195 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
28197 2010-06-14 Ulrich Drepper <drepper@redhat.com>
28199 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
28201 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
28202 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
28203 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
28204 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
28205 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
28206 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
28208 2010-06-14 Roland McGrath <roland@redhat.com>
28210 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
28212 2010-06-07 Jakub Jelinek <jakub@redhat.com>
28214 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
28215 __REDIRECT followed by __THROW.
28216 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
28217 * posix/getopt.h (getopt): Likewise.
28219 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
28221 * hurd/lookup-at.c (__file_name_lookup_at): Accept
28222 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
28223 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
28225 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
28226 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
28228 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
28230 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
28232 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
28235 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28236 Properly check family and model.
28238 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
28240 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
28242 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
28244 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
28246 2010-05-21 Ulrich Drepper <drepper@redhat.com>
28248 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
28251 2010-05-19 Andreas Schwab <schwab@redhat.com>
28253 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
28256 2010-05-21 Andreas Schwab <schwab@redhat.com>
28258 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
28259 and internal_recvmmsg.
28260 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
28261 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
28262 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
28263 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
28265 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
28266 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
28267 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
28269 2010-05-20 Andreas Schwab <schwab@redhat.com>
28271 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
28273 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
28275 POWER7 optimizations.
28276 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
28277 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
28279 2010-05-19 Ulrich Drepper <drepper@redhat.com>
28281 * version.h: Update for 2.13 development version.
28283 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
28285 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
28286 exceptions. Return 0.
28288 2010-05-07 Roland McGrath <roland@redhat.com>
28290 * elf/ldconfig.c (main): Add a const.
28292 2010-05-06 Ulrich Drepper <drepper@redhat.com>
28294 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
28295 (args_options): Add no-idn option.
28296 (ahosts_keys_int): Add idn_flags to ai_flags.
28297 (parse_option): Handle 'i' option to clear idn_flags.
28299 * malloc/malloc.c (_int_free): Possible race in the most recently
28300 added check. Only act on the data if no current modification
28303 See ChangeLog.17 for earlier changes.