1 2013-11-14 Andreas Schwab <schwab@suse.de>
3 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
4 word instead of empty string.
6 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
9 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
10 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
11 (__fe_nomask_env): Likewise.
13 2013-11-13 Steve Ellcey <sellcey@mips.com>
15 * benchtests/bench-timing.h: Include time.h.
17 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
20 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
22 * sysdeps/unix/sysv/linux/configure: Regenerated.
24 2013-11-13 Joseph Myers <joseph@codesourcery.com>
27 * stdlib/strtod_l.c (round_and_return): Do not consider
28 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
29 exponent one less than half the least subnormal exponent.
30 * stdlib/test-strtod-round-data: Add more tests.
31 * stdlib/tst-strtod-round.c (tests): Regenerated.
33 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
37 (__fe_mask_env): Likewise.
38 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
39 libm_hidden_proto and add function prototype.
40 (__fe_mask_env): Add function prototype.
41 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
42 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
43 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
44 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
45 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
46 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
48 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
50 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
51 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
53 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
55 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
58 2013-11-11 David S. Miller <davem@davemloft.net>
61 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
62 symbol in the non-vis3 case in static builds.
63 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
64 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
65 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
66 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
68 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
71 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
74 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
76 * benchtests/Makefile: Add bench-strtod.
77 * benchtests/bench-strtod.c: New file: strtod benchtest
79 2013-11-11 Andreas Schwab <schwab@suse.de>
82 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
83 terminating NUL in key length.
85 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
87 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
88 Add artificial ODP entry for vDSO symbol for PPC64.
89 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
90 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
92 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
95 * nss/getent.c (services_keys): Recognize services starting with digit.
97 2013-11-06 David S. Miller <davem@davemloft.net>
100 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
101 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
103 2013-11-06 Will Newton <will.newton@linaro.org>
105 * manual/memory.texi (Malloc Examples): Remove register
106 keyword from examples.
108 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
110 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
112 2013-11-04 Joseph Myers <joseph@codesourcery.com>
114 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
115 depending on [__GCC_IEC_559 > 0].
116 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
117 depending on [__GCC_IEC_559_COMPLEX > 0].
119 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
121 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
124 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
126 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
128 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
131 * malloc/malloc (malloc_info): Do not handle first bin as
134 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
136 * locale/iso-639.def: Add Central Nahuatl (nhn).
138 2013-11-01 Bruno Haible <bruno@clisp.org>
141 * manual/math.texi (BSD Random): Specify range upper bound as
144 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
146 * locale/iso-639.def: Add Meadow Mari (mhr).
148 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
150 [BZ #14752], [BZ #15763]
151 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
153 * rt/tst_shm.c: Add test for escaping directory.
155 2013-10-31 Andreas Schwab <schwab@suse.de>
158 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
159 followed by 'x' as part of digit sequence.
160 * stdio-common/tst-sscanf.c (double_tests2): New tests.
162 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
165 * configure.ac: allow GNU Make 4.0 and greater.
166 * configure: Regenerated.
168 2013-10-30 Will Newton <will.newton@linaro.org>
171 * malloc/hooks.c (memalign_check): Limit alignment to the
172 maximum representable power of two.
173 * malloc/malloc.c (__libc_memalign): Likewise.
174 * malloc/tst-memalign.c (do_test): Add test for very
175 large alignment values.
176 * malloc/tst-posix_memalign.c (do_test): Likewise.
178 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
181 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
182 (munmap_chunk): Likewise.
183 (mremap_chunk): Likewise.
185 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
188 * stdlib/div.c (div): Remove obsolete code.
189 * stdlib/ldiv.c (ldiv): Likewise.
190 * stdlib/lldiv.c (lldiv): Likewise.
192 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
195 * nss/nss_files/files-XXX.c (get_contents_ret): New
197 (get_contents): New function.
198 (internal_getent): Use it. Expand size of LINEBUFLEN.
200 2013-10-30 Mike Frysinger <vapier@gentoo.org>
202 * configure.in: Moved to ...
203 * configure.ac: ... here. Change reference to configure.in
205 * sysdeps/arm/preconfigure.ac: ... here.
206 configure.in to configure.ac.
207 * sysdeps/gnu/configure.in: Moved to ...
208 * sysdeps/gnu/configure.ac: ... here.
209 * sysdeps/i386/configure.in: Moved to ...
210 * sysdeps/i386/configure.ac: ... here.
211 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
212 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
213 * sysdeps/mach/configure.in: Moved to ...
214 * sysdeps/mach/configure.ac: ... here.
215 * sysdeps/mach/hurd/configure.in: Moved to ...
216 * sysdeps/mach/hurd/configure.ac: ... here.
217 * sysdeps/powerpc/configure.in: Moved to ...
218 * sysdeps/powerpc/configure.ac: ... here.
219 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
220 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
221 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
222 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
223 * sysdeps/s390/s390-32/configure.in: Moved to ...
224 * sysdeps/s390/s390-32/configure.ac: ... here.
225 * sysdeps/s390/s390-64/configure.in: Moved to ...
226 * sysdeps/s390/s390-64/configure.ac: ... here.
227 * sysdeps/sh/configure.in: Moved to ...
228 * sysdeps/sh/configure.ac: ... here.
229 * sysdeps/sparc/configure.in: Moved to ...
230 * sysdeps/sparc/configure.ac: ... here.
231 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
232 * sysdeps/unix/sysv/linux/configure.ac: ... here.
233 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
234 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
235 * sysdeps/x86_64/configure.in: Moved to ...
236 * sysdeps/x86_64/configure.ac: ... here.
237 * sysdeps/x86_64/preconfigure.in: Moved to ...
238 * sysdeps/x86_64/preconfigure.ac: ... here.
239 * aclocal.m4: Change reference to configure.in to configure.ac.
240 * config.h.in: Likewise.
241 * manual/install.texi: Likewise.
242 * manual/maint.texi: Likewise.
243 * Makefile: Likewise.
244 * malloc/Makefile: Likewise.
245 * nscd/Makefile: Likewise.
246 * Makeconfig: Change reference to configure.in and
247 preconfigure.in to configure.ac and preconfigure.ac
249 * INSTALL: Regenerated.
250 * configure: Likewise.
251 * sysdeps/gnu/configure: Likewise.
252 * sysdeps/i386/configure: Likewise.
253 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
254 * sysdeps/mach/configure: Likewise.
255 * sysdeps/mach/hurd/configure: Likewise.
256 * sysdeps/powerpc/configure: Likewise.
257 * sysdeps/powerpc/powerpc32/configure: Likewise.
258 * sysdeps/powerpc/powerpc64/configure: Likewise.
259 * sysdeps/s390/s390-32/configure: Likewise.
260 * sysdeps/s390/s390-64/configure: Likewise.
261 * sysdeps/sh/configure: Likewise.
262 * sysdeps/sparc/configure: Likewise.
263 * sysdeps/unix/sysv/linux/configure: Likewise.
264 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
265 * sysdeps/x86_64/configure: Likewise.
266 * sysdeps/x86_64/preconfigure: Likewise.
268 2013-10-29 Andreas Schwab <schwab@suse.de>
270 * stdio-common/Makefile (tst-swscanf-ENV): Define.
272 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
274 * benchtests/pow-inputs: Add new inputs.
276 * benchtests/exp-inputs: Add new inputs.
278 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
279 conditional check for return value.
282 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
284 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
285 to provide a boost for large inputs with word alignment.
286 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
287 implementation based on optimized PPC64 strcpy.
288 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
289 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
290 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
291 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
293 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
296 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
298 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
301 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
302 * time/tst-strptime.c (day_tests): Add testcase.
304 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
307 * manual/pattern.texi: Acknowledge that fnmatch can fail.
309 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
312 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
315 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
318 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
319 heap for large requests.
321 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
324 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
325 result if the result has no associated interface.
326 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
327 interface for all 127.X.Y.Z addresses.
329 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
331 * locale/iso-639.def: Add Ligurian (lij)
333 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
336 * sunrpc/rpc_main.c: Document rpcgen -5.
338 2013-10-19 Michael Stahl <mstahl@redhat.com>
340 * elf/rtld.c (do_preload): Print the reason why preloading failed.
342 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
345 * posix/glob.c: Match only directories when trailing slash is present.
346 * posix/tst-gnuglob.c (my_opendir): Do not open files.
347 (main): Add testcase.
349 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
352 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
354 2013-10-18 Carlos O'Donell <carlos@redhat.com>
356 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
357 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
358 AUTH_DES and cindex for FIPS 140-2.
359 (DES Encryption): Add cindex FIPS 46-3.
361 * locale/locarchive.h (struct locarhandle): Add fname.
362 * locale/programs/localedef.c (main): Pass ARGV[remaining]
363 if an optional argument was specified to --list-archive,
365 * locale/programs/locarchive.c (show_archive_content): Take new
366 argument fname and pass it via ah.fname to open_archive.
367 * locale/programs/localedef.h: Update decl.
368 (open_archive): If AH->fname is non-null, open that file
369 rather than the default file name, and don't ignore ENOENT.
370 (create_archive): Set AH.fname to NULL.
371 (delete_locales_from_archive): Likewise.
372 (add_locales_to_archive): Likewise.
373 * locale/programs/locfile.c (write_all_categories): Likewise.
375 2013-10-18 Joseph Myers <joseph@codesourcery.com>
376 Aldy Hernandez <aldyh@redhat.com>
378 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
379 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
380 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
381 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
382 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
383 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
384 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
385 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
386 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
387 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
388 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
389 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
390 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
391 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
392 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
394 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
396 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
398 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
400 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
401 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
403 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
404 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
405 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
406 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
408 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
409 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
410 * sysdeps/powerpc/preconfigure: Likewise.
411 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
413 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
414 Replace contents of file by #include of <fenv_libc.h>.
415 * sysdeps/powerpc/soft-fp/sfp-machine.h
416 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
418 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
419 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
420 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
421 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
422 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
423 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
424 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
425 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
426 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
427 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
428 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
429 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
430 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
431 Allow copysignl PLT reference to be missing.
433 2013-10-18 Richard Sandiford <richard@codesourcery.com>
434 Joseph Myers <joseph@codesourcery.com
437 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
439 (add_to_tablewc): Assert sequence of wide characters is nonempty.
441 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
443 * elf/tst-tls-dlinfo.c: Don't include tls.h.
444 * elf/tst-tls1.c: Likewise.
445 * elf/tst-tls10.h: Likewise.
446 * elf/tst-tls14.c: Likewise.
447 * elf/tst-tls2.c: Likewise.
448 * elf/tst-tls3.c: Likewise.
449 * elf/tst-tls4.c: Likewise.
450 * elf/tst-tls5.c: Likewise.
451 * elf/tst-tls6.c: Likewise.
452 * elf/tst-tls7.c: Likewise.
453 * elf/tst-tls8.c: Likewise.
454 * elf/tst-tls9.c: Likewise.
455 * elf/tst-tlsmod1.c: Likewise.
456 * elf/tst-tlsmod13.c: Likewise.
457 * elf/tst-tlsmod13a.c: Likewise.
458 * elf/tst-tlsmod14a.c: Likewise.
459 * elf/tst-tlsmod16a.c: Likewise.
460 * elf/tst-tlsmod16b.c: Likewise.
461 * elf/tst-tlsmod2.c: Likewise.
462 * elf/tst-tlsmod3.c: Likewise.
463 * elf/tst-tlsmod4.c: Likewise.
464 * elf/tst-tlsmod5.c: Likewise.
465 * elf/tst-tlsmod6.c: Likewise.
467 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
470 * malloc/malloc.c: remove checks for statistics.
472 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
475 * inet/inet_net.c (inet_network): Detect additional invalid strings.
476 * inet/tst-network.c: Add testcase.
478 2013-10-17 Andreas Schwab <schwab@suse.de>
481 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
482 to determine canonical name.
484 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
486 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
487 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
488 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
489 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
490 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
491 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
492 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
493 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
494 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
495 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
496 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
497 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
498 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
499 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
500 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
501 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
502 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
503 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
504 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
505 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
506 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
507 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
508 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
509 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
510 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
511 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
512 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
513 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
514 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
515 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
516 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
517 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
518 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
519 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
520 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
521 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
522 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
523 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
524 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
525 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
526 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
527 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
528 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
529 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
530 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
531 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
532 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
533 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
534 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
535 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
536 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
537 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
538 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
539 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
540 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
541 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
542 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
543 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
545 2013-10-17 Joseph Myers <joseph@codesourcery.com>
548 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
549 make result into a quiet NaN.
551 2013-10-16 Joseph Myers <joseph@codesourcery.com>
553 * soft-fp/adddf3.c: Fix horizontal whitespace.
554 * soft-fp/addsf3.c: Likewise.
555 * soft-fp/addtf3.c: Likewise.
556 * soft-fp/divdf3.c: Likewise.
557 * soft-fp/divsf3.c: Likewise.
558 * soft-fp/divtf3.c: Likewise.
559 * soft-fp/double.h: Likewise.
560 * soft-fp/eqdf2.c: Likewise.
561 * soft-fp/eqsf2.c: Likewise.
562 * soft-fp/eqtf2.c: Likewise.
563 * soft-fp/extenddftf2.c: Likewise.
564 * soft-fp/extended.h: Likewise.
565 * soft-fp/extendsfdf2.c: Likewise.
566 * soft-fp/extendsftf2.c: Likewise.
567 * soft-fp/extendxftf2.c: Likewise.
568 * soft-fp/fixdfdi.c: Likewise.
569 * soft-fp/fixdfsi.c: Likewise.
570 * soft-fp/fixdfti.c: Likewise.
571 * soft-fp/fixsfdi.c: Likewise.
572 * soft-fp/fixsfsi.c: Likewise.
573 * soft-fp/fixsfti.c: Likewise.
574 * soft-fp/fixtfdi.c: Likewise.
575 * soft-fp/fixtfsi.c: Likewise.
576 * soft-fp/fixtfti.c: Likewise.
577 * soft-fp/fixunsdfdi.c: Likewise.
578 * soft-fp/fixunsdfsi.c: Likewise.
579 * soft-fp/fixunsdfti.c: Likewise.
580 * soft-fp/fixunssfdi.c: Likewise.
581 * soft-fp/fixunssfsi.c: Likewise.
582 * soft-fp/fixunssfti.c: Likewise.
583 * soft-fp/fixunstfdi.c: Likewise.
584 * soft-fp/fixunstfsi.c: Likewise.
585 * soft-fp/fixunstfti.c: Likewise.
586 * soft-fp/floatdidf.c: Likewise.
587 * soft-fp/floatdisf.c: Likewise.
588 * soft-fp/floatditf.c: Likewise.
589 * soft-fp/floatsidf.c: Likewise.
590 * soft-fp/floatsisf.c: Likewise.
591 * soft-fp/floatsitf.c: Likewise.
592 * soft-fp/floattidf.c: Likewise.
593 * soft-fp/floattisf.c: Likewise.
594 * soft-fp/floattitf.c: Likewise.
595 * soft-fp/floatundidf.c: Likewise.
596 * soft-fp/floatundisf.c: Likewise.
597 * soft-fp/floatunditf.c: Likewise.
598 * soft-fp/floatunsidf.c: Likewise.
599 * soft-fp/floatunsisf.c: Likewise.
600 * soft-fp/floatunsitf.c: Likewise.
601 * soft-fp/floatuntidf.c: Likewise.
602 * soft-fp/floatuntisf.c: Likewise.
603 * soft-fp/floatuntitf.c: Likewise.
604 * soft-fp/fmadf4.c: Likewise.
605 * soft-fp/fmasf4.c: Likewise.
606 * soft-fp/fmatf4.c: Likewise.
607 * soft-fp/gedf2.c: Likewise.
608 * soft-fp/gesf2.c: Likewise.
609 * soft-fp/getf2.c: Likewise.
610 * soft-fp/ledf2.c: Likewise.
611 * soft-fp/lesf2.c: Likewise.
612 * soft-fp/letf2.c: Likewise.
613 * soft-fp/muldf3.c: Likewise.
614 * soft-fp/mulsf3.c: Likewise.
615 * soft-fp/multf3.c: Likewise.
616 * soft-fp/negdf2.c: Likewise.
617 * soft-fp/negsf2.c: Likewise.
618 * soft-fp/negtf2.c: Likewise.
619 * soft-fp/op-1.h: Likewise.
620 * soft-fp/op-2.h: Likewise.
621 * soft-fp/op-4.h: Likewise.
622 * soft-fp/op-8.h: Likewise.
623 * soft-fp/op-common.h: Likewise.
624 * soft-fp/quad.h: Likewise.
625 * soft-fp/single.h: Likewise.
626 * soft-fp/soft-fp.h: Likewise.
627 * soft-fp/sqrtdf2.c: Likewise.
628 * soft-fp/sqrtsf2.c: Likewise.
629 * soft-fp/sqrttf2.c: Likewise.
630 * soft-fp/subdf3.c: Likewise.
631 * soft-fp/subsf3.c: Likewise.
632 * soft-fp/subtf3.c: Likewise.
633 * soft-fp/truncdfsf2.c: Likewise.
634 * soft-fp/trunctfdf2.c: Likewise.
635 * soft-fp/trunctfsf2.c: Likewise.
636 * soft-fp/trunctfxf2.c: Likewise.
637 * soft-fp/unorddf2.c: Likewise.
638 * soft-fp/unordsf2.c: Likewise.
639 * soft-fp/unordtf2.c: Likewise.
641 2013-10-15 Joseph Myers <joseph@codesourcery.com>
643 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
644 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
646 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
648 * elf/dl-libc.c: Clear initfini list after freeing.
650 2013-10-14 Joseph Myers <joseph@codesourcery.com>
652 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
653 * soft-fp/addsf3.c: Likewise.
654 * soft-fp/addtf3.c: Likewise.
655 * soft-fp/divdf3.c: Likewise.
656 * soft-fp/divsf3.c: Likewise.
657 * soft-fp/divtf3.c: Likewise.
658 * soft-fp/double.h: Likewise.
659 * soft-fp/eqdf2.c: Likewise.
660 * soft-fp/eqsf2.c: Likewise.
661 * soft-fp/eqtf2.c: Likewise.
662 * soft-fp/extenddftf2.c: Likewise.
663 * soft-fp/extended.h: Likewise.
664 * soft-fp/extendsfdf2.c: Likewise.
665 * soft-fp/extendsftf2.c: Likewise.
666 * soft-fp/extendxftf2.c: Likewise.
667 * soft-fp/fixdfdi.c: Likewise.
668 * soft-fp/fixdfsi.c: Likewise.
669 * soft-fp/fixdfti.c: Likewise.
670 * soft-fp/fixsfdi.c: Likewise.
671 * soft-fp/fixsfsi.c: Likewise.
672 * soft-fp/fixsfti.c: Likewise.
673 * soft-fp/fixtfdi.c: Likewise.
674 * soft-fp/fixtfsi.c: Likewise.
675 * soft-fp/fixtfti.c: Likewise.
676 * soft-fp/fixunsdfdi.c: Likewise.
677 * soft-fp/fixunsdfsi.c: Likewise.
678 * soft-fp/fixunsdfti.c: Likewise.
679 * soft-fp/fixunssfdi.c: Likewise.
680 * soft-fp/fixunssfsi.c: Likewise.
681 * soft-fp/fixunssfti.c: Likewise.
682 * soft-fp/fixunstfdi.c: Likewise.
683 * soft-fp/fixunstfsi.c: Likewise.
684 * soft-fp/fixunstfti.c: Likewise.
685 * soft-fp/floatdidf.c: Likewise.
686 * soft-fp/floatdisf.c: Likewise.
687 * soft-fp/floatditf.c: Likewise.
688 * soft-fp/floatsidf.c: Likewise.
689 * soft-fp/floatsisf.c: Likewise.
690 * soft-fp/floatsitf.c: Likewise.
691 * soft-fp/floattidf.c: Likewise.
692 * soft-fp/floattisf.c: Likewise.
693 * soft-fp/floattitf.c: Likewise.
694 * soft-fp/floatundidf.c: Likewise.
695 * soft-fp/floatundisf.c: Likewise.
696 * soft-fp/floatunsidf.c: Likewise.
697 * soft-fp/floatunsisf.c: Likewise.
698 * soft-fp/floatuntidf.c: Likewise.
699 * soft-fp/floatuntisf.c: Likewise.
700 * soft-fp/floatuntitf.c: Likewise.
701 * soft-fp/fmadf4.c: Likewise.
702 * soft-fp/fmasf4.c: Likewise.
703 * soft-fp/fmatf4.c: Likewise.
704 * soft-fp/gedf2.c: Likewise.
705 * soft-fp/gesf2.c: Likewise.
706 * soft-fp/getf2.c: Likewise.
707 * soft-fp/ledf2.c: Likewise.
708 * soft-fp/lesf2.c: Likewise.
709 * soft-fp/letf2.c: Likewise.
710 * soft-fp/muldf3.c: Likewise.
711 * soft-fp/mulsf3.c: Likewise.
712 * soft-fp/multf3.c: Likewise.
713 * soft-fp/negdf2.c: Likewise.
714 * soft-fp/negsf2.c: Likewise.
715 * soft-fp/negtf2.c: Likewise.
716 * soft-fp/op-1.h: Likewise.
717 * soft-fp/op-2.h: Likewise.
718 * soft-fp/op-4.h: Likewise.
719 * soft-fp/op-8.h: Likewise.
720 * soft-fp/op-common.h: Likewise.
721 * soft-fp/quad.h: Likewise.
722 * soft-fp/single.h: Likewise.
723 * soft-fp/soft-fp.h: Likewise.
724 * soft-fp/sqrtdf2.c: Likewise.
725 * soft-fp/sqrtsf2.c: Likewise.
726 * soft-fp/sqrttf2.c: Likewise.
727 * soft-fp/subdf3.c: Likewise.
728 * soft-fp/subsf3.c: Likewise.
729 * soft-fp/subtf3.c: Likewise.
730 * soft-fp/truncdfsf2.c: Likewise.
731 * soft-fp/trunctfdf2.c: Likewise.
732 * soft-fp/trunctfsf2.c: Likewise.
733 * soft-fp/trunctfxf2.c: Likewise.
734 * soft-fp/unorddf2.c: Likewise.
735 * soft-fp/unordsf2.c: Likewise.
736 * soft-fp/unordtf2.c: Likewise.
738 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
741 * misc/error.c (error_tail): Fix possible buffer overflow.
743 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
746 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
749 2013-10-14 P. J. McDermott <pj@pehjota.net>
752 * elf/ldd.bash.in (try_trace): New function. Delete previous code
753 testing pipefail option.
755 2013-10-12 Joseph Myers <joseph@codesourcery.com>
757 * soft-fp/double.h: Indent preprocessor directives inside #if.
758 * soft-fp/extended.h: Likewise.
759 * soft-fp/op-2.h: Likewise.
760 * soft-fp/op-4.h: Likewise.
761 * soft-fp/op-common.h: Likewise.
762 * soft-fp/quad.h: Likewise.
763 * soft-fp/single.h: Likewise.
764 * soft-fp/soft-fp.h: Likewise.
766 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
768 * iconv/iconv_prog.c: Fix typos.
769 * stdio-common/psiginfo-data.h: Likewise.
771 2013-10-12 Reuben Thomas <rrt@sc3d.org>
774 * locale/setlocale.c: Fix typo.
776 2013-10-12 Joseph Myers <joseph@codesourcery.com>
779 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
780 signaling NaN arguments.
781 * soft-fp/unordsf2.c (__unordsf2): Likewise.
782 * soft-fp/unordtf2.c (__unordtf2): Likewise.
785 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
787 * soft-fp/gesf2.c (__gesf2): Likewise.
788 * soft-fp/getf2.c (__getf2): Likewise.
789 * soft-fp/ledf2.c (__ledf2): Likewise.
790 * soft-fp/lesf2.c (__lesf2): Likewise.
791 * soft-fp/letf2.c (__letf2): Likewise.
793 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
794 * soft-fp/eqsf2.c (__eqsf2): Likewise.
795 * soft-fp/eqtf2.c (__eqtf2): Likewise.
796 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
797 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
798 * soft-fp/fixdfti.c (__fixdfti): Likewise.
799 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
800 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
801 * soft-fp/fixsfti.c (__fixsfti): Likewise.
802 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
803 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
804 * soft-fp/fixtfti.c (__fixtfti): Likewise.
805 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
806 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
807 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
808 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
809 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
810 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
811 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
812 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
813 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
814 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
815 * soft-fp/floatdisf.c (__floatdisf): Likewise.
816 * soft-fp/floatsisf.c (__floatsisf): Likewise.
817 * soft-fp/floattidf.c (__floattidf): Likewise.
818 * soft-fp/floattisf.c (__floattisf): Likewise.
819 * soft-fp/floattitf.c (__floattitf): Likewise.
820 * soft-fp/floatundidf.c (__floatundidf): Likewise.
821 * soft-fp/floatundisf.c (__floatundisf): Likewise.
822 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
823 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
824 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
825 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
826 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
827 * soft-fp/gesf2.c (__gesf2): Likewise.
828 * soft-fp/getf2.c (__getf2): Likewise.
829 * soft-fp/ledf2.c (__ledf2): Likewise.
830 * soft-fp/lesf2.c (__lesf2): Likewise.
831 * soft-fp/letf2.c (__letf2): Likewise.
833 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
834 Undefine and redefine.
835 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
836 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
837 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
838 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
839 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
840 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
841 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
842 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
843 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
844 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
845 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
846 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
847 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
848 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
849 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
852 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
853 without decrementing exponent if mantissa >= that for the
855 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
856 denominator, not >. Decrement exponent in < case instead of
857 incrementing in >= case.
858 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
859 without decrementing exponent if mantissa >= that for the
862 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
863 computing saturated result for unsigned overflow.
865 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
866 Jeff Law <law@redhat.com>
868 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
869 (atan2Mp): Add systemtap probe marker.
870 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
871 (__ieee754_log): Add systemtap probe marker.
872 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
873 (atanMp): Add systemtap probe marker.
874 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
875 (tanMp): Add systemtap probe marker.
876 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
877 (__slowexp): Add systemtap probe marker.
878 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
879 (__slowpow): Add systemtap probe marker.
880 * manual/probes.texi: Document probes.
882 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
885 * libio/fileops.c (_IO_new_file_write): Return count of bytes
887 (_IO_new_file_xsputn): Don't return EOF if nothing has been
889 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
890 written to buffer but not flushed.
891 * libio/iofwrite_u.c: Likewise.
892 * libio/iopadn.c: Return bytes returned even if EOF was
894 * libio/iowpadn.c: Likewise.
895 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
896 if _IO_padn does not write the whole buffer.
897 [!COMPILE_WPRINTF] (PAD): Likewise.
899 2013-10-10 David S. Miller <davem@davemloft.net>
901 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
904 2013-10-10 Joseph Myers <joseph@codesourcery.com>
906 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
907 instead of FSF address.
908 * soft-fp/fixdfti.c: Likewise.
909 * soft-fp/fixsfti.c: Likewise.
910 * soft-fp/fixtfti.c: Likewise.
911 * soft-fp/fixunsdfti.c: Likewise.
912 * soft-fp/fixunssfti.c: Likewise.
913 * soft-fp/fixunstfti.c: Likewise.
914 * soft-fp/floattidf.c: Likewise.
915 * soft-fp/floattisf.c: Likewise.
916 * soft-fp/floattitf.c: Likewise.
917 * soft-fp/floatuntidf.c: Likewise.
918 * soft-fp/floatuntisf.c: Likewise.
919 * soft-fp/floatuntitf.c: Likewise.
920 * soft-fp/trunctfxf2.c: Likewise.
922 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
923 * soft-fp/fixdfti.c: Likewise.
924 * soft-fp/fixsfti.c: Likewise.
925 * soft-fp/fixtfti.c: Likewise.
926 * soft-fp/fixunsdfti.c: Likewise.
927 * soft-fp/fixunssfti.c: Likewise.
928 * soft-fp/fixunstfti.c: Likewise.
929 * soft-fp/floattidf.c: Likewise.
930 * soft-fp/floattisf.c: Likewise.
931 * soft-fp/floattitf.c: Likewise.
932 * soft-fp/floatuntidf.c: Likewise.
933 * soft-fp/floatuntisf.c: Likewise.
934 * soft-fp/floatuntitf.c: Likewise.
935 * soft-fp/trunctfxf2.c: Likewise.
937 2013-10-10 David S. Miller <davem@davemloft.net>
939 * sysdeps/sparc/fpu/libm-test-ulps: Update.
941 2013-10-10 Joseph Myers <joseph@codsourcery.com>
943 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
944 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
945 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
946 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
947 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
948 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
949 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
951 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
952 for NaNs before doing comparisons on argument.
953 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
956 2013-10-10 Will Newton <will.newton@linaro.org>
958 * malloc/hooks.c (memalign_check): Ensure the value of bytes
959 passed to _int_memalign does not overflow.
961 2013-10-10 Torvald Riegel <triegel@redhat.com>
963 * scripts/bench.pl: Add include-sources directive.
964 * benchtests/README: Update documentation.
966 2013-10-10 Joseph Myers <joseph@codesourcery.com>
968 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
969 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
970 instead of FP_INIT_ROUNDMODE.
971 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
972 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
975 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
976 copy class of input value.
977 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
978 not handle exceptions.
979 * soft-fp/negsf2.c (__negsf2): Likewise.
980 * soft-fp/negtf2.c (__negtf2): Likewise.
981 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
983 2013-10-09 Joseph Myers <joseph@codesourcery.com>
985 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
986 semicolon. From Linux kernel.
988 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
990 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
992 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
995 * manual/socket.texi: Added statement about buffer
996 for gethostbyname2_r.
998 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
1000 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
1001 Use .p2align directive instead, throughout.
1002 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
1003 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
1004 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
1005 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
1006 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
1007 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
1008 * sysdeps/x86_64/strchr.S: Likewise.
1009 * sysdeps/x86_64/strrchr.S: Likewise.
1011 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
1013 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
1015 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
1017 * sysdeps/generic/math_private.h (__mpsin1): Remove
1019 (__mpcos1): Likewise.
1020 (__mpsin): New argument __range_reduce.
1021 (__mpcos): Likewise.
1022 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
1023 (slow): Use __mpsin and __mpcos.
1030 (bsloww1): Likewise.
1031 (bsloww2): Likewise.
1034 (csloww1): Likewise.
1035 (csloww2): Likewise.
1036 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
1037 range_reduce. Merge in __mpsin1.
1038 (__mpcos): Likewise.
1040 (__mpcos1): Likewise.
1042 2013-10-07 Joseph Myers <joseph@codesourcery.com>
1044 * locale/loadlocale.c (_nl_intern_locale_data): Use
1046 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
1047 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
1048 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
1049 obstack data is appropriately aligned.
1050 (obstack_int32_grow_fast): Likewise.
1051 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
1052 * locale/programs/locfile.c (add_locale_uint32): Likewise.
1053 (add_locale_uint32_array): Likewise.
1055 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
1057 * benchtests/Makefile: Remove ARGLIST and RET variables.
1058 ($(objpfx)bench-%.c): Pass only function name to the script.
1059 * benchtests/README: Update documentation.
1060 * benchtests/acos-inputs: Add new directives.
1061 * benchtests/acosh-inputs: Likewise.
1062 * benchtests/asin-inputs: Likewise.
1063 * benchtests/asinh-inputs: Likewise.
1064 * benchtests/atan-inputs: Likewise.
1065 * benchtests/atanh-inputs: Likewise.
1066 * benchtests/cos-inputs: Likewise.
1067 * benchtests/cosh-inputs: Likewise.
1068 * benchtests/exp-inputs: Likewise.
1069 * benchtests/log-inputs: Likewise.
1070 * benchtests/pow-inputs: Likewise.
1071 * benchtests/rint-inputs: Likewise.
1072 * benchtests/sin-inputs: Likewise.
1073 * benchtests/sinh-inputs: Likewise.
1074 * benchtests/tan-inputs: Likewise.
1075 * benchtests/tanh-inputs: Likewise.
1076 * scripts/bench.pl: Add support for new directives.
1078 2013-10-07 Alan Modra <amodra@gmail.com>
1080 * README: Fix careless merge.
1082 2013-10-05 Alan Modra <amodra@gmail.com>
1084 * NEWS: Mention powerpc64le support and bugs fixed.
1085 * README: Both big-endian and little-endian powerpc64 supported.
1087 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
1089 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
1090 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
1091 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
1092 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
1094 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
1096 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
1099 2013-10-04 Joseph Myers <joseph@codesourcery.com>
1101 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
1102 Move -mhard-float appending from
1103 ports/sysdeps/powerpc/powerpc32/Makefile.
1104 [$(with-fp) = yes] (ASFLAGS): Likewise.
1105 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
1106 * sysdeps/powerpc/nofpu: Move directory from
1107 ports/sysdeps/powerpc/nofpu.
1108 * sysdeps/powerpc/soft-fp: Move directory from
1109 ports/sysdeps/powerpc/soft-fp.
1110 * sysdeps/powerpc/powerpc32/405: Move directory from
1111 ports/sysdeps/powerpc/powerpc32/405.
1112 * sysdeps/powerpc/powerpc32/440: Move directory from
1113 ports/sysdeps/powerpc/powerpc32/440.
1114 * sysdeps/powerpc/powerpc32/464: Move directory from
1115 ports/sysdeps/powerpc/powerpc32/464.
1116 * sysdeps/powerpc/powerpc32/476: Move directory from
1117 ports/sysdeps/powerpc/powerpc32/476.
1118 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
1119 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
1120 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
1121 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
1122 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
1123 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
1124 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
1125 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
1126 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
1127 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
1128 * README: Update for powerpc-*-linux-gnu software floating point
1131 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
1132 case to powerpc/powerpc32*.
1133 * sysdeps/unix/sysv/linux/configure: Regenerated.
1135 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
1136 (_FPU_MASK_OM): Define as 0x04.
1137 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
1138 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
1140 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
1142 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
1144 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
1145 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
1147 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
1148 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
1150 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
1151 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
1152 and setcontext_e500.
1154 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
1156 * locale/iso-3166.def: Update iso-1366.def and related occurrences
1158 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1160 * manual/threads.texi (Default Thread Attributes): Fix typo.
1162 2013-10-04 Will Newton <will.newton@linaro.org>
1164 * malloc/Makefile: Add tst-memalign.
1165 * malloc/tst-memalign.c: New file.
1167 * malloc/tst-posix_memalign.c: Add comments.
1168 (do_test): Add comments and call free on all potentially
1169 allocated pointers. Add space after cast.
1171 * malloc/tst-pvalloc.c: Add comments.
1172 (do_test): Add comments and call free on all potentially
1173 allocated pointers. Remove duplicate check for NULL pointer.
1174 Add space after cast.
1176 * malloc/tst-valloc.c: Add comments.
1177 (do_test): Add comments and call free on all potentially
1178 allocated pointers. Remove duplicate check for NULL pointer.
1179 Add space after cast.
1181 2013-10-04 Alan Modra <amodra@gmail.com>
1183 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
1184 Use stdint types in rather than __attribute__((mode())).
1185 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
1187 2013-10-04 Alan Modra <amodra@gmail.com>
1189 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
1190 Correct handling of unaligned relocs for little-endian.
1191 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
1193 2013-10-04 Alan Modra <amodra@gmail.com>
1195 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
1196 * configure: Regenerate.
1197 * nptl/shlib-versions: Powerpc*le starts at 2.18.
1198 * shlib-versions: Likewise.
1200 2013-10-04 Alan Modra <amodra@gmail.com>
1202 * string/tester.c (test_memrchr): Increment reported test cycle.
1204 2013-10-04 Alan Modra <amodra@gmail.com>
1206 * string/test-memcpy.c (do_one_test): When reporting errors, print
1207 string address and don't overrun end of string.
1209 2013-10-04 Alan Modra <amodra@gmail.com>
1211 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
1212 insrdi. Make better use of reg selection to speed exit slightly.
1213 Schedule entry path a little better. Remove useless "are we done"
1214 checks on entry to main loop. Handle wrapping around zero address.
1215 Correct main loop count. Handle single left-over word from main
1216 loop inline rather than by using loop_small. Remove extra word
1217 case in loop_small caused by wrong loop count. Add little-endian
1219 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
1220 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
1222 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
1223 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
1224 support. Avoid rlwimi.
1225 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
1227 2013-10-04 Alan Modra <amodra@gmail.com>
1229 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
1231 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
1232 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
1233 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
1234 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
1235 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
1236 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
1238 2013-10-04 Alan Modra <amodra@gmail.com>
1240 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
1241 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
1242 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
1243 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
1244 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
1245 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
1246 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
1247 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
1248 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
1249 use of regs. Use power7 mtocrf. Tidy function tails.
1251 2013-10-04 Alan Modra <amodra@gmail.com>
1253 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
1254 Formatting. Consistently use rXXX register defines or rN defines.
1255 Use early exit labels that avoid restoring unused non-volatile regs.
1256 Make cr field use more consistent with rWORDn compares. Rename
1257 regs used as shift registers for unaligned loop, using rN defines
1258 for short lifetime/multiple use regs.
1259 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
1260 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
1261 addi 1,1,64 to pop stack frame. Simplify return value code.
1262 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
1264 2013-10-04 Alan Modra <amodra@gmail.com>
1266 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
1267 support. Correct typos, formatting. Optimize tail. Use insrdi
1269 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
1270 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
1271 little-endian support. Correct typos.
1272 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
1274 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
1275 in loop and entry code to keep "and." results.
1276 (strchr): Add little-endian support. Comment. Move cntlzd
1278 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
1280 2013-10-04 Alan Modra <amodra@gmail.com>
1282 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
1283 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
1284 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
1285 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
1287 2013-10-04 Alan Modra <amodra@gmail.com>
1289 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
1290 (rTMP): Define as r11.
1291 (strcmp): Add little-endian support. Optimise tail.
1292 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
1293 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
1294 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
1295 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
1296 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
1297 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
1298 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
1300 2013-10-04 Alan Modra <amodra@gmail.com>
1302 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
1303 little-endian support. Remove unnecessary "are we done" tests.
1304 Handle "s" wrapping around zero and extremely large "size".
1305 Correct main loop count. Handle single left-over word from main
1306 loop inline rather than by using small_loop. Correct comments.
1307 Delete "zero" tail, use "end_max" instead.
1308 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
1310 2013-10-04 Alan Modra <amodra@gmail.com>
1312 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
1313 support. Don't branch over align.
1314 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
1315 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
1316 support. Rearrange tmp reg use to suit. Comment.
1317 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
1319 2013-10-04 Alan Modra <amodra@gmail.com>
1321 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
1323 2013-10-04 Alan Modra <amodra@gmail.com>
1325 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
1326 conditional form of branch and link when obtaining pc.
1327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
1329 2013-10-04 Alan Modra <amodra@gmail.com>
1331 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
1333 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
1334 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
1336 2013-10-04 Alan Modra <amodra@gmail.com>
1338 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
1339 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
1340 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
1341 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
1342 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
1343 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
1344 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
1345 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
1346 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
1347 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
1349 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
1350 Alistair Popple <alistair@ozlabs.au.ibm.com>
1351 Alan Modra <amodra@gmail.com>
1354 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
1355 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
1356 _dl_hwcap access for little-endian.
1357 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
1358 destroy vmx regs when saving unaligned.
1359 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
1360 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
1361 destroy vmx regs when saving unaligned.
1363 2013-10-04 Alan Modra <amodra@gmail.com>
1365 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
1366 Don't use a union to pack hi/low value.
1368 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
1370 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
1372 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
1373 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
1374 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
1375 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
1376 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
1378 2013-10-04 Alan Modra <amodra@gmail.com>
1380 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
1381 constants to usual value for .cst8 section, and remove redundant
1383 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
1384 constant for 0x1p52. Load little-endian words of double from
1385 correct stack offsets.
1387 2013-10-04 Alan Modra <amodra@gmail.com>
1389 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
1390 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
1391 words of double from correct stack offsets.
1392 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
1393 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
1394 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
1395 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
1396 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
1397 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
1398 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
1399 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
1400 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
1401 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
1402 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
1403 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
1404 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
1405 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
1406 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
1407 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
1408 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
1410 2013-10-04 Alan Modra <amodra@gmail.com>
1412 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
1413 64-bit int/double union.
1414 (_FPU_SETCW): Likewise.
1415 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
1416 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
1418 2013-10-04 Alan Modra <amodra@gmail.com>
1420 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
1421 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
1423 2013-10-04 Alan Modra <amodra@gmail.com>
1425 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
1426 use vector int constants.
1427 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
1429 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
1431 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
1432 array with long long.
1433 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
1434 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
1435 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
1436 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
1437 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
1438 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
1439 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
1440 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
1441 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
1442 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
1443 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
1444 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
1445 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
1447 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
1449 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
1450 (__signbit): Likewise. Correct for little-endian.
1451 (__signbitl): Call __signbit.
1452 (lrint): Correct for little-endian.
1453 (lrintf): Call lrint.
1455 2013-10-04 Alan Modra <amodra@gmail.com>
1457 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
1458 union 32-bit int array member with 64-bit int array.
1459 (t515, tm256): Double rather than long double.
1460 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
1462 2013-10-04 Alan Modra <amodra@gmail.com>
1464 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
1466 (IEEE854_LONG_DOUBLE_BIAS): Delete.
1467 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
1468 version of math_ldbl.h.
1470 2013-10-04 Alan Modra <amodra@gmail.com>
1472 [BZ #15734], [BZ #15735]
1473 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
1474 all uses of ieee875 long double macros and unions. Simplify test
1475 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
1476 ldbl_extract_mantissa value for ix,iy exponents. Properly
1477 normalize after ldbl_extract_mantissa, and don't add hidden bit
1478 already handled. Don't treat low word of ieee854 mantissa like
1479 low word of IBM long double and mask off bit when testing for
1481 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
1482 all uses of ieee875 long double macros and unions. Simplify tests
1483 for 0.0L and inf. Correct double adjustment of k. Delete dead code
1484 adjusting ha,hb. Simplify code setting kld. Delete two600 and
1485 two1022, instead use their values. Recognise that tests for large
1486 "a" and small "b" are mutually exclusive. Rename vars. Comment.
1487 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
1488 Rewrite all uses of ieee875 long double macros and unions. Simplify
1489 test for 0.0L and nan. Correct negation.
1490 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
1491 ieee875 long double macros and unions. Correct output for large
1492 magnitude x. Correct absolute value calculation.
1493 (__erfcl): Likewise.
1494 * math/libm-test.inc: Add tests for errors discovered in IBM long
1495 double versions of fmodl, remainderl, erfl and erfcl.
1497 2013-10-04 Alan Modra <amodra@gmail.com>
1499 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
1500 all uses of ieee854 long double macros and unions. Simplify tests
1501 for long doubles that are fully specified by the high double.
1502 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
1504 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
1505 Remove dead code too.
1506 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
1507 (__ieee754_ynl): Likewise.
1508 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
1509 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
1510 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
1511 Remove dead code too.
1512 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
1513 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
1514 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
1515 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
1517 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
1519 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
1520 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
1521 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
1522 Comment on variable precision.
1523 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
1524 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
1526 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
1527 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
1528 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
1529 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
1530 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
1532 2013-10-04 Alan Modra <amodra@gmail.com>
1534 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
1535 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
1536 all uses of ieee854 long double macros and unions.
1537 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
1538 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
1539 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
1540 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
1541 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
1542 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
1544 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
1545 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
1546 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
1547 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
1548 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
1549 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
1550 Simplify sign and nan test too.
1551 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
1552 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
1553 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
1554 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
1556 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
1557 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
1559 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
1560 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
1561 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
1562 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
1563 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
1564 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
1566 2013-10-04 Alan Modra <amodra@gmail.com>
1568 * stdio-common/printf_size.c (__printf_size): Don't use
1569 union ieee854_long_double in fpnum union.
1570 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
1571 signbit macro to retrieve sign from long double.
1572 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
1573 retrieve sign from long double.
1574 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
1575 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
1576 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
1577 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
1578 * math/test-misc.c (main): Don't use union ieee854_long_double.
1580 2013-10-04 Alan Modra <amodra@gmail.com>
1583 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
1584 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
1585 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
1586 calculation. Remove unnecessary test for denormal exponent.
1587 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
1588 Correct handling of denormals. Avoid undefined shift behaviour.
1589 Correct normalisation of low mantissa when low double is denormal.
1590 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
1591 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
1592 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
1593 Correct normalisation of low mantissa. Test for overflow of high
1594 mantissa and normalise.
1595 (ldbl_nearbyint): Use more readable constant for two52.
1596 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
1597 (__mpn_construct_long_double): Fix test for overflow of high
1598 mantissa and correct normalisation. Avoid undefined shift.
1600 2013-10-04 Alan Modra <amodra@gmail.com>
1602 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
1603 (union ibm_extended_long_double): Define as an array of ieee754_double.
1604 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
1605 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
1606 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
1607 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
1608 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
1609 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
1610 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
1611 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
1612 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
1613 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
1614 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
1616 2013-10-03 Joseph Myers <joseph@codesourcery.com>
1618 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
1619 page size instead of calling getpagesize.
1621 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
1622 (LOCFILE_ALIGN_MASK): Likewise.
1623 (LOCFILE_ALIGN_UP): Likewise.
1624 (LOCFILE_ALIGNED_P): Likewise.
1625 * locale/programs/ld-collate.c (collate_output): Use the new
1626 macros instead of __alignof__ (int32_t).
1627 * locale/weight.h (findidx): Likewise.
1629 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
1632 * manual/string.texi: Fix strncat and wcsncat.
1634 2013-10-03 Brooks Moses <bmoses@google.com>
1637 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
1638 * Makerules: ...here, and adjust associated comments.
1640 2013-10-02 Will Newton <will.newton@linaro.org>
1642 * malloc/Makefile: Add tst-pvalloc.
1643 * malloc/tst-pvalloc.c: New file.
1645 2013-10-02 Will Newton <will.newton@linaro.org>
1647 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
1648 improve test coverage.
1650 2013-10-02 Will Newton <will.newton@linaro.org>
1652 * malloc/Makefile: Add tst-posix_memalign.
1653 * malloc/tst-posix_memalign.c: New file.
1655 2013-10-01 Eric Blake <eblake@redhat.com>
1657 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
1658 Use __THROWNL rather than __THROW on static functions.
1660 2013-09-30 Petr Machata <pmachata@redhat.com>
1662 * elf/elf.h (R_AARCH64_ABS16): New macro.
1663 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
1664 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
1665 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
1666 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
1667 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
1668 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
1669 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
1670 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
1671 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
1672 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
1673 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
1674 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
1675 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
1676 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
1677 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
1678 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
1679 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
1680 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
1681 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
1682 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
1683 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
1684 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
1685 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
1686 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
1687 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
1688 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
1689 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
1690 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
1691 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
1692 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
1693 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
1694 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
1695 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
1696 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
1697 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
1698 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
1699 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
1700 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
1701 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
1702 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
1703 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
1704 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
1705 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
1706 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
1707 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
1708 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
1709 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
1710 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
1711 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
1712 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
1713 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
1714 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
1715 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
1716 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
1717 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
1718 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
1719 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
1720 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
1721 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
1722 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
1723 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
1724 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
1725 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
1726 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
1727 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
1728 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
1729 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
1730 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
1731 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
1732 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
1733 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
1734 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
1735 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
1736 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
1737 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
1738 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
1739 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
1740 (R_AARCH64_TLSDESC_LDR): Likewise.
1741 (R_AARCH64_TLSDESC_ADD): Likewise.
1742 (R_AARCH64_TLSDESC_CALL): Likewise.
1744 2013-09-30 Andreas Schwab <schwab@suse.de>
1747 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
1748 the nss database lookup.
1749 * nscd/initgrcache.c (addinitgroupsX): Likewise.
1750 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
1752 2013-09-28 Mike Frysinger <vapier@gentoo.org>
1754 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
1756 2013-09-28 P. J. McDermott <pj@pehjota.net>
1758 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
1759 ${Bash-specific parameter/pattern/string} parameter expansion.
1760 * sysdeps/unix/make-syscalls.sh: Likewise.
1762 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1764 * sysdeps/sh/stackguard-macros.h: New file.
1766 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
1768 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
1769 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
1770 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
1771 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
1772 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
1773 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
1775 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1777 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
1778 Fix thread ID register.
1780 2013-09-25 Joseph Myers <joseph@codesourcery.com>
1782 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
1783 [POSIX || UNIX98]: Require rather than permitting all symbols from
1785 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
1786 element of struct sched_param.
1787 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
1788 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
1789 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
1790 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
1793 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
1795 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
1796 argument calculation.
1798 2013-09-24 Joseph Myers <joseph@codesourcery.com>
1800 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
1802 [POSIX] (pthread_attr_t): Do not require type.
1803 [POSIX] (pthread_cond_t): Likewise.
1804 [POSIX] (pthread_condattr_t): Likewise.
1805 [POSIX] (pthread_key_t): Likewise.
1806 [POSIX] (pthread_mutex_t): Likewise.
1807 [POSIX] (pthread_mutexattr_t): Likewise.
1808 [POSIX] (pthread_once_t): Likewise.
1809 [POSIX] (pthread_t): Likewise.
1810 [POSIX-based standards] (pthread_atfork): Expect function.
1812 2013-09-24 Joseph Myers <joseph@codesourcery.com>
1813 Richard Sandiford <richard@codesourcery.com>
1815 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
1816 (swap_endianness_p): New extern variable.
1817 (set_big_endian): New inline function.
1818 (maybe_swap_uint32): Likewise.
1819 (maybe_swap_uint32_array): Likewise.
1820 (maybe_swap_uint32_obstack): Likewise.
1821 * locale/programs/locfile.c: Include <stdbool.h>.
1822 (swap_endianness_p): New variable.
1823 (add_locale_uint32): Call maybe_swap_uint32.
1824 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
1825 (write_locale_data): Call maybe_swap_uint32_array.
1826 * locale/programs/ld-collate.c (obstack_int32_grow): Call
1828 (obstack_int32_grow_fast): Likewise.
1829 (output_weightwc): Call maybe_swap_uint32_obstack.
1830 (collate_output): Likewise.
1831 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
1832 (OPT_LITTLE_ENDIAN): Likewise.
1833 (options): Add --little-endian and --big-endian options.
1834 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
1835 * locale/programs/locarchive.c: Include "locfile.h".
1839 (create_archive): Use the new macros to access fields of
1840 structures directly mapped from or written to locale archives.
1841 (oldlocrecentcmp): Likewise.
1842 (enlarge_archive): Likewise.
1843 (insert_name): Likewise.
1844 (add_alias): Likewise.
1845 (add_locale): Likewise.
1846 (delete_locales_from_archive): Likewise.
1847 (show_archive_content): Likewise.
1848 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
1851 2013-09-24 Roland McGrath <roland@hack.frob.com>
1853 * manual/freemanuals.texi: Updated from (newly) canonical copy at
1854 http://www.gnu.org/doc/freemanuals.texi.
1855 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
1857 2013-09-24 Will Newton <will.newton@linaro.org>
1859 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
1862 2013-09-23 Joseph Myers <joseph@codesourcery.com>
1864 * locale/hashval.h (compute_hashval): Interpret bytes of key as
1867 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
1869 * manual/threads.texi (POSIX Threads): Fix a typo.
1871 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
1874 * string/tst-strcoll-overflow.c: New test case.
1875 * string/Makefile (xtests): Add tst-strcoll-overflow.
1876 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
1877 cache if string sizes may cause integer overflow.
1880 * string/strcoll_l.c (coll_seq): New members rule, idx,
1881 save_idx and back_us.
1882 (get_next_seq_nocache): New function.
1883 (do_compare_nocache): New function.
1884 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
1887 2013-09-23 Carlos O'Donell <carlos@redhat.com>
1890 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
1891 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
1892 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
1895 * elf/Makefile (tests): Add tst-ptrguard1.
1896 (tests-static): Add tst-ptrguard1-static.
1897 (tst-ptrguard1-ARGS): Define.
1898 (tst-ptrguard1-static-ARGS): Define.
1899 * elf/tst-ptrguard1.c: New file.
1900 * elf/tst-ptrguard1-static.c: New file.
1901 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
1902 * sysdeps/i386/stackguard-macros.h: Likewise.
1903 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
1904 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
1905 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
1906 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
1907 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
1908 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
1910 2013-09-23 Hector Marco <hecmargi@upv.es>
1911 Ismael Ripoll <iripoll@disca.upv.es>
1912 Carlos O'Donell <carlos@redhat.com>
1915 * sysdeps/generic/stackguard-macros.h: Define
1916 __pointer_chk_guard_local and POINTER_CHK_GUARD.
1917 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
1918 Define __pointer_chk_guard_local.
1919 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
1920 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
1922 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
1925 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
1927 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
1929 * include/string.h (__ffs): Declare as hidden.
1930 * string/ffs.c (__ffs): Define as hidden.
1931 * sysdeps/i386/ffs.c (__ffs): Likewise.
1932 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
1933 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
1934 * sysdeps/s390/ffs.c (__ffs): Likewise.
1935 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
1937 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
1939 * NEWS: Mention malloc probes.
1941 * malloc/arena.c (new_heap): New memory_heap_new probe.
1942 (grow_heap): New memory_heap_more probe.
1943 (shrink_heap): New memory_heap_less probe.
1944 (heap_trim): New memory_heap_free probe.
1945 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
1946 (systrim): New memory_sbrk_less probe.
1947 * manual/probes.texi: Document them.
1949 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
1950 * manual/probes.texi: Document it.
1952 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
1953 (__libc_realloc): Add memory_realloc_retry probe.
1954 (__libc_memalign): Add memory_memalign_retry probe.
1955 (__libc_valloc): Add memory_valloc_retry probe.
1956 (__libc_pvalloc): Add memory_pvalloc_retry probe.
1957 (__libc_calloc): Add memory_calloc_retry probe.
1958 * manual/probes.texi: Document them.
1960 * malloc/arena.c (get_free_list): Add probe
1961 memory_arena_reuse_free_list.
1962 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
1963 and memory_arena_reuse.
1964 (arena_get2) [!PER_THREAD]: Likewise.
1965 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
1966 memory_arena_reuse_realloc.
1967 * manual/probes.texi: Document them.
1969 * malloc/malloc.c (__libc_free): Add
1970 memory_mallopt_free_dyn_thresholds probe.
1971 (__libc_mallopt): Add multiple memory_mallopt probes.
1972 * manual/probes.texi: Document them.
1974 * malloc/malloc.c: Include stap-probe.h.
1975 (__libc_mallopt): Add memory_mallopt probe.
1976 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
1977 * manual/probes.texi: New.
1978 * manual/Makefile (chapters): Add probes.
1979 * manual/threads.texi: Set next node.
1981 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
1984 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
1985 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
1986 Add `Chinese' to `nan' entry name.
1988 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1990 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
1991 (POLYNOMIAL): Likewise.
1992 (TAYLOR_SINCOS): Likewise.
1993 (TAYLOR_SLOW): Likewise.
1994 (__sin): Use TAYLOR_SINCOS.
1996 (slow): Use TAYLOR_SLOW.
2001 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
2003 * stdlib/strtod_l.c: Fix buffer overrun.
2005 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2007 * benchtests/Makefile (bench): Add sincos.
2008 * benchtests/bench-sincos.c: New file.
2010 * math/libm-test.inc (cos_test_data): New test inputs.
2011 (sin_test_data): Likewise.
2013 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
2021 (bsloww1): Likewise.
2022 (bsloww2): Likewise.
2024 (csloww1): Likewise.
2025 (csloww2): Likewise.
2027 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
2032 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
2036 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
2038 * config.h.in (HAVE_MIPS_NAN2008): New macro.
2039 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
2040 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
2041 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
2042 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
2043 * elf/cache.c (print_entry): Handle the new cache flags.
2045 2013-09-18 Joseph Myers <joseph@codesourcery.com>
2046 Aldy Hernandez <aldyh@redhat.com>
2048 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
2049 Change condition to [_SOFT_FLOAT].
2050 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
2051 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
2052 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
2053 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
2054 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
2055 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
2056 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
2057 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
2058 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
2059 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
2060 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
2061 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
2062 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
2063 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
2064 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
2065 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
2068 2013-09-18 Joseph Myers <joseph@codesourcery.com>
2070 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
2071 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
2072 (__longjmp): Use LOAD_GP to load saved GPRs.
2073 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
2074 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
2075 (__sigsetjmp): Use SAVE_GP to save GPRs.
2077 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
2078 Do not append -msoft-float.
2079 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
2081 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
2083 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
2085 2013-09-17 Joseph Myers <joseph@codesourcery.com>
2088 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
2089 (_FPU_GETCW): Use initial "__" on variable and field names but not
2090 on macro parameter name.
2091 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
2092 parentheses around reference to macro parameter.
2094 2013-09-13 Richard Sandiford <richard@codesourcery.com>
2096 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
2098 (ctype_startup): Use uint32_t in cast and sizeof for
2101 2013-09-11 Jia Liu <proljc@gmail.com>
2103 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
2105 [__FreeBSD__]: Likewise.
2107 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
2109 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2110 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
2111 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
2112 (strchr): Remove __strchr_sse42 ifunc selection.
2113 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
2114 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
2116 2013-09-11 Will Newton <will.newton@linaro.org>
2118 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
2119 parameter to RES. Remove hardcoded 1000 value.
2120 * benchtests/bench-skeleton.c (main): Pass RES parameter
2121 to TIMING_INIT and multiply result by 1000.
2123 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2125 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2127 2013-09-11 Andreas Schwab <schwab@suse.de>
2129 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
2131 (O_TMPFILE) [__USE_GNU]: Define.
2132 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
2135 2013-09-11 Will Newton <will.newton@linaro.org>
2138 * malloc/malloc.c (__libc_memalign): Check the value of bytes
2141 2013-09-11 Will Newton <will.newton@linaro.org>
2144 * malloc/malloc.c (__libc_valloc): Check the value of bytes
2147 2013-09-11 Will Newton <will.newton@linaro.org>
2150 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
2153 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
2155 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
2156 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
2157 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
2158 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
2159 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
2161 2013-09-10 Allan McRae <allan@archlinux.org>
2164 * manual/arith.texi (Parsing of Floats): Clarify
2168 * manual/install.texi (Running make install): Mention
2170 * INSTALL: Regenerated.
2172 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
2174 * csu/init-first.c (_init): Remove the !SHARED condition around
2175 FPU control word initialization.
2176 * elf/dl-support.c (_dl_fpu_control): New variable.
2177 (_dl_aux_init) <AT_FPUCW>: Initialize it.
2178 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
2179 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
2180 * math/test-fpucw-static.c: New file.
2181 * math/test-fpucw-ieee.c: New file.
2182 * math/test-fpucw-ieee-static.c: New file.
2183 * math/Makefile (tests): Add `test-fpucw-ieee' and
2185 (tests-static): New variable.
2186 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
2188 [($(build-shared),yes)]
2189 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
2191 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
2194 2013-09-09 Allan McRae <allan@archlinux.org>
2197 * manual/string.texi (Collation Functions): Fix typo in
2199 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
2202 * stdlib/isomac.c (get_null_defines): Fix memory leak.
2205 * libio/memstream.c (open_memstream): Fix memory leak.
2206 * libio/wmemstream.c (open_wmemstream): Likewise.
2209 * nscd/netgroupcache.c: Fix nesting of ifdefs.
2211 2013-09-09 Will Newton <will.newton@linaro.org>
2213 * malloc/Makefile: Add tst-realloc to tests.
2214 * malloc/tst-realloc.c: New file.
2216 2013-09-09 Allan McRae <allan@archlinux.org>
2219 * COPYING: Update from GNU website to fix FSF address.
2220 * COPYING.LIB: Likewise.
2222 2013-09-06 David S. Miller <davem@davemloft.net>
2224 * po/zh_TW.po: Update Chinese (traditional) translation from
2225 translation project.
2227 2013-09-06 Richard Sandiford <richard@codesourcery.com>
2228 Joseph Myers <joseph@codesourcery.com>
2230 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
2232 (obstack_chunk_alloc): New macro.
2233 (obstack_chunk_free): Likewise.
2234 (record_offset): New function.
2235 (init_locale_data): Likewise.
2236 (align_locale_data): Likewise.
2237 (add_locale_empty): Likewise.
2238 (add_locale_raw_data): Likewise.
2239 (add_locale_raw_obstack): Likewise.
2240 (add_locale_string): Likewise.
2241 (add_locale_wstring): Likewise.
2242 (add_locale_uint32): Likewise.
2243 (add_locale_uint32_array): Likewise.
2244 (add_locale_char): Likewise.
2245 (start_locale_structure): Likewise.
2246 (end_locale_structure): Likewise.
2247 (start_locale_prelude): Likewise.
2248 (end_locale_prelude): Likewise.
2249 (write_locale_data): Take locale_file structure rather than an
2251 * locale/programs/locfile.h: Include "obstack.h".
2252 (struct locale_file): Change to store locale file contents instead
2254 (init_locale_data): New prototype.
2255 (align_locale_data): Likewise.
2256 (add_locale_empty): Likewise.
2257 (add_locale_raw_data): Likewise.
2258 (add_locale_raw_obstack): Likewise.
2259 (add_locale_string): Likewise.
2260 (add_locale_wstring): Likewise.
2261 (add_locale_uint32): Likewise.
2262 (add_locale_uint32_array): Likewise.
2263 (add_locale_char): Likewise.
2264 (start_locale_structure): Likewise.
2265 (end_locale_structure): Likewise.
2266 (start_locale_prelude): Likewise.
2267 (end_locale_prelude): Likewise.
2268 (write_locale_data): Update prototype.
2269 * locale/programs/3level.h (struct TABLE): Remove result field.
2270 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
2271 Use new locale_file interface.
2272 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
2273 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
2274 * locale/programs/ld-address.c (address_output): Use new
2275 locale_file interface.
2276 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
2278 (collate_finish): Don't call collseq_table_finalize.
2279 (collate_output): Use new locale_file interface.
2280 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
2282 (NO_FINALIZE): Change to NO_ADD_LOCALE.
2283 (TABLE): Move defines earlier in file.
2284 (ELEMENT): Likewise.
2285 (DEFAULT): Likewise.
2286 (wctrans_table_add): Move macro and inline function earlier in
2288 (struct wctype_table): Move type earlier in file.
2289 (add_locale_wctype_table): New static prototype.
2290 (struct locale_ctype_t): Use logical types instead of struct iovec
2291 pointers for members.
2292 (ctype_output): Use new locale_file interface.
2293 (wctype_table_finalize): Change to add_locale_wctype_table. Use
2294 new locale_file interface.
2295 (allocate_arrays): Update for use of new locale_file interface.
2296 * locale/programs/ld-identification.c (identification_output): Use
2297 new locale_file interface.
2298 * locale/programs/ld-measurement.c (measurement_output): Likewise.
2299 * locale/programs/ld-messages.c (messages_output): Likewise.
2300 * locale/programs/ld-monetary.c (monetary_output): Likewise.
2301 * locale/programs/ld-name.c (name_output): Likewise.
2302 * locale/programs/ld-numeric.c (numeric_output): Likewise.
2303 * locale/programs/ld-paper.c (paper_output): Likewise.
2304 * locale/programs/ld-telephone.c (telephone_output): Likewise.
2305 * locale/programs/ld-time.c (time_output): Likewise.
2307 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2309 * benchtests/Makefile: Add memrchr benchmark.
2310 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
2311 benchmark as memrchr.
2312 * benchtests/bench-memrchr-ifunc.c: New file.
2313 * benchtests/bench-memrchr.c: New file.
2315 2013-09-06 Will Newton <will.newton@linaro.org>
2317 * benchtests/Makefile (string-bench): Add memcpy.
2319 2013-09-05 Carlos O'Donell <carlos@redhat.com>
2320 Cong Wang <amwang@redhat.com>
2322 * sysdeps/unix/sysv/linux/bits/in.h
2323 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
2324 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
2325 before __USE_KERNEL_IPV6_DEFS uses.
2326 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
2328 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
2329 sockaddr_in6, or ipv6_mreq.
2331 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2333 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
2334 memory access for final bytes in some large inputs.
2335 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
2337 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2339 * string/test-memrchr.c: New file.
2340 * string/test-memrchr-ifunc.c: New file.
2341 * string/Makefile: Add new memrchr testcase.
2343 2013-09-05 Mike Frysinger <vapier@gentoo.org>
2345 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
2346 fanotify_init returns EPERM.
2348 2013-09-04 Joseph Myers <joseph@codesourcery.com>
2350 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
2352 (top level): Treat second token from macro or constant entries for
2353 allowed headers as allowed.
2354 * include/complex.h: Condition internal declarations on
2356 * include/fenv.h: Condition include of <stdbool.h> and internal
2357 declarations on [!_ISOMAC].
2359 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
2362 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
2364 2013-09-04 Joseph Myers <joseph@codesourcery.com>
2366 * configure.in (--enable-versioning): Remove configure option.
2367 (libc_cv_asm_symver_directive): Remove configure test.
2368 (libc_cv_ld_version_script_option): Likewise.
2369 (VERSIONING): Remove variable and AC_SUBST.
2370 (DO_VERSIONING): Remove AC_DEFINE.
2371 * configure: Regenerated.
2372 * config.h.in (DO_VERSIONING): Remove macro.
2373 * Makerules [$(versioning) = yes]: Change conditionals to
2374 [$(build-shared) = yes].
2375 * config.make.in (versioning): Remove variable.
2376 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
2377 [$(build-shared) = yes].
2378 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
2379 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
2380 * elf/Makefile [$(versioning) = yes]: Change conditionals to
2381 [$(build-shared) = yes].
2382 * extra-lib.mk [$(versioning) = yes]: Likewise.
2383 * hurd/Makefile [$(versioning) = yes]: Likewise.
2384 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
2386 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
2388 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
2389 [SHARED && !NO_HIDDEN].
2390 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
2392 [SHARED && DO_VERSIONING]: Likewise..
2393 * libio/Makefile [$(versioning) = yes]: Change conditionals to
2394 [$(build-shared) = yes].
2395 * manual/install.texi (--disable-versioning): Remove
2397 * INSTALL: Regenerated.
2398 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
2400 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
2401 [$(build-shared) = yes].
2402 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
2403 * sysdeps/i386/i686/multiarch/strstr-c.c
2404 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
2405 [SHARED && !NO_HIDDEN].
2406 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
2407 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
2408 * sysdeps/powerpc/powerpc32/dl-machine.c
2409 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
2410 * sysdeps/powerpc/powerpc32/sysdep.h
2411 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
2412 to [SHARED && PIC && !NO_HIDDEN].
2413 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
2414 conditional to [SHARED].
2416 2013-09-04 Will Newton <will.newton@linaro.org>
2418 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
2419 * benchtests/bench-string.h: Include bench-timing.h instead
2420 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
2421 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
2422 call to HP_TIMING_DIFF_INIT.
2423 * benchtests/bench-memccpy.c: Use bench-timing.h macros
2424 instead of hp-timing.h macros.
2425 * benchtests/bench-memchr.c: Likewise.
2426 * benchtests/bench-memcmp.c: Likewise.
2427 * benchtests/bench-memcpy.c: Likewise.
2428 * benchtests/bench-memmem.c: Likewise.
2429 * benchtests/bench-memmove.c: Likewise.
2430 * benchtests/bench-memset.c: Likewise.
2431 * benchtests/bench-rawmemchr.c: Likewise.
2432 * benchtests/bench-strcasecmp.c: Likewise.
2433 * benchtests/bench-strcasestr.c: Likewise.
2434 * benchtests/bench-strcat.c: Likewise.
2435 * benchtests/bench-strchr.c: Likewise.
2436 * benchtests/bench-strcmp.c: Likewise.
2437 * benchtests/bench-strcpy.c: Likewise.
2438 * benchtests/bench-strcpy_chk.c: Likewise.
2439 * benchtests/bench-strlen.c: Likewise.
2440 * benchtests/bench-strncasecmp.c: Likewise.
2441 * benchtests/bench-strncat.c: Likewise.
2442 * benchtests/bench-strncmp.c: Likewise.
2443 * benchtests/bench-strncpy.c: Likewise.
2444 * benchtests/bench-strnlen.c: Likewise.
2445 * benchtests/bench-strpbrk.c: Likewise.
2446 * benchtests/bench-strrchr.c: Likewise.
2447 * benchtests/bench-strspn.c: Likewise.
2448 * benchtests/bench-strstr.c: Likewise.
2450 2013-09-04 Will Newton <will.newton@linaro.org>
2452 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
2454 2013-09-03 Joseph Myers <joseph@codesourcery.com>
2457 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
2458 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
2459 * math/libm-test.inc (lgamma_test_data): Add more tests.
2460 * sysdeps/i386/fpu/libm-test-ulps: Update.
2461 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2463 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
2465 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
2466 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2468 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
2469 Add strcmp-sse2-unaligned
2470 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
2472 2013-09-02 Mike Frysinger <vapier@gentoo.org>
2474 * Versions.def (libc): Add GLIBC_2.19.
2476 2013-09-02 Mike Frysinger <vapier@gentoo.org>
2478 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
2479 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
2481 2013-09-02 Joseph Myers <joseph@codesourcery.com>
2484 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
2485 intermediate calculations in recurrence.
2486 (__ieee754_ynf): Likewise.
2487 * math/libm-test.inc (jn_test_data): Do not allow spurious
2488 underflow exception. Add more tests.
2489 (yn_test_data): Add more tests.
2490 * sysdeps/i386/fpu/libm-test-ulps: Update.
2491 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2493 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
2495 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
2497 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
2499 * csu/init-first.c: Fix then/than typos.
2500 * locale/programs/ld-collate.c: Likewise.
2501 * locale/programs/linereader.h: Likewise.
2502 * manual/charset.texi: Likewise.
2503 * manual/filesys.texi: Likewise.
2504 * manual/stdio.texi: Likewise.
2505 * manual/string.texi: Likewise.
2506 * stdlib/fmtmsg.c: Likewise.
2507 * sysdeps/i386/stpncpy.S: Likewise.
2508 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
2509 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
2510 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
2511 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
2513 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
2515 * elf/dl-open.c: Fix typos.
2516 * iconvdata/gbbig5.c: Likewise.
2517 * iconvdata/iso-2022-jp.c: Likewise.
2518 * iconv/gconv_int.h: Likewise.
2519 * iconv/loop.c: Likewise.
2520 * nis/rpcsvc/nis.h: Likewise.
2521 * resolv/ns_name.c: Likewise.
2522 * stdio-common/vfscanf.c: Likewise.
2523 * streams/stropts.h: Likewise.
2524 * sunrpc/rpc_thread.c: Likewise.
2525 * sysdeps/i386/strpbrk.S: Likewise.
2526 * sysdeps/ieee754/k_standard.c: Likewise.
2527 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
2528 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
2529 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
2530 * sysdeps/mach/hurd/profil.c: Likewise.
2531 * sysdeps/s390/dl-procinfo.h: Likewise.
2532 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
2533 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
2534 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
2535 * sysdeps/x86_64/dl-trampoline.S: Likewise.
2536 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
2538 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
2540 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
2541 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
2543 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
2545 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
2547 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
2548 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
2549 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
2550 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
2551 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
2552 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
2553 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
2554 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
2556 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
2557 Roland McGrath <roland@hack.frob.com>
2559 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
2560 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
2562 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
2564 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
2565 __executable_start symbol instead of _start.
2567 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
2569 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
2570 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
2572 * sysdeps/gnu/ldsodefs.h: ... this new file.
2574 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
2575 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
2576 instead of ELFOSABI_LINUX.
2578 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
2579 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
2580 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
2581 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
2583 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
2584 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
2585 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
2587 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
2588 (ibm_extended_long_double): Add ieee_nan member.
2589 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
2590 (do_test): New function.
2592 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
2594 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
2595 functions, renamed from truncdfsf_test, trunctfsf_test,
2597 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
2599 (do_test): Run all these.
2601 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
2603 * argp/argp-help.c: Fix typos.
2604 * argp/argp-parse.c: Likewise.
2605 * debug/backtracesyms.c: Likewise.
2606 * elf/elf.h: Likewise.
2607 * malloc/malloc.c: Likewise.
2608 * nis/nis_print.c: Likewise.
2609 * resolv/res_comp.c: Likewise.
2610 * stdlib/stdlib.h: Likewise.
2611 * sunrpc/clnt_tcp.c: Likewise.
2612 * sunrpc/clnt_udp.c: Likewise.
2613 * sunrpc/clnt_unix.c: Likewise.
2614 * sysdeps/unix/bsd/ptsname.c: Likewise.
2615 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
2616 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
2617 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
2619 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
2621 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
2623 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
2625 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2627 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
2628 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
2630 2013-08-27 Mike Frysinger <vapier@gentoo.org>
2633 * dlfcn/Makefile (tests): Add bug-dl-leaf.
2634 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
2635 ($(objpfx)bug-dl-leaf): New rule.
2636 ($(objpfx)bug-dl-leaf.so): Likewise.
2637 ($(objpfx)bug-dl-leaf.out): Likewise.
2638 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
2639 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
2640 * dlfcn/bug-dl-leaf.c: New test.
2641 * dlfcn/bug-dl-leaf-lib.c: Likewise.
2642 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
2643 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
2644 (dlclose): Likewise.
2645 (dlmopen): Likewise.
2647 2013-08-27 Roland McGrath <roland@hack.frob.com>
2649 * include/netdb.h [!_ISOMAC]:
2650 Don't include <tls.h>.
2651 (h_errno, __libc_h_errno): Move declaration and macros out of
2654 * include/resolv.h [_RESOLV_H_]:
2655 Don't include <tls.h>.
2656 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
2657 * resolv/res_libc.c: Don't include <tls.h>.
2658 (_res): Use __attribute__ ((nocommon)) in place of
2659 __attribute__ ((section (".bss"))).
2661 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
2662 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
2664 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
2666 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
2667 only under [SIOCGIFCONF && SIOCGIFNETMASK].
2669 * resolv/res_mkquery.c: Include <sys/time.h>.
2671 * inet/ifreq.c: Moved to ...
2672 * sysdeps/unix/ifreq.c: ... here.
2673 * inet/ifreq.c: New file, true stub version.
2675 * socket/sa_len.c: New file.
2676 * socket/Makefile (aux): Add it.
2677 * sysdeps/unix/sysv/linux/Makefile
2678 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
2679 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
2680 and #include <socket/sa_len.c>.
2681 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
2682 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
2684 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
2685 * bits/socket.h: ... here.
2687 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
2688 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
2689 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
2691 2013-08-27 Andreas Schwab <schwab@suse.de>
2694 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
2695 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
2696 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
2697 * string/test-strcasecmp.c (test_main): Run tests in several
2699 * string/test-strncasecmp.c (test_main): Likewise.
2701 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
2702 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
2703 to __strcasecmp_nonascii and __strncasecmp_nonascii.
2704 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
2705 (__strncasecmp_ssse3) [PIC]: Likewise.
2707 2013-08-26 Roland McGrath <roland@hack.frob.com>
2709 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
2711 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
2712 instead of explicitly declaring xdecrypt.
2713 * nis/nss_nis/nis-publickey.c: Likewise.
2715 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2718 * nscd/aicache.c: Include res_hconf.h.
2719 (addhstaiX): Initialize res_hconf.
2721 2013-08-26 Andreas Schwab <schwab@suse.de>
2723 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
2724 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
2726 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2728 * nscd/aicache.c (addhstaiX): Fix indentation.
2730 2013-08-25 Mike Frysinger <vapier@gentoo.org>
2732 * configure.ac: Quote $build_pt_chown test.
2733 * configure: Regenerated.
2735 2013-08-23 Joseph Myers <joseph@codesourcery.com>
2738 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
2739 * math/s_cexpf.c (__cexpf): Likewise.
2740 * math/s_cexpl.c (__cexpl): Likewise.
2741 * math/libm-test.inc (cexp_test_data): Correct expected return
2742 value for NaN + i0. Add another test.
2744 2013-08-22 David S. Miller <davem@davemloft.net>
2746 * po/ca.po: Update Catalan translation from translation project.
2747 * po/uk.po: Add Ukrainian translations from translation project.
2749 2013-08-21 Joseph Myers <joseph@codesourcery.com>
2752 * math/s_fdim.c (__fdim): Check for infinite arguments if result
2753 is infinite, not alongside NaN test.
2754 * math/s_fdimf.c (__fdimf): Likewise.
2755 * math/s_fdiml.c (__fdiml): Likewise.
2756 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
2759 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
2761 * argp/argp-help.c: Fix typos.
2762 * crypt/speeds.c: Likewise.
2763 * csu/check_fds.c: Likewise.
2764 * elf/dl-load.c: Likewise.
2765 * elf/dl-open.c: Likewise.
2766 * elf/reldep3.c: Likewise.
2767 * elf/reldep.c: Likewise.
2768 * elf/sprof.c: Likewise.
2769 * iconv/iconv_charmap.c: Likewise.
2770 * iconv/skeleton.c: Likewise.
2771 * iconv/strtab.c: Likewise.
2772 * io/lockf64.c: Likewise.
2773 * libio/libioP.h: Likewise.
2774 * resolv/gai_notify.c: Likewise.
2775 * resolv/ns_name.c: Likewise.
2776 * resolv/ns_samedomain.c: Likewise.
2777 * resolv/res_send.c: Likewise.
2778 * stdlib/random.c: Likewise.
2779 * sunrpc/rpc/xdr.h: Likewise.
2780 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
2781 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
2782 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
2783 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
2784 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
2785 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
2786 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
2787 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
2788 * sysdeps/mach/hurd/check_fds.c: Likewise.
2789 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
2790 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
2791 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
2792 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
2793 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
2794 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
2795 * sysdeps/pthread/aio_notify.c: Likewise.
2796 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
2797 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
2798 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
2799 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
2800 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
2802 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
2804 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
2805 version if bit_Slow_SSE4_2 is set.
2806 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
2807 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
2809 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2812 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
2813 trampoline stack frame information.
2814 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
2815 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
2816 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
2817 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
2818 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
2819 * sysdeps/unix/sysv/linux/powerpc/init-first.c
2820 (_libc_vdso_platform_setup): Initialize the signal trampolines.
2821 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
2823 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
2824 interrupting a syscall and set with option SA_SIGINFO.
2826 2013-08-20 Joseph Myers <joseph@codesourcery.com>
2829 * math/s_cproj.c (__cproj): Only return an infinity if one part of
2830 argument is infinite.
2831 * math/s_cprojf.c (__cprojf): Likewise.
2832 * math/s_cprojl.c (__cprojl): Likewise.
2833 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
2834 * math/libm-test.inc (cproj_test_data): Add more tests.
2836 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
2838 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
2839 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
2840 size. Use __ffs to determine corresponding shift.
2842 2013-08-20 Joseph Myers <joseph@codesourcery.com>
2843 Roland McGrath <roland@hack.frob.com>
2845 * Makefile (INSTALL): Remove trailing blank lines from output of
2848 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2850 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
2851 Align 32 bit compat elf_greg to 8 bytes.
2853 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
2855 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
2857 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
2859 * string/strcoll_l.c (coll_seq): New structure.
2860 (get_next_seq_cached): New function.
2861 (get_next_seq): New function.
2862 (do_compare): New function.
2863 (STRCOLL): Use GNU style definition. Simplify implementation
2864 by using get_next_seq, get_next_seq_cached and do_compare.
2866 2013-08-16 Florian Weimer <fweimer@redhat.com>
2870 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
2872 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
2874 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
2875 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
2876 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
2878 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
2879 GETDENTS_64BIT_ALIGNED.
2880 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
2881 * manual/filesys.texi (Reading/Closing Directory): Document
2882 ENAMETOOLONG return value of readdir_r. Recommend readdir more
2884 * manual/conf.texi (Limits for Files): Add portability note to
2886 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
2888 2013-08-13 Andreas Schwab <schwab@suse.de>
2891 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
2893 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
2894 LDBL_MAX_EXP >= 16384]: Add tests for it.
2896 2013-08-12 David S. Miller <davem@davemloft.net>
2898 * version.h (RELEASE): Set to "development".
2899 (VERSION): Set to "2.18.90".
2900 * NEWS: Add 2.19 section.
2902 2013-08-03 David S. Miller <davem@davemloft.net>
2904 * po/ko.po: Update Korean translation from translation project.
2906 2013-08-01 David S. Miller <davem@davemloft.net>
2908 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
2909 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
2912 2013-07-30 David S. Miller <davem@davemloft.net>
2914 * po/fr.po: Update French translation from translation project.
2916 2013-07-28 David S. Miller <davem@davemloft.net>
2918 * po/cs.po: Update Czech translation from translation project.
2920 * po/sv.po: Update Swedish translation from translation project.
2922 2013-07-27 David S. Miller <davem@davemloft.net>
2924 * po/eo.po: Update Esperanto translation from translation project.
2926 * po/vi.po: Update Vietnamese translation from translation project.
2928 * po/de.po: Update German translation from translation project.
2930 2013-07-26 David S. Miller <davem@davemloft.net>
2932 * po/bg.po: Update Bulgarian translation from translation project.
2934 * po/nl.po: Update Dutch translation from translation project.
2935 * po/pl.po: Update Polish translation from translation project.
2936 * po/ru.po: Update Russian translation from translation project.
2938 2013-07-24 David S. Miller <davem@davemloft.net>
2940 * po/libc.pot: Update.
2942 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2944 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
2946 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
2947 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
2948 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
2950 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2952 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
2954 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2955 Andreas Schwab <schwab@suse.de>
2956 Roland McGrath <roland@hack.frob.com>
2957 Joseph Myers <joseph@codesourcery.com>
2958 Carlos O'Donell <carlos@redhat.com>
2961 * config.h.in: Define HAVE_PT_CHOWN.
2962 * config.make.in (build-pt-chown): New variable.
2963 * configure.in (--enable-pt_chown): New configure option.
2964 * configure: Regenerate.
2965 * login/Makefile: Include Makeconfig. Build pt_chown only if
2966 build-pt-chown is enabled.
2967 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
2968 pt_chown to fix pty ownership.
2969 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
2971 * manual/install.texi (Configuring and compiling): Mention
2972 --enable-pt_chown. Add @findex for grantpt.
2973 * INSTALL: Regenerate.
2975 2013-07-20 David S. Miller <davem@davemloft.net>
2977 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
2978 difference between 32-bit and 64-bit.
2980 2013-07-15 Carlos O'Donell <carlos@redhat.com>
2983 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
2984 Avoid system header dependency with -ffreestanding.
2985 ($(objpfx)bits/syscall%d): Likewise.
2987 2013-07-13 David S. Miller <davem@davemloft.net>
2989 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
2990 underflows from atanl/atan2l due to bug 15319.
2991 (casinh_test_data): Likewise.
2993 2013-07-07 David S. Miller <davem@davemloft.net>
2995 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
2997 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
2999 * sysdeps/i386/fpu/libm-test-ulps: Update.
3000 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3002 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3004 * configure.in (--enable-lock-elision): Fix message text.
3005 * INSTALL: Regenerate.
3006 * configure: Regenerate.
3008 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3010 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3012 2013-07-03 Andreas Jaeger <aj@suse.de>
3014 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
3016 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
3017 (ptrace_peeksiginfo_args): Add.
3018 (__ptrace_peeksiginfo_flags): Add.
3019 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
3020 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
3021 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
3023 2013-07-03 Allan McRae <allan@archlinux.org>
3025 * sysdeps/i386/fpu/libm-test-ulps: Update.
3027 2013-07-02 David S. Miller <davem@davemloft.net>
3029 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3031 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
3033 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3035 2013-07-02 Joseph Myers <joseph@codesourcery.com>
3037 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
3038 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3040 2013-07-02 Andi Kleen <ak@linux.intel.com>
3042 * config.h.in (ENABLE_LOCK_ELISION): Add.
3043 * configure.in (--enable-lock-elision): Add option.
3044 * manual/install.texi: Document --enable lock elision.
3045 * configure: Regenerate
3046 * INSTALL: Regenerate.
3048 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
3050 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
3051 SSE4.2 strcasecmp for libc.a.
3052 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
3054 2013-07-02 Joseph Myers <joseph@codesourcery.com>
3057 * soft-fp/op-common.h (_FP_FMA): New macro.
3058 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
3059 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
3060 (_FP_MUL_MEAT_1_imm): ... here.
3061 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
3062 (_FP_MUL_MEAT_1_wide): ... here.
3063 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
3064 (_FP_MUL_MEAT_1_hard): ... here.
3065 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
3066 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
3067 (_FP_MUL_MEAT_2_wide): ... here.
3068 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
3069 (_FP_MUL_MEAT_2_wide_3mul): ... here.
3070 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
3071 (_FP_MUL_MEAT_2_gmp): ... here.
3072 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
3073 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
3074 (_FP_MUL_MEAT_4_wide): ... here.
3075 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
3076 (_FP_MUL_MEAT_4_gmp): ... here.
3077 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
3078 (_FP_WFRACBITS_DW_S): Likewise.
3079 (_FP_WFRACXBITS_DW_S): Likewise.
3080 (_FP_HIGHBIT_DW_S): Likewise.
3081 (FP_FMA_S): Likewise.
3082 (_FP_FRAC_HIGH_DW_S): Likewise.
3083 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
3084 (_FP_WFRACBITS_DW_D): Likewise.
3085 (_FP_WFRACXBITS_DW_D): Likewise.
3086 (_FP_HIGHBIT_DW_D): Likewise.
3087 (FP_FMA_D): Likewise.
3088 (_FP_FRAC_HIGH_DW_D): Likewise.
3089 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
3090 (_FP_WFRACBITS_DW_E): Likewise.
3091 (_FP_WFRACXBITS_DW_E): Likewise.
3092 (_FP_HIGHBIT_DW_E): Likewise.
3093 (FP_FMA_E): Likewise.
3094 (_FP_FRAC_HIGH_DW_E): Likewise.
3095 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
3096 (_FP_WFRACBITS_DW_Q): Likewise.
3097 (_FP_WFRACXBITS_DW_Q): Likewise.
3098 (_FP_HIGHBIT_DW_Q): Likewise.
3099 (FP_FMA_Q): Likewise.
3100 (_FP_FRAC_HIGH_DW_Q): Likewise.
3101 * soft-fp/fmasf4.c: New file.
3102 * soft-fp/fmadf4.c: Likewise.
3103 * soft-fp/fmatf4.c: Likewise.
3105 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
3107 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
3108 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
3110 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
3112 (index_Slow_SSE4_2): Likewise.
3113 (index_Prefer_PMINUB_for_stringop): Likewise.
3114 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
3115 bit_Slow_SSE4_2 is set.
3116 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
3117 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
3119 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3121 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
3122 rtld_global._dl_hwcap2.
3123 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
3125 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
3126 POWER8 feature descriptions defined in _dl_hwcap2.
3127 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
3128 string handling for POWER8 feature bits.
3129 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
3130 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
3131 _dl_powerpc_cap_flags.
3132 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
3133 * sysdeps/powerpc/rtld-global-offsets.sym
3134 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
3135 _dl_hwcap2 in the rtld_global_ro structure.
3137 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3139 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
3140 hardware capabilities in support of AT_HWCAP2.
3141 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
3142 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
3144 (_dl_show_auxv): Add support for calling _dl_procinfo to display
3145 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
3146 explicitly the unknown a_type display mechanism is used.
3147 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
3148 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
3150 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
3151 to macro prototype for AT_HWCAP2 support.
3152 * sysdeps/i386/dl-procinfo.h: Likewise.
3153 * sysdeps/s390/dl-procinfo.h: Likewise.
3154 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
3155 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
3156 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
3157 return -1 for unknown a_type display fallback.
3158 * sysdeps/sparc/dl-procinfo.h: Likewise.
3159 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
3160 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
3162 2013-06-28 Joseph Myers <joseph@codesourcery.com>
3164 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
3165 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
3167 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
3170 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
3171 mprotect making __stack_prot writable.
3173 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
3174 Joseph Myers <joseph@codesourcery.com>
3176 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
3177 as being properly aligned.
3179 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
3181 * dlfcn/modstatic5.c: New file.
3182 * dlfcn/tststatic5.c: New file.
3183 * dlfcn/Makefile (tests): Add tststatic5.
3184 (tests-static): Likewise.
3185 (modules-names): Add modstatic5.
3186 (tststatic5-ENV): New variable.
3187 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
3190 * elf/dl-support.c (_dl_main_map): New variable.
3191 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
3192 (_dl_nns, _dl_load_adds): Set to 1.
3193 (_dl_initial_searchlist): Refer to _dl_main_map.
3194 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
3195 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
3196 call to _dl_get_origin.
3197 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
3199 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
3200 * dlfcn/modstatic3.c: New file.
3201 * dlfcn/tststatic3.c: New file.
3202 * dlfcn/tststatic4.c: New file.
3203 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
3204 (tests-static): Likewise.
3205 (modules-names): Add modstatic3.
3206 (tststatic3-ENV, tststatic4-ENV): New variables.
3207 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
3208 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
3210 2013-06-26 Joseph Myers <joseph@codesourcery.com>
3212 * configure.in (CC): Require GCC version 4.4 or later.
3213 * configure: Regenerated.
3214 * manual/install.texi (Tools for Compilation): Update GCC version
3216 * INSTALL: Regenerated.
3218 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
3221 * string/test-memcmp.c (check2): New.
3222 (main): Call check2.
3224 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
3226 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
3229 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
3231 (dl_open_worker) [!SHARED]: ... here.
3233 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3235 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
3237 2013-06-25 Richard Henderson <rth@redhat.com>
3239 * locale/programs/locarchive.c: Include <libc-internal.h>
3241 2013-06-25 Joseph Myers <joseph@codesourcery.com>
3243 * manual/texinfo.tex: Update to version 2013-06-21.17, with
3244 trailing whitespace removed.
3246 2013-06-24 Mike Frysinger <vapier@gentoo.org>
3249 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
3250 * locale/programs/locarchive.c: Include libc-mmap.h.
3251 (prepare_address_space): Take two new outputs (the mmap base and len).
3252 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
3254 (create_archive): Declare new mmap base and len values for
3255 prepare_address_space, and store the result in ah.
3256 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
3257 (enlarge_archive): If ah->mmap_base is not NULL, use that and
3258 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
3259 Declare new mmap base and len values for
3260 prepare_address_space, and store the result in new_ah.
3261 (open_archive): Declare new mmap base and len values for
3262 prepare_address_space, and store the result in ah.
3263 (close_archive): If ah->mmap_base is not NULL, use that and
3264 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
3265 * sysdeps/generic/libc-mmap.h: New file.
3267 2013-06-24 Mike Frysinger <vapier@gentoo.org>
3269 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
3270 (ALIGN_UP): Likewise.
3271 (PTR_ALIGN_DOWN): Likewise.
3272 (PTR_ALIGN_UP): Likewise.
3274 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3276 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
3277 entry mapped to PPC_PLATFORM_POWER8.
3278 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
3280 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
3281 (_dl_string_platform): Add case for exporting platform position for
3283 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
3284 search path to sysdeps/powerpc/powerpc32/power8 directory.
3285 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
3286 search path to sysdeps/powerpc/powerpc64/power8 directory.
3287 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
3289 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
3292 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
3294 * INSTALL: Regenerate.
3296 * nscd/connections.c (nscd_init): Fix comment.
3298 2013-06-22 Joseph Myers <joseph@codesourcery.com>
3300 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
3303 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
3304 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
3306 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
3308 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
3310 (DL_DST_REQ_STATIC): Remove macro.
3312 2013-06-21 Joseph Myers <joseph@codesourcery.com>
3315 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
3316 with a shift of 0 bits.
3318 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
3320 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
3323 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3326 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
3328 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3330 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
3331 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
3332 accepts -fno-tree-loop-distribute-patterns.
3333 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
3334 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
3336 * string/memset.c (memset): Likewise.
3337 * string/test-memmove.c (simple_memmove): Disable loop transformation
3339 * string/test-memset.c (simple_memset): Likewise.
3340 * benchtests/bench-memmove.c (simple_memmove): Likewise.
3341 * benchtests/bench-memset.c (simple_memset): Likewise.
3342 * configure: Regenerated.
3344 2013-06-20 Joseph Myers <joseph@codesourcery.com>
3346 * math/test-misc.c (main): Ignore fesetround failure when failures
3347 of subsequent rounding tests would be ignored.
3350 * math/fedisblxcpt.c (fedisableexcept): Return 0.
3351 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
3352 * math/fegetenv.c (__fegetenv): Return 0.
3353 * math/fegetexcept.c (fegetexcept): Return 0.
3354 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
3356 * math/feholdexcpt.c (feholdexcept): Return 0.
3357 * math/fesetenv.c (__fesetenv): Return 0.
3358 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
3359 argument FE_TONEAREST.
3360 * math/feupdateenv.c (__feupdateenv): Return 0.
3361 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
3363 2013-06-18 Roland McGrath <roland@hack.frob.com>
3365 * elf/rtld-Rules (rtld-compile-command.S): New variable.
3366 (rtld-compile-command.s, rtld-compile-command.c): New variables.
3367 ($(objpfx)rtld-%.os rules): Use them.
3369 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3371 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
3374 2013-06-17 Roland McGrath <roland@hack.frob.com>
3376 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
3377 length of target pattern, then descending length of dependency pattern.
3378 * configure.in (AWK): Require gawk 3.1.2 or newer.
3379 * manual/install.texi (Tools for Compilation): Say that we do.
3380 * configure: Regenerated.
3382 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
3383 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
3384 * scripts/sysd-rules.awk: ... this new script.
3385 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
3386 than a glob-style pattern.
3388 2013-06-17 Joseph Myers <joseph@codesourcery.com>
3390 * math/test-misc.c (main): Do not treat incorrectly rounded
3391 conversions as failure unless ROUNDING_TESTS passes.
3393 2013-06-15 Joseph Myers <joseph@codesourcery.com>
3396 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
3397 restore exception state around main square root computation, then
3398 check for inexactness explicitly.
3400 * math/libm-test.inc (fma_test_data): Add another test.
3402 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3404 * manual/threads.texi (Non-POSIX Extensions): New document
3405 node. Document pthread_getattr_default_np and
3406 pthread_setattr_default_np.
3408 * Versions.def (libpthread): Add GLIBC_2.18.
3409 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
3410 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
3412 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
3414 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
3416 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
3418 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
3420 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
3422 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
3424 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
3426 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
3429 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
3431 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3432 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
3434 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
3435 H.J. Lu <hjl.tools@gmail.com>
3438 * sysdeps/x86_64/rtld-memset.c: Remove file.
3439 * sysdeps/x86_64/rtld-memset.S: New file.
3441 2013-06-14 Joseph Myers <joseph@codesourcery.com>
3443 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
3444 (test_in_one_mode): Take arguments for whether the rounding mode
3445 is supported for each floating-point type.
3446 (do_test): Pass new arguments to test_in_one_mode using
3449 2013-06-13 Roland McGrath <roland@hack.frob.com>
3451 * posix/tst-waitid.c (do_test): Distinguish different instances of
3452 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
3453 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
3454 before entering the kernel for waitpid.
3456 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
3458 * NEWS: Fix note on clock function precision. Text by Roland
3461 2013-06-13 Roland McGrath <roland@hack.frob.com>
3463 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
3464 it into place only when and if the sanity check passes.
3466 2013-06-13 Joseph Myers <joseph@codesourcery.com>
3468 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
3469 output for whether conversion result is exact. Take argument
3470 indicating whether type is IBM long double.
3471 (round_for_all): Change need_exact field to ibm_ld.
3472 * stdlib/tst-strtod-round.c (struct exactness): New type.
3473 (struct test): Change bool ld_ok field to struct exactness exact.
3474 (TEST): Update all definitions for change to field.
3475 (tests): Regenerate array contents.
3476 (test_in_one_mode): Take pointer to new field instead of old ld_ok
3477 field value. Check for IBM long double here.
3478 (do_test): Update calls to test_in_one_mode.
3480 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
3483 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
3484 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
3486 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3489 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
3490 generated by the compiler on loop optimizations.
3491 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
3492 general definitions.
3494 2013-06-12 Joseph Myers <joseph@codesourcery.com>
3496 * math/bug-nextafter.c: Include <math-tests.h>.
3497 (main): Only test for exceptions if EXCEPTION_TESTS is true for
3499 * math/bug-nexttoward.c: Include <math-tests.h>.
3500 (main): Only test for exceptions if EXCEPTION_TESTS is true for
3502 * math/test-misc.c: Include <math-tests.h>.
3503 (main): Only test for exceptions if EXCEPTION_TESTS is true for
3506 2013-06-12 Andreas Jaeger <aj@suse.de>
3508 * po/ia.po: Update Interlingua translation from translation
3511 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
3513 * include/fenv.h: Include stdbool.h.
3514 (struct rm_ctx): New structure.
3515 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
3517 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
3518 (SET_RESTORE_ROUNDF): Likewise.
3519 (SET_RESTORE_ROUNDL): Likewise.
3520 (SET_RESTORE_ROUND_NOEX): Likewise.
3521 (SET_RESTORE_ROUND_NOEXF): Likewise.
3522 (SET_RESTORE_ROUND_NOEXL): Likewise.
3523 (SET_RESTORE_ROUND_53BIT): Likewise.
3524 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
3525 (libc_feresetround_noexf_ctx): Likewise.
3526 (libc_feresetround_noexl_ctx): Likewise.
3527 (libc_feholdsetround_53bit_ctx): Likewise.
3528 (libc_feresetround_53bit_ctx): Likewise.
3529 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
3530 (libc_feholdexcept_setround_sse_ctx): New function.
3531 (libc_fesetenv_sse_ctx): Likewise.
3532 (libc_feupdateenv_sse_ctx): Likewise.
3533 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
3534 (libc_feholdexcept_setround_387_ctx): Likewise.
3535 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
3536 (libc_feholdsetround_387_prec_ctx): Likewise.
3537 (libc_feholdsetround_387_ctx): Likewise.
3538 (libc_feholdsetround_387_53bit_ctx): Likewise.
3539 (libc_feholdsetround_sse_ctx): Likewise.
3540 (libc_feresetround_sse_ctx): Likewise.
3541 (libc_feresetround_387_ctx): Likewise.
3542 (libc_feupdateenv_387_ctx): Likewise.
3543 (libc_feholdexcept_setroundf_ctx): Define macro.
3544 (libc_fesetenvf_ctx): Likewise.
3545 (libc_feupdateenvf_ctx): Likewise.
3546 (libc_feholdsetroundf_ctx): Likewise.
3547 (libc_feresetroundf_ctx): Likewise.
3548 (libc_feholdexcept_setround_ctx): Likewise.
3549 (libc_fesetenv_ctx): Likewise.
3550 (libc_feupdateenv_ctx): Likewise.
3551 (libc_feholdsetround_ctx): Likewise.
3552 (libc_feresetround_ctx): Likewise.
3553 (libc_feholdexcept_setroundl_ctx): Likewise.
3554 (libc_feupdateenvl_ctx): Likewise.
3555 (libc_feholdsetroundl_ctx): Likewise.
3556 (libc_feresetroundl_ctx): Likewise.
3557 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
3558 (libc_feresetround_53bit_ctx): Likewise.
3560 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3562 * locale/iso-639.def: Convert to UTF-8.
3564 2013-06-11 Joseph Myers <joseph@codesourcery.com>
3566 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
3567 (EXCEPTION_TESTS_double): Likewise.
3568 (EXCEPTION_TESTS_long_double): Likewise.
3569 (EXCEPTION_TESTS): Likewise.
3570 * math/libm-test.inc (test_exceptions): Only test exceptions if
3571 EXCEPTION_TESTS (FLOAT).
3573 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3575 * benchtests/Makefile (string-bench): Add strcpy_chk and
3577 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
3578 * benchtests/bench-stpcpy_chk.c: New file.
3579 * benchtests/bench-strcpy_chk-ifunc.c: New file.
3580 * benchtests/bench-strcpy_chk.c: New file.
3581 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
3583 (do_test): Likewise.
3585 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3587 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
3588 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
3589 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
3590 with tabs where appropriate.
3591 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
3593 [PPC_PLATFORM_PPC440]: Likewise.
3594 [PPC_PLATFORM_PPC464]: Likewise.
3595 [PPC_PLATFORM_PPC476]: Likewise.
3596 (_dl_string_platform): Add support for detecting ppc405, ppc440,
3597 ppc464, and ppc476 platform strings merging from ports/
3600 2013-06-11 Andreas Schwab <schwab@suse.de>
3603 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
3604 (from_ucs4_idx): Regenerate.
3605 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
3606 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
3607 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
3608 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
3609 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
3610 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
3611 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
3612 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
3613 from FROM_LOOP and TO_LOOP specific macros.
3614 (BODY): Handle combining characters.
3615 * iconvdata/BIG5HKSCS.irreversible: Update.
3616 * iconvdata/BIG5HKSCS.precomposed: New file.
3617 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
3619 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
3621 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3623 * include/sys/time.h: Fix indentation and add copyright header.
3625 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
3626 (do_test): Likewise.
3627 * string/test-memchr.c (do_one_test): Likewise.
3628 (do_test): Likewise.
3629 * string/test-memcmp.c (do_one_test): Likewise.
3630 (do_test): Likewise.
3631 * string/test-memcpy.c (do_one_test): Likewise.
3632 (do_test): Likewise.
3633 * string/test-memmem.c (do_one_test): Likewise.
3634 (do_test): Likewise.
3635 (do_random_tests): Likewise.
3636 * string/test-memmove.c (do_one_test): Likewise.
3637 (do_test): Likewise.
3638 * string/test-memset.c (do_one_test): Likewise.
3639 (do_test): Likewise.
3640 * string/test-rawmemchr.c (do_one_test): Likewise.
3641 (do_test): Likewise.
3642 * string/test-strcasecmp.c (do_one_test): Likewise.
3643 (do_test): Likewise.
3644 * string/test-strcasestr.c (do_one_test): Likewise.
3645 (do_test): Likewise.
3646 * string/test-strcat.c (do_one_test): Likewise.
3647 (do_test): Likewise.
3648 * string/test-strchr.c (do_one_test): Likewise.
3649 (do_test): Likewise.
3650 * string/test-strcmp.c (do_one_test): Likewise.
3651 (do_test): Likewise.
3652 * string/test-strcpy.c (do_one_test): Likewise.
3653 (do_test): Likewise.
3654 * string/test-string.h: Likewise.
3655 (test_init): Likewise.
3656 * string/test-strlen.c (do_one_test): Likewise.
3657 (do_test): Likewise.
3658 * string/test-strncasecmp.c (do_one_test): Likewise.
3659 (do_test): Likewise.
3660 * string/test-strncat.c (do_one_test): Likewise.
3661 (do_test): Likewise.
3662 * string/test-strncmp.c (do_one_test): Likewise.
3663 (do_test_limit): Likewise.
3664 (do_test): Likewise.
3665 * string/test-strncpy.c (do_one_test): Likewise.
3666 (do_test): Likewise.
3667 * string/test-strnlen.c (do_one_test): Likewise.
3668 (do_test): Likewise.
3669 * string/test-strpbrk.c (do_one_test): Likewise.
3670 (do_test): Likewise.
3671 * string/test-strrchr.c (do_one_test): Likewise.
3672 (do_test): Likewise.
3673 * string/test-strspn.c (do_one_test): Likewise.
3674 (do_test): Likewise.
3675 * string/test-strstr.c (do_one_test): Likewise.
3676 (do_test): Likewise.
3678 * benchtests/Makefile (string-bench): Add string benchmarks.
3679 * benchtests/bench-bcopy-ifunc.c: New file.
3680 * benchtests/bench-bcopy.c: New file.
3681 * benchtests/bench-bzero-ifunc.c: New file.
3682 * benchtests/bench-bzero.c: New file.
3683 * benchtests/bench-memccpy-ifunc.c: New file.
3684 * benchtests/bench-memccpy.c: New file.
3685 * benchtests/bench-memchr-ifunc.c: New file.
3686 * benchtests/bench-memchr.c: New file.
3687 * benchtests/bench-memcmp-ifunc.c: New file.
3688 * benchtests/bench-memcmp.c: New file.
3689 * benchtests/bench-memmem-ifunc.c: New file.
3690 * benchtests/bench-memmem.c: New file.
3691 * benchtests/bench-memmove-ifunc.c: New file.
3692 * benchtests/bench-memmove.c: New file.
3693 * benchtests/bench-mempcpy-ifunc.c: New file.
3694 * benchtests/bench-mempcpy.c: New file.
3695 * benchtests/bench-memset-ifunc.c: New file.
3696 * benchtests/bench-memset.c: New file.
3697 * benchtests/bench-rawmemchr-ifunc.c: New file.
3698 * benchtests/bench-rawmemchr.c: New file.
3699 * benchtests/bench-stpcpy-ifunc.c: New file.
3700 * benchtests/bench-stpcpy.c: New file.
3701 * benchtests/bench-stpncpy-ifunc.c: New file.
3702 * benchtests/bench-stpncpy.c: New file.
3703 * benchtests/bench-strcasecmp-ifunc.c: New file.
3704 * benchtests/bench-strcasecmp.c: New file.
3705 * benchtests/bench-strcasestr-ifunc.c: New file.
3706 * benchtests/bench-strcasestr.c: New file.
3707 * benchtests/bench-strcat-ifunc.c: New file.
3708 * benchtests/bench-strcat.c: New file.
3709 * benchtests/bench-strchr-ifunc.c: New file.
3710 * benchtests/bench-strchr.c: New file.
3711 * benchtests/bench-strchrnul-ifunc.c: New file.
3712 * benchtests/bench-strchrnul.c: New file.
3713 * benchtests/bench-strcmp-ifunc.c: New file.
3714 * benchtests/bench-strcmp.c: New file.
3715 * benchtests/bench-strcpy-ifunc.c: New file.
3716 * benchtests/bench-strcpy.c: New file.
3717 * benchtests/bench-strcspn-ifunc.c: New file.
3718 * benchtests/bench-strcspn.c: New file.
3719 * benchtests/bench-strlen-ifunc.c: New file.
3720 * benchtests/bench-strlen.c: New file.
3721 * benchtests/bench-strncasecmp-ifunc.c: New file.
3722 * benchtests/bench-strncasecmp.c: New file.
3723 * benchtests/bench-strncat-ifunc.c: New file.
3724 * benchtests/bench-strncat.c: New file.
3725 * benchtests/bench-strncmp-ifunc.c: New file.
3726 * benchtests/bench-strncmp.c: New file.
3727 * benchtests/bench-strncpy-ifunc.c: New file.
3728 * benchtests/bench-strncpy.c: New file.
3729 * benchtests/bench-strnlen-ifunc.c: New file.
3730 * benchtests/bench-strnlen.c: New file.
3731 * benchtests/bench-strpbrk-ifunc.c: New file.
3732 * benchtests/bench-strpbrk.c: New file.
3733 * benchtests/bench-strrchr-ifunc.c: New file.
3734 * benchtests/bench-strrchr.c: New file.
3735 * benchtests/bench-strspn-ifunc.c: New file.
3736 * benchtests/bench-strspn.c: New file.
3737 * benchtests/bench-strstr-ifunc.c: New file.
3738 * benchtests/bench-strstr.c: New file.
3740 * benchtests/Makefile: Disable parallel execution of targets.
3741 (string-bench): Add memcpy.
3742 (benchset): New variable to store a list of benchmark sets.
3743 (bench-func): Renamed from bench.
3744 (bench-set): New target.
3745 (bench): Depend on bench-func and bench-set.
3746 * benchtests/README: Add section on benchmark sets.
3747 * benchtests/bench-memcpy-ifunc.c: New file.
3748 * benchtests/bench-memcpy.c: New file.
3749 * benchtests/bench-string.h: New file.
3751 2013-06-11 Andreas Schwab <schwab@suse.de>
3754 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
3755 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
3756 values in the triple.
3757 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
3758 terminator in the group key.
3760 2013-06-11 Andreas Jaeger <aj@suse.de>
3762 * po/zh_TW.po: Update Chinese (traditional) translation from
3763 translation project.
3765 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3767 * include/time.h (__clock_gettime): Add libc_hidden_proto.
3768 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
3769 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
3770 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
3771 (clock_getcpuclockid): Likewise.
3772 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
3773 Add weak_alias and libc_hidden_def.
3774 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
3775 * rt/clock_gettime.c (clock_gettime): Rename to
3776 __clock_gettime. Add weak_alias and libc_hidden_def.
3777 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
3778 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
3779 __clock_nanosleep. Add weak_alias and libc_hidden_def.
3780 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
3781 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
3783 * rt/clock_settime.c (clock_settime): Rename to
3784 __clock_settime. Add weak_alias and libc_hidden_def.
3785 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
3787 2013-06-10 Joseph Myers <joseph@codesourcery.com>
3789 * mach/err_boot.sub: Remove trailing whitespace.
3790 * mach/err_ipc.sub: Likewise.
3791 * mach/err_mach.sub: Likewise.
3793 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
3794 (ROUNDING_TESTS_double): Likewise.
3795 (ROUNDING_TESTS_long_double): Likewise.
3796 (ROUNDING_TESTS): Likewise.
3797 * math/libm-test.inc: Include <math-tests.h>.
3798 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
3799 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
3800 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
3801 (IF_ROUND_INIT_FE_UPWARD): Likewise.
3803 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3805 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
3808 2013-06-08 Joseph Myers <joseph@codesourcery.com>
3810 * sysdeps/gnu/errlist.awk: Do not generate space at end of
3811 otherwise empty TRANS lines.
3812 * sysdeps/gnu/errlist.c: Regenerated.
3814 * catgets/gencat.c (error_print): Use (void) in function
3816 * crypt/crypt_util.c (__init_des): Likewise.
3817 * crypt/speeds.c (Stop): Likewise.
3819 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
3820 * inet/ruserpass.c (token): Likewise.
3821 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
3822 * intl/localealias.c (extend_alias_table): Likewise.
3823 * intl/plural-exp.c (init_germanic_plural): Likewise.
3824 * libio/fcloseall.c (__fcloseall): Likewise.
3825 * libio/genops.c (_IO_flush_all): Likewise.
3826 (_IO_flush_all_linebuffered): Likewise.
3827 (_IO_cleanup): Likewise.
3828 (_IO_iter_begin): Likewise.
3829 (_IO_iter_end): Likewise.
3830 (_IO_list_lock): Likewise.
3831 (_IO_list_unlock): Likewise.
3832 (_IO_list_resetlock): Likewise.
3833 * libio/getchar.c (getchar): Likewise.
3834 * libio/getchar_u.c (getchar_unlocked): Likewise.
3835 * libio/getwchar.c (getwchar): Likewise.
3836 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
3837 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
3838 * login/getpt.c (__getpt): Likewise.
3839 * login/tst-utmp.c (main): Likewise.
3840 * malloc/hooks.c (__malloc_check_init): Likewise.
3841 * malloc/malloc.c (__malloc_stats): Likewise.
3842 * malloc/mtrace.c (tr_break): Likewise.
3844 (muntrace): Likewise.
3845 * misc/fstab.c (endfsent): Likewise.
3846 * misc/getclktck.c (__getclktck): Likewise.
3847 * misc/getdtsz.c (__getdtablesize): Likewise.
3848 * misc/gethostid.c (gethostid): Likewise.
3849 * misc/getpagesize.c (__getpagesize): Likewise.
3850 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
3851 (__get_nprocs): Likewise.
3852 (__get_phys_pages): Likewise.
3853 (__get_avphys_pages): Likewise.
3854 * misc/getttyent.c (getttyent): Likewise.
3855 (setttyent): Likewise.
3856 (endttyent): Likewise.
3857 * misc/getusershell.c (getusershell): Likewise.
3858 (endusershell): Likewise.
3859 (setusershell): Likewise.
3860 (initshells): Likewise.
3861 * misc/hsearch.c (__hdestroy): Likewise.
3862 * misc/sync.c (sync): Likewise.
3863 * misc/syslog.c (closelog_internal): Likewise.
3864 (closelog): Likewise.
3865 * misc/ttyslot.c (ttyslot): Likewise.
3866 * misc/vhangup.c (vhangup): Likewise.
3867 * posix/fork.c (__fork): Likewise.
3868 * posix/getegid.c (__getegid): Likewise.
3869 * posix/geteuid.c (__geteuid): Likewise.
3870 * posix/getgid.c (__getgid): Likewise.
3871 * posix/getpid.c (__getpid): Likewise.
3872 * posix/getppid.c (__getppid): Likewise.
3873 * posix/getuid.c (__getuid): Likewise.
3874 * posix/pause.c (pause): Likewise.
3875 * posix/setpgrp.c (setpgrp): Likewise.
3876 * posix/setsid.c (__setsid): Likewise.
3877 * posix/test-vfork.c (noop): Likewise.
3878 * resolv/gethnamaddr.c (_endhtent): Likewise.
3879 (_gethtent): Likewise.
3880 (ht_endhostent): Likewise.
3881 (gethostent): Likewise.
3882 (dns_service): Likewise.
3883 * stdlib/drand48.c (drand48): Likewise.
3884 * stdlib/lrand48.c (lrand48): Likewise.
3885 * stdlib/mrand48.c (mrand48): Likewise.
3886 * stdlib/rand.c (rand): Likewise.
3887 * stdlib/random.c (__random): Likewise.
3888 * stdlib/setenv.c (clearenv): Likewise.
3889 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
3890 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
3891 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
3892 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
3893 (__get_nprocs): Likewise.
3894 (__get_phys_pages): Likewise.
3895 (__get_avphys_pages): Likewise.
3896 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
3897 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
3898 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
3899 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
3900 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
3901 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
3902 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
3903 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
3904 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
3905 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
3906 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
3907 * sysdeps/mach/hurd/sync.c (sync): Likewise.
3908 * sysdeps/posix/clock.c (clock): Likewise.
3909 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
3910 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
3911 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
3912 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
3913 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
3914 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
3915 (__get_nprocs_conf): Likewise.
3916 (__get_phys_pages): Likewise.
3917 (__get_avphys_pages): Likewise.
3918 * time/clock.c (clock): Likewise.
3919 * time/tzset.c (__tzname_max): Likewise.
3921 2013-06-07 Joseph Myers <joseph@codesourcery.com>
3923 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
3924 (__bswap_32): Do not use "register".
3925 * crypt/crypt.c (_ufc_doit_r): Likewise.
3926 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
3927 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
3928 * gmon/gmon.c (__monstartup): Likewise.
3929 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
3930 * hurd/hurdmalloc.c (more_memory): Likewise.
3933 (realloc): Likewise.
3934 (malloc_fork_prepare): Likewise.
3935 (malloc_fork_parent): Likewise.
3936 (malloc_fork_child): Likewise.
3937 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
3938 (_svcauth_des): Likewise.
3939 * inet/inet_lnaof.c (inet_lnaof): Likewise.
3940 * inet/inet_net.c (inet_network): Likewise.
3941 * inet/inet_netof.c (inet_netof): Likewise.
3942 * inet/rcmd.c (__validuser2_sa): Likewise.
3943 * io/fts.c (fts_open): Likewise.
3944 (fts_load): Likewise.
3945 (fts_close): Likewise.
3946 (fts_read): Likewise.
3947 (fts_children): Likewise.
3948 (fts_build): Likewise.
3949 (fts_stat): Likewise.
3950 (fts_sort): Likewise.
3951 (fts_alloc): Likewise.
3952 (fts_lfree): Likewise.
3953 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
3954 (_IO_file_xsgetn): Likewise.
3955 (_IO_file_xsgetn_mmap): Likewise.
3956 * libio/iofopncook.c (_IO_cookie_read): Likewise.
3957 (_IO_cookie_write): Likewise.
3958 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
3959 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
3960 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
3961 * malloc/obstack.c (_obstack_begin): Likewise.
3962 (_obstack_begin_1): Likewise.
3963 (_obstack_newchunk): Likewise.
3964 (_obstack_allocated_p): Likewise.
3965 (obstack_free): Likewise.
3966 (_obstack_memory_used): Likewise.
3967 * misc/getttyent.c (getttynam): Likewise.
3968 (getttyent): Likewise.
3971 * misc/getusershell.c (initshells): Likewise.
3972 * misc/syslog.c (__vsyslog_chk): Likewise.
3973 * misc/ttyslot.c (ttyslot): Likewise.
3974 * nis/nis_hash.c (__nis_hash): Likewise.
3975 * posix/fnmatch_loop.c (FCT): Likewise.
3976 * posix/getconf.c (print_all): Likewise.
3978 * posix/getopt.c (exchange): Likewise.
3979 * posix/glob.c (globfree): Likewise.
3980 (prefix_array): Likewise.
3981 (__glob_pattern_type): Likewise.
3982 * resolv/arpa/nameser.h (NS_GET16): Likewise.
3983 (NS_GET32): Likewise.
3984 (NS_PUT16): Likewise.
3985 (NS_PUT32): Likewise.
3986 * resolv/gethnamaddr.c (getanswer): Likewise.
3987 (gethostbyname2): Likewise.
3988 (gethostbyaddr): Likewise.
3989 (_gethtent): Likewise.
3990 (_gethtbyname2): Likewise.
3991 (_gethtbyaddr): Likewise.
3992 * resolv/ns_print.c (dst_s_get_int16): Likewise.
3993 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
3994 * resolv/res_init.c (__res_vinit): Likewise.
3995 (net_mask): Likewise.
3996 * resolv/res_mkquery.c (outchar): Likewise.
3998 * stdio-common/printf_fp.c (outchar): Likewise.
4000 * stdio-common/printf_fphex.c (outchar): Likewise.
4002 * stdio-common/printf_size.c (outchar): Likewise.
4004 * stdio-common/test_rdwr.c (main): Likewise.
4005 * stdio-common/tfformat.c (matches): Likewise.
4006 * stdio-common/vfprintf.c (outchar): Likewise.
4007 (printf_unknown): Likewise.
4008 (buffered_vfprintf): Likewise.
4009 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
4010 * stdio-common/xbug.c (AppendToBuffer): Likewise.
4011 (ReadFile): Likewise.
4012 * stdlib/qsort.c (SWAP): Likewise.
4013 (_quicksort): Likewise.
4014 * stdlib/setenv.c (__add_to_environ): Likewise.
4015 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
4016 * stdlib/strtol_l.c (__strtol_l): Likewise.
4017 * stdlib/tst-strtod.c (main): Likewise.
4018 * stdlib/tst-strtol.c (main): Likewise.
4019 * stdlib/tst-strtoll.c (main): Likewise.
4020 * string/bits/string2.h (__strcmp_cc): Likewise.
4021 (__strcmp_cg): Likewise.
4022 (__strcspn_c1): Likewise.
4023 (__strcspn_c2): Likewise.
4024 (__strcspn_c3): Likewise.
4025 (__strspn_c1): Likewise.
4026 (__strspn_c2): Likewise.
4027 (__strspn_c3): Likewise.
4028 (__strsep_1c): Likewise.
4029 (__strsep_2c): Likewise.
4030 (__strsep_3c): Likewise.
4031 * string/memccpy.c (__memccpy): Likewise.
4032 * string/stpcpy.c (__stpcpy): Likewise.
4033 * string/strcmp.c (strcmp): Likewise.
4034 * string/strrchr.c (strrchr): Likewise.
4035 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
4037 * sysdeps/mach/hurd/getcwd.c
4038 (_hurd_canonicalize_directory_name_internal): Likewise.
4039 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
4040 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
4041 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
4042 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
4043 Likewise, in both definitions.
4044 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
4046 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
4047 64] (__bswap_64): Likewise.
4048 * time/test_time.c (main): Likewise.
4049 * time/tzfile.c (__tzfile_read): Likewise.
4050 (__tzfile_compute): Likewise.
4051 * time/tzset.c (__tzset_parse_tz): Likewise.
4052 (tzset_internal): Likewise.
4053 (compute_change): Likewise.
4054 * wcsmbs/wcscat.c (__wcscat): Likewise.
4055 * wcsmbs/wcschr.c (wcschr): Likewise.
4056 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
4057 * wcsmbs/wcscspn.c (wcscspn): Likewise.
4058 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
4059 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
4060 * wcsmbs/wcsspn.c (wcsspn): Likewise.
4061 * wcsmbs/wcsstr.c (wcsstr): Likewise.
4062 * wcsmbs/wmemchr.c (wmemchr): Likewise.
4063 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
4064 * wcsmbs/wmemset.c (wmemset): Likewise.
4066 2013-06-06 Joseph Myers <joseph@codesourcery.com>
4068 * scripts/config.guess: Update to version 2013-05-16.
4069 * scripts/config.sub: Update to version 2013-04-24.
4070 * scripts/install-sh: Update to version 2011-11-20.07.
4071 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
4072 * scripts/move-if-change: Update to version 2012-01-06 07:23.
4074 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
4076 * debug/fgetws_u_chk.c: Fix leading whitespaces.
4077 * elf/sln.c: Likewise.
4078 * hurd/hurd/ioctl.h: Likewise.
4079 * hurd/hurdmalloc.c: Likewise.
4080 * hurd/xattr.c: Likewise.
4081 * include/shlib-compat.h: Likewise.
4082 * inet/ruserpass.c: Likewise.
4083 * libio/iofgets_u.c: Likewise.
4084 * libio/iofgetws_u.c: Likewise.
4085 * locale/programs/ld-identification.c: Likewise.
4086 * locale/programs/ld-time.c: Likewise.
4087 * mach/msg-destroy.c: Likewise.
4088 * nss/nss_files/files-netgrp.c: Likewise.
4089 * resolv/res_data.c: Likewise.
4090 * soft-fp/op-1.h: Likewise.
4091 * soft-fp/op-2.h: Likewise.
4092 * soft-fp/op-4.h: Likewise.
4093 * soft-fp/op-common.h: Likewise.
4094 * stdio-common/printf_fphex.c: Likewise.
4095 * stdlib/strtod_l.c: Likewise.
4096 * sunrpc/rpc/clnt.h: Likewise.
4097 * sysdeps/generic/framestate.c: Likewise.
4098 * sysdeps/i386/bsd-_setjmp.S: Likewise.
4099 * sysdeps/i386/bsd-setjmp.S: Likewise.
4100 * sysdeps/i386/__longjmp.S: Likewise.
4101 * sysdeps/i386/setjmp.S: Likewise.
4102 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
4103 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
4104 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
4105 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
4106 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
4107 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
4108 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
4109 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
4110 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
4111 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
4112 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
4113 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
4114 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
4115 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
4116 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
4117 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
4118 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
4119 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
4120 * sysdeps/ieee754/support.c: Likewise.
4121 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
4122 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
4123 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
4124 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
4125 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
4126 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
4127 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
4128 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
4129 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
4130 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
4131 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
4132 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
4133 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
4134 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
4135 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
4136 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
4137 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
4138 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
4140 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
4142 * posix/transbug.c: Remove executable mode.
4144 2013-06-05 Joseph Myers <joseph@codesourcery.com>
4146 * crypt/speeds.c: Remove trailing whitespace.
4147 * dlfcn/default.c: Likewise.
4148 * elf/ifuncdep2.c: Likewise.
4149 * elf/ifuncmain1.c: Likewise.
4150 * elf/ifuncmain1vis.c: Likewise.
4151 * elf/testobj.h: Likewise.
4152 * elf/tst-stackguard1.c: Likewise.
4153 * gmon/sys/gmon.h: Likewise.
4154 * hurd/hurdmsg.c: Likewise.
4155 * hurd/new-fd.c: Likewise.
4156 * hurd/ports-get.c: Likewise.
4157 * iconvdata/ibm1008_420.c: Likewise.
4158 * inet/tst-getni1.c: Likewise.
4159 * inet/tst-getni2.c: Likewise.
4160 * libio/ioungetc.c: Likewise.
4161 * libio/wfiledoalloc.c: Likewise.
4162 * manual/libm-err-tab.pl: Likewise.
4163 * math/w_dremf.c: Likewise.
4164 * misc/ftruncate.c: Likewise.
4165 * posix/bug-glob2.c: Likewise.
4166 * posix/tst-pcre.c: Likewise.
4167 * posix/wait4.c: Likewise.
4168 * resolv/README: Likewise.
4169 * resolv/res_debug.h: Likewise.
4170 * resolv/tst-inet_ntop.c: Likewise.
4171 * setjmp/bug269-setjmp.c: Likewise.
4172 * soft-fp/extended.h: Likewise.
4173 * soft-fp/op-1.h: Likewise.
4174 * soft-fp/op-2.h: Likewise.
4175 * soft-fp/op-4.h: Likewise.
4176 * soft-fp/op-8.h: Likewise.
4177 * soft-fp/testit.c: Likewise.
4178 * stdio-common/bug16.c: Likewise.
4179 * stdlib/random.c: Likewise.
4180 * sunrpc/rpcsvc/rquota.x: Likewise.
4181 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
4182 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
4183 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
4184 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
4185 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
4186 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
4187 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
4188 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
4189 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
4190 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
4191 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
4192 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
4193 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
4194 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
4195 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
4196 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
4197 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
4198 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
4199 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
4200 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
4201 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
4202 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
4203 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
4204 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
4205 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
4206 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
4207 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
4208 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
4209 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
4210 * sysdeps/ieee754/s_lib_version.c: Likewise.
4211 * sysdeps/mach/hurd/check_fds.c: Likewise.
4212 * sysdeps/mach/hurd/getsockname.c: Likewise.
4213 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
4214 * sysdeps/mach/hurd/recvfrom.c: Likewise.
4215 * sysdeps/powerpc/bits/link.h: Likewise.
4216 * sysdeps/powerpc/dl-procinfo.c: Likewise.
4217 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
4218 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
4219 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
4220 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
4221 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
4222 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
4223 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
4224 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
4225 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
4226 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
4227 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
4228 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
4229 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
4230 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
4231 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
4232 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
4233 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
4234 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
4235 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
4236 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
4237 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
4238 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
4239 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
4240 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
4241 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
4242 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
4243 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
4244 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
4245 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
4246 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
4247 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
4248 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
4249 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
4250 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
4251 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
4252 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
4253 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
4254 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
4255 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
4256 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
4257 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
4258 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
4259 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
4260 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
4261 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
4262 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
4263 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
4264 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
4265 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
4266 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
4267 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
4268 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
4269 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
4270 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
4271 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
4272 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
4273 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
4274 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
4275 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
4276 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
4277 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
4278 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
4279 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
4280 * sysdeps/powerpc/sysdep.h: Likewise.
4281 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
4282 * sysdeps/s390/s390-64/sub_n.S: Likewise.
4283 * sysdeps/sh/dl-trampoline.S: Likewise.
4284 * sysdeps/sh/memset.S: Likewise.
4285 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
4286 * sysdeps/sh/strlen.S: Likewise.
4287 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
4288 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
4289 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
4290 * sysdeps/sparc/sparc32/rem.S: Likewise.
4291 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
4292 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
4293 * sysdeps/sparc/sparc32/strchr.S: Likewise.
4294 * sysdeps/sparc/sparc32/udiv.S: Likewise.
4295 * sysdeps/sparc/sparc32/urem.S: Likewise.
4296 * sysdeps/sparc/sparc64/add_n.S: Likewise.
4297 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
4298 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
4299 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
4300 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
4301 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
4302 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
4303 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
4304 * sysdeps/unix/bsd/times.c: Likewise.
4305 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
4306 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
4307 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
4308 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
4309 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
4310 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
4311 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
4312 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
4313 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
4314 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
4315 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
4316 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
4317 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
4318 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
4319 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
4320 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
4321 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
4322 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
4323 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
4324 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
4325 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
4326 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
4327 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
4328 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
4329 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
4330 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
4331 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
4332 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
4333 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
4334 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
4335 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
4336 * sysdeps/x86_64/strcspn.S: Likewise.
4338 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4340 * locale/C-translit.h: Revert #include <stdint.h> because this is a
4341 generated file. Regenerate properly from gen-translit.pl.
4342 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
4343 locale/C-translit.h.
4345 2013-06-05 Andreas Schwab <schwab@suse.de>
4348 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
4349 week as 6 instead of -1.
4350 * time/tst-strptime.c (day_tests): Add test case.
4352 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
4354 * sysdeps/generic/math_private.h
4355 (libc_feholdexcept_setround_53bit): Replace with
4356 libc_feholdsetround_53bit.
4357 (libc_feupdateenv_53bit): Replace with
4358 libc_feresetround_53bit.
4359 (SET_RESTORE_ROUND_53BIT): Adjust.
4361 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
4363 * string/test-strchrnul.c: Add copyright header.
4365 * posix/tst-getaddrinfo4.c: Increase test timeout.
4367 2013-06-03 Carlos O'Donell <carlos@redhat.com>
4370 * math/libm-test.inc (MAX_EXP): Remove
4372 (ulp): Use MIN_EXP - MANT_DIG.
4373 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
4375 2013-05-31 Carlos O'Donell <carlos@redhat.com>
4377 * po/be.po: Revert last change.
4378 * po/zh_CN.po: Likewise.
4379 * po/header.pot: Likewise.
4381 2013-05-31 Joseph Myers <joseph@codesourcery.com>
4383 * Makefile ($(common-objpfx)linkobj/libc.so): Define
4384 link-libc-deps to empty as target-specific variable.
4385 * Makerules (link-libc-args): New variable.
4386 (libc-for-link): Likewise.
4387 (link-libc-deps): Likewise.
4388 (lib%.so): Depend on $(link-libc-deps). Link with
4390 (build-module): Link with $(link-libc-args).
4391 (build-module-asneeded): Likewise.
4392 (build-module-helper-objlist): Filter out $(link-libc-deps) from
4394 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
4395 target-specific variable.
4396 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
4397 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
4398 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
4400 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
4402 ($(objpfx)libpcprofile.so): Likewise.
4403 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
4405 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
4406 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
4407 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
4409 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
4410 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
4411 * login/Makefile ($(objpfx)libutil.so): Likewise.
4412 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
4413 * math/Makefile ($(objpfx)libm.so): Likewise.
4414 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
4415 $(objpfx)libnsl.so): Define libc-for-link as target-specific
4416 variable instead of depending directly on libc.
4417 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
4418 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
4420 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
4422 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
4423 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
4424 ($(objpfx)libanl.so): Likewise.
4425 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
4427 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
4429 * sysdeps/i386/fpu/Makefile: Remove file.
4430 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
4431 ($(objpfx)libm.so): Remove dependency on ld.so.
4433 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
4436 * nis/yp_xdr.c (XDRMAXNAME): Define.
4437 (XDRMAXRECORD): Define.
4438 (xdr_domainname): Use XDRMAXNAME.
4439 (xdr_mapname): Likewise.
4440 (xdr_peername): Likewise.
4441 (xdr_keydat): Use XDRMAXRECORD.
4442 (xdr_valdat): Likewise.
4444 2013-05-30 Jeff Law <law@redhat.com>
4447 * manual/errno.texi (ESTALE): Update to account for more than
4448 just NFS file systems.
4449 * sysdeps/gnu/errlist.c: Regenerated.
4451 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4454 * elf/Makefile (tests): Add tst-null-argv.
4455 (modules-names): Add tst-null-argv-lib.
4456 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
4457 (tst-null-argv-ENV): Set environment for tst-null-argv.
4458 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
4459 (RTLD_PROGNAME): New macro.
4460 * elf/tst-null-argv.c: New test case.
4461 * elf/tst-null-argv-lib.c: Library for test case.
4462 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
4463 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
4464 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
4465 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
4466 * elf/dl-init.c (call_init): Likewise.
4467 (_dl_init): Likewise.
4468 * elf/dl-load.c (print_search_path): Likewise.
4469 (_dl_map_object): Likewise.
4470 * elf/dl-lookup.c (do_lookup_x): Likewise.
4471 (add_dependency): Likewise.
4472 (_dl_lookup_symbol_x): Likewise.
4473 (_dl_debug_bindings): Likewise.
4474 * elf/dl-open.c (_dl_show_scope): Likewise.
4475 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
4476 * elf/dl-version.c (match_symbol): Likewise.
4477 (_dl_check_map_versions): Likewise.
4478 * elf/rtld.c (dl_main): Likewise.
4479 (print_unresolved): Use RTLD_PROGNAME.
4480 (print_missing_version): Likewise.
4481 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
4482 (elf_machine_rela): Likewise.
4483 * sysdeps/powerpc/powerpc32/dl-machine.c
4484 (__process_machine_rela): Likewise.
4485 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
4487 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
4489 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
4491 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
4492 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
4494 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
4496 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
4498 2013-05-28 Carlos O'Donell <carlos@redhat.com>
4500 * po/be.po: Add descriptive title.
4501 * po/zh_CN.po: Likewise.
4502 * po/header.pot: Likewise.
4504 2013-05-28 Mike Frysinger <vapier@gentoo.org>
4506 * locale/programs/locarchive.c (create_archive): Inlucde fname in
4508 (enlarge_archive): Likewise.
4510 2013-05-28 Ben North <ben@redfrontdoor.org>
4512 * manual/arith.texi (frexp): It is the magnitude of the return
4513 value which lies in [0.5, 1), not the return value itself.
4515 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4517 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4519 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
4521 * stdio-common/bug26.c (main): Correct fscanf template.
4523 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
4524 declare _dl_skip_args.
4526 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
4529 * manual/platform.texi: Add missing @end deftypefun.
4531 2013-05-24 Joseph Myers <joseph@codesourcery.com>
4534 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
4535 bit of mantissa of 2^16382.
4536 * math/libm-test.inc (hypot_test_data): Add more tests.
4538 * math/libm-test.inc: Add drem and pow10 to list of tested
4540 (pow10_test): New function.
4541 (drem_test): Likewise.
4542 (drem_test_tonearest): Likewise.
4543 (drem_test_towardzero): Likewise.
4544 (drem_test_downward): Likewise.
4545 (drem_test_upward): Likewise.
4546 (main): Call the new functions.
4548 * math/libm-test.inc (finite_test_data): Remove.
4549 (finite_test): Run tests from isfinite_test_data.
4550 (gamma_test_data): Remove.
4551 (gamma_test): Run tests from lgamma_test_data.
4552 * sysdeps/i386/fpu/libm-test-ulps: Update.
4553 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4555 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4557 * manual/platform.texi: Add PowerPC PPR function set documentation.
4558 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
4561 2013-05-24 Carlos O'Donell <carlos@redhat.com>
4563 * math/libm-test.inc (MAX_EXP): Define.
4565 (ulp): New function.
4566 (check_float_internal): Use ULPDIFF.
4567 (cpow_test): Disable failing test.
4568 (check_ulp): Test ulp() implemetnation.
4569 (main): Call check_ulp before starting tests.
4571 2013-05-24 Joseph Myers <joseph@codesourcery.com>
4573 * math/gen-libm-test.pl (generate_testfile): Do not handle
4574 START_DATA and END_DATA.
4575 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
4577 (acos_tonearest_test_data): Likewise.
4578 (acos_towardzero_test_data): Likewise.
4579 (acos_downward_test_data): Likewise.
4580 (acos_upward_test_data): Likewise.
4581 (acosh_test_data): Likewise.
4582 (asin_test_data): Likewise.
4583 (asin_tonearest_test_data): Likewise.
4584 (asin_towardzero_test_data): Likewise.
4585 (asin_downward_test_data): Likewise.
4586 (asin_upward_test_data): Likewise.
4587 (asinh_test_data): Likewise.
4588 (atan_test_data): Likewise.
4589 (atanh_test_data): Likewise.
4590 (atan2_test_data): Likewise.
4591 (cabs_test_data): Likewise.
4592 (cacos_test_data): Likewise.
4593 (cacosh_test_data): Likewise.
4594 (carg_test_data): Likewise.
4595 (casin_test_data): Likewise.
4596 (casinh_test_data): Likewise.
4597 (catan_test_data): Likewise.
4598 (catanh_test_data): Likewise.
4599 (cbrt_test_data): Likewise.
4600 (ccos_test_data): Likewise.
4601 (ccosh_test_data): Likewise.
4602 (ceil_test_data): Likewise.
4603 (cexp_test_data): Likewise.
4604 (cimag_test_data): Likewise.
4605 (clog_test_data): Likewise.
4606 (clog10_test_data): Likewise.
4607 (conj_test_data): Likewise.
4608 (copysign_test_data): Likewise.
4609 (cos_test_data): Likewise.
4610 (cos_tonearest_test_data): Likewise.
4611 (cos_towardzero_test_data): Likewise.
4612 (cos_downward_test_data): Likewise.
4613 (cos_upward_test_data): Likewise.
4614 (cosh_test_data): Likewise.
4615 (cosh_tonearest_test_data): Likewise.
4616 (cosh_towardzero_test_data): Likewise.
4617 (cosh_downward_test_data): Likewise.
4618 (cosh_upward_test_data): Likewise.
4619 (cpow_test_data): Likewise.
4620 (cproj_test_data): Likewise.
4621 (creal_test_data): Likewise.
4622 (csin_test_data): Likewise.
4623 (csinh_test_data): Likewise.
4624 (csqrt_test_data): Likewise.
4625 (ctan_test_data): Likewise.
4626 (ctan_tonearest_test_data): Likewise.
4627 (ctan_towardzero_test_data): Likewise.
4628 (ctan_downward_test_data): Likewise.
4629 (ctan_upward_test_data): Likewise.
4630 (ctanh_test_data): Likewise.
4631 (ctanh_tonearest_test_data): Likewise.
4632 (ctanh_towardzero_test_data): Likewise.
4633 (ctanh_downward_test_data): Likewise.
4634 (ctanh_upward_test_data): Likewise.
4635 (erf_test_data): Likewise.
4636 (erfc_test_data): Likewise.
4637 (exp_test_data): Likewise.
4638 (exp_tonearest_test_data): Likewise.
4639 (exp_towardzero_test_data): Likewise.
4640 (exp_downward_test_data): Likewise.
4641 (exp_upward_test_data): Likewise.
4642 (exp10_test_data): Likewise.
4643 (exp2_test_data): Likewise.
4644 (expm1_test_data): Likewise.
4645 (fabs_test_data): Likewise.
4646 (fdim_test_data): Likewise.
4647 (finite_test_data): Likewise.
4648 (floor_test_data): Likewise.
4649 (fma_test_data): Likewise.
4650 (fma_towardzero_test_data): Likewise.
4651 (fma_downward_test_data): Likewise.
4652 (fma_upward_test_data): Likewise.
4653 (fmax_test_data): Likewise.
4654 (fmin_test_data): Likewise.
4655 (fmod_test_data): Likewise.
4656 (fpclassify_test_data): Likewise.
4657 (frexp_test_data): Likewise.
4658 (gamma_test_data): Likewise.
4659 (hypot_test_data): Likewise.
4660 (ilogb_test_data): Likewise.
4661 (isfinite_test_data): Likewise.
4662 (isgreater_test_data): Likewise.
4663 (isgreaterequal_test_data): Likewise.
4664 (isinf_test_data): Likewise.
4665 (isless_test_data): Likewise.
4666 (islessequal_test_data): Likewise.
4667 (islessgreater_test_data): Likewise.
4668 (isnan_test_data): Likewise.
4669 (isnormal_test_data): Likewise.
4670 (issignaling_test_data): Likewise.
4671 (isunordered_test_data): Likewise.
4672 (j0_test_data): Likewise.
4673 (j1_test_data): Likewise.
4674 (jn_test_data): Likewise.
4675 (ldexp_test_data): Likewise.
4676 (lgamma_test_data): Likewise.
4677 (lrint_test_data): Likewise.
4678 (lrint_tonearest_test_data): Likewise.
4679 (lrint_towardzero_test_data): Likewise.
4680 (lrint_downward_test_data): Likewise.
4681 (lrint_upward_test_data): Likewise.
4682 (llrint_test_data): Likewise.
4683 (llrint_tonearest_test_data): Likewise.
4684 (llrint_towardzero_test_data): Likewise.
4685 (llrint_downward_test_data): Likewise.
4686 (llrint_upward_test_data): Likewise.
4687 (log_test_data): Likewise.
4688 (log10_test_data): Likewise.
4689 (log1p_test_data): Likewise.
4690 (log2_test_data): Likewise.
4691 (logb_test_data): Likewise.
4692 (logb_downward_test_data): Likewise.
4693 (lround_test_data): Likewise.
4694 (llround_test_data): Likewise.
4695 (modf_test_data): Likewise.
4696 (nearbyint_test_data): Likewise.
4697 (nextafter_test_data): Likewise.
4698 (nexttoward_test_data): Likewise.
4699 (pow_test_data): Likewise.
4700 (pow_tonearest_test_data): Likewise.
4701 (pow_towardzero_test_data): Likewise.
4702 (pow_downward_test_data): Likewise.
4703 (pow_upward_test_data): Likewise.
4704 (remainder_test_data): Likewise.
4705 (remainder_tonearest_test_data): Likewise.
4706 (remainder_towardzero_test_data): Likewise.
4707 (remainder_downward_test_data): Likewise.
4708 (remainder_upward_test_data): Likewise.
4709 (remquo_test_data): Likewise.
4710 (rint_test_data): Likewise.
4711 (rint_tonearest_test_data): Likewise.
4712 (rint_towardzero_test_data): Likewise.
4713 (rint_downward_test_data): Likewise.
4714 (rint_upward_test_data): Likewise.
4715 (round_test_data): Likewise.
4716 (scalb_test_data): Likewise.
4717 (scalbn_test_data): Likewise.
4718 (scalbln_test_data): Likewise.
4719 (signbit_test_data): Likewise.
4720 (sin_test_data): Likewise.
4721 (sin_tonearest_test_data): Likewise.
4722 (sin_towardzero_test_data): Likewise.
4723 (sin_downward_test_data): Likewise.
4724 (sin_upward_test_data): Likewise.
4725 (sincos_test_data): Likewise.
4726 (sinh_test_data): Likewise.
4727 (sinh_tonearest_test_data): Likewise.
4728 (sinh_towardzero_test_data): Likewise.
4729 (sinh_downward_test_data): Likewise.
4730 (sinh_upward_test_data): Likewise.
4731 (sqrt_test_data): Likewise.
4732 (tan_test_data): Likewise.
4733 (tan_tonearest_test_data): Likewise.
4734 (tan_towardzero_test_data): Likewise.
4735 (tan_downward_test_data): Likewise.
4736 (tan_upward_test_data): Likewise.
4737 (tanh_test_data): Likewise.
4738 (tgamma_test_data): Likewise.
4739 (trunc_test_data): Likewise.
4740 (y0_test_data): Likewise.
4741 (y1_test_data): Likewise.
4742 (yn_test_data): Likewise.
4743 (significand_test_data): Likewise.
4745 * math/gen-libm-test.pl (@functions): Remove variable.
4746 (generate_testfile): Don't handle START and END lines.
4747 * math/libm-test.inc (START): New macro.
4749 (END_COMPLEX): Likewise.
4750 (acos_test): Use END macro without arguments.
4751 (acos_test_tonearest): Likewise.
4752 (acos_test_towardzero): Likewise.
4753 (acos_test_downward): Likewise.
4754 (acos_test_upward): Likewise.
4755 (acosh_test): Likewise.
4756 (asin_test): Likewise.
4757 (asin_test_tonearest): Likewise.
4758 (asin_test_towardzero): Likewise.
4759 (asin_test_downward): Likewise.
4760 (asin_test_upward): Likewise.
4761 (asinh_test): Likewise.
4762 (atan_test): Likewise.
4763 (atanh_test): Likewise.
4764 (atan2_test): Likewise.
4765 (cabs_test): Likewise.
4766 (cacos_test): Use END_COMPLEX macro without arguments.
4767 (cacosh_test): Likewise.
4768 (carg_test): Use END macro without arguments.
4769 (casin_test): Use END_COMPLEX macro without arguments.
4770 (casinh_test): Likewise.
4771 (catan_test): Likewise.
4772 (catanh_test): Likewise.
4773 (cbrt_test): Use END macro without arguments.
4774 (ccos_test): Use END_COMPLEX macro without arguments.
4775 (ccosh_test): Likewise.
4776 (ceil_test): Use END macro without arguments.
4777 (cexp_test): Use END_COMPLEX macro without arguments.
4778 (cimag_test): Use END macro without arguments.
4779 (clog_test): Use END_COMPLEX macro without arguments.
4780 (clog10_test): Likewise.
4781 (conj_test): Likewise.
4782 (copysign_test): Use END macro without arguments.
4783 (cos_test): Likewise.
4784 (cos_test_tonearest): Likewise.
4785 (cos_test_towardzero): Likewise.
4786 (cos_test_downward): Likewise.
4787 (cos_test_upward): Likewise.
4788 (cosh_test): Likewise.
4789 (cosh_test_tonearest): Likewise.
4790 (cosh_test_towardzero): Likewise.
4791 (cosh_test_downward): Likewise.
4792 (cosh_test_upward): Likewise.
4793 (cpow_test): Use END_COMPLEX macro without arguments.
4794 (cproj_test): Likewise.
4795 (creal_test): Use END macro without arguments.
4796 (csin_test): Use END_COMPLEX macro without arguments.
4797 (csinh_test): Likewise.
4798 (csqrt_test): Likewise.
4799 (ctan_test): Likewise.
4800 (ctan_test_tonearest): Likewise.
4801 (ctan_test_towardzero): Likewise.
4802 (ctan_test_downward): Likewise.
4803 (ctan_test_upward): Likewise.
4804 (ctanh_test): Likewise.
4805 (ctanh_test_tonearest): Likewise.
4806 (ctanh_test_towardzero): Likewise.
4807 (ctanh_test_downward): Likewise.
4808 (ctanh_test_upward): Likewise.
4809 (erf_test): Use END macro without arguments.
4810 (erfc_test): Likewise.
4811 (exp_test): Likewise.
4812 (exp_test_tonearest): Likewise.
4813 (exp_test_towardzero): Likewise.
4814 (exp_test_downward): Likewise.
4815 (exp_test_upward): Likewise.
4816 (exp10_test): Likewise.
4817 (exp2_test): Likewise.
4818 (expm1_test): Likewise.
4819 (fabs_test): Likewise.
4820 (fdim_test): Likewise.
4821 (finite_test): Likewise.
4822 (floor_test): Likewise.
4823 (fma_test): Likewise.
4824 (fma_test_towardzero): Likewise.
4825 (fma_test_downward): Likewise.
4826 (fma_test_upward): Likewise.
4827 (fmax_test): Likewise.
4828 (fmin_test): Likewise.
4829 (fmod_test): Likewise.
4830 (fpclassify_test): Likewise.
4831 (frexp_test): Likewise.
4832 (gamma_test): Likewise.
4833 (hypot_test): Likewise.
4834 (ilogb_test): Likewise.
4835 (isfinite_test): Likewise.
4836 (isgreater_test): Likewise.
4837 (isgreaterequal_test): Likewise.
4838 (isinf_test): Likewise.
4839 (isless_test): Likewise.
4840 (islessequal_test): Likewise.
4841 (islessgreater_test): Likewise.
4842 (isnan_test): Likewise.
4843 (isnormal_test): Likewise.
4844 (issignaling_test): Likewise.
4845 (isunordered_test): Likewise.
4846 (j0_test): Likewise.
4847 (j1_test): Likewise.
4848 (jn_test): Likewise.
4849 (ldexp_test): Likewise.
4850 (lgamma_test): Likewise.
4851 (lrint_test): Likewise.
4852 (lrint_test_tonearest): Likewise.
4853 (lrint_test_towardzero): Likewise.
4854 (lrint_test_downward): Likewise.
4855 (lrint_test_upward): Likewise.
4856 (llrint_test): Likewise.
4857 (llrint_test_tonearest): Likewise.
4858 (llrint_test_towardzero): Likewise.
4859 (llrint_test_downward): Likewise.
4860 (llrint_test_upward): Likewise.
4861 (log_test): Likewise.
4862 (log10_test): Likewise.
4863 (log1p_test): Likewise.
4864 (log2_test): Likewise.
4865 (logb_test): Likewise.
4866 (logb_test_downward): Likewise.
4867 (lround_test): Likewise.
4868 (llround_test): Likewise.
4869 (modf_test): Likewise.
4870 (nearbyint_test): Likewise.
4871 (nextafter_test): Likewise.
4872 (nexttoward_test): Likewise.
4873 (pow_test): Likewise.
4874 (pow_test_tonearest): Likewise.
4875 (pow_test_towardzero): Likewise.
4876 (pow_test_downward): Likewise.
4877 (pow_test_upward): Likewise.
4878 (remainder_test): Likewise.
4879 (remainder_test_tonearest): Likewise.
4880 (remainder_test_towardzero): Likewise.
4881 (remainder_test_downward): Likewise.
4882 (remainder_test_upward): Likewise.
4883 (remquo_test): Likewise.
4884 (rint_test): Likewise.
4885 (rint_test_tonearest): Likewise.
4886 (rint_test_towardzero): Likewise.
4887 (rint_test_downward): Likewise.
4888 (rint_test_upward): Likewise.
4889 (round_test): Likewise.
4890 (scalb_test): Likewise.
4891 (scalbn_test): Likewise.
4892 (scalbln_test): Likewise.
4893 (signbit_test): Likewise.
4894 (sin_test): Likewise.
4895 (sin_test_tonearest): Likewise.
4896 (sin_test_towardzero): Likewise.
4897 (sin_test_downward): Likewise.
4898 (sin_test_upward): Likewise.
4899 (sincos_test): Likewise.
4900 (sinh_test): Likewise.
4901 (sinh_test_tonearest): Likewise.
4902 (sinh_test_towardzero): Likewise.
4903 (sinh_test_downward): Likewise.
4904 (sinh_test_upward): Likewise.
4905 (sqrt_test): Likewise.
4906 (tan_test): Likewise.
4907 (tan_test_tonearest): Likewise.
4908 (tan_test_towardzero): Likewise.
4909 (tan_test_downward): Likewise.
4910 (tan_test_upward): Likewise.
4911 (tanh_test): Likewise.
4912 (tgamma_test): Likewise.
4913 (trunc_test): Likewise.
4914 (y0_test): Likewise.
4915 (y1_test): Likewise.
4916 (yn_test): Likewise.
4917 (significand_test): Likewise.
4919 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
4922 * libio/genops.c (_IO_no_init): Initialize wide struct info.
4924 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
4927 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
4928 __ppc_mdoio and __ppc_mdoom.
4929 * manual/platform.texi: Document new functions __ppc_yield,
4930 __ppc_mdoio and __ppc_mdoom.
4932 2013-05-22 Carlos O'Donell <carlos@redhat.com>
4934 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
4935 (main): Mention "tls" pseudo-hwcap is legacy.
4936 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
4938 2013-05-22 Joseph Myers <joseph@codesourcery.com>
4940 * math/gen-libm-test.pl (parse_args): Output only string of
4941 arguments as text for test name, not full call or descriptions of
4942 tests for extra outputs.
4943 (generate_testfile): Do not pass function name to parse_args.
4944 Generate this_func variable from START.
4945 * math/libm-test.inc (struct test_f_f_data): Rename test_name
4947 (struct test_ff_f_data): Likewise.
4948 (test_ff_f_data_nexttoward): Likewise.
4949 (struct test_fi_f_data): Likewise.
4950 (struct test_fl_f_data): Likewise.
4951 (struct test_if_f_data): Likewise.
4952 (struct test_fff_f_data): Likewise.
4953 (struct test_c_f_data): Likewise.
4954 (struct test_f_f1_data): Likewise. Remove field extra_name.
4955 (struct test_fF_f1_data): Likewise.
4956 (struct test_ffI_f1_data): Likewise.
4957 (struct test_c_c_data): Rename test_name field to arg_str.
4958 (struct test_cc_c_data): Likewise.
4959 (struct test_f_i_data): Likewise.
4960 (struct test_ff_i_data): Likewise.
4961 (struct test_f_l_data): Likewise.
4962 (struct test_f_L_data): Likewise.
4963 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
4965 (COMMON_TEST_SETUP): New macro.
4966 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
4967 (COMMON_TEST_CLEANUP): Likewise.
4968 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
4969 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
4971 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
4972 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
4974 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
4975 (RUN_TEST_fff_f): Take argument string. Call new setup and
4977 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
4978 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
4980 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
4981 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
4983 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
4984 (RUN_TEST_fF_f1): Take argument string. Call new setup and
4986 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
4987 (RUN_TEST_fI_f1): Take argument string. Call new setup and
4989 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
4990 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
4992 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
4993 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
4995 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
4996 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
4998 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
4999 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
5001 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
5002 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
5004 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
5005 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
5007 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
5008 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
5010 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
5011 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
5013 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
5014 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
5016 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
5017 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
5019 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
5020 (RUN_TEST_fFF_11): Take argument string. Call new setup and
5022 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
5024 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
5026 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
5027 to _sifields.sigfault.
5028 (si_addr_lsb): Define new macro.
5029 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
5030 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
5031 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
5033 2013-05-03 Carlos O'Donell <carlos at redhat.com>
5036 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
5038 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
5040 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
5043 2013-05-22 Joseph Myers <joseph@codesourcery.com>
5045 * math/gen-libm-test.pl (parse_args): Do not include expected
5046 result in test name.
5047 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
5048 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5049 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
5050 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
5051 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
5052 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5054 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
5056 * benchtests/Makefile: Sort function entries.
5058 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
5059 tanh, asinh, acosh, atanh.
5060 * benchtests/acos-inputs: New file.
5061 * benchtests/acosh-inputs: New file.
5062 * benchtests/asin-inputs: New file.
5063 * benchtests/asinh-inputs: New file.
5064 * benchtests/atanh-inputs: New file.
5065 * benchtests/cosh-inputs: New file.
5066 * benchtests/log-inputs: New file.
5067 * benchtests/sinh-inputs: New file.
5068 * benchtests/tanh-inputs: New file.
5070 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
5073 * posix/tst-getaddrinfo4.c: New test.
5074 * posix/Makefile (tests): Add it.
5076 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5079 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
5080 when no services were used.
5081 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
5082 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
5084 2013-05-21 Andreas Schwab <schwab@suse.de>
5087 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
5088 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
5090 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
5091 redundant variable declarations and reallocation of buffer when
5092 parsing as IPv6 address. Always set NSS status when called from
5093 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
5094 buffer too small. Correct computation of needed size.
5095 * nss/Makefile (tests): Add test-digits-dots.
5096 * nss/test-digits-dots.c: New test.
5098 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5100 * benchtests/Makefile: Remove instructions for adding
5102 * benchtests/README: New file to explain how to execute and
5103 enhance the benchmark tests.
5105 2013-05-21 Andreas Schwab <schwab@suse.de>
5108 * setjmp/Makefile (tests): Add tst-sigsetjmp.
5109 * setjmp/tst-sigsetjmp.c: New test.
5111 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
5113 * sysdeps/x86_64/memset.S (memset): New implementation.
5114 (__bzero): Likewise.
5115 (__memset_tail): New function.
5117 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
5119 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
5120 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
5121 __memcpy_sse2_unaligned ifunc selection.
5122 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
5123 Add memcpy-sse2-unaligned.S.
5124 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5125 Add: __memcpy_sse2_unaligned.
5127 2013-05-19 Joseph Myers <joseph@codesourcery.com>
5130 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
5131 math_force_eval before restoring floating-point envrionment.
5132 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
5133 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
5135 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
5137 (__nearbyintl): Use math_force_eval before restoring
5138 floating-point environment.
5139 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
5141 * math/gen-libm-test.pl (special_functions): Remove.
5142 (parse_args): Don't handle TEST_extra. Handle functions with no
5144 * math/libm-test.inc (struct test_sincos_data): Replace with
5145 struct test_fFF_11_data.
5146 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
5147 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
5148 (sincos_test_data): Change element type to struct
5149 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
5150 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
5151 RUN_TEST_LOOP_sincos.
5152 * math/README.libm-test: Don't mention special handling of
5153 individual functions.
5154 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
5155 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5156 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
5157 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
5158 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
5159 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5161 * math/gen-libm-test.pl (get_variable): Remove function.
5162 (parse_args): Don't show pointer parameters to call in test
5163 names. Use "extra output N" in test names for extra outputs
5164 rather than naming variables.
5166 2013-05-18 Joseph Myers <joseph@codesourcery.com>
5169 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
5170 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
5171 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
5173 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
5175 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
5178 * math/gen-libm-test.pl (@tests): Remove variable.
5180 (new_test): Remove function.
5181 (show_exceptions): New function.
5182 (special_functions): Use show_exceptions instead of new_test.
5183 (parse_args): Likewise.
5184 (generate_testfile): Pass only function name in generated call to
5185 print_max_error or print_complex_max_error.
5186 (get_ulps): Do not handle complex tests specially.
5187 (output_test): Rename to ...
5188 (get_all_ulps_for_test): ... this. Return a string rather than
5189 printing to a file. Require ulps to be present.
5190 (output_ulps): Generate arrays rather than #defines.
5191 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
5192 (struct ulp_data): New type.
5193 (BUILD_COMPLEX_ULP): Remove macro.
5194 (compare_ulp_data): New function.
5195 (find_ulps): Likewise.
5196 (find_test_ulps): Likewise.
5197 (find_function_ulps): Likewise.
5198 (find_complex_function_ulps): Likewise.
5199 (print_max_error): Determine allowed ulps using
5201 (print_complex_max_error): Determine allowed ulps using
5202 find_complex_function_ulps.
5203 (check_float_internal): Determine max ulps using find_test_ulps.
5204 (check_float): Do not take max_ulp parameter. Update call to
5205 check_float_internal.
5206 (check_complex): Likewise.
5207 (check_int): Do not take max_ulp parameter.
5208 (check_long): Likewise.
5209 (check_bool): Likewise.
5210 (check_longlong): Likewise.
5211 (struct test_f_f_data): Remove max_ulp field.
5212 (struct test_ff_f_data): Likewise.
5213 (struct test_ff_f_data_nexttoward): Likewise.
5214 (struct test_fi_f_data): Likewise.
5215 (struct test_fl_f_data): Likewise.
5216 (struct test_if_f_data): Likewise.
5217 (struct test_fff_f_data): Likewise.
5218 (struct test_c_f_data): Likewise.
5219 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
5220 (struct test_fF_f1_data): Likewise.
5221 (struct test_ffI_f1_data): Likewise.
5222 (struct test_c_c_data): Remove max_ulp field.
5223 (struct test_cc_c_data): Likewise.
5224 (struct test_f_i_data): Likewise.
5225 (struct test_ff_i_data): Likewise.
5226 (struct test_f_l_data): Likewise.
5227 (struct test_f_L_data): Likewise.
5228 (struct test_sincos_data): Likewise.
5229 (RUN_TEST_f_f): Do not handle ulps.
5230 (RUN_TEST_LOOP_f_f): Likewise.
5231 (RUN_TEST_2_f): Likewise.
5232 (RUN_TEST_LOOP_2_f): Likewise.
5233 (RUN_TEST_fff_f): Likewise.
5234 (RUN_TEST_LOOP_fff_f): Likewise.
5235 (RUN_TEST_c_f): Likewise.
5236 (RUN_TEST_LOOP_c_f): Likewise.
5237 (RUN_TEST_f_f1): Likewise.
5238 (RUN_TEST_LOOP_f_f1): Likewise.
5239 (RUN_TEST_fF_f1): Likewise.
5240 (RUN_TEST_LOOP_fF_f1): Likewise.
5241 (RUN_TEST_fI_f1): Likewise.
5242 (RUN_TEST_LOOP_fI_f1): Likewise.
5243 (RUN_TEST_ffI_f1): Likewise.
5244 (RUN_TEST_LOOP_ffI_f1): Likewise.
5245 (RUN_TEST_c_c): Likewise.
5246 (RUN_TEST_LOOP_c_c): Likewise.
5247 (RUN_TEST_cc_c): Likewise.
5248 (RUN_TEST_LOOP_cc_c): Likewise.
5249 (RUN_TEST_f_i): Likewise.
5250 (RUN_TEST_LOOP_f_i): Likewise.
5251 (RUN_TEST_f_i_tg): Likewise.
5252 (RUN_TEST_LOOP_f_i_tg): Likewise.
5253 (RUN_TEST_ff_i_tg): Likewise.
5254 (RUN_TEST_LOOP_ff_i_tg): Likewise.
5255 (RUN_TEST_f_b): Likewise.
5256 (RUN_TEST_LOOP_f_b): Likewise.
5257 (RUN_TEST_f_b_tg): Likewise.
5258 (RUN_TEST_LOOP_f_b_tg): Likewise.
5259 (RUN_TEST_f_l): Likewise.
5260 (RUN_TEST_LOOP_f_l): Likewise.
5261 (RUN_TEST_f_L): Likewise.
5262 (RUN_TEST_LOOP_f_L): Likewise.
5263 (RUN_TEST_sincos): Likewise.
5264 (RUN_TEST_LOOP_sincos): Likewise.
5266 2013-05-17 Joseph Myers <joseph@codesourcery.com>
5270 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
5271 main case of finite arguments, set rounding mode to FE_TONEAREST
5272 and discard exceptions.
5273 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
5275 (remainder_tonearest_test_data): New variable.
5276 (remainder_test_tonearest): New function.
5277 (remainder_towardzero_test_data): New variable.
5278 (remainder_test_towardzero): New function.
5279 (remainder_downward_test_data): New variable.
5280 (remainder_test_downward): New function.
5281 (remainder_upward_test_data): New variable.
5282 (remainder_test_upward): New function.
5283 (main): Call the new test functions.
5285 * math/libm-test.inc (struct test_f_f1_data): Remove field
5287 (struct test_fF_f1_data): Likewise.
5288 (struct test_ffI_f1_data): Likewise.
5289 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
5290 based on value of EXTRA_EXPECTED.
5291 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
5292 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
5293 EXTRA_VAR based on value of EXTRA_EXPECTED.
5294 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
5295 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
5296 EXTRA_VAR based on value of EXTRA_EXPECTED.
5297 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
5298 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
5299 EXTRA_VAR based on value of EXTRA_EXPECTED.
5300 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
5301 * math/gen-libm-test.pl (parse_args): Don't output initializers
5302 for extra output values.
5304 * math/libm-test.inc (check_int): Expect result to be exactly
5305 equal to expected value and do not handle ulps.
5306 (check_long): Likewise.
5307 (check_longlong): Likewise.
5309 * math/libm-test.inc (ceil_test_data): Test for "inexact"
5311 (cimag_test_data): Likewise.
5312 (conj_test_data): Likewise.
5313 (copysign_test_data): Likewise.
5314 (cproj_test_data): Likewise.
5315 (creal_test_data): Likewise.
5316 (fabs_test_data): Likewise.
5317 (fdim_test_data): Likewise.
5318 (finite_test_data): Likewise.
5319 (floor_test_data): Likewise.
5320 (fmax_test_data): Likewise.
5321 (fmin_test_data): Likewise.
5322 (fmod_test_data): Likewise.
5323 (fpclassify_test_data): Likewise.
5324 (frexp_test_data): Likewise.
5325 (ilogb_test_data): Likewise.
5326 (isfinite_test_data): Likewise.
5327 (isgreater_test_data): Likewise.
5328 (isgreaterequal_test_data): Likewise.
5329 (isinf_test_data): Likewise.
5330 (isless_test_data): Likewise.
5331 (islessequal_test_data): Likewise.
5332 (islessgreater_test_data): Likewise.
5333 (isnan_test_data): Likewise.
5334 (isnormal_test_data): Likewise.
5335 (issignaling_test_data): Likewise.
5336 (isunordered_test_data): Likewise.
5337 (ldexp_test_data): Likewise.
5338 (lrint_test_data): Likewise.
5339 (lrint_test_data) [TEST_FLOAT]: Disable one test.
5340 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
5341 (lrint_tonearest_test_data): Test for "inexact" exceptions.
5342 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
5343 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
5344 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
5346 (lrint_towardzero_test_data): Test for "inexact" exceptions.
5347 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
5348 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
5349 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
5351 (lrint_downward_test_data): Test for "inexact" exceptions.
5352 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
5353 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
5354 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
5356 (lrint_upward_test_data): Test for "inexact" exceptions.
5357 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
5359 (llrint_test_data): Test for "inexact" exceptions.
5360 (llrint_test_data) [TEST_FLOAT]: Disable one test.
5361 (llrint_tonearest_test_data): Test for "inexact" exceptions.
5362 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
5363 (llrint_towardzero_test_data): Test for "inexact" exceptions.
5364 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
5365 (llrint_downward_test_data): Test for "inexact" exceptions.
5366 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
5367 (llrint_upward_test_data): Test for "inexact" exceptions.
5368 (logb_test_data): Likewise.
5369 (logb_downward_test_data): Likewise.
5370 (nextafter_test_data): Likewise.
5371 (nexttoward_test_data): Likewise.
5372 (remainder_test_data): Likewise.
5373 (remquo_test_data): Likewise.
5374 (scalbn_test_data): Likewise.
5375 (scalbln_test_data): Likewise.
5376 (signbit_test_data): Likewise.
5377 (sqrt_test_data): Likewise.
5378 (significand_test_data): Likewise.
5380 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
5383 * benchtests/bench-modf.c (struct args): Mark arg0 as
5385 * scripts/bench.pl: Mark members of struct args as volatile.
5387 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5390 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
5391 negative infinity on POWER6 or lower.
5392 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
5394 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
5397 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
5398 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
5399 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
5400 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
5401 (_FP_SETQNAN): New macro.
5402 (_FP_SETQNAN_SEMIRAW): Likewise.
5403 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
5404 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
5405 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
5406 (FP_EXTEND): Use _FP_FRAC_SNANP.
5407 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
5408 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
5410 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
5412 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
5415 2013-05-16 Joseph Myers <joseph@codesourcery.com>
5417 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
5418 with DIVIDE_BY_ZERO_EXCEPTION.
5419 (gamma_test_data): Likewise.
5420 (lgamma_test_data): Likewise.
5421 (log_test_data): Likewise.
5422 (log10_test_data): Likewise.
5423 (log2_test_data): Likewise.
5424 (tgamma_test_data): Likewise.
5426 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
5427 (acos_test_tonearest): Likewise.
5428 (acos_test_towardzero): Likewise.
5429 (acos_test_downward): Likewise.
5430 (acos_test_upward): Likewise.
5431 (acosh_test): Likewise.
5432 (asin_test): Likewise.
5433 (asin_test_tonearest): Likewise.
5434 (asin_test_towardzero): Likewise.
5435 (asin_test_downward): Likewise.
5436 (asin_test_upward): Likewise.
5437 (asinh_test): Likewise.
5438 (atan_test): Likewise.
5439 (atanh_test): Likewise.
5440 (atan2_test): Likewise.
5441 (cabs_test): Likewise.
5442 (cacos_test): Likewise.
5443 (cacosh_test): Likewise.
5444 (casin_test): Likewise.
5445 (casinh_test): Likewise.
5446 (catan_test): Likewise.
5447 (catanh_test): Likewise.
5448 (cbrt_test): Likewise.
5449 (ccos_test): Likewise.
5450 (ccosh_test): Likewise.
5451 (cexp_test): Likewise.
5452 (clog_test): Likewise.
5453 (clog10_test): Likewise.
5454 (cos_test): Likewise.
5455 (cos_test_tonearest): Likewise.
5456 (cos_test_towardzero): Likewise.
5457 (cos_test_downward): Likewise.
5458 (cos_test_upward): Likewise.
5459 (cosh_test): Likewise.
5460 (cosh_test_tonearest): Likewise.
5461 (cosh_test_towardzero): Likewise.
5462 (cosh_test_downward): Likewise.
5463 (cosh_test_upward): Likewise.
5464 (cpow_test): Likewise.
5465 (csin_test): Likewise.
5466 (csinh_test): Likewise.
5467 (csqrt_test): Likewise.
5468 (ctan_test): Likewise.
5469 (ctan_test_tonearest): Likewise.
5470 (ctan_test_towardzero): Likewise.
5471 (ctan_test_downward): Likewise.
5472 (ctan_test_upward): Likewise.
5473 (ctanh_test): Likewise.
5474 (ctanh_test_tonearest): Likewise.
5475 (ctanh_test_towardzero): Likewise.
5476 (ctanh_test_downward): Likewise.
5477 (ctanh_test_upward): Likewise.
5478 (erf_test): Likewise.
5479 (erfc_test): Likewise.
5480 (exp_test): Likewise.
5481 (exp_test_tonearest): Likewise.
5482 (exp_test_towardzero): Likewise.
5483 (exp_test_downward): Likewise.
5484 (exp_test_upward): Likewise.
5485 (exp10_test): Likewise.
5486 (exp2_test): Likewise.
5487 (expm1_test): Likewise.
5488 (fmod_test): Likewise.
5489 (gamma_test): Likewise.
5490 (hypot_test): Likewise.
5491 (j0_test): Likewise.
5492 (j1_test): Likewise.
5493 (jn_test): Likewise.
5494 (lgamma_test): Likewise.
5495 (log_test): Likewise.
5496 (log10_test): Likewise.
5497 (log1p_test): Likewise.
5498 (log2_test): Likewise.
5499 (logb_test_downward): Likewise.
5500 (pow_test): Likewise.
5501 (pow_test_tonearest): Likewise.
5502 (pow_test_towardzero): Likewise.
5503 (pow_test_downward): Likewise.
5504 (pow_test_upward): Likewise.
5505 (remainder_test): Likewise.
5506 (remquo_test): Likewise.
5507 (sin_test): Likewise.
5508 (sin_test_tonearest): Likewise.
5509 (sin_test_towardzero): Likewise.
5510 (sin_test_downward): Likewise.
5511 (sin_test_upward): Likewise.
5512 (sincos_test): Likewise.
5513 (sinh_test): Likewise.
5514 (sinh_test_tonearest): Likewise.
5515 (sinh_test_towardzero): Likewise.
5516 (sinh_test_downward): Likewise.
5517 (sinh_test_upward): Likewise.
5518 (sqrt_test): Likewise.
5519 (tan_test): Likewise.
5520 (tan_test_tonearest): Likewise.
5521 (tan_test_towardzero): Likewise.
5522 (tan_test_downward): Likewise.
5523 (tan_test_upward): Likewise.
5524 (tanh_test): Likewise.
5525 (tgamma_test): Likewise.
5526 (y0_test): Likewise.
5527 (y1_test): Likewise.
5528 (yn_test): Likewise.
5530 * math/gen-libm-test.pl (adjust_arg): Remove function.
5531 (special_function): Remove argument $in_func. Only handle
5532 generating output for tables of tests, not inside functions.
5533 (parse_args): Likewise.
5534 (generate_testfile): Remove variable $in_func. Update call to
5536 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
5537 (MINUS_ZERO_INIT): Rename macro to minus_zero.
5538 (PLUS_INFTY_INIT): Rename macro to plus_infty.
5539 (MINUS_INFTY_INIT): Rename macro to minus_infty.
5540 (QNAN_VALUE_INIT): Rename macro to qnan_value.
5541 (MAX_VALUE_INIT): Rename macro to max_value.
5542 (MIN_VALUE_INIT): Rename macro to min_value.
5543 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
5544 (plus_zero): Remove variable.
5545 (minus_zero): Likewise.
5546 (plus_infty): Likewise.
5547 (minus_infty): Likewise.
5548 (qnan_value): Likewise.
5549 (max_value): Likewise.
5550 (min_value): Likewise.
5551 (min_subnorm_value): Likewise.
5553 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5555 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
5556 uint64_t or uint32_t usage.
5557 * crypt/sha256-block.c: Likewise.
5558 * crypt/sha256-crypt.c: Likewise.
5559 * crypt/sha256.c: Likewise.
5560 * crypt/sha512-block.c: Likewise.
5561 * crypt/sha512-crypt.c: Likewise.
5562 * crypt/sha512.c: Likewise.
5563 * debug/backtrace-tst.c: Likewise.
5564 * debug/pcprofiledump.c: Likewise.
5565 * elf/cache.c: Likewise.
5566 * elf/dl-cache.c: Likewise.
5567 * elf/dl-misc.c: Likewise.
5568 * elf/dl-profile.c: Likewise.
5569 * elf/dl-support.c: Likewise.
5570 * elf/ldconfig.c: Likewise.
5571 * elf/sprof.c: Likewise.
5572 * iconv/dummy-repertoire.c: Likewise.
5573 * iconv/iconv_charmap.c: Likewise.
5574 * iconv/skeleton.c: Likewise.
5575 * iconvdata/8bit-generic.c: Likewise.
5576 * iconvdata/cp737.h: Likewise.
5577 * iconvdata/cp775.h: Likewise.
5578 * iconvdata/ibm1008.h: Likewise.
5579 * iconvdata/ibm1025.h: Likewise.
5580 * iconvdata/ibm1046.h: Likewise.
5581 * iconvdata/ibm1097.h: Likewise.
5582 * iconvdata/ibm1112.h: Likewise.
5583 * iconvdata/ibm1122.h: Likewise.
5584 * iconvdata/ibm1123.h: Likewise.
5585 * iconvdata/ibm1124.h: Likewise.
5586 * iconvdata/ibm1129.h: Likewise.
5587 * iconvdata/ibm1130.h: Likewise.
5588 * iconvdata/ibm1132.h: Likewise.
5589 * iconvdata/ibm1133.h: Likewise.
5590 * iconvdata/ibm1137.h: Likewise.
5591 * iconvdata/ibm1140.h: Likewise.
5592 * iconvdata/ibm1141.h: Likewise.
5593 * iconvdata/ibm1142.h: Likewise.
5594 * iconvdata/ibm1143.h: Likewise.
5595 * iconvdata/ibm1144.h: Likewise.
5596 * iconvdata/ibm1145.h: Likewise.
5597 * iconvdata/ibm1146.h: Likewise.
5598 * iconvdata/ibm1147.h: Likewise.
5599 * iconvdata/ibm1148.h: Likewise.
5600 * iconvdata/ibm1149.h: Likewise.
5601 * iconvdata/ibm1153.h: Likewise.
5602 * iconvdata/ibm1154.h: Likewise.
5603 * iconvdata/ibm1155.h: Likewise.
5604 * iconvdata/ibm1156.h: Likewise.
5605 * iconvdata/ibm1157.h: Likewise.
5606 * iconvdata/ibm1158.h: Likewise.
5607 * iconvdata/ibm1160.h: Likewise.
5608 * iconvdata/ibm1161.h: Likewise.
5609 * iconvdata/ibm1162.h: Likewise.
5610 * iconvdata/ibm1163.h: Likewise.
5611 * iconvdata/ibm1164.h: Likewise.
5612 * iconvdata/ibm1166.h: Likewise.
5613 * iconvdata/ibm1167.h: Likewise.
5614 * iconvdata/ibm12712.h: Likewise.
5615 * iconvdata/ibm1390.h: Likewise.
5616 * iconvdata/ibm1399.h: Likewise.
5617 * iconvdata/ibm16804.h: Likewise.
5618 * iconvdata/ibm4517.h: Likewise.
5619 * iconvdata/ibm4899.h: Likewise.
5620 * iconvdata/ibm4909.h: Likewise.
5621 * iconvdata/ibm4971.h: Likewise.
5622 * iconvdata/ibm5347.h: Likewise.
5623 * iconvdata/ibm803.h: Likewise.
5624 * iconvdata/ibm856.h: Likewise.
5625 * iconvdata/ibm901.h: Likewise.
5626 * iconvdata/ibm902.h: Likewise.
5627 * iconvdata/ibm9030.h: Likewise.
5628 * iconvdata/ibm9066.h: Likewise.
5629 * iconvdata/ibm921.h: Likewise.
5630 * iconvdata/ibm922.h: Likewise.
5631 * iconvdata/ibm9448.h: Likewise.
5632 * iconvdata/isiri-3342.h: Likewise.
5633 * iconvdata/jis0201.h: Likewise.
5634 * include/link.h: Likewise.
5635 * include/netdb.h: Likewise.
5636 * inet/check_native.c: Likewise.
5637 * inet/check_pf.c: Likewise.
5638 * inet/getipv4sourcefilter.c: Likewise.
5639 * inet/getnameinfo.c: Likewise.
5640 * inet/getsourcefilter.c: Likewise.
5641 * inet/htonl.c: Likewise.
5642 * inet/setipv4sourcefilter.c: Likewise.
5643 * inet/setsourcefilter.c: Likewise.
5644 * inet/test-inet6_opt.c: Likewise.
5645 * inet/tst-network.c: Likewise.
5646 * locale/C-collate.c: Likewise.
5647 * locale/C-ctype.c: Likewise.
5648 * locale/C-time.c: Likewise.
5649 * locale/C-translit.h: Likewise.
5650 * locale/loadarchive.c: Likewise.
5651 * locale/programs/3level.h: Likewise.
5652 * locale/programs/charmap.c: Likewise.
5653 * locale/programs/charmap.h: Likewise.
5654 * locale/programs/ld-address.c: Likewise.
5655 * locale/programs/ld-collate.c: Likewise.
5656 * locale/programs/ld-ctype.c: Likewise.
5657 * locale/programs/ld-identification.c: Likewise.
5658 * locale/programs/ld-measurement.c: Likewise.
5659 * locale/programs/ld-messages.c: Likewise.
5660 * locale/programs/ld-monetary.c: Likewise.
5661 * locale/programs/ld-name.c: Likewise.
5662 * locale/programs/ld-numeric.c: Likewise.
5663 * locale/programs/ld-paper.c: Likewise.
5664 * locale/programs/ld-telephone.c: Likewise.
5665 * locale/programs/ld-time.c: Likewise.
5666 * locale/programs/linereader.c: Likewise.
5667 * locale/programs/locale.c: Likewise.
5668 * locale/programs/locarchive.c: Likewise.
5669 * locale/programs/locfile.h: Likewise.
5670 * locale/programs/repertoire.c: Likewise.
5671 * locale/programs/simple-hash.c: Likewise.
5672 * locale/programs/simple-hash.h: Likewise.
5673 * malloc/memusage.c: Likewise.
5674 * malloc/memusagestat.c: Likewise.
5675 * nis/nis_defaults.c: Likewise.
5676 * nis/nis_hash.c: Likewise.
5677 * nis/nis_print.c: Likewise.
5678 * nis/nis_xdr.c: Likewise.
5679 * nscd/connections.c: Likewise.
5680 * nscd/hstcache.c: Likewise.
5681 * nscd/nscd_gethst_r.c: Likewise.
5682 * nscd/nscd_getserv_r.c: Likewise.
5683 * nscd/nscd_helper.c: Likewise.
5684 * nscd/servicescache.c: Likewise.
5685 * nss/makedb.c: Likewise.
5686 * nss/nss_db/db-XXX.c: Likewise.
5687 * nss/nss_db/db-initgroups.c: Likewise.
5688 * nss/nss_db/db-netgrp.c: Likewise.
5689 * nss/nss_files/files-network.c: Likewise.
5690 * nss/nss_files/files-parse.c: Likewise.
5691 * posix/bug-regex5.c: Likewise.
5692 * posix/fnmatch_loop.c: Likewise.
5693 * posix/regcomp.c: Likewise.
5694 * posix/regexec.c: Likewise.
5695 * posix/tst-rfc3484-2.c: Likewise.
5696 * posix/tst-rfc3484-3.c: Likewise.
5697 * posix/tst-rfc3484.c: Likewise.
5698 * resolv/nss_dns/dns-canon.c: Likewise.
5699 * resolv/nss_dns/dns-network.c: Likewise.
5700 * resolv/res_init.c: Likewise.
5701 * resolv/res_mkquery.c: Likewise.
5702 * resolv/tst-aton.c: Likewise.
5703 * stdlib/cxa_atexit.c: Likewise.
5704 * stdlib/cxa_finalize.c: Likewise.
5705 * stdlib/gen-fpioconst.c: Likewise.
5706 * stdlib/strtol_l.c: Likewise.
5707 * string/tst-endian.c: Likewise.
5708 * sunrpc/auth_des.c: Likewise.
5709 * sunrpc/clnt_udp.c: Likewise.
5710 * sunrpc/rtime.c: Likewise.
5711 * sunrpc/svcauth_des.c: Likewise.
5712 * sunrpc/xdr.c: Likewise.
5713 * sunrpc/xdr_intXX_t.c: Likewise.
5714 * sunrpc/xdr_rec.c: Likewise.
5715 * sysdeps/generic/ldconfig.h: Likewise.
5716 * sysdeps/generic/ldsodefs.h: Likewise.
5717 * sysdeps/generic/memusage.h: Likewise.
5718 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
5719 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
5720 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
5721 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
5722 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
5723 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
5724 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
5725 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
5726 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
5727 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
5728 * sysdeps/posix/getaddrinfo.c: Likewise.
5729 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
5730 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
5731 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
5732 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
5733 * sysdeps/powerpc/test-gettimebase.c: Likewise.
5734 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
5735 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
5736 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
5737 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
5738 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
5739 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
5740 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
5741 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
5742 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
5743 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
5744 * sysdeps/x86_64/dl-tls.h: Likewise.
5745 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
5746 * time/alt_digit.c: Likewise.
5747 * time/era.c: Likewise.
5748 * wcsmbs/tst-c16c32-1.c: Likewise.
5750 2013-05-16 Joseph Myers <joseph@codesourcery.com>
5752 * math/libm-test.inc (struct test_sincos_data): New type.
5753 (RUN_TEST_LOOP_sincos): New macro.
5754 (sincos_test_data): New variable.
5755 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
5757 2013-05-16 Richard Henderson <rth@redhat.com>
5759 * math/atest-exp2.c (LIMB64): New macro.
5760 (CONSTSZ): New macro.
5761 (mp_exp1, mp_exp_m1, mp_log2): New variables.
5763 (print_mpn_fp): ... to function scope.
5764 (read_mpn_hex): Remove.
5766 (exp2_mpn): Use mp_log2.
5767 (main): Use mp_exp1.
5769 2013-05-16 Joseph Myers <joseph@codesourcery.com>
5771 * math/libm-test.inc: Remove comment about not testing "inexact"
5773 (INEXACT_EXCEPTION): New macro.
5774 (NO_INEXACT_EXCEPTION): Likewise.
5775 (INVALID_EXCEPTION_OK): Update value.
5776 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
5777 (OVERFLOW_EXCEPTION_OK): Likewise.
5778 (UNDERFLOW_EXCEPTION_OK): Likewise.
5779 (IGNORE_ZERO_INF_SIGN): Likewise.
5780 (ERRNO_UNCHANGED): Likewise.
5781 (ERRNO_EDOM): Likewise.
5782 (ERRNO_ERANGE): Likewise.
5783 (test_exceptions): Handle testing "inexact" exceptions.
5784 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
5785 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
5786 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
5787 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
5789 (rint_towardzero_test_data): Likewise.
5790 (rint_downward_test_data): Likewise.
5791 (rint_upward_test_data): Likewise.
5793 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
5794 with OVERFLOW_EXCEPTION.
5795 (exp10_test_data): Likewise.
5796 (exp2_test_data): Likewise.
5797 (expm1_test_data): Likewise.
5798 (lgamma_test_data): Likewise.
5799 (pow_test_data): Likewise.
5800 (tgamma_test_data): Likewise.
5801 (yn_test_data): Remove duplicate test of overflow.
5803 * math/libm-test.inc (struct test_cc_c_data): New type.
5804 (RUN_TEST_LOOP_cc_c): New macro.
5805 (cpow_test_data): New variable.
5806 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
5808 * math/libm-test.inc (struct test_f_L_data): New type.
5809 (RUN_TEST_LOOP_f_L): New macro.
5810 (llrint_test_data): New variable.
5811 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
5812 (llrint_tonearest_test_data): New variable.
5813 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
5814 (llrint_towardzero_test_data): New variable.
5815 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
5816 (llrint_downward_test_data): New variable.
5817 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
5818 (llrint_upward_test_data): New variable.
5819 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
5820 (llround_test_data): New variable.
5821 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
5823 2013-05-13 Peter Collingbourne <pcc@google.com>
5825 * math/atest-exp2.c (get_log2): Remove const attribute.
5827 2013-05-15 Joseph Myers <joseph@codesourcery.com>
5829 * math/libm-test.inc (struct test_f_l_data): New type.
5830 (RUN_TEST_LOOP_f_l): New macro.
5831 (lrint_test_data): New variable.
5832 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
5833 (lrint_tonearest_test_data): New variable.
5834 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
5835 (lrint_towardzero_test_data): New variable.
5836 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
5837 (lrint_downward_test_data): New variable.
5838 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
5839 (lrint_upward_test_data): New variable.
5840 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
5841 (lround_test_data): New variable.
5842 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
5844 2013-05-15 Peter Collingbourne <pcc@google.com>
5846 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
5847 (EXTRACT_WORDS64) Use where appropriate.
5848 (INSERT_WORDS64) Likewise.
5850 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
5851 constraints with x constraints.
5852 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
5854 * malloc/obstack.c (_obstack_compat): Add initializer.
5856 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
5858 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
5859 si_trapno and add si_addr_lsb to _sifields.sigfault.
5860 (si_trapno): Remove macro.
5861 (si_addr_lsb): Define new macro.
5862 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
5864 2013-05-15 Joseph Myers <joseph@codesourcery.com>
5866 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
5867 instead of TEST_f_l.
5868 (llrint_test_tonearest): Likewise.
5869 (llrint_test_towardzero): Likewise.
5870 (llrint_test_downward): Likewise.
5871 (llrint_test_upward): Likewise.
5872 (llround_test): Likewise.
5874 * math/libm-test.inc (struct test_f_i_data): Add comment.
5875 (RUN_TEST_LOOP_f_b): New macro.
5876 (RUN_TEST_LOOP_f_b_tg): Likewise.
5877 (finite_test_data): New variable.
5878 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
5879 (isfinite_test_data): New variable.
5880 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5881 (isinf_test_data): New variable.
5882 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5883 (isnan_test_data): New variable.
5884 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5885 (isnormal_test_data): New variable.
5886 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5887 (issignaling_test_data): New variable.
5888 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5889 (signbit_test_data): New variable.
5890 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5892 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
5893 with INVALID_EXCEPTION.
5894 (acosh_test_data): Likewise.
5895 (asin_test_data): Likewise.
5896 (atanh_test_data): Likewise.
5897 (fmod_test_data): Likewise.
5898 (log_test_data): Likewise.
5899 (log10_test_data): Likewise.
5900 (log2_test_data): Likewise.
5901 (pow_test_data): Likewise.
5902 (sqrt_test_data): Likewise.
5903 (y0_test_data): Likewise.
5904 (y1_test_data): Likewise.
5905 (yn_test_data): Likewise.
5907 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
5910 * math/libm-test.inc (struct test_ff_i_data): New type.
5911 (RUN_TEST_LOOP_ff_i_tg): New macro.
5912 (isgreater_test_data): New variable.
5913 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5914 (isgreaterequal_test_data): New variable.
5915 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5916 (isless_test_data): New variable.
5917 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5918 (islessequal_test_data): New variable.
5919 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5920 (islessgreater_test_data): New variable.
5921 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5922 (isunordered_test_data): New variable.
5923 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5925 2013-05-14 David S. Miller <davem@davemloft.net>
5927 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5929 2013-05-14 Joseph Myers <joseph@codesourcery.com>
5931 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
5933 * math/libm-test.inc (struct test_fF_f1_data): Change type of
5935 (struct test_f_i_data): Change type of max_ulp to int.
5937 * math/libm-test.inc (test_ffI_f1_data): New type.
5938 (RUN_TEST_LOOP_ffI_f1): New macro.
5939 (remquo_test_data): New variable.
5940 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
5942 * setjmp/tst-setjmp-fp.c: New file.
5943 * setjmp/Makefile (tests): Add tst-setjmp-fp.
5944 (link-libm): New variable.
5945 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
5947 * math/libm-test.inc (struct test_f_i_data): New type.
5948 (RUN_TEST_LOOP_f_i): New macro.
5949 (RUN_TEST_LOOP_f_i_tg): Likewise.
5950 (fpclassify_test_data): New variable.
5951 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
5952 (ilogb_test_data): New variable.
5953 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
5955 * math/libm-test.inc (scalbln_test): Correct function name in END
5958 * math/libm-test.inc (struct test_f_f1_data): Add comment.
5959 (RUN_TEST_LOOP_fI_f1): New macro.
5960 (frexp_test_data): New variable.
5961 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
5963 * math/libm-test.inc (struct test_fF_f1_data): New type.
5964 (RUN_TEST_LOOP_fF_f1): New macro.
5965 (modf_test_data): New variable.
5966 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
5968 * math/libm-test.inc (struct test_f_f1_data): New type.
5969 (RUN_TEST_LOOP_f_f1): New macro.
5970 (gamma_test_data): New variable.
5971 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
5972 (lgamma_test_data): New variable.
5973 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
5975 2013-05-13 Carlos O'Donell <carlos@redhat.com>
5977 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
5978 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
5979 (main): Comment "tls" pseudo-hwcap.
5981 2013-05-13 Joseph Myers <joseph@codesourcery.com>
5983 * math/libm-test.inc (struct test_fl_f_data): New type.
5984 (RUN_TEST_LOOP_fl_f): New variable.
5985 (scalbln_test_data): New variable.
5986 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
5988 * math/libm-test.inc (struct test_fi_f_data): New type.
5989 (RUN_TEST_LOOP_fi_f): New macro.
5990 (ldexp_test_data): New variable.
5991 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
5992 (scalbn_test_data): New variable.
5993 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
5995 * math/libm-test.inc (struct test_c_f_data): New type.
5996 (RUN_TEST_LOOP_c_f): New macro.
5997 (cabs_test_data): New variable.
5998 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
5999 (carg_test_data): New variable.
6000 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
6001 (cimag_test_data): New variable.
6002 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
6003 (creal_test_data): New variable.
6004 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
6006 * math/libm-test.inc (struct test_if_f_data): New type.
6007 (RUN_TEST_LOOP_if_f): New macro.
6008 (jn_test_data): New variable.
6009 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
6010 (yn_test_data): New variable.
6011 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
6013 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
6015 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6017 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
6018 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
6020 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
6022 * benchtests/Makefile (CPPFLAGS-nonlib): Add
6023 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
6024 (bench-deps): Add bench-timing.h.
6025 * benchtests-bench-skeleton.c: Include bench-timing.h.
6026 (main): Use TIMING_* macros instead of clock_gettime.
6027 * benchtests/bench-timing.h: New file.
6030 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
6031 Renamed from _LIB_VERSION.
6032 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
6034 2013-05-12 Joseph Myers <joseph@codesourcery.com>
6036 * math/libm-test.inc (struct test_fff_f_data): New type.
6037 (RUN_TEST_LOOP_fff_f): New macro.
6038 (fma_test_data): New variable.
6039 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
6040 (fma_towardzero_test_data): New variable.
6041 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
6042 (fma_downward_test_data): New variable.
6043 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
6044 (fma_upward_test_data): New variable.
6045 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
6047 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
6048 (struct test_c_c_data): New type.
6049 (RUN_TEST_LOOP_c_c): New macro.
6050 (cacos_test_data): New variable.
6051 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
6052 (cacosh_test_data): New variable.
6053 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
6054 (casin_test_data): New variable.
6055 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
6056 (casinh_test_data): New variable.
6057 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
6058 (catan_test_data): New variable.
6059 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
6060 (catanh_test_data): New variable.
6061 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
6062 (ccos_test_data): New variable.
6063 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
6064 (ccosh_test_data): New variable.
6065 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
6066 (cexp_test_data): New variable.
6067 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
6068 (clog_test_data): New variable.
6069 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
6070 (clog10_test_data): New variable.
6071 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
6072 (conj_test_data): New variable.
6073 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
6074 (cproj_test_data): New variable.
6075 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
6076 (csin_test_data): New variable.
6077 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
6078 (csinh_test_data): New variable.
6079 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
6080 (csqrt_test_data): New variable.
6081 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
6082 (ctan_test_data): New variable.
6083 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
6084 (ctan_tonearest_test_data): New variable.
6085 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
6086 (ctan_towardzero_test_data): New variable.
6087 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
6088 (ctan_downward_test_data): New variable.
6089 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
6090 (ctan_upward_test_data): New variable.
6091 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
6092 (ctanh_test_data): New variable.
6093 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
6094 (ctanh_tonearest_test_data): New variable.
6095 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
6096 (ctanh_towardzero_test_data): New variable.
6097 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
6098 (ctanh_downward_test_data): New variable.
6099 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
6100 (ctanh_upward_test_data): New variable.
6101 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
6102 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
6105 * math/libm-test.inc (struct test_ff_f_data): New type.
6106 (struct test_ff_f_data_nexttoward): Likewise.
6107 (RUN_TEST_LOOP_2_f): New macro.
6108 (RUN_TEST_LOOP_ff_f): Likewise.
6109 (atan2_test_data): New variable.
6110 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
6111 (copysign_test_data): New variable.
6112 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
6113 (fdim_test_data): New variable.
6114 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
6115 (fmax_test_data): New variable.
6116 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
6117 (fmin_test_data): New variable.
6118 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
6119 (fmod_test_data): New variable.
6120 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
6121 (hypot_test_data): New variable.
6122 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
6123 (nextafter_test_data): New variable.
6124 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
6125 (nexttoward_test_data): New variable.
6126 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
6127 (pow_test_data): New variable.
6128 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
6129 (pow_tonearest_test_data): New variable.
6130 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
6131 (pow_towardzero_test_data): New variable.
6132 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
6133 (pow_downward_test_data): New variable.
6134 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
6135 (pow_upward_test_data): New variable.
6136 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
6137 (remainder_test_data): New variable.
6138 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
6139 (scalb_test_data): New variable.
6140 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
6141 * sysdeps/i386/fpu/libm-test-ulps: Update.
6143 2013-05-11 Joseph Myers <joseph@codesourcery.com>
6145 * math/libm-test.inc (fma_test): Use max_value instead of local
6147 (nextafter_test): Likewise.
6149 * math/libm-test.inc (acos_towardzero_test_data): New variable.
6150 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6151 (acos_downward_test_data): New variable.
6152 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6153 (acos_upward_test_data): New variable.
6154 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6155 (acosh_test_data): New variable.
6156 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
6157 (asin_test_data): New variable.
6158 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
6159 (asin_tonearest_test_data): New variable.
6160 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6161 (asin_towardzero_test_data): New variable.
6162 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6163 (asin_downward_test_data): New variable.
6164 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6165 (asin_upward_test_data): New variable.
6166 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6167 (asinh_test_data): New variable.
6168 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
6169 (atan_test_data): New variable.
6170 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
6171 (atanh_test_data): New variable.
6172 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
6173 (cbrt_test_data): New variable.
6174 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
6175 (ceil_test_data): New variable.
6176 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
6177 (cos_test_data): New variable.
6178 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
6179 (cos_tonearest_test_data): New variable.
6180 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6181 (cos_towardzero_test_data): New variable.
6182 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6183 (cos_downward_test_data): New variable.
6184 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6185 (cos_upward_test_data): New variable.
6186 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6187 (cosh_test_data): New variable.
6188 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
6189 (cosh_tonearest_test_data): New variable.
6190 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6191 (cosh_towardzero_test_data): New variable.
6192 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6193 (cosh_downward_test_data): New variable.
6194 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6195 (cosh_upward_test_data): New variable.
6196 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6197 (erf_test_data): New variable.
6198 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
6199 (erfc_test_data): New variable.
6200 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
6201 (exp_test_data): New variable.
6202 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
6203 (exp_tonearest_test_data): New variable.
6204 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6205 (exp_towardzero_test_data): New variable.
6206 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6207 (exp_downward_test_data): New variable.
6208 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6209 (exp_upward_test_data): New variable.
6210 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6211 (exp10_test_data): New variable.
6212 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
6213 (exp2_test_data): New variable.
6214 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
6215 (expm1_test_data): New variable.
6216 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
6217 (fabs_test_data): New variable.
6218 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
6219 (floor_test_data): New variable.
6220 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
6221 (j0_test_data): New variable.
6222 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
6223 (j1_test_data): New variable.
6224 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
6225 (log_test_data): New variable.
6226 (log_test): Run tests with RUN_TEST_LOOP_f_f.
6227 (log10_test_data): New variable.
6228 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
6229 (log1p_test_data): New variable.
6230 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
6231 (log2_test_data): New variable.
6232 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
6233 (logb_test_data): New variable.
6234 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
6235 (logb_downward_test_data): New variable.
6236 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6237 (nearbyint_test_data): New variable.
6238 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
6239 (rint_test_data): New variable.
6240 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
6241 (rint_tonearest_test_data): New variable.
6242 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6243 (rint_towardzero_test_data): New variable.
6244 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6245 (rint_downward_test_data): New variable.
6246 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6247 (rint_upward_test_data): New variable.
6248 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6249 (round_test_data): New variable.
6250 (round_test): Run tests with RUN_TEST_LOOP_f_f.
6251 (sin_test_data): New variable.
6252 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
6253 (sin_tonearest_test_data): New variable.
6254 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6255 (sin_towardzero_test_data): New variable.
6256 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6257 (sin_downward_test_data): New variable.
6258 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6259 (sin_upward_test_data): New variable.
6260 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6261 (sinh_test_data): New variable.
6262 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
6263 (sinh_tonearest_test_data): New variable.
6264 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6265 (sinh_towardzero_test_data): New variable.
6266 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6267 (sinh_downward_test_data): New variable.
6268 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6269 (sinh_upward_test_data): New variable.
6270 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6271 (sqrt_test_data): New variable.
6272 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
6273 (tan_test_data): New variable.
6274 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
6275 (tan_tonearest_test_data): New variable.
6276 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6277 (tan_towardzero_test_data): New variable.
6278 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6279 (tan_downward_test_data): New variable.
6280 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6281 (tan_upward_test_data): New variable.
6282 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6283 (tanh_test_data): New variable.
6284 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
6285 (tgamma_test_data): New variable.
6286 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
6287 (trunc_test_data): New variable.
6288 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
6289 (y0_test_data): New variable.
6290 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
6291 (y1_test_data): New variable.
6292 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
6293 (significand_test_data): New variable.
6294 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
6296 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
6299 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
6301 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
6303 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
6305 2013-05-10 Andreas Jaeger <aj@suse.de>
6308 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
6309 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
6311 2013-05-10 Joseph Myers <joseph@codesourcery.com>
6313 * math/gen-libm-test.pl (adjust_arg): New function.
6314 (special_functions): Handle generating output in both functions
6316 (parse_args): Likewise.
6317 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
6318 $in_func argument to parse_args.
6319 * math/libm-test.inc (struct test_f_f_data): New type.
6320 (IF_ROUND_INIT_): New macro.
6321 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
6322 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
6323 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
6324 (IF_ROUND_INIT_FE_UPWARD): Likewise.
6325 (ROUND_RESTORE_): Likewise.
6326 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
6327 (ROUND_RESTORE_FE_TONEAREST): Likewise.
6328 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
6329 (ROUND_RESTORE_FE_UPWARD): Likewise.
6330 (RUN_TEST_LOOP_f_f): New macro.
6331 (acos_test_data): New variable.
6332 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
6333 (acos_tonearest_test_data): New variable.
6334 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6336 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6338 * benchtests/bench-skeleton.c (startup): Fix coding style.
6340 2013-05-10 Joseph Myers <joseph@codesourcery.com>
6343 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
6344 negative infinity argument.
6345 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
6346 negative infinity argument.
6347 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
6348 negative infinity argument.
6349 * math/libm-test.inc (tgamma_test): Expect errno to be set for
6352 2013-05-10 Florian Weimer <fweimer@redhat.com>
6354 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
6355 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
6356 * iconv/iconv_prog.c (main): Likewise.
6357 * locale/programs/charmap-dir.c (charmap_readdir)
6358 (fopen_uncompressed): Likewise.
6359 * locale/programs/locfile.c (siblings_uncached)
6360 (write_locale_data): Use lstat64 instead of lstat.
6361 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
6364 2013-05-10 Andreas Jaeger <aj@suse.de>
6367 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
6371 2013-05-09 Carlos O'Donell <carlos@redhat.com>
6373 * elf/dl-close.c (_dl_close_worker): Add comments.
6375 2013-05-09 Joseph Myers <joseph@codesourcery.com>
6378 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
6380 (__ieee754_rem_pio2l): Update comments.
6383 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
6385 (__ieee754_rem_pio2l): Update comments.
6387 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
6388 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
6390 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
6393 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
6394 (M_PI_34_LOG10El): Likewise.
6395 (M_PI2_LOG10El): Likewise.
6396 (M_PI4_LOG10El): Likewise.
6397 (M_PI_LOG10El): Likewise.
6399 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6401 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6403 2013-05-08 Joseph Myers <joseph@codesourcery.com>
6405 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
6406 (MINUS_ZERO_INIT): Likewise.
6407 (PLUS_INFTY_INIT): Likewise.
6408 (MINUS_INFTY_INIT): Likewise.
6409 (QNAN_VALUE_INIT): Likewise.
6410 (MAX_VALUE_INIT): Likewise.
6411 (MIN_VALUE_INIT): Likewise.
6412 (MIN_SUBNORM_VALUE_INIT): Likewise.
6413 (plus_zero): Initialize with PLUS_ZERO_INIT.
6414 (minus_zero): Initialize with MINUS_ZERO_INIT.
6415 (plus_infty): Initialize with PLUS_INFTY_INIT.
6416 (minus_infty): Initialize with MINUS_INFTY_INIT.
6417 (qnan_value): Initialize with QNAN_VALUE_INIT.
6418 (max_value): Initialize with MAX_VALUE_INIT.
6419 (min_value): Initialize with MIN_VALUE_INIT.
6420 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
6422 * math/libm-test.inc (RUN_TEST_if_f): New macro.
6423 (jn_test): Use TEST_if_f instead of TEST_ff_f.
6424 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
6425 (yn_test): Use TEST_if_f instead of TEST_ff_f.
6427 * math/libm-test.inc (RUN_TEST_f_f): New macro.
6428 (RUN_TEST_2_f): Likewise.
6429 (RUN_TEST_ff_f): Likewise.
6430 (RUN_TEST_fi_f): Likewise.
6431 (RUN_TEST_fl_f): Likewise.
6432 (RUN_TEST_fff_f): Likewise.
6433 (RUN_TEST_c_f): Likewise.
6434 (RUN_TEST_f_f1): Likewise.
6435 (RUN_TEST_fF_f1): Likewise.
6436 (RUN_TEST_fI_f1): Likewise.
6437 (RUN_TEST_ffI_f1): Likewise.
6438 (RUN_TEST_c_c): Likewise.
6439 (RUN_TEST_cc_c): Likewise.
6440 (RUN_TEST_f_i): Likewise.
6441 (RUN_TEST_f_i_tg): Likewise.
6442 (RUN_TEST_ff_i_tg): Likewise.
6443 (RUN_TEST_f_b): Likewise.
6444 (RUN_TEST_f_b_tg): Likewise.
6445 (RUN_TEST_f_l): Likewise.
6446 (RUN_TEST_f_L): Likewise.
6447 (RUN_TEST_sincos): Likewise.
6448 * math/gen-libm-test.pl (new_test): Take new argument to indicate
6449 whether to show exceptions. Do not include ");\n" in return
6451 (special_functions): Output call to RUN_TEST_sincos instead of
6452 check_float calls. Update calls to new_test.
6453 (parse_args): Output call to single RUN_TEST_* macro instead of
6454 check_* calls and other assignments. Update calls to new_test.
6460 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
6461 input to result for tgamma overflow.
6462 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
6463 (gamma_coeff): New variable.
6464 (NCOEFF): New macro.
6465 (gamma_positive): New function.
6466 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
6467 underflow here. Use gamma_positive instead of exp (lgamma) for
6469 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
6470 (gamma_coeff): New variable.
6471 (NCOEFF): New macro.
6472 (gammaf_positive): New function.
6473 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
6474 underflow here. Use gamma_positive instead of exp (lgamma) for
6476 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
6477 (gamma_coeff): New variable.
6478 (NCOEFF): New macro.
6479 (gammal_positive): New function.
6480 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
6481 underflow here. Use gamma_positive instead of exp (lgamma) for
6483 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
6484 (gamma_coeff): New variable.
6485 (NCOEFF): New macro.
6486 (gammal_positive): New function.
6487 (__ieee754_gammal_r): Handle positive infinity, overflow and
6488 underflow here. Handle NaN the same as positive infinity. Remove
6489 check x < 0xffffffff for negative integers. Use gamma_positive
6490 instead of exp (lgamma) for other arguments.
6491 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
6492 (gamma_coeff): New variable.
6493 (NCOEFF): New macro.
6494 (gammal_positive): New function.
6495 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
6496 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
6497 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
6498 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
6499 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
6500 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
6501 * sysdeps/generic/math_private.h (__gamma_productf): New
6503 (__gamma_product): Likewise.
6504 (__gamma_productl): Likewise.
6505 * math/Makefile (libm-calls): Add gamma_product.
6506 * math/libm-test.inc (tgamma_test): Add more tests.
6507 * sysdeps/i386/fpu/libm-test-ulps: Update.
6508 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6510 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
6512 * benchtests/bench-skeleton.c (main): Preheat CPU.
6514 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
6516 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
6518 2013-05-07 Roland McGrath <roland@hack.frob.com>
6520 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
6521 and _dl_skip_args_internal.
6523 2013-05-07 Carlos O'Donell <carlos@redhat.com>
6525 * manual/message.texi (Message Translation): Talk about users.
6526 Message to key mapping impacts design.
6528 2013-05-06 Roland McGrath <roland@hack.frob.com>
6530 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
6532 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
6534 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
6535 * sysdeps/wordsize-64/glob64.c: ... here.
6537 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
6538 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
6541 * debug/getlogin_r_chk.c: Moved to ...
6542 * login/getlogin_r_chk.c: ... here.
6543 * debug/Makefile (routines): Move getlogin_r_chk to ...
6544 * login/Makefile (routines): ... here.
6545 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
6546 * login/Versions (libc: GLIBC_2.4): ... here.
6548 * io/poll.c (__poll): Renamed from poll.
6549 Add libc_hidden_def.
6550 (poll): Define as weak alias.
6552 * debug/ptsname_r_chk.c: Moved to ...
6553 * login/ptsname_r_chk.c: ... here.
6554 * debug/Makefile (routines): Move ptsname_r_chk to ...
6555 * login/Makefile (routines): ... here.
6556 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
6557 * login/Versions (libc: GLIBC_2.4): ... here.
6559 * posix/getlogin.c: Moved to ...
6560 * login/getlogin.c: ... here.
6561 * posix/getlogin_r.c: Moved to ...
6562 * login/getlogin_r.c: ... here.
6563 * posix/getlogin_r.c: Moved to ...
6564 * login/getlogin_r.c: ... here.
6565 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
6566 * login/Makefile (routines): ... here.
6567 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
6568 * login/Versions (libc: GLIBC_2.0): ... here.
6570 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
6571 (setrlimit): Define as weak alias.
6573 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
6574 Call __ names for open, ftruncate, and close.
6575 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
6576 (truncate): Define as weak alias.
6578 2013-05-06 Joseph Myers <joseph@codesourcery.com>
6580 * math/gen-libm-test.pl (parse_args): Initialize x before each
6581 test of frexp, modf and remquo.
6583 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
6586 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6590 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
6592 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
6594 2013-05-06 Roland McGrath <roland@hack.frob.com>
6596 * elf/dl-writev.h: New file.
6597 * elf/dl-misc.c: Include it.
6598 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
6599 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
6601 2013-05-04 Joseph Myers <joseph@codesourcery.com>
6603 * math/libm-test.inc (noXFails): Remove variable.
6604 (noXPasses): Likewise.
6605 (BUILD_COMPLEX_INT): Remove macro.
6606 (print_screen): Remove xfail argument.
6607 (print_screen_max_error): Likewise.
6608 (update_stats): Likewise.
6609 (print_max_error): Likewise. Update calls to other affected
6611 (print_complex_max_error): Likewise.
6612 (test_single_exception): Update calls to print_screen.
6613 (test_single_errno): Likewise.
6614 (check_float_internal): Remove xfail argument. Update calls to
6615 other affected functions.
6616 (check_float): Likewise.
6617 (check_complex): Likewise.
6618 (check_int): Likewise.
6619 (check_long): Likewise.
6620 (check_bool): Likewise.
6621 (check_longlong): Likewise.
6622 (main): Don't print noXFails and noXPasses.
6623 * math/gen-libm-test.pl (top level): Don't mention expected
6624 failure handling in comment.
6625 (new_test): Don't handle expected failures.
6626 (parse_args): Don't mention expected failure handling in comment.
6627 (generate_testfile): Don't handle expected failures.
6628 (parse_ulps): Likewise.
6629 (print_ulps_file): Likewise.
6630 (get_failure): Remove function.
6631 (output_test): Don't handle expected failures.
6632 * make/README.libm-test: Don't mention expected failure handling.
6634 * math/libm-test.inc (plus_zero): Make const. Add initializer.
6635 (minus_zero): Likewise.
6636 (plus_infty): Likewise.
6637 (minus_infty): Likewise.
6638 (qnan_value): Likewise.
6639 (max_value): Likewise.
6640 (min_value): Likewise.
6641 (min_subnorm_value): Likewise.
6642 (initialize): Do not initialize those variables dynamically.
6644 2013-05-03 Roland McGrath <roland@hack.frob.com>
6646 * io/open.c (__open_2): Moved to ...
6647 * io/open_2.c: ... this new file.
6648 * io/open64.c (__open64_2): Moved to ...
6649 * io/open64_2.c: ... this new file.
6650 * io/openat.c (__openat_2): Moved to ...
6651 * io/openat_2.c: ... this new file.
6652 * io/openat64.c (__openat64_2): Moved to ...
6653 * io/openat64_2.c: ... this new file.
6654 * io/Makefile (routines): Add them.
6655 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
6656 * sysdeps/unix/sysv/linux/open_2.c: File removed.
6657 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
6658 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
6659 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
6660 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
6661 (__openat64): Add hidden_ver.
6662 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
6663 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
6665 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
6666 Separately conditionalize setting of GLRO(dl_sysinfo) so
6667 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
6668 as well, but the actual setting is only under [NEED_DL_SYSINFO].
6670 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6672 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
6673 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
6675 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
6676 * sysdeps/unix/sysv/linux/powerpc/init-first.c
6677 (_libc_vdso_platform_setup): Add __vdso_time initialization.
6678 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
6679 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
6681 2013-05-03 Joseph Myers <joseph@codesourcery.com>
6683 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
6686 * math/libm-test.inc (hypot_test): Do not use
6687 IGNORE_ZERO_INF_SIGN.
6689 2013-05-03 Andreas Jaeger <aj@suse.de>
6691 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
6693 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
6694 (PF_MAX): Adjust for VSOCK change.
6696 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6698 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6700 2013-05-02 Carlos O'Donell <carlos@redhat.com>
6703 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
6704 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
6705 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
6707 2013-05-02 David S. Miller <davem@davemloft.net>
6709 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6711 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
6713 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
6715 2013-05-01 Roland McGrath <roland@hack.frob.com>
6717 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
6719 2013-05-01 Richard Smith <richard@metafoo.co.uk>
6722 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
6723 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
6724 Use __attribute__ ((__gnu_inline__)).
6725 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
6726 Don't use __attribute__ ((__gnu_inline__)).
6728 2013-05-01 Joseph Myers <joseph@codesourcery.com>
6731 * math/s_catan.c (__catan): Handle small real or imaginary part of
6732 input specially to avoid spurious underflow.
6733 * math/s_catanf.c (__catanf): Likewise.
6734 * math/s_catanh.c (__catanh): Likewise.
6735 * math/s_catanhf.c (__catanhf): Likewise.
6736 * math/s_catanhl.c (__catanhl): Likewise.
6737 * math/s_catanl.c (__catanl): Likewise.
6738 * math/libm-test.inc (catan_test): Add more tests.
6739 (catanh_test): Likewise.
6740 * sysdeps/i386/fpu/libm-test-ulps: Update.
6741 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6743 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6745 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6747 2013-04-30 Joseph Myers <joseph@codesourcery.com>
6750 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
6751 accurately for denominator in atan2.
6752 * math/s_catanf.c (__catanf): Likewise.
6753 * math/s_catanh.c (__catanh): Likewise.
6754 * math/s_catanhf.c (__catanhf): Likewise.
6755 * math/s_catanhl.c (__catanhl): Likewise.
6756 * math/s_catanl.c (__catanl): Likewise.
6757 * math/libm-test.inc (catan_test): Add more tests.
6758 (catanh_test): Likewise.
6759 * sysdeps/i386/fpu/libm-test-ulps: Update.
6760 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6762 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
6764 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
6766 * benchtests/Makefile (bench): Remove slow benchmarks.
6767 * benchtests/atan-inputs: Add slow benchmark inputs.
6768 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
6769 (BENCH_FUNC): Accept variant offset.
6771 * benchtests/bench-skeleton.c (main): Run benchmark for each
6773 * benchtests/cos-inputs: Add slow benchmark inputs.
6774 * benchtests/exp-inputs: Likewise.
6775 * benchtests/pow-inputs: Likewise.
6776 * benchtests/sin-inputs: Likewise.
6777 * benchtests/slowatan-inputs: Remove.
6778 * benchtests/slowatan.c: Remove.
6779 * benchtests/slowcos-inputs: Remove.
6780 * benchtests/slowcos.c: Remove.
6781 * benchtests/slowexp-inputs: Remove.
6782 * benchtests/slowexp.c: Remove.
6783 * benchtests/slowpow-inputs: Remove.
6784 * benchtests/slowpow.c: Remove.
6785 * benchtests/slowsin-inputs: Remove.
6786 * benchtests/slowsin.c: Remove.
6787 * benchtests/slowtan-inputs: Remove.
6788 * benchtests/slowtan.c: Remove.
6789 * benchtests/tan-inputs: Add slow benchmark inputs.
6790 * scripts/bench.pl: Parse comments and directives.
6792 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
6794 ($(objpfx)bench-%.c): Remove *-ITER.
6795 * benchtests/bench-modf.c: Remove definition of ITER.
6796 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
6797 (main): Loop for DURATION seconds instead of fixed number of
6799 * scripts/bench.pl: Don't expect iterations in parameters.
6801 2013-04-29 Roland McGrath <roland@hack.frob.com>
6803 * io/fchdir.c (__fchdir): Renamed from fchdir.
6804 (fchdir): Define as weak alias.
6806 2013-04-29 Joseph Myers <joseph@codesourcery.com>
6808 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
6809 (ERRNO_EDOM): Likewise.
6810 (ERRNO_ERANGE): Likewise.
6811 (noErrnoTests): New variable.
6812 (init_max_error): Set errno to 0.
6813 (test_single_errno): New function.
6814 (test_errno): Likewise.
6815 (check_float_internal): Call test_errno. Set errno to 0.
6816 (check_complex): Refer to errno tests in comment.
6817 (check_int): Call test_errno. Set errno to 0.
6818 (check_long): Likewise.
6819 (check_bool): Likewise.
6820 (check_longlong): Likewise.
6821 (cos_test): Use ERRNO_* flags for errno tests instead of
6823 (expm1_test): Likewise.
6824 (fmod_test): Likewise.
6825 (ilogb_test): Likewise.
6826 (lgamma_test): Likewise.
6827 (pow_test): Likewise.
6828 (remainder_test): Likewise.
6829 (sin_test): Likewise.
6830 (tan_test): Likewise.
6831 (yn_test): Likewise.
6832 (initialize): Set errno to 0.
6833 (main): Print number of errno tests.
6834 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
6836 2013-04-29 Andreas Jaeger <aj@suse.de>
6839 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
6843 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
6844 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
6848 * stdlib/random.c (__initstate): Return NULL if
6852 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
6853 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
6856 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6858 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6860 2013-04-29 Joseph Myers <joseph@codesourcery.com>
6862 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
6863 of individual tests.
6864 (casin_test): Likewise.
6865 (casinh_test): Likewise.
6867 2013-04-27 Joseph Myers <joseph@codesourcery.com>
6870 * math/s_catan.c (__catan): Handle arguments with large real or
6871 imaginary part separately without squaring.
6872 * math/s_catanf.c (__catanf): Likewise.
6873 * math/s_catanh.c (__catanh): Likewise.
6874 * math/s_catanhf.c (__catanhf): Likewise.
6875 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
6877 (__catanhl): Handle arguments with large real or imaginary part
6878 separately without squaring.
6879 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
6881 (__catanl): Handle arguments with large real or imaginary part
6882 separately without squaring.
6883 * math/libm-test.inc (catan_test): Add more tests.
6884 (catanh_test): Likewise.
6885 * sysdeps/i386/fpu/libm-test-ulps: Update.
6886 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6888 2013-04-27 Andreas Jaeger <aj@suse.de>
6891 * stdlib/stdlib.h: Update guards for qecvt.
6892 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
6895 2013-04-27 Allan McRae <allan@archlinux.org>
6897 * sysdeps/i386/fpu/libm-test-ulps: Update.
6899 2013-04-26 Joseph Myers <joseph@codesourcery.com>
6902 * math/s_catan.c: Include <float.h>.
6903 (__catan): Ensure underflow exception occurs for underflowed
6905 * math/s_catanf.c: Include <float.h>.
6906 (__catanf): Ensure underflow exception occurs for underflowed
6908 * math/s_catanh.c: Include <float.h>.
6909 (__catanh): Ensure underflow exception occurs for underflowed
6911 * math/s_catanhf.c: Include <float.h>.
6912 (__catanhf): Ensure underflow exception occurs for underflowed
6914 * math/s_catanhl.c: Include <float.h>.
6915 (__catanhl): Ensure underflow exception occurs for underflowed
6917 * math/s_catanl.c: Include <float.h>.
6918 (__catanl): Ensure underflow exception occurs for underflowed
6920 * math/libm-test.inc (catan_test): Add more tests.
6921 (catanh_test): Likewise.
6924 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
6926 * math/s_ccoshf.c (__ccoshf): Likewise.
6927 * math/s_ccoshl.c (__ccoshl): Likewise.
6928 * math/s_csin.c (__csin): Likewise.
6929 * math/s_csinf.c (__csinf): Likewise.
6930 * math/s_csinh.c (__csinh): Likewise.
6931 * math/s_csinhf.c (__csinhf): Likewise.
6932 * math/s_csinhl.c (__csinhl): Likewise.
6933 * math/s_csinl.c (__csinl): Likewise.
6934 * math/libm-test.inc (ccos_test): Add more tests.
6935 (ccosh_test): Likewise.
6936 (csin_test): Likewise.
6937 (csinh_test): Likewise.
6939 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6941 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
6942 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
6943 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
6944 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
6945 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
6946 powerpc/power5+/fpu folders.
6947 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
6950 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
6952 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6954 2013-04-25 Joseph Myers <joseph@codesourcery.com>
6956 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
6957 additions to variable.
6958 [$(config-machine) = x86_64] (modules-names): Likewise.
6959 ($(objpfx)tst-audit3): Remove dependency.
6960 ($(objpfx)tst-audit3.out): Likewise.
6961 ($(objpfx)tst-audit4): Likewise.
6962 ($(objpfx)tst-audit4.out): Likewise.
6963 ($(objpfx)tst-audit5): Likewise.
6964 ($(objpfx)tst-audit5.out): Likewise.
6965 ($(objpfx)tst-audit6): Likewise.
6966 ($(objpfx)tst-audit6.out): Likewise.
6967 ($(objpfx)tst-audit7): Likewise.
6968 ($(objpfx)tst-audit7.out): Likewise.
6969 (tst-audit3-ENV): Remove variable.
6970 (tst-audit4-ENV): Likewise.
6971 (tst-audit5-ENV): Likewise.
6972 (tst-audit6-ENV): Likewise.
6973 (tst-audit7-ENV): Likewise.
6974 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
6975 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
6976 addition to variable.
6977 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
6978 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
6979 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
6980 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
6981 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
6982 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
6983 tst-audit3, tst-audit4 and tst-audit5.
6984 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
6985 tst-audit6 and tst-audit7.
6986 [$(subdir) = elf] (modules-names): Add audit modules for those
6988 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
6989 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
6990 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
6991 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
6992 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
6993 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
6994 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
6995 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
6996 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
6997 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
6998 [$(subdir) = elf] (tst-audit3-ENV): New variable.
6999 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
7000 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
7001 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
7002 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
7003 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
7005 [$(subdir) = elf && $(config-cflags-avx) = yes]
7006 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
7007 [$(subdir) = elf && $(config-cflags-avx) = yes]
7008 (CFLAGS-tst-auditmod4a.c): Likewise.
7009 [$(subdir) = elf && $(config-cflags-avx) = yes]
7010 (CFLAGS-tst-auditmod4b.c): Likewise.
7011 [$(subdir) = elf && $(config-cflags-avx) = yes]
7012 (CFLAGS-tst-auditmod6b.c): Likewise.
7013 [$(subdir) = elf && $(config-cflags-avx) = yes]
7014 (CFLAGS-tst-auditmod6c.c): Likewise.
7015 [$(subdir) = elf && $(config-cflags-avx) = yes]
7016 (CFLAGS-tst-auditmod7b.c): Likewise.
7017 * elf/tst-audit3.c: Move to ...
7018 * sysdeps/x86_64/tst-audit3.c: ... here.
7019 * elf/tst-audit4.c: Move to ...
7020 * sysdeps/x86_64/tst-audit4.c: ... here.
7021 * elf/tst-audit5.c: Move to ...
7022 * sysdeps/x86_64/tst-audit5.c: ... here.
7023 * elf/tst-audit6.c: Move to ...
7024 * sysdeps/x86_64/tst-audit6.c: ... here.
7025 * elf/tst-audit7.c: Move to ...
7026 * sysdeps/x86_64/tst-audit7.c: ... here.
7027 * elf/tst-auditmod3a.c: Move to ...
7028 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
7029 * elf/tst-auditmod3b.c: Move to ...
7030 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
7031 * elf/tst-auditmod4a.c: Move to ...
7032 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
7033 * elf/tst-auditmod4b.c: Move to ...
7034 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
7035 * elf/tst-auditmod5a.c: Move to ...
7036 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
7037 * elf/tst-auditmod5b.c: Move to ...
7038 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
7039 * elf/tst-auditmod6a.c: Move to ...
7040 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
7041 * elf/tst-auditmod6b.c: Move to ...
7042 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
7043 * elf/tst-auditmod6c.c: Move to ...
7044 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
7045 * elf/tst-auditmod7a.c: Move to ...
7046 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
7047 * elf/tst-auditmod7b.c: Move to ...
7048 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
7050 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
7053 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
7054 define unconditionally.
7055 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
7056 define unconditionally.
7057 (INT8_C, INT16_C, etc.): Likewise.
7059 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
7061 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
7062 __ehdr_start with hidden visibility.
7064 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
7066 2013-04-24 Carlos O'Donell <carlos@redhat.com>
7068 * math/libm-test.inc (cos_test): Use accurate hex constants.
7069 (sincost_test): Likewise.
7071 2013-04-24 Joseph Myers <joseph@codesourcery.com>
7073 * math/libm-test.inc (catan_test): Add more tests.
7074 (catanh_test): Likewise.
7076 * math/s_catanf.c (__catanf): Use suffixed floating-point
7078 * math/s_catanhf.c (__catanhf): Likewise.
7079 * math/s_catanhl.c (__catanhl): Likewise.
7080 * math/s_catanl.c (__catanl): Likewise.
7083 * math/s_catan.c (__catan): Calculate imaginary part of result
7084 with log1p not log unless computing log of number close to 0.
7085 * math/s_catanf.c (__catanf): Likewise.
7086 * math/s_catanl.c (__catanl): Likewise.
7087 * math/s_catanh.c (__catanh): Calculate real part of result with
7088 log1p not log unless computing log of number close to 0.
7089 * math/s_catanhf.c (__catanhf): Likewise.
7090 * math/s_catanhl.c (__catanhl): Likewise.
7091 * math/libm-test.inc (catan_test): Add more tests.
7092 (catanh_test): Likewise.
7093 * sysdeps/i386/fpu/libm-test-ulps: Update.
7094 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7096 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
7098 * benchtests/Makefile: Mention files in which fast and slow
7099 paths of math functions are implemented.
7101 2013-04-23 Roland McGrath <roland@hack.frob.com>
7103 * sysdeps/posix/timespec_get.c: New file.
7105 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7107 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
7109 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
7111 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
7112 powerpc/power5/fpu folders.
7113 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
7114 * benchtests/Makefile: Add modf testcase.
7115 * benchtests/bench-modf.c: New file: Benchmark test for mo
7117 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
7120 * time/Makefile (tests): Add tst-strptime-whitespace.
7121 * time/strptime_l.c (get_number): Use ISSPACE.
7122 (__strptime_internal): Likewise.
7123 * time/tst-strptime-whitespace.c: New test case.
7125 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
7127 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
7129 (_nss_files_init): Set it here.
7131 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
7133 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
7134 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
7137 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
7139 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
7141 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
7143 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
7146 2013-04-21 David S. Miller <davem@davemloft.net>
7148 * po/ru.po: Update Russion translation from translation project.
7150 2013-04-17 Adam Conrad <adconrad@0c3.net>
7152 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
7155 2013-04-17 Carlos O'Donell <carlos@redhat.com>
7157 * configure.in: Remove i386 configure warning. Remove i386 case.
7158 * configure: Regenerate.
7159 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
7160 Add example to error message.
7161 * sysdeps/i386/configure: Regenerate.
7163 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
7165 * benchtests/Makefile (bench): Add cos, tan, slowcos and
7167 * benchtests/cos-inputs: New file.
7168 * benchtests/slowcos-inputs: New file.
7169 * benchtests/slowcos.c: New file.
7170 * benchtests/slowtan-inputs: New file.
7171 * benchtests/slowtan.c: New file.
7172 * benchtests/tan-inputs: New file.
7174 2013-04-16 Roland McGrath <roland@hack.frob.com>
7176 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
7179 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7181 * benchtests/Makefile: Include cppflags-iterator.mk to add
7182 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
7184 * Makefile.in (bench-clean): New target.
7185 * benchtests/Makefile (bench-clean): Likewise.
7187 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
7189 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
7191 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
7193 * stdio-common/tstdiomisc.c: Fix coding-style violation.
7195 2013-04-15 Andreas Schwab <schwab@suse.de>
7197 * nscd/grpcache.c (cache_addgr): Properly check for short write.
7198 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7199 * nscd/pwdcache.c (cache_addpw): Likewise.
7200 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
7203 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7205 * benchtests/Makefile (bench): Write all output to
7206 bench-out.tmp together.
7208 2013-04-15 Andreas Schwab <schwab@suse.de>
7210 * nscd/nscd.c (main): Don't fork again after closing files.
7212 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7214 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
7216 * benchtests/Rules (bench-deps): Collect dependencies into a
7217 single variable. Add Makefile to dependencies.
7218 ($(objpfx)bench-%.c): Depend on bench-deps.
7220 2013-04-12 Roland McGrath <roland@hack.frob.com>
7221 Xavier Roche <roche+kml2@exalead.com>
7224 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
7225 just that it's a file descriptor.
7226 * manual/llio.texi (Synchronizing AIO Operations): Update description
7227 for EBADF error from aio_fsync.
7229 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
7231 * Rules (bench): Move target definition...
7232 * benchtests/Makefile: ... here.
7234 2013-04-11 Carlos O'Donell <carlos@redhat.com>
7236 * math/libm-test.inc (cos_test): Fix PI/2 test.
7237 (sincos_test): Likewise.
7238 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
7239 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
7241 2013-04-11 Andreas Schwab <schwab@suse.de>
7244 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
7245 accept exponent character only when digits were seen.
7246 * stdio-common/Makefile (tests): Add bug26.
7247 * stdio-common/bug26.c: New file.
7250 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
7253 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7255 * Makeconfig (rtld-prefix): Define built linker prefix.
7256 * Rules (run-bench): Use it.
7257 * math/Makefile (run-regen-ulps): Likewise.
7259 * Rules (bench): Remove eval.
7261 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7262 Roland McGrath <roland@hack.frob.com>
7263 Ondrej Bilka <neleai@seznam.cz>
7266 * time/getdate.c: Include ctype.h and alloca.h.
7267 (__getdate_r): Trim leading and trailing spaces of input.
7268 * time/tst-getdate.c (tests): Add tests with leading and
7271 2013-04-08 Roland McGrath <roland@hack.frob.com>
7274 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
7275 when computing value.
7277 2013-04-06 Carlos O'Donell <carlos@redhat.com>
7279 * math/README.libm-test (How can I generate "libm-test-ulps"?):
7280 Use testrun.sh to run libm tests.
7283 * elf/dl-open.c (dl_open_worker): memset all of seen array.
7285 2013-04-06 Marko Myllynen <myllynen@redhat.com>
7288 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
7290 2013-04-06 Carlos O'Donell <carlos@redhat.com>
7292 * Makefile.in (regen-ulps): New target.
7293 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
7294 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
7295 [ifneq (no,$(PERL)] (regen-ulps): New target.
7296 [ifeq (no,$(PERL)] (regen-ulps): New target.
7297 * math/libm-test.inc (ulps_file_name): Define.
7298 (output_dir): New variable.
7299 (options): Add "output-dir" option.
7300 (parse_opt): Handle 'o' case.
7301 (main): If output_dir is non-NULL use it as a prefix
7303 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
7305 2013-04-06 Carlos O'Donell <carlos@redhat.com>
7308 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
7309 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
7310 fail configure if __sync_val_compare_and_swap is not inlined.
7311 * sysdeps/i386/configure: Regenerate.
7312 * configure.in: Build for i686 when configured for i386.
7313 * configure: Regenerate.
7314 * README: Remove i386 reference.
7316 2013-04-06 Carlos O'Donell <carlos@redhat.com>
7318 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
7319 * sysdeps/s390/s390-64/sysdep.h: Likewise.
7321 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
7323 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
7324 (lmsnanval): New variables.
7325 (F): Add conversion tests.
7326 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
7327 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
7329 * stdio-common/tstdiomisc.c (F): Properly collect individual
7333 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
7334 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
7335 Instead, use input NaN values or generate a qNaN by arithmetic
7336 operation. Also fix bugs to comply with the standard.
7337 * math/libm-test.inc (remainder_test): Add more tests.
7340 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
7341 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
7342 input NaN values or generate a qNaN by arithmetic operation.
7344 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
7347 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
7350 2013-04-03 Joseph Myers <joseph@codesourcery.com>
7353 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
7355 * math/s_cexpf.c (__cexpf): Likewise.
7356 * math/s_cexpl.c (__cexpl): Likewise.
7357 * math/libm-test.inc (cexp_test): Add more tests.
7359 2013-04-03 Andreas Schwab <schwab@suse.de>
7362 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
7363 order arrays from heap if bigger than alloca cutoff.
7365 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
7367 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
7368 (SNAN_TESTS_double): Refer to GCC PR56831.
7369 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
7372 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
7374 * Rules (bench): Move bench.out after the run is complete.
7376 * Rules (bench): Echo currently running benchmark.
7378 * benchtests/Makefile (bench): Add atan and slowatan.
7379 * benchtests/atan-inputs: New file.
7380 * benchtests/slowatan-inputs: New file.
7381 * benchtests/slowatan.c: New file.
7383 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
7384 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
7388 * sysdeps/unix/sysv/linux/kernel-features.h
7389 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
7390 __ASSUME_XFS_RESTRICTED_CHOWN.
7391 * sysdeps/unix/sysv/linux/pathconf.c
7392 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
7393 Save and restore errno.
7395 2013-04-02 Joseph Myers <joseph@codesourcery.com>
7398 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
7399 arguments using __kernel_casinh.
7400 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
7401 arguments using __kernel_casinhf.
7402 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
7403 arguments using __kernel_casinhl.
7404 * math/libm-test.inc (cacosh_test): Add more tests.
7405 * sysdeps/i386/fpu/libm-test-ulps: Update.
7406 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7408 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7410 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
7411 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
7413 * bench/Makefile (bench): Add sin and slowsin.
7414 * benchtests/sin-inputs: New file.
7415 * benchtests/slowsin-inputs: New file.
7416 * benchtests/slowsin.c: New file.
7418 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
7419 (bench): Add slowexp and slowpow.
7420 (exp-ITER): Increase iterations.
7421 (pow-ITER): Likewise.
7422 * benchtests/exp-inputs: Change input.
7423 * benchtests/pow-inputs: Likewise.
7424 * benchtests/slowexp-inputs: New file.
7425 * benchtests/slowexp.c: New file.
7426 * benchtests/slowpow-inputs: New file.
7427 * benchtests/slowpow.c: New file.
7429 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7431 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
7433 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
7434 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
7435 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
7436 * benchtests/Makefile: Add rint benchtest.
7437 * benchtests/rint-inputs: Input for rint benchtest.
7439 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
7441 * Versions.def (libm): Add GLIBC_2.18.
7442 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
7443 hidden libm prototypes.
7444 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
7445 * math/Makefile (libm-calls): Add s_issignaling.
7446 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
7447 __issignalingf, __issignalingl. Adjust all libm.abilist files.
7448 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
7450 * math/math.h [__USE_GNU] (issignaling): New macro.
7451 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
7452 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
7453 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
7454 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
7455 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
7456 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
7457 * manual/arith.texi (issignaling): New section.
7458 * manual/libm-err-tab.pl (@all_functions): Update comment.
7459 * math/gen-libm-test.pl (parse_args): Apply special handling for
7461 * math/libm-test.inc (print_float, issignaling_test): New
7463 (check_float_internal): Add issignaling checks.
7464 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
7466 * sysdeps/powerpc/math-tests.h: New file.
7467 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
7469 * math/test-snan.c (TEST_FUNC): Likewise.
7471 2013-03-30 David S. Miller <davem@davemloft.net>
7473 * po/de.po: Update from translation team.
7475 2013-03-30 Joseph Myers <joseph@codesourcery.com>
7478 * math/k_casinh.c (__kernel_casinh): Handle arguments with
7479 imaginary part less than 1.0 and real part less than 0.5
7481 * math/k_casinhf.c (__kernel_casinhf): Likewise.
7482 * math/k_casinhl.c (__kernel_casinhl): Likewise.
7483 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
7484 (cacos_test): Add more tests.
7485 (casin_test): Likewise.
7486 (casinh_test): Likewise.
7487 * sysdeps/i386/fpu/libm-test-ulps: Update.
7488 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7490 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7492 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
7495 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
7496 (__pow_mp): Replace ONE and MONE with their values.
7497 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
7498 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
7499 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
7500 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
7501 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
7502 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
7504 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
7506 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
7507 (__pow_mp): Replace ZERO and MZERO with their values.
7508 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
7509 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
7510 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
7511 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
7512 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
7513 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
7516 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
7518 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
7520 2013-03-28 Roland McGrath <roland@hack.frob.com>
7522 * include/stdlib.h [!SHARED] (__call_tls_dtors):
7523 Declare with __attribute__ ((weak)).
7524 * stdlib/exit.c (__libc_atexit) [!SHARED]:
7525 Call __call_tls_dtors only if it's not NULL.
7527 2013-03-28 Roland McGrath <roland@hack.frob.com>
7529 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
7530 didn't do it already, then set _dl_phdr and _dl_phnum based on the
7531 magic __ehdr_start linker symbol if it's defined.
7532 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
7533 them up here if it was already done.
7535 * elf/dl-support.c (_dl_phdr): Make pointer to const.
7536 (_dl_aux_init): Use const in cast when setting it.
7537 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
7538 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
7539 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
7541 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
7543 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
7544 * csu/libc-tls.c: Nor here.
7545 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
7547 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
7548 (__libc_message): Never call vsyslog.
7550 2013-03-28 Alan Modra <amodra@gmail.com>
7552 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
7554 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
7557 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7560 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
7562 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7564 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7567 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
7568 Don't add gid passed as argument.
7570 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
7572 2013-03-27 Joseph Myers <joseph@codesourcery.com>
7575 * math/k_casinh.c (__kernel_casinh): Handle arguments with
7576 imaginary part between 1.0 and 1.5 and real part less than 0.5
7578 * math/k_casinhf.c (__kernel_casinhf): Likewise.
7579 * math/k_casinhl.c (__kernel_casinhl): Likewise.
7580 * math/libm-test.inc (cacos_test): Add more tests.
7581 (casin_test): Likewise.
7582 (casinh_test): Likewise.
7583 * sysdeps/i386/fpu/libm-test-ulps: Update.
7584 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7586 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7588 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
7592 (__dbl_mp): Likewise.
7593 (add_magnitudes): Likewise.
7594 (sub_magnitudes): Likewise.
7602 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
7604 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
7605 (__dubcos): Likewise.
7606 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
7607 (__ieee754_acos): Likewise.
7608 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
7609 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
7611 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
7612 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
7614 (my_log2): Likewise.
7615 (checkint): Likewise.
7616 * sysdeps/ieee754/dbl-64/e_remainder.c
7617 (__ieee754_remainder): Likewise.
7618 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
7619 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
7621 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
7623 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
7624 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
7625 MANTISSA_STORE_T to store computations on mantissa. Use
7626 macros for rounding and division.
7628 (__dbl_mp): Likewise.
7629 (add_magnitudes): Likewise.
7630 (sub_magnitudes): Likewise.
7633 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
7634 powers of two in terms of TWOPOW macro.
7635 (mp_no): Make type of mantissa as MANTISSA_T.
7636 [!RADIXI]: Define RADIXI.
7637 [!TWO52]: Define TWO52.
7638 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
7640 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7642 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
7643 llroundl symbol when building for PPC32.
7645 2013-03-24 Mark H Weaver <mhw@netris.org>
7647 * manual/arith.texi (Normalization Functions): Fix prototypes for
7648 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
7650 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7653 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
7654 high value to check if expl overflow.
7655 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
7656 to check for underflow and overflow.
7657 * math/libm-test.inc: Add exp test.
7659 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
7662 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
7665 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7667 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
7670 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
7672 * math/gen-libm-test.pl (parse_args, special_functions): Properly
7673 wrap blocks consisting of several statements.
7675 * sysdeps/generic/math-tests.h: New file.
7676 * sysdeps/i386/fpu/math-tests.h: Likewise.
7677 * math/test-snan.c: Include it.
7678 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
7680 2013-03-21 Joseph Myers <joseph@codesourcery.com>
7683 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
7684 (__ieee754_j0l): Do not improve calculations using cos of twice
7685 input for inputs above LDBL_MAX / 2.0L.
7686 (__ieee754_y0l): Likewise.
7687 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
7688 (__ieee754_j1l): Do not improve calculations using cos of twice
7689 input for inputs above LDBL_MAX / 2.0L.
7690 (__ieee754_y1l): Likewise.
7691 * math/libm-test.inc (j0_test): Add another test.
7692 (j1_test): Likewise.
7693 (y0_test): Likewise.
7694 (y1_test): Likewise.
7695 * sysdeps/i386/fpu/libm-test-ulps: Update.
7697 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7699 * Rules ($(objpfx)bench-%.c): Include code from a C source
7702 2013-03-21 Joseph Myers <joseph@codesourcery.com>
7705 * math/k_casinh.c (__kernel_casinh): Handle arguments with
7706 imaginary part 1.0 and real part less than 0.5 specially.
7707 * math/k_casinhf.c (__kernel_casinhf): Likewise.
7708 * math/k_casinhl.c (__kernel_casinhl): Likewise.
7709 * math/libm-test.inc (cacos_test): Add more tests.
7710 (casin_test): Likewise.
7711 (casinh_test): Likewise.
7712 * sysdeps/i386/fpu/libm-test-ulps: Update.
7713 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7715 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7717 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
7718 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
7720 2013-03-20 Joseph Myers <joseph@codesourcery.com>
7722 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
7723 * config.make.in (config-cflags-sse4): Remove variable.
7724 (config-cflags-avx): Likewise.
7725 (config-cflags-sse2avx): Likewise.
7726 (config-cflags-novzeroupper): Likewise.
7727 (config-asflags-i686): Likewise.
7728 (have-mfma4): Likewise.
7729 (have-as-vis3): Likewise.
7731 * configure.in (MIG): Do not AC_SUBST.
7732 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
7733 (libc_cv_cc_sse4): Do not AC_SUBST.
7734 (libc_cv_cc_avx): Likewise.
7735 (libc_cv_cc_sse2avx): Likewise.
7736 (libc_cv_cc_novzeroupper): Likewise.
7737 (libc_cv_cc_fma4): Likewise.
7738 (libc_cv_as_i686): Likewise.
7739 (libc_cv_sparc_as_vis3): Likewise.
7740 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
7742 (config-asflags-i686): Likewise.
7743 (config-cflags-avx): Likewise.
7744 (config-cflags-sse2avx): Likewise.
7745 (have-mfma4): Likewise.
7746 (config-cflags-novzeroupper): Likewise.
7747 * sysdeps/mach/configure.in (MIG): Likewise.
7748 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
7749 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
7751 (config-cflags-avx): Likewise.
7752 (config-cflags-sse2avx): Likewise.
7753 (have-mfma4): Likewise.
7754 (config-cflags-novzeroupper): Likewise.
7755 * configure: Regenerated.
7756 * sysdeps/i386/configure: Likewise.
7757 * sysdeps/mach/configure: Likewise.
7758 * sysdeps/sparc/configure: Likewise.
7759 * sysdeps/x86_64/configure: Likewise.
7761 2013-03-20 Roland McGrath <roland@hack.frob.com>
7764 * locale/programs/localedef.c (options): Put N_ translation marker
7765 on argument names, not just descriptions.
7767 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
7769 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
7771 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
7774 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
7776 2013-03-19 Roland McGrath <roland@hack.frob.com>
7778 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
7779 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
7780 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
7781 [!BEFORE_ABORT] (before_abort): New function.
7782 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
7783 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
7784 (writev_for_fatal): New function.
7785 (WRITEV_FOR_FATAL): New macro; call that.
7786 (backtrace_and_maps): New function.
7787 (BEFORE_ABORT): New macro; call that.
7788 (struct str_list): Type removed.
7789 (__libc_message, __libc_fatal): Functions removed.
7790 Include <sysdeps/posix/libc_fatal.c> instead.
7792 2013-03-19 Joseph Myers <joseph@codesourcery.com>
7794 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
7796 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
7799 2013-03-19 Andreas Schwab <schwab@suse.de>
7801 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
7802 * sysdeps/gnu/configure: Regenerate.
7804 * configure.in: Substitute libc_cv_rtlddir.
7805 * configure: Regenerate.
7806 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
7807 * Makeconfig (rtlddir, inst_rtlddir): New variables.
7808 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
7809 * elf/Makefile (install-others, CFLAGS-interp.c)
7810 (ldso_install, common-ldd-rewrite): Likewise.
7811 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
7812 $(inst_slibdir)/$(rtld-installed-name).
7813 * scripts/rellns-sh: Add -p option.
7814 * Makerules (make-shlib-link): Use rellns-sh to get relative name
7817 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
7819 * manual/nptl.texi: Renamed to ...
7820 * manual/threads.texi: ... this.
7821 * manual/Makefile (chapters): Update.
7823 2013-03-18 Roland McGrath <roland@hack.frob.com>
7826 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
7827 on argument names, not just descriptions.
7828 * malloc/memusagestat.c (options): Likewise.
7829 * nss/getent.c (options): Likewise.
7831 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
7834 * iconv/iconv_prog.c (options): Put N_ translation marker
7835 on argument names, not just descriptions.
7836 * iconv/iconvconfig.c (options): Likewise.
7838 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
7840 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
7841 implementation which is faster on all x86_64 architectures.
7842 Tested on AMD, Intel Nehalem, SNB, IVB.
7843 * sysdeps/x86_64/strnlen.S: Likewise.
7845 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
7846 Remove all multiarch strlen and strnlen versions.
7847 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
7848 Remove strlen and strnlen related parts.
7850 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
7852 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
7854 * sysdeps/x86_64/multiarch/strlen.S: Remove.
7855 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
7856 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
7857 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
7858 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
7859 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
7861 2013-03-17 Carlos O'Donell <carlos@redhat.com>
7863 * manual/memory.texi (Malloc Tunable Parameters):
7864 Sort parameters alphabetically. Add comments for missing entries.
7866 2013-03-17 David S. Miller <davem@davemloft.net>
7868 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7870 2013-03-16 Joseph Myers <joseph@codesourcery.com>
7873 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
7874 for arguments at most half maximum finite value.
7875 * math/libm-test.inc (j0_test): Add more tests.
7876 (j1_test): Likewise.
7877 (y0_test): Likewise.
7878 (y1_test): Likewise.
7879 * sysdeps/i386/fpu/libm-test-ulps: Update.
7880 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7883 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
7884 1 / x and functions P and Q for arguments above 0x1p256L.
7885 (__ieee754_y0l): Likewise.
7886 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
7887 (__ieee754_y1l): Likewise.
7888 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
7889 (j1_test): Likewise.
7890 (y0_test): Likewise.
7891 (y1_test): Likewise.
7893 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
7895 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
7898 2013-03-15 Roland McGrath <roland@hack.frob.com>
7900 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
7901 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
7902 zero since it's initialized to EXEC_PAGESIZE.
7904 * sysdeps/unix/sysv/linux/ldsodefs.h
7905 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
7906 * sysdeps/generic/ldsodefs.h: ... here.
7908 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
7910 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
7912 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
7914 * math/test-snan.c: Renamed from
7915 sysdeps/powerpc/fpu/test-powerpc-snan.c.
7916 * math/Makefile (tests): Add test-snan.
7917 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
7920 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
7921 SUFFIX. Initialize qNaN_var with __builtin_nan family of
7923 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
7924 __builtin_nan family of functions.
7925 * math/libm-test.inc (initialize): Initialize qnan_value with
7926 __builtin_nan family of functions.
7927 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
7929 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
7931 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
7932 storage class. Initialize qNaN_var and sNaN_var with
7933 __builtin_nan and __builtin_nans families of functions,
7936 * math/libm-test.inc (acosh_test): Also test with qNaN input.
7937 (sqrt_test): Remove duplicate test with qNaN input.
7938 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
7939 (round_test, signbit_test, significand_test): Note missing +/-Inf
7940 as well as qNaN tests.
7942 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
7943 qNaN_var. Fix a few strings, too.
7944 * math/libm-test.inc (nan_value): Rename to qnan_value.
7945 * math/gen-libm-test.pl (%beautify): Adjust to that.
7946 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
7947 * math/test-misc.c (main): Likewise.
7948 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
7949 to __qnan_bytes, and __qnan_union, respectively.
7950 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
7952 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
7953 and lqnanval, respectively.
7954 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
7955 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
7956 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
7957 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
7959 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
7960 * math/test-misc.c (main) [__x86_64__]: Enable test for long
7963 * math/test-misc.c (main): Fix copy'n'pastos.
7964 * misc/tst-efgcvt.c (special): Likewise.
7966 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
7967 Remove declarations.
7969 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7971 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
7972 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
7973 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
7974 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
7976 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7978 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
7979 macro to return vdso values correctly in IFUNC implementations.
7980 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
7981 Optimization by using IFUNC.
7983 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7984 Richard Henderson <rth@redhat.com>
7985 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7987 * Makefile.in (bench): New target.
7988 * NEWS: Mention the benchmark framework.
7989 * Rules (bench): Likewise.
7990 (binaries-bench): Generate binaries for functions to
7992 * benchtests/Makefile: New makefile for benchmark tests.
7993 * benchtests/bench-skeleton.c: New skeleton file for benchmark
7995 * benchtests/exp-inputs: New input file for EXP function.
7996 * benchtests/pow-inputs: New input file for POW function.
7997 * scripts/bench.pl: New script to generate source files for
8000 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8002 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
8003 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
8004 computations on mantissa. Use macros for rounding and
8007 (__dbl_mp): Likewise.
8008 (add_magnitudes): Likewise.
8009 (sub_magnitudes): Likewise.
8012 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
8013 powers of two in terms of TWOPOW macro.
8014 (mp_no): Make type of mantissa as MANTISSA_T.
8015 [!RADIXI]: Define RADIXI.
8016 [!TWO52]: Define TWO52.
8017 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
8019 * manual/nptl.texi (cindex): Modify threads to pthreads.
8021 2013-03-15 Joseph Myers <joseph@codesourcery.com>
8023 * sysdeps/x86_64/preconfigure: Regenerated.
8025 2013-03-14 Joseph Myers <joseph@codesourcery.com>
8028 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
8030 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
8031 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
8033 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
8034 * math/libm-test.inc (j0_test): Do not allow one spurious
8035 underflow exception.
8036 (y1_test): Likewise.
8038 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
8040 * manual/Makefile (chapters): Add nptl.
8041 * manual/debug.texi (Debugging Support): Add link to Threads
8043 * manual/nptl.texi: New file.
8045 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
8047 2013-03-14 Petr Baudis <pasky@ucw.cz>
8049 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
8050 for non-NULL pointer before the memory validity test. Pointed
8051 out by Holger Brunck <holger.brunck@keymile.com>.
8053 2013-03-13 Andreas Schwab <schwab@suse.de>
8055 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
8058 2013-03-13 Joseph Myers <joseph@codesourcery.com>
8060 * timezone/zic.c: Update from tzcode 2013b.
8062 2013-03-12 Carlos O'Donell <carlos@redhat.com>
8064 * manual/install.texi (Configuring and compiling):
8065 Mention i686 and i586.
8066 * INSTALL: Regenerate.
8068 2013-03-12 Roland McGrath <roland@hack.frob.com>
8070 * sysdeps/init_array/elf-init.c: New file.
8072 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
8073 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
8075 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
8076 __gmon_start__ as global, but as static with a .preinit_array pointer.
8077 * sysdeps/init_array/gmon-start.c: New file. Use that.
8078 * sysdeps/init_array/crti.S: New file, empty except for comments.
8079 * sysdeps/init_array/crtn.S: Likewise.
8081 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
8083 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
8085 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8086 Remove Prefer_SSE_for_memop.
8087 * sysdeps/x86_64/multiarch/init-arch.h: Remove
8088 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
8089 HAS_PREFER_SSE_FOR_MEMOP.
8090 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
8092 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8093 Remove bzero, memset ifunc support.
8094 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
8095 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
8096 * sysdeps/x86_64/multiarch/memset.S: Likewise.
8097 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8099 2013-03-11 Andreas Schwab <schwab@suse.de>
8102 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
8104 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
8105 (GLIBC_2.16): Remove pthread_atfork.
8107 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
8109 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
8110 (ptestcases.h): Likewise.
8112 2013-03-08 Roland McGrath <roland@hack.frob.com>
8114 * Makeconfig ($(common-objpfx)config.status): Depend on
8115 sysdeps/*/preconfigure{,.in} too.
8117 2013-03-08 Joseph Myers <joseph@codesourcery.com>
8119 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
8120 (__free_hook): Use void * instead of __malloc_ptr_t.
8121 (__malloc_hook): Likewise.
8122 (__realloc_hook): Likewise.
8123 (__memalign_hook): Likewise.
8124 (__after_morecore_hook): Likewise.
8125 * malloc/arena.c (save_malloc_hook): Likewise.
8126 (save_free_hook): Likewise.
8127 * malloc/hooks.c (malloc_hook_ini): Likewise.
8128 (realloc_hook_ini): Likewise.
8129 (memalign_hook_ini): Likewise.
8130 * malloc/malloc.c (malloc_hook_ini): Likewise.
8131 (realloc_hook_ini): Likewise.
8132 (memalign_hook_ini): Likewise.
8133 (__free_hook): Likewise.
8134 (__malloc_hook): Likewise.
8135 (__realloc_hook): Likewise.
8136 (__memalign_hook): Likewise.
8137 (__libc_malloc): Likewise.
8138 (__libc_free): Likewise.
8139 (__libc_realloc): Likewise.
8140 (__libc_memalign): Likewise.
8141 (__libc_valloc): Likewise.
8142 (__libc_pvalloc): Likewise.
8143 (__libc_calloc): Likewise.
8144 (__posix_memalign): Likewise.
8145 * malloc/morecore.c (__sbrk): Likewise.
8146 (__default_morecore): Likewise.
8148 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
8150 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
8151 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
8154 * malloc/malloc.h (__malloc_size_t): Remove macro.
8155 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
8157 (old_memalign_hook): Likewise.
8158 (old_realloc_hook): Likewise.
8159 (struct hdr): Likewise.
8161 (mallochook): Likewise.
8162 (memalignhook): Likewise.
8163 (reallochook): Likewise.
8164 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
8165 (tr_old_realloc_hook): Likewise.
8166 (tr_old_memalign_hook): Likewise.
8167 (tr_mallochook): Likewise.
8168 (tr_reallochook): Likewise.
8169 (tr_memalignhook): Likewise.
8171 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8173 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
8174 default_ldbl_pack and using as default implementation.
8175 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
8177 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
8178 redundant definition.
8179 (ldbl_insert_mantissa): Likewise.
8180 (ldbl_canonicalize): Likewise.
8181 (ldbl_nearbyint): Likewise.
8182 (ldbl_pack): Rename to ldbl_pack_ppc.
8183 (ldbl_unpack): Rename to ldbl_unpack_ppc.
8184 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
8185 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
8187 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
8189 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
8190 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
8191 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
8192 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
8193 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
8194 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
8195 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
8196 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
8198 2013-03-07 Andreas Jaeger <aj@suse.de>
8200 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8203 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
8205 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
8206 Include mpa.h and declare __MPEXP.
8207 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
8208 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
8209 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
8210 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
8211 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
8212 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
8213 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
8215 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
8216 (__slowpow): Use long double EXPL and LOGL functions to
8218 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
8219 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
8220 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
8221 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
8222 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
8223 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
8225 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
8226 intermediate variable to calculate exponent.
8228 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
8232 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
8233 [!NO__SQR]: Define __sqr.
8234 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
8235 and NO__SQR. Remove all code except __mul and __sqr. Include
8236 sysdeps/ieee754/dbl-64/mpa.c.
8237 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8240 * posix/Makefile (tests): Add tst-pathconf.
8241 * posix/tst-pathconf.c: New test case.
8242 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
8244 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
8246 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
8248 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
8250 2013-03-06 Andreas Jaeger <aj@suse.de>
8252 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
8253 definition via __MAP_ANONYMOUS.
8255 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
8256 it's not part of Linux headers.
8258 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
8259 (MAP_HUGE_MASK): Define.
8261 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
8263 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
8264 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
8266 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
8267 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
8269 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
8270 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
8272 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
8274 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
8275 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
8276 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
8277 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
8278 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
8279 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
8281 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
8284 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
8285 Handle f2fs and efivarfs.
8287 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
8290 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
8291 (EFIVARFS_MAGIC): Add.
8292 (F2FS_LINK_MAX): Add.
8294 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
8296 * stdio-common/vfprintf.c: Replace __builtin_expect with
8299 2013-03-06 Joseph Myers <joseph@codesourcery.com>
8302 * sysdeps/generic/bp-sym.h: Remove file.
8303 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
8304 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
8305 <bp-sym.h> and <bp-asm.h>.
8306 (__longjmp): Don't use BP_SYM.
8307 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
8309 (memcpy): Don't use BP_SYM.
8310 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
8311 <bp-sym.h> and <bp-asm.h>.
8312 (memcpy): Don't use BP_SYM.
8313 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
8315 (memcpy): Don't use BP_SYM.
8316 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
8318 (memset): Don't use BP_SYM.
8319 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
8320 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
8321 (__bzero): Don't use BP_SYM.
8322 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
8323 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
8324 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
8325 <bp-sym.h> and <bp-asm.h>.
8326 (memcmp): Don't use BP_SYM. Remove comment about bounded
8328 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
8329 <bp-sym.h> and <bp-asm.h>.
8330 (memcpy): Don't use BP_SYM.
8331 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
8332 <bp-sym.h> and <bp-asm.h>.
8333 (memset): Don't use BP_SYM.
8334 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
8335 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
8336 (__bzero): Don't use BP_SYM.
8337 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
8338 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
8339 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
8340 <bp-sym.h> and <bp-asm.h>.
8341 (strncmp): Don't use BP_SYM. Remove comment about bounded
8343 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
8344 <bp-sym.h> and <bp-asm.h>.
8345 (memcpy): Don't use BP_SYM.
8346 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
8347 <bp-sym.h> and <bp-asm.h>.
8348 (memset): Don't use BP_SYM.
8349 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
8350 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
8351 (__bzero): Don't use BP_SYM.
8352 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
8353 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
8354 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
8355 <bp-sym.h> and <bp-asm.h>.
8356 (__memchr): Don't use BP_SYM.
8357 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
8358 <bp-sym.h> and <bp-asm.h>.
8359 (memcmp): Don't use BP_SYM. Remove comment about bounded
8361 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
8362 <bp-sym.h> and <bp-asm.h>.
8363 (memcpy): Don't use BP_SYM.
8364 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
8365 <bp-sym.h> and <bp-asm.h>.
8366 (__mempcpy): Don't use BP_SYM.
8367 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
8368 <bp-sym.h> and <bp-asm.h>.
8369 (__memrchr): Don't use BP_SYM.
8370 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
8371 <bp-sym.h> and <bp-asm.h>.
8372 (memset): Don't use BP_SYM.
8373 (__bzero): Likewise.
8374 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
8375 <bp-sym.h> and <bp-asm.h>.
8376 (__rawmemchr): Don't use BP_SYM.
8377 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
8378 <bp-sym.h> and <bp-asm.h>.
8379 (__STRCMP): Don't use BP_SYM.
8380 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
8381 <bp-sym.h> and <bp-asm.h>.
8382 (strchr): Don't use BP_SYM.
8383 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
8384 <bp-sym.h> and <bp-asm.h>.
8385 (__strchrnul): Don't use BP_SYM.
8386 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
8387 <bp-sym.h> and <bp-asm.h>.
8388 (strlen): Don't use BP_SYM.
8389 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
8390 <bp-sym.h> and <bp-asm.h>.
8391 (strncmp): Don't use BP_SYM. Remove comment about bounded
8393 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
8394 <bp-sym.h> and <bp-asm.h>.
8395 (__strnlen): Don't use BP_SYM.
8396 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
8397 <bp-sym.h> and <bp-asm.h>.
8398 (__GI__setjmp): Don't use BP_SYM.
8399 (_setjmp): Likewise.
8400 (__sigsetjmp): Likewise.
8401 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
8402 (L(start_addresses)): Don't use BP_SYM.
8404 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
8406 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
8407 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
8408 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
8409 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
8410 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
8412 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
8413 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
8414 about bounded pointers.
8415 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
8416 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
8417 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
8419 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
8420 about bounded pointers. Remove GKM FIXME comments.
8421 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
8422 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
8424 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
8425 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
8426 Remove GKM FIXME comments.
8427 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
8428 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
8429 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
8431 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
8432 about bounded pointers. Remove GKM FIXME comment.
8433 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
8435 (strncmp): Don't use BP_SYM. Remove comment about bounded
8437 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
8438 <bp-sym.h> and <bp-asm.h>.
8439 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
8440 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
8441 <bp-sym.h> and <bp-asm.h>.
8442 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
8445 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
8447 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
8450 2013-03-05 David S. Miller <davem@davemloft.net>
8452 * po/es.po: Update from translation team.
8454 2013-03-05 Andreas Jaeger <aj@suse.de>
8456 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
8457 <bits/mman-linux.h>.
8458 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
8460 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
8461 <bits/mman-linux.h> to end of file.
8462 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
8464 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
8465 <bits/mman-linux.h> to end of file.
8466 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
8468 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
8469 <bits/mman-linux.h> to end of file.
8471 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
8472 (MCL_CURRENT, MCL_FUTURE): Define here.
8474 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8477 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
8479 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
8481 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8483 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
8484 fourth parameter needed for rt_sigprocmask syscall.
8485 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
8486 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
8487 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
8488 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
8489 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
8490 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
8492 2013-03-04 Joseph Myers <joseph@codesourcery.com>
8495 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
8496 comment about bounded pointers.
8497 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
8498 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
8500 2013-03-04 Andreas Jaeger <aj@suse.de>
8502 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
8505 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
8506 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
8507 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
8508 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
8509 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
8510 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
8512 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8515 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
8516 __ieee754_sqrl instead of __sqrl.
8518 2013-03-01 Joseph Myers <joseph@codesourcery.com>
8520 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
8521 * sysdeps/powerpc/fpu_control.h: ... here.
8522 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
8523 * sysdeps/powerpc/bits/fenvinline.h: ... here.
8524 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
8525 * sysdeps/powerpc/bits/mathinline.h: ... here.
8527 2013-03-01 Roland McGrath <roland@hack.frob.com>
8529 * elf/dl-hwcaps.c (_dl_important_hwcaps):
8530 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
8531 to just [NEED_DL_SYSINFO_DSO].
8532 * elf/dl-support.c: Likewise.
8533 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
8534 * elf/rtld.c (dl_main): Likewise.
8535 * elf/setup-vdso.h (setup_vdso): Likewise.
8536 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
8537 * sysdeps/unix/sysv/linux/dl-sysdep.c
8538 (_dl_discover_osversion): Likewise.
8540 2013-03-01 Carlos O'Donell <carlos@redhat.com>
8542 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
8543 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
8545 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
8547 * NEWS: Mention libm performance improvements and non-x86 PI
8550 * csu/libc-start.c (__pthread_initialize_minimal): Change
8552 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
8554 2013-02-28 Joseph Myers <joseph@codesourcery.com>
8557 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
8558 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
8559 <bp-sym.h> and <bp-asm.h>.
8560 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
8561 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
8563 (memcpy): Don't use BP_SYM.
8564 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
8566 (__mpn_add_n): Don't use BP_SYM.
8567 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
8568 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
8570 (__mpn_addmul_1): Don't use BP_SYM.
8571 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8572 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
8574 (_setjmp): Don't use BP_SYM.
8575 (__novmx_setjmp): Likewise.
8576 (__GI__setjmp): Likewise.
8577 (__vmx_setjmp): Likewise.
8578 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
8580 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
8581 (__bzero): Don't use BP_SYM.
8582 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
8583 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
8584 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
8585 <bp-sym.h> and <bp-asm.h>.
8586 (memcpy): Don't use BP_SYM.
8587 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
8588 <bp-sym.h> and <bp-asm.h>.
8589 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
8590 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
8591 <bp-sym.h> and <bp-asm.h>.
8592 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
8593 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
8595 (__mpn_lshift): Don't use BP_SYM.
8596 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8597 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
8599 (memset): Don't use BP_SYM.
8600 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
8601 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
8602 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
8604 (__mpn_mul_1): Don't use BP_SYM.
8605 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8606 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
8607 <bp-sym.h> and <bp-asm.h>.
8608 (memcmp): Don't use BP_SYM.
8609 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
8610 <bp-sym.h> and <bp-asm.h>.
8611 (memcpy): Don't use BP_SYM.
8612 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
8613 <bp-sym.h> and <bp-asm.h>.
8614 (memset): Don't use BP_SYM.
8615 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
8616 <bp-sym.h> and <bp-asm.h>.
8617 (strncmp): Don't use BP_SYM.
8618 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
8619 <bp-sym.h> and <bp-asm.h>.
8620 (memcpy): Don't use BP_SYM.
8621 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
8622 <bp-sym.h> and <bp-asm.h>.
8623 (memset): Don't use BP_SYM.
8624 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
8625 <bp-sym.h> and <bp-asm.h>.
8626 (__memchr): Don't use BP_SYM.
8627 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
8628 <bp-sym.h> and <bp-asm.h>.
8629 (memcmp): Don't use BP_SYM.
8630 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
8631 <bp-sym.h> and <bp-asm.h>.
8632 (memcpy): Don't use BP_SYM.
8633 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
8634 <bp-sym.h> and <bp-asm.h>.
8635 (__mempcpy): Don't use BP_SYM.
8636 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
8637 <bp-sym.h> and <bp-asm.h>.
8638 (__memrchr): Don't use BP_SYM.
8639 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
8640 <bp-sym.h> and <bp-asm.h>.
8641 (memset): Don't use BP_SYM.
8642 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
8643 <bp-sym.h> and <bp-asm.h>.
8644 (__rawmemchr): Don't use BP_SYM.
8645 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
8646 <bp-sym.h> and <bp-asm.h>.
8647 (__STRCMP): Don't use BP_SYM.
8648 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
8649 <bp-sym.h> and <bp-asm.h>.
8650 (strchr): Don't use BP_SYM.
8651 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
8652 <bp-sym.h> and <bp-asm.h>.
8653 (__strchrnul): Don't use BP_SYM.
8654 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
8655 <bp-sym.h> and <bp-asm.h>.
8656 (strlen): Don't use BP_SYM.
8657 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
8658 <bp-sym.h> and <bp-asm.h>.
8659 (strncmp): Don't use BP_SYM.
8660 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
8661 <bp-sym.h> and <bp-asm.h>.
8662 (__strnlen): Don't use BP_SYM.
8663 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
8665 (__mpn_rshift): Don't use BP_SYM.
8666 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8667 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
8668 <bp-sym.h> and <bp-asm.h>.
8669 (__sigsetjmp): Don't use BP_SYM.
8670 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
8671 (L(start_addresses)): Don't use BP_SYM.
8673 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
8675 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
8676 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
8677 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
8678 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
8680 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
8681 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
8682 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
8683 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
8685 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
8687 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
8688 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
8690 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
8692 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
8693 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
8694 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
8696 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
8698 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
8700 (strncmp): Don't use BP_SYM,
8701 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
8703 (__mpn_sub_n): Don't use BP_SYM.
8704 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8705 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
8707 (__mpn_submul_1): Don't use BP_SYM.
8708 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8709 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
8710 <bp-sym.h> and <bp-asm.h>.
8711 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
8712 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
8713 <bp-sym.h> and <bp-asm.h>.
8714 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
8717 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8719 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
8720 Use ZK to minimize writes to Z.
8721 (sub_magnitudes): Simplify code a bit.
8722 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
8723 Use ZK to minimize writes to Z.
8724 (sub_magnitudes): Simplify code a bit.
8726 2013-02-27 Roland McGrath <roland@hack.frob.com>
8728 * csu/gmon-start.c: Add special exception to license text.
8730 2013-02-27 Richard Henderson <rth@redhat.com>
8732 * scripts/config.guess: Update from config.git.
8733 * scripts/config.sub: Likewise.
8735 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8737 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
8739 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
8741 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
8743 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
8745 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
8747 2013-02-26 Roland McGrath <roland@hack.frob.com>
8749 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
8750 [$(build-shared = yes].
8752 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8754 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
8755 (__mul): Reduce iterations for calculating mantissa.
8757 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
8759 (__mpranred): Likewise.
8762 * malloc/memusagestat.c (main): Draw graphs for heap and stack
8763 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
8765 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
8767 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
8768 Define __attribute__.
8770 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8772 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
8774 * posix/regex_internal.h (__attribute): Remove.
8775 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
8776 (re_string_context_at): Likewise.
8777 (bitset_not): Use __attribute__ and mark function as possibly
8779 (bitset_merge): Likewise.
8780 (bitset_mask): Likewise.
8781 (re_string_char_size_at): Likewise.
8782 (re_string_wchar_at): Likewise.
8783 (re_string_elem_size_at): Likewise.
8785 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8787 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
8791 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
8796 (__dbl_mp): Likewise.
8797 (add_magnitudes): Likewise.
8798 (sub_magnitudes): Likewise.
8802 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
8805 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
8808 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
8811 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
8812 up changes with default code.
8813 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
8816 2013-02-24 Allan McRae <allan@archlinux.org>
8818 * manual/socket.texi (The Internet Namespace): Order menu items
8819 to match that in the file.
8821 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
8822 node listing of the info page menu.
8824 2013-02-21 Joseph Myers <joseph@codesourcery.com>
8827 * sysdeps/i386/bp-asm.h: Remove file.
8828 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
8829 (PARMS): Do not use macros from bp-asm.h.
8833 (__mpn_add_n): Do not use BP_SYM
8834 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
8836 (PARMS): Do not use macros from bp-asm.h.
8839 (__mpn_addmul_1): Do not use BP_SYM
8840 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
8842 (PARMS): Do not use macros from bp-asm.h.
8844 (_setjmp): Likewise. Do not use BP_SYM.
8845 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
8847 (PARMS): Do not use macros from bp-asm.h.
8849 (setjmp): Likewise. Do not use BP_SYM.
8850 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
8852 (PARMS): Do not use macros from bp-asm.h.
8853 (__frexp): Do not use BP_SYM.
8855 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
8857 (PARMS): Do not use macros from bp-asm.h.
8858 (__frexpf): Do not use BP_SYM.
8860 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
8862 (PARMS): Do not use macros from bp-asm.h.
8863 (__frexpl): Do not use BP_SYM.
8865 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
8867 (PARMS): Do not use macros from bp-asm.h.
8868 (__remquo): Do not use BP_SYM.
8870 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
8872 (PARMS): Do not use macros from bp-asm.h.
8873 (__remquof): Do not use BP_SYM.
8874 (remquof): Likewise.
8875 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
8877 (PARMS): Do not use macros from bp-asm.h.
8878 (__remquol): Do not use BP_SYM.
8879 (remquol): Likewise.
8880 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
8882 (PARMS): Do not use macros from bp-asm.h.
8885 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
8886 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
8888 (PARMS): Do not use macros from bp-asm.h.
8889 (strlen): Do not use BP_SYM.
8890 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
8892 (PARMS): Do not use macros from bp-asm.h.
8896 (__mpn_add_n): Do not use BP_SYM.
8897 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
8899 (PARMS): Do not use macros from bp-asm.h.
8902 (__mpn_addmul_1): Do not use BP_SYM.
8903 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
8906 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
8908 (PARMS): Do not use macros from bp-asm.h.
8911 (__mpn_lshift): Do not use BP_SYM.
8912 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
8914 (PARMS): Do not use macros from bp-asm.h.
8918 (memcpy): Likewise. Do not use BP_SYM.
8919 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
8920 libc_hidden_def and weak_alias.
8921 (mempcpy): Do not use BP_SYM in weak_alias.
8922 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
8924 (PARMS): Do not use macros from bp-asm.h.
8927 [!BZERO_P] (CHR): Likewise.
8928 (memset): Likewise. Do not use BP_SYM.
8929 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
8931 (PARMS): Do not use macros from bp-asm.h.
8934 (__mpn_mul_1): Do not use BP_SYM.
8935 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
8937 (PARMS): Do not use macros from bp-asm.h.
8940 (__mpn_rshift): Do not use BP_SYM.
8941 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
8943 (PARMS): Do not use macros from bp-asm.h.
8946 (strchr): Likewise. Do not use BP_SYM.
8947 (index): Do not use BP_SYM in weak_alias.
8948 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
8950 (PARMS): Do not use macros from bp-asm.h.
8953 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
8954 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
8956 (PARMS): Do not use macros from bp-asm.h.
8957 (strlen): Do not use BP_SYM.
8958 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
8960 (PARMS): Do not use macros from bp-asm.h.
8964 (__mpn_sub_n): Do not use BP_SYM.
8965 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
8967 (PARMS): Do not use macros from bp-asm.h.
8970 (__mpn_submul_1): Do not use BP_SYM.
8971 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
8973 (PARMS): Do not use macros from bp-asm.h.
8977 (__mpn_add_n): Do not use BP_SYM.
8978 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
8981 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
8983 (PARMS): Do not use macros from bp-asm.h.
8986 (memcmp): Do not use BP_SYM.
8987 (bcmp): Do not use BP_SYM in weak_alias.
8988 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
8990 (PARMS): Do not use macros from bp-asm.h.
8994 (memcpy): Likewise. Do not use BP_SYM.
8995 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
8997 (PARMS): Do not use macros from bp-asm.h.
9001 (memmove): Likewise. Do not use BP_SYM.
9002 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
9004 (PARMS): Do not use macros from bp-asm.h.
9008 (__mempcpy): Likewise. Do not use BP_SYM.
9009 (mempcpy): Do not use BP_SYM in weak_alias.
9010 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
9012 (PARMS): Do not use macros from bp-asm.h.
9015 [!BZERO_P] (CHR): Likewise.
9016 (memset): Likewise. Do not use BP_SYM.
9017 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
9019 (PARMS): Do not use macros from bp-asm.h.
9021 (strcmp): Do not use BP_SYM.
9022 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
9024 (PARMS): Do not use macros from bp-asm.h.
9027 [USE_AS_STRTOK_R] (SAVE): Likewise.
9028 (FUNCTION): Likewise. Do not use BP_SYM.
9029 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
9031 (strtok_r): Likewise.
9032 (__GI___strtok_r): Likewise.
9033 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
9034 (PARMS): Do not use macros from bp-asm.h.
9037 (__mpn_lshift): Do not use BP_SYM.
9038 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
9039 (PARMS): Do not use macros from bp-asm.h.
9042 (__memchr): Do not use BP_SYM.
9043 (memchr): Do not use BP_SYM in weak_alias.
9044 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
9045 (PARMS): Do not use macros from bp-asm.h.
9048 (memcmp): Do not use BP_SYM.
9049 (bcmp): Do not use BP_SYM in weak_alias.
9050 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
9051 (PARMS): Do not use macros from bp-asm.h.
9054 (__mpn_mul_1): Do not use BP_SYM.
9055 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
9057 (PARMS): Do not use macros from bp-asm.h.
9060 (__rawmemchr): Do not use BP_SYM.
9061 (rawmemchr): Do not use BP_SYM in weak_alias.
9062 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
9063 (PARMS): Do not use macros from bp-asm.h.
9066 (__mpn_rshift): Do not use BP_SYM.
9067 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
9068 (PARMS): Do not use macros from bp-asm.h.
9070 (__sigsetjmp): Likewise. Do not use BP_SYM.
9071 * sysdeps/i386/start.S: Do not include "bp-sym.h".
9072 (_start): Do not use BP_SYM.
9073 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
9074 (PARMS): Do not use macros from bp-asm.h.
9077 (__stpcpy): Likewise. Do not use BP_SYM.
9078 (stpcpy): Do not use BP_SYM in weak_alias.
9079 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
9081 (PARMS): Do not use macros from bp-asm.h.
9085 (__stpncpy): Likewise. Do not use BP_SYM.
9086 (stpncpy): Do not use BP_SYM in weak_alias.
9087 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
9088 (PARMS): Do not use macros from bp-asm.h.
9091 (strchr): Likewise. Do not use BP_SYM.
9092 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
9094 (PARMS): Do not use macros from bp-asm.h.
9097 (__strchrnul): Likewise. Do not use BP_SYM.
9098 (strchrnul): Do not use BP_SYM in weak_alias.
9099 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
9101 (PARMS): Do not use macros from bp-asm.h.
9103 (strcspn): Do not use BP_SYM.
9104 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
9106 (PARMS): Do not use macros from bp-asm.h.
9109 (strpbrk): Likewise. Do not use BP_SYM.
9110 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
9112 (PARMS): Do not use macros from bp-asm.h.
9115 (strrchr): Likewise. Do not use BP_SYM.
9116 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
9117 (PARMS): Do not use macros from bp-asm.h.
9119 (strspn): Do not use BP_SYM.
9120 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
9121 (PARMS): Do not use macros from bp-asm.h.
9125 (FUNCTION): Likewise. Do not use BP_SYM.
9126 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
9128 (strtok_r): Likewise.
9129 (__GI___strtok_r): Likewise.
9130 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
9131 (PARMS): Do not use macros from bp-asm.h.
9135 (__mpn_sub_n): Do not use BP_SYM.
9136 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
9138 (PARMS): Do not use macros from bp-asm.h.
9141 (__mpn_submul_1): Do not use BP_SYM.
9142 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
9144 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
9146 (PARMS): Do not use macros from bp-asm.h.
9151 (__clone): Do not use BP_SYM.
9152 (clone): Do not use BP_SYM in weak_alias.
9153 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
9155 (PARMS): Do not use macros from bp-asm.h.
9157 (__mmap64): Do not use BP_SYM.
9158 (mmap64): Do not use BP_SYM in weak_alias.
9159 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
9160 <bp-sym.h> and <bp-asm.h>.
9161 (PARMS): Do not use macros from bp-asm.h.
9162 (__posix_fadvise64_l64): Do not use BP_SYM.
9163 * sysdeps/unix/sysv/linux/i386/semtimedop.S
9164 (PARMS): Do not use macros from bp-asm.h.
9166 (semtimedop): Do not use BP_SYM.
9167 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
9170 2013-02-21 Allan McRae <allan@archlinux.org>
9172 * manual/message.texi (Charset conversion in gettext):
9173 Move @end statement to beginning of line.
9175 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
9177 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
9179 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
9182 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
9184 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
9185 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
9187 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9189 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
9190 tail-call to the resolved function if pltexit isn't needed.
9192 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
9194 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
9195 or Y being zero as being unlikely.
9196 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
9199 2013-02-20 Carlos O'Donell <carlos@redhat.com>
9201 * manual/nss.texi (System Databases and Name Service Switch):
9202 Remove frobnicate @pxref.
9204 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
9206 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
9207 __attribute__ ((unused)) to __attribute__ ((__unused__)).
9209 2013-02-20 Petr Machata <pmachata@redhat.com>
9211 * elf/elf.h (R_ARM_TARGET1): New macro.
9212 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
9213 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
9214 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
9215 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
9216 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
9217 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
9218 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
9219 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
9220 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
9221 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
9222 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
9223 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
9224 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
9225 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
9226 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
9227 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
9228 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
9229 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
9230 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
9231 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
9232 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
9233 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
9234 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
9235 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
9236 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
9237 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
9238 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
9239 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
9240 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
9241 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
9242 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
9243 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
9244 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
9245 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
9246 (R_ARM_THM_GOT_BREL12): Likewise.
9247 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
9248 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
9249 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
9250 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
9251 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
9252 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
9253 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
9254 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
9255 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
9257 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
9259 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
9260 __attribute_used__ to __attribute__ ((unused)).
9262 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
9264 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
9266 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
9268 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
9270 2013-02-19 Joseph Myers <joseph@codesourcery.com>
9273 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
9275 (ENTER): Remove both macro definitions.
9277 (CHECK_BOUNDS_LOW): Likewise.
9278 (CHECK_BOUNDS_HIGH): Likewise.
9279 (CHECK_BOUNDS_BOTH): Likewise.
9280 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
9281 (RETURN_BOUNDED_POINTER): Likewise.
9282 (RETURN_NULL_BOUNDED_POINTER): Likewise.
9283 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
9284 (POP_ERRNO_LOCATION_RETURN): Likewise.
9285 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
9286 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9287 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
9289 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9290 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
9291 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
9292 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
9293 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
9294 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
9295 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
9296 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
9297 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
9298 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
9299 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
9300 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
9301 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9302 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
9304 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9305 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
9307 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9308 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
9309 * sysdeps/i386/i586/memset.S (memset): Likewise.
9310 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
9311 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9312 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
9314 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9315 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
9316 Change uses of L(2) to L(out).
9317 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
9318 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
9319 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
9320 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9321 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
9323 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9324 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
9326 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9327 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
9328 (RETURN): Do not use macro LEAVE.
9329 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
9330 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
9331 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
9332 * sysdeps/i386/i686/memset.S (memset): Likewise.
9333 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
9334 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
9335 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
9336 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
9338 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
9339 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
9340 L(1_2) and L(1_3) into L(1).
9341 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
9342 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
9343 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9344 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
9345 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
9346 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
9347 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
9348 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9349 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
9351 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
9352 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9353 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
9354 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
9355 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
9356 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
9357 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
9358 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
9359 * sysdeps/i386/strcspn.S (strcspn): Likewise.
9360 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
9361 * sysdeps/i386/strrchr.S (strrchr): Likewise.
9362 * sysdeps/i386/strspn.S (strspn): Likewise.
9363 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
9365 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
9366 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
9367 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
9368 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
9370 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
9371 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9372 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
9374 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9376 2013-02-19 Jakub Jelinek <jakub@redhat.com>
9378 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
9381 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
9383 * math/atest-exp.c (exp_mpn): Remove ROUND.
9384 * math/atest-exp2.c (exp_mpn): Likewise.
9385 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
9387 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
9388 * stdlib/tst-tls-atexit-lib.c: Likewise.
9389 * stdlib/tst-tls-atexit.c: Likewise.
9391 2013-02-18 Mike Frysinger <vapier@gentoo.org>
9393 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
9394 and __attribute_alloc_size__.
9396 2013-02-18 Mike Frysinger <vapier@gentoo.org>
9398 * include/programs/xmalloc.h: Change __attribute_alloc_size to
9399 __attribute_alloc_size__.
9400 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
9401 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
9403 2013-02-18 Mike Frysinger <vapier@gentoo.org>
9405 * include/programs/xmalloc.h: New file.
9406 * catgets/gencat.c: Include it.
9407 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
9408 * elf/pldd.c: Likewise.
9409 * iconv/iconv_charmap.c: Likewise.
9410 * iconv/iconvconfig.c: Likewise.
9411 * iconv/strtab.c: Likewise.
9412 * locale/programs/locale.c: Likewise.
9413 * locale/programs/localedef.h: Likewise.
9414 * locale/programs/simple-hash.c: Likewise.
9415 * nscd/nscd.h: Likewise.
9416 * nss/makedb.c: Likewise.
9417 * sysdeps/generic/ldconfig.h: Likewise.
9419 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
9421 * Versions.def: Add GLIBC_2.18.
9422 * include/link.h (struct link_map): New member l_tls_dtor_count.
9423 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
9424 (__call_tls_dtors): Likewise.
9425 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
9426 __cxa_thread_atexit_impl.
9427 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9429 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
9431 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
9433 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
9435 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
9436 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
9438 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
9440 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
9441 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
9443 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
9444 (tests): Add test case tst-tls-atexit.
9445 (modules-names): Add shared library for tst-tls-atexit.
9446 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
9447 (GLIBC_PRIVATE): Add __call_tls_dtors.
9448 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
9450 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
9451 * stdlib/tst-tls-atexit.c: New test case.
9452 * stdlib/tst-tls-atexit-lib.c: New test case.
9454 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
9456 * elf/Versions (ld): Add _dl_find_dso_for_object.
9457 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
9458 * elf/dl-open.c (_dl_find_dso_for_object): New function.
9459 (dl_open_worker): Use _dl_find_dso_for_object.
9460 * elf/dl-sym.c (do_sym): Likewise.
9461 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
9463 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9465 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
9466 Syntactic changes only.
9467 (_dl_runtime_profile): Do a tail-call to the resolved function.
9469 2013-02-17 Joseph Myers <joseph@codesourcery.com>
9472 * sysdeps/x86_64/bp-asm.h: Remove file.
9473 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
9474 <bp-sym.h> and <bp-asm.h>.
9475 (__clone): Do not use BP_SYM.
9476 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
9477 <bp-sym.h> and <bp-asm.h>.
9478 * sysdeps/unix/x86_64/sysdep.S: Likewise.
9479 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
9481 (_setjmp): Do not use BP_SYM.
9482 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
9484 (setjmp): Do not use BP_SYM.
9485 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
9487 (mempcpy): Do not use BP_SYM in weak_alias.
9488 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
9490 (strchr): Do not use BP_SYM.
9491 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
9493 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
9494 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
9495 (_start): Do not use BP_SYM.
9496 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
9498 (strcat): Do not use BP_SYM.
9499 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
9501 (STRCMP): Do not use BP_SYM.
9502 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
9504 (STRCPY): Do not use BP_SYM.
9505 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
9507 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
9509 (FUNCTION): Do not use BP_SYM.
9510 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
9512 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
9514 2013-02-17 Andreas Jaeger <aj@suse.de>
9516 * time/Versions: Sort entries.
9517 * string/Versions: Likewise.
9518 * resolv/Versions: Likewise.
9519 * posix/Versions: Likewise.
9520 * iconv/Versions: Likewise.
9521 * elf/Versions: Likewise.
9522 * wcsmbs/Versions: Likewise.
9524 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
9526 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
9527 loop termination condition.
9529 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
9530 variable to calculate EZ.
9533 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
9534 the lower precision input.
9536 2013-02-15 Joseph Myers <joseph@codesourcery.com>
9539 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
9540 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
9541 (run-via-rtld-prefix): Do not handle %-bp tests.
9542 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
9543 (all-object-suffixes): Remove .ob.
9544 (bppfx): Remove variable.
9545 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
9546 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
9547 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
9548 [$(build-bounded) = yes] (libtype.ob): Likewise.
9549 * Makerules (elide-routines.ob): Remove variable.
9550 (do-tests-clean): Do not handle *-bp.out.
9551 (common-mostlyclean): Do not handle *-bp and *-bp.out.
9552 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
9553 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
9554 (tests): Do not include $(tests-bp.out).
9555 (xtests): Do not include $(xtests-bp.out).
9556 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
9557 [$(build-bounded) = yes] ($(addprefix
9558 $(objpfx),$(binaries-bounded))): Remove rule.
9559 ($(objpfx)%-bp.out): Remove rule.
9560 * config.make.in (build-bounded): Remove variable.
9561 * crypt/Makefile [$(build-bounded) = yes]
9562 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
9563 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
9565 [$(build-bounded) = yes] (install-lib): Likewise.
9566 [$(build-bounded) = yes] (generated): Likewise.
9567 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
9569 * intl/Makefile [$(build-bounded) = yes]
9570 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
9571 * math/Makefile [$(build-bounded) = yes]
9572 ($(tests:%=$(objpfx)%-bp): Likewise.
9573 * misc/Makefile [$(build-bounded) = yes]
9574 ($(objpfx)tst-tsearch-bp): Likewise.
9575 * nptl/Makeconfig (bounded-thread-library): Remove variable.
9576 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
9578 * string/Makefile (o-objects.ob): Remove variable.
9579 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
9580 (CFLAGS-.ob): Remove variable.
9581 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
9582 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
9583 both definitions of variable.
9584 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
9585 (ASFLAGS-.ob): Remove variable.
9587 2013-02-14 Joseph Myers <joseph@codesourcery.com>
9590 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
9591 Remove __BOUNDED_POINTERS__ from condition.
9592 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
9593 * string/bits/string2.h [!__NO_STRING_INLINES &&
9594 !__BOUNDED_POINTERS__]: Likewise.
9595 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
9597 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
9598 Remove conditional code.
9599 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
9600 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
9601 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
9605 * csu/libc-start.c: Do not include <bp-sym.h>.
9606 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
9607 * elf/dl-open.c: Do not include <bp-sym.h>.
9608 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
9609 * math/fegetenv.c: Do not include <bp-sym.h>.
9610 (fegetenv): Do not use BP_SYM in versioned symbols.
9611 * nptl/sysdeps/pthread/bits/libc-lockP.h
9612 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
9614 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9615 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
9616 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9617 (__pthread_mutex_destroy): Likewise.
9618 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9619 (__pthread_mutex_lock): Likewise.
9620 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9621 (__pthread_mutex_trylock): Likewise.
9622 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9623 (__pthread_mutex_unlock): Likewise.
9624 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9625 (__pthread_mutexattr_init): Likewise.
9626 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9627 (__pthread_mutexattr_destroy): Likewise.
9628 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9629 (__pthread_mutexattr_settype): Likewise.
9630 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9631 (__pthread_rwlock_init): Likewise.
9632 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9633 (__pthread_rwlock_destroy): Likewise.
9634 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9635 (__pthread_rwlock_rdlock): Likewise.
9636 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9637 (__pthread_rwlock_tryrdlock): Likewise.
9638 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9639 (__pthread_rwlock_wrlock): Likewise.
9640 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9641 (__pthread_rwlock_trywrlock): Likewise.
9642 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9643 (__pthread_rwlock_unlock): Likewise.
9644 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9645 (__pthread_key_create): Likewise.
9646 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9647 (__pthread_setspecific): Likewise.
9648 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9649 (__pthread_getspecific): Likewise.
9650 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
9652 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9653 (_pthread_cleanup_push_defer): Likewise.
9654 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9655 (_pthread_cleanup_pop_restore): Likewise.
9656 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9657 (pthread_setcancelstate): Likewise.
9658 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
9660 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
9661 (memchr): Do not use BP_SYM in weak_alias.
9662 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
9663 (fegetenv): Do not use BP_SYM in versioned symbols.
9664 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
9665 (fesetenv): Do not use BP_SYM in versioned symbols.
9666 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
9667 (feupdateenv): Do not use BP_SYM in versioned symbols.
9668 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
9669 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
9670 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
9671 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
9672 (open64): Do not use BP_SYM in weak_alias.
9673 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
9674 (fegetenv): Do not use BP_SYM in versioned symbols.
9675 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
9676 (fesetenv): Do not use BP_SYM in versioned symbols.
9677 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
9678 (feupdateenv): Do not use BP_SYM in versioned symbols.
9679 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
9680 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
9681 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
9682 (feraiseexcept): Do not use BP_SYM in versioned symbols.
9683 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
9684 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
9685 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
9687 (__libc_start_main): Do not use BP_SYM.
9689 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
9691 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
9692 redundant return line.
9696 (sub_magnitudes): Likewise.
9702 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
9706 (sub_magnitudes): Likewise.
9713 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
9715 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
9716 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
9719 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
9720 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
9721 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
9722 of __mul for squares.
9723 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
9725 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
9727 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
9728 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
9730 2013-02-13 Joseph Myers <joseph@codesourcery.com>
9733 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
9735 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
9736 prototype or function definition. Rename ubp_* variables and
9737 parameters. Remove argv definitions conditional on
9738 [__BOUNDED_POINTERS__].
9739 * debug/backtrace.c (__backtrace): Do not use __unbounded.
9740 * elf/dl-runtime.c (_dl_fixup): Likewise.
9741 * include/set-hooks.h (RUN_HOOK): Likewise.
9742 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
9744 * string/strcpy.c (strcpy): Do not use __unbounded.
9745 * sysdeps/generic/frame.h (struct layout): Likewise.
9746 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
9747 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
9748 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
9749 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
9750 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
9751 (__backtrace): Likewise.
9752 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
9754 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
9755 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
9756 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
9758 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
9759 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
9760 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
9761 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
9762 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
9763 Do not use __unbounded.
9764 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
9765 Rename __unboundedrlimits parameter to rlimits in prototype.
9766 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
9767 Do not use __unbounded.
9768 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
9770 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
9771 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
9772 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
9773 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
9774 __ptrvalue or __unbounded.
9775 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
9776 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
9778 (__new_msgctl): Do not use __ptrvalue.
9779 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
9781 (__libc_msgrcv): Do not use __ptrvalue.
9782 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
9783 startup_info): Do not use __unbounded.
9784 (__libc_start_main): Likewise. Rename ubp_* variables and
9785 parameters. Remove argv definitions conditional on
9786 [__BOUNDED_POINTERS__].
9787 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
9789 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
9791 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
9793 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
9795 (__new_shmctl): Do not use __ptrvalue.
9796 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
9797 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
9799 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
9800 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
9801 (__libc_sigaction): Likewise.
9802 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
9803 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
9805 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
9807 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
9809 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
9811 * string/mempcpy.c: Implement by calling memcpy.
9813 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
9815 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
9817 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
9820 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
9821 values in the mantissa.
9823 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
9824 minimize writes to Z.
9825 (sub_magnitudes): Simplify code a bit.
9827 2013-02-12 Roland McGrath <roland@hack.frob.com>
9829 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
9830 from the message. The linker prefixes all warnings with that already.
9832 2013-02-12 Andreas Schwab <schwab@suse.de>
9835 * posix/regexec.c (extend_buffers): Add parameter min_len.
9836 (check_matching): Pass minimum needed length.
9837 (clean_state_log_if_needed): Likewise.
9838 (get_subexp): Likewise.
9839 * posix/Makefile (tests): Add bug-regex34.
9840 (bug-regex34-ENV): Define.
9841 * posix/bug-regex34.c: New file.
9844 * posix/regcomp.c (parse_bracket_exp): When looking up collating
9845 elements compare against the byte sequence of it, not its name.
9846 * posix/Makefile (tests): Add bug-regex35.
9847 (bug-regex35-ENV): Define.
9848 * posix/bug-regex35.c: New file.
9850 2013-02-11 Tom de Vries <tom@codesourcery.com>
9852 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
9854 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
9855 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
9856 (CHECK_EOL): Add undef.
9858 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
9860 * bits/stdlib-bsearch.h: New file.
9861 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
9862 * stdlib/stdlib.h: Likewise.
9864 2013-02-11 Roland McGrath <roland@hack.frob.com>
9866 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
9867 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
9869 * manual/search.texi (Array Search Function): Add missing const in
9871 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
9872 declaration to use rlim_t.
9873 (Basic Scheduling Functions): Remove erroneous const from
9874 sched_getparam prototype. Remove erroneous * from
9875 sched_get_priority_max and sched_get_priority_min prototypes.
9876 (Resource Usage): Fix summary @comment on vtimes to refer to
9877 sys/vtimes.h rather than vtimes.h.
9878 Add missing *s in vtimes prototype.
9879 (Limits on Resources): Fix ulimit prototype to return long int.
9880 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
9881 prototypes to use long int rather than double.
9882 (BSD Random): Fix initstate and setstate to use char *, not void *.
9883 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
9884 prototype to make second argument 'struct aiocb64 *const[]'.
9885 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
9886 (Status of AIO Operations): Remove erroneous const in aio_return and
9887 aio_return64 prototypes.
9888 (Synchronizing I/O): Fix sync prototype to return void.
9889 * manual/startup.texi (Suboptions): Remove an erroneous const in
9890 getsubopt prototype.
9891 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
9892 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
9893 use size_t rather than int.
9894 (Scanning All Users): Likewise for getpwent_r.
9895 (Setting Groups): Add missing const to setgroups prototype.
9896 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
9897 * manual/socket.texi (Host Names): Fix gethostbyaddr and
9898 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
9899 'const void *' rather than 'const char *'.
9900 (Host Address Functions): Likewise for inet_ntop.
9901 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
9902 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
9903 ssize_t for return value.
9904 (Sending Data): Likewise for send, sendto, sendmsg.
9905 (Socket Option Functions): Add a missing const in setsockopt prototype.
9906 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
9907 use wchar_t for the argument.
9908 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
9909 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
9911 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
9912 double/float/long double for second argument.
9913 Fix return types of significand, significandf, significandl.
9914 * manual/filesys.texi (Setting Permissions): Use mode_t for second
9915 argument in fchmod prototype.
9916 (File Owner): Use uid_t and gid_t in fchown prototype.
9917 (File Times): Add const to utimes, futimes, and lutimes prototypes.
9918 (Making Special Files): Use mode_t and dev_t in mknod prototype.
9919 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
9920 use 'const struct dirent **' as argument types to CMP function pointer
9922 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
9923 (File Times): Fix summary magic @comment for struct utimbuf and utime
9924 to refer to utime.h, not time.h.
9925 * manual/string.texi (Argz Functions): Add missing const in
9926 argz_extract and argz_next prototypes.
9927 (Finding Tokens in a String): Likewise for basename.
9928 (String/Array Comparison): Fix typo in wcscasecmp prototype.
9929 (Copying and Concatenation): Fix typo in wmemmove prototype.
9930 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
9931 (Signal Stack): Remove erroneous const in sigstack prototype.
9932 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
9934 (Simple Calendar Time): Likewise for stime.
9935 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
9937 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
9938 say sys/sysctl.h instead.
9939 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
9940 and vsyslog prototypes.
9942 2013-02-11 Tom de Vries <tom@codesourcery.com>
9944 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
9947 2013-02-11 Roland McGrath <roland@hack.frob.com>
9949 * misc/sys/mman.h: Fix typo in mremap comment.
9951 2013-02-08 Roland McGrath <roland@hack.frob.com>
9953 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
9954 the '\0' terminator.
9956 2013-02-08 Joseph Myers <joseph@codesourcery.com>
9959 * debug/segfault.c: Don't include <bp-checks.h>.
9960 * sysdeps/generic/bp-checks.h: Remove file.
9961 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
9962 (__GETDENTS): Don't use CHECK_N.
9963 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
9964 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
9965 (__getgroups): Don't use CHECK_N.
9966 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
9967 (setgroups): Don't use CHECK_N.
9968 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
9969 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
9970 (__libc_msgrcv): Don't use CHECK_N.
9971 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
9972 (__libc_msgsnd): Don't use CHECK_N.
9973 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
9975 (__libc_pread): Don't use CHECK_N.
9976 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
9977 include <bp-checks.h>.
9978 (__libc_pread64): Don't use CHECK_N.
9979 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
9980 include <bp-checks.h>.
9981 (__libc_pwrite): Don't use CHECK_N.
9982 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
9983 include <bp-checks.h>.
9984 (__libc_pwrite64): Don't use CHECK_N.
9985 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
9987 (__libc_pread): Don't use CHECK_N.
9988 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
9989 include <bp-checks.h>.
9990 (__libc_pread64): Don't use CHECK_N.
9991 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
9992 include <bp-checks.h>.
9993 (__libc_pwrite): Don't use CHECK_N.
9994 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
9995 include <bp-checks.h>.
9996 (__libc_pwrite64): Don't use CHECK_N.
9997 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
9998 (do_pread): Don't use CHECK_N.
9999 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
10000 (do_pread64): Don't use CHECK_N.
10001 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
10002 (do_pwrite): Don't use CHECK_N.
10003 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
10004 (do_pwrite64): Don't use CHECK_N.
10005 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
10006 (__libc_readv): Don't use CHECK_N.
10007 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
10008 (semop): Don't use CHECK_N.
10009 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
10011 (semtimedop): Don't use CHECK_N.
10012 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
10013 (__libc_pread): Don't use CHECK_N.
10014 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
10016 (__libc_pread64): Don't use CHECK_N.
10017 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
10019 (__libc_pwrite): Don't use CHECK_N.
10020 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
10022 (__libc_pwrite64): Don't use CHECK_N.
10023 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
10025 (__libc_msgrcv): Don't use CHECK_N.
10026 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
10027 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
10028 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
10029 (__libc_writev): Don't use CHECK_N.
10031 2013-02-08 Roland McGrath <roland@hack.frob.com>
10033 * string/strcpy.c: Removed unused variable.
10035 * Makeconfig (+sysdep-includes): Define with := rather than =.
10036 Use an existing include/ subdir of each sysdeps dir before it.
10038 2013-02-08 Carlos O'Donell <carlos@redhat.com>
10040 * nscd/connection.c (register_traced_file): Comment function.
10041 [HAVE_INOTIFY] (union __inev): Define.
10042 [HAVE_INOTIFY] (inotify_check_files): New function.
10043 [HAVE_INOTIFY] (clear_db_cache): Likewise.
10044 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
10046 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
10048 2013-02-08 Carlos O'Donell <carlos@redhat.com>
10050 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
10051 loaded if not already and that a failure is permanent.
10053 2013-02-08 Carlos O'Donell <carlos@redhat.com>
10056 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
10057 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
10059 2013-02-08 Joseph Myers <joseph@codesourcery.com>
10062 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
10063 (CHECK_1_NULL_OK): Likewise.
10064 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
10065 (__fxstat): Do not use CHECK_1.
10066 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
10068 (___fxstat64): Do not use CHECK_1.
10069 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
10071 (__fxstatat): Do not use CHECK_1.
10072 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
10074 (__fxstatat64): Do not use CHECK_1.
10075 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
10077 (__fxstat): Do not use CHECK_1.
10078 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
10080 (__fxstatat): Do not use CHECK_1.
10081 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
10083 (__getresgid): Do not use CHECK_1.
10084 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
10086 (__getresuid): Do not use CHECK_1.
10087 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
10089 (__lxstat): Do not use CHECK_1.
10090 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
10092 (__old_msgctl): Do not use CHECK_1.
10093 (__new_msgctl): Likewise.
10094 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
10096 (__new_setrlimit): Do not use CHECK_1.
10097 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
10099 (__old_shmctl): Do not use CHECK_1.
10100 (__new_shmctl): Likewise.
10101 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
10103 (__xstat): Do not use CHECK_1.
10104 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
10105 (__lxstat): Do not use CHECK_1.
10106 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
10108 (___lxstat64): Do not use CHECK_1.
10109 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
10110 (__old_msgctl): Do not use CHECK_1.
10111 (__new_msgctl): Likewise.
10112 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
10114 (__gettimeofday): Do not use CHECK_1.
10115 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
10116 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
10117 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
10119 (__gettimeofday): Do not use CHECK_1.
10120 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
10121 (__old_shmctl): Do not use CHECK_1_NULL_OK.
10122 (__new_shmctl): Do not use CHECK_1.
10123 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
10125 (do_sigtimedwait): Do not use CHECK_1.
10126 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
10128 (do_sigwaitinfo): Do not use CHECK_1.
10129 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
10131 (msgctl): Do not use CHECK_1.
10132 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
10134 (shmctl): Do not use CHECK_1.
10135 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
10136 (ustat): Do not use CHECK_1.
10137 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
10139 (__fxstat): Do not use CHECK_1.
10140 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
10142 (__fxstatat): Do not use CHECK_1.
10143 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
10145 (__lxstat): Do not use CHECK_1.
10146 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
10148 (__xstat): Do not use CHECK_1.
10149 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
10150 (__xstat): Do not use CHECK_1.
10151 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
10152 (___xstat64): Do not use CHECK_1.
10155 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
10157 (CHECK_BOUNDS_HIGH): Likewise.
10158 * string/strcpy.c: Do not include <bp-checks.h>.
10159 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
10161 2013-02-07 Roland McGrath <roland@hack.frob.com>
10163 * nscd/nscd-client.h (__nscd_drop_map_ref):
10164 Add __attribute__ ((unused)).
10165 * nis/nss-nisplus.h (niserr2nss): Likewise.
10167 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
10168 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
10170 * csu/libc-tls.c (init_static_tls, init_slotinfo):
10171 Remove inline keyword.
10172 * include/rounding-mode.h (round_away): Likewise.
10173 * libio/wfileops.c (adjust_wide_data): Likewise.
10174 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
10175 (__m128i_strloadu_tolower): Likewise.
10176 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
10177 (__m128i_strloadu_tolower): Likewise.
10178 * time/mktime.c (ydhms_diff): Likewise.
10179 * locale/elem-hash.h (elem_hash): Likewise.
10180 * locale/setlocale.c (setdata): Likewise.
10181 * posix/regex_internal.h (re_string_char_size_at): Likewise.
10182 (re_string_wchar_at): Likewise.
10183 (bitset_not, bitset_merge, bitset_mask): Likewise.
10184 [!(__GNUC__ > 3)] (inline): Remove macro.
10185 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
10186 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
10187 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
10188 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
10189 * string/memcmp.c (memcmp_bytes): Likewise.
10190 * locale/programs/locarchive.c (compute_hashval): Likewise.
10191 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
10192 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
10193 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
10194 * nss/getent.c (print_rpc, print_protocols): Likewise.
10195 (print_passwd, print_group, print_aliases): Likewise.
10196 * nis/nss-nisplus.h (niserr2nss): Likewise.
10197 * nscd/connections.c (restart_p): Likewise.
10198 Change return type to bool.
10200 2013-02-05 Roland McGrath <roland@hack.frob.com>
10202 * Makeconfig (all-Depend-files): Add existing
10203 $(sorted-subdirs:=/Depend) files.
10204 (all-subdirs): Remove nss.
10205 * sysdeps/unix/inet/Subdirs: Add it here instead.
10206 * hesiod/Depend: New file.
10208 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
10209 instead of calling alloca.
10211 * io/lseek.c (__lseek): Rename to __libc_lseek.
10212 Define __lseek as an alias.
10214 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
10216 2013-02-04 Carlos O'Donell <carlos@redhat.com>
10218 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
10219 else clause and remove check for non-standard endianness.
10221 2013-02-04 David S. Miller <davem@davemloft.net>
10223 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10225 2013-02-04 Joseph Myers <joseph@codesourcery.com>
10228 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
10229 (__ubp_memchr): Remove prototype.
10230 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
10231 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
10232 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
10233 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
10234 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
10236 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
10237 (__ubp_memchr): Likewise.
10238 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
10239 (__ubp_memchr): Likewise.
10240 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
10241 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
10242 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
10243 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
10245 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
10246 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
10247 (__getcwd): Do not use CHECK_STRING.
10248 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
10250 (__real_chown): Do not use CHECK_STRING.
10251 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
10253 (fchownat): Do not use CHECK_STRING.
10254 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
10256 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
10258 (__lchown): Do not use CHECK_STRING.
10259 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
10260 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
10261 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
10262 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
10263 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
10264 include <bp-checks.h>.
10265 (truncate64): Do not use CHECK_STRING.
10266 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
10268 (__real_chown): Do not use CHECK_STRING.
10269 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
10271 (__lchown): Do not use CHECK_STRING.
10272 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
10274 (__chown): Do not use CHECK_STRING.
10275 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
10277 (truncate64): Do not use CHECK_STRING.
10278 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
10280 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
10281 (__xmknod): Do not use CHECK_STRING.
10282 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
10284 (__xmknodat): Do not use CHECK_STRING.
10285 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
10286 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
10288 2013-02-04 Andreas Schwab <schwab@suse.de>
10291 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
10292 * include/netdb.h: Likewise for h_errno.
10293 * elf/tst-stackguard1.c: Include <tls.h>.
10295 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
10297 * elf/link.h (struct link_map): Extend the l_addr comment.
10298 * include/link.h (struct link_map): Likewise.
10300 2013-02-01 Joseph Myers <joseph@codesourcery.com>
10303 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
10304 (BOUNDED_1): Remove macro.
10305 * debug/backtrace.c: Don't include <bp-checks.h>.
10306 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
10307 (__backtrace): Likewise.
10308 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
10310 (__backtrace): Don't use BOUNDED_1.
10311 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
10313 (__backtrace): Don't use BOUNDED_1.
10314 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
10315 (__backtrace): Don't use BOUNDED_1.
10316 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
10317 (shmat): Don't use BOUNDED_N.
10319 2013-01-31 Joseph Myers <joseph@codesourcery.com>
10322 * sysdeps/generic/bp-start.h: Remove file.
10323 * csu/libc-start.c: Don't include <bp-start.h>.
10324 (LIBC_START_MAIN): Set up __environ directly instead of using
10325 INIT_ARGV_and_ENVIRON.
10326 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
10330 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
10332 (CHECK_FCNTL): Likewise.
10333 (CHECK_N_PAGES): Likewise.
10336 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
10338 (CHECK_SIGSET_NULL_OK): Likewise.
10339 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
10341 (sigpending): Don't use CHECK_SIGSET.
10342 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
10344 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
10345 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
10347 (do_sigsuspend): Don't use CHECK_SIGSET.
10348 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
10350 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
10351 (do_sigwait): Don't use CHECK_SIGSET.
10352 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
10354 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
10355 include <bp-checks.h>.
10356 (sigpending): Don't use CHECK_SIGSET.
10357 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
10358 include <bp-checks.h>.
10359 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
10360 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
10362 (sigpending): Don't use CHECK_SIGSET.
10363 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
10365 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
10368 * sysdeps/generic/bp-semctl.h: Remove file.
10369 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
10370 <bp-checks.h> and <bp-semctl.h>.
10371 (__old_semctl): Don't use CHECK_SEMCTL.
10372 (__new_semctl): Likewise.
10373 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
10375 (__old_semctl): Don't use CHECK_SEMCTL.
10376 (__new_semctl): Likewise.
10377 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
10378 <bp-checks.h> and <bp-semctl.h>.
10379 (__old_semctl): Don't use CHECK_SEMCTL.
10380 (__new_semctl): Likewise.
10381 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
10382 <bp-checks.h> and <bp-semctl.h>.
10383 (semctl): Don't use CHECK_SEMCTL.
10386 * Makerules (elide-bp-thunks): Remove variable.
10387 (elide-routines.oS): Don't use $(elide-bp-thunks).
10388 (elide-routines.os): Likewise.
10389 (elide-routines.o): Likewise.
10390 (elide-routines.op): Likewise.
10391 (elide-routines.og): Likewise.
10392 (objects): Don't use $(bp-thunks).
10393 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
10395 (common-generated): Do not add s-proto-bp.d.
10396 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
10399 Do not generate makefile rules for bounded-pointer thunks.
10400 * sysdeps/generic/bp-thunks.h: Remove file.
10401 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
10402 * sysdeps/unix/s-proto-bp.S: Likewise.
10405 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
10406 parts of result separately when argument is not close to line from
10407 -i to i and one part of argument is small.
10408 * math/k_casinhf.c (__kernel_casinhf): Likewise.
10409 * math/k_casinhl.c (__kernel_casinhl): Likewise.
10410 * math/libm-test.inc (cacos_test): Add more tests.
10411 (casin_test): Likewise.
10412 (casinh_test): Likewise.
10413 * sysdeps/i386/fpu/libm-test-ulps: Update.
10414 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10416 2013-01-31 David S. Miller <davem@davemloft.net>
10418 * po/de.po: Update from translation team.
10420 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
10422 * time/tzfile.c: Include stdint.h for SIZE_MAX.
10424 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
10426 * configure.in (_AC_PROG_CC_C89): New definition.
10427 * configure: Regenerate.
10429 * configure.in (AC_PROG_CPP): New definition.
10430 * configure: Regenerate.
10432 2013-01-23 Joseph Myers <joseph@codesourcery.com>
10434 * debug/tst-backtrace.h: New file.
10435 * debug/tst-backtrace2.c: Include tst-backtrace.h.
10436 (ret): Remove variable.
10438 (FAIL): Remove macro.
10439 (NO_INLINE): Likewise.
10440 (fn1): Use match function instead of strstr.
10441 * debug/tst-backtrace3.c: Include tst-backtrace.h.
10442 (ret): Remove variable.
10444 (FAIL): Remove macro.
10445 (NO_INLINE): Likewise.
10446 (fn): Use match function instead of strstr.
10447 * debug/tst-backtrace4.c: Include tst-backtrace.h.
10448 (ret): Remove variable.
10450 (FAIL): Remove macro.
10451 (NO_INLINE): Likewise.
10452 (handle_signal): Use match function instead of strstr.
10453 * debug/tst-backtrace5.c: Include tst-backtrace.h.
10454 (ret): Remove variable.
10456 (FAIL): Remove macro.
10457 (NO_INLINE): Likewise.
10458 (handle_signal): Use match function instead of strstr.
10460 2013-01-23 Roland McGrath <roland@hack.frob.com>
10462 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
10464 2013-01-23 David S. Miller <davem@davemloft.net>
10466 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
10467 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
10468 argument of CAS if possible.
10469 * sysdeps/sparc/sparc64/bits/atomic.h
10470 (__arch_compare_and_exchange_val_32_acq): Likewise.
10471 (__arch_compare_and_exchange_val_64_acq): Likewise.
10473 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
10475 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
10476 * sysdeps/posix/ulimit.c: ... this.
10477 Include <limits.h>.
10478 * sysdeps/unix/bsd/ulimit.c: Remove file.
10480 2013-01-23 Adam Conrad <adconrad@0c3.net>
10482 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
10483 (LDFLAGS-tst-array5): Likewise.
10485 2013-01-23 Joseph Myers <joseph@codesourcery.com>
10488 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
10489 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
10490 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
10491 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
10493 2013-01-21 David S. Miller <davem@davemloft.net>
10495 * sysdeps/sparc/backtrace.c: New file.
10496 * sysdeps/sparc/sparc32/backtrace.h: New file.
10497 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
10498 * sysdeps/sparc/sparc64/backtrace.h: New file.
10499 * sysdeps/sparc/sparc64/backtrace.c: Delete.
10500 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
10503 2013-01-21 Andreas Schwab <schwab@suse.de>
10506 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
10509 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
10511 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
10513 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
10515 2013-01-18 Joseph Myers <joseph@codesourcery.com>
10516 Mark Mitchell <mark@codesourcery.com>
10517 Tom de Vries <tom@codesourcery.com>
10518 Paul Pluzhnikov <ppluzhnikov@google.com>
10520 * debug/tst-backtrace2.c: New file.
10521 * debug/tst-backtrace3.c: Likewise.
10522 * debug/tst-backtrace4.c: Likewise.
10523 * debug/tst-backtrace5.c: Likewise.
10524 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
10525 (CFLAGS-tst-backtrace3.c): Likewise.
10526 (CFLAGS-tst-backtrace4.c): Likewise.
10527 (CFLAGS-tst-backtrace5.c): Likewise.
10528 (LDFLAGS-tst-backtrace2): Likewise.
10529 (LDFLAGS-tst-backtrace3): Likewise.
10530 (LDFLAGS-tst-backtrace4): Likewise.
10531 (LDFLAGS-tst-backtrace5): Likewise.
10532 (tests): Add new tests tst-backtrace2, tst-backtrace3,
10533 tst-backtrace4 and tst-backtrace5.
10535 2013-01-18 Anton Blanchard <anton@samba.org>
10536 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10538 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
10539 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
10540 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
10541 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
10542 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
10543 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
10544 "+r" and remove output regs list as redundant. Add explicit inline
10545 asm to specify register of return val to work around compiler codegen
10546 bug. Remove (int) cast on return value. Add return type parameter to
10547 use in macro so that this macro does not truncate return value for
10549 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
10550 pass to INTERNAL_VSYSCALL_NCS.
10551 (INLINE_VSYSCALL): Add 'long int' as return type to
10552 INTERNAL_VSYSCALL_NCS macro invocation.
10553 (INTERNAL_VSYSCALL): Add 'long int' as return type to
10554 INTERNAL_VSYSCALL_NCS macro invocation.
10555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
10557 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
10560 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
10561 Fix application of SIMD FP exception mask.
10563 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
10564 mp_no from a power of two.
10565 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
10566 __mpexp_twomm1. Use __pow_mp.
10568 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
10571 2013-01-17 David S. Miller <davem@davemloft.net>
10573 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10575 2013-01-17 Joseph Myers <joseph@codesourcery.com>
10578 * include/complex.h: Condition contents on [!_COMPLEX_H].
10579 (__kernel_casinhf): New prototype.
10580 (__kernel_casinh): Likewise.
10581 (__kernel_casinhl): Likewise.
10582 * math/Makefile (libm_calls): Add k_casinh.
10583 * math/k_casinh.c: New file.
10584 * math/k_casinhf.c: Likewise.
10585 * math/k_casinhl.c: Likewise.
10586 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
10587 finite nonzero arguments.
10588 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
10589 finite nonzero arguments.
10590 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
10591 finite nonzero arguments.
10592 * math/s_casinh.c: Do not include <float.h>.
10593 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
10594 * math/s_casinhf.c: Do not include <float.h>.
10595 (__casinhf): Move code for finite nonzero arguments to
10597 * math/s_casinhl.c: Do not include <float.h>.
10598 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
10600 (__casinhl): Move code for finite nonzero arguments to
10602 * math/libm-test.inc (cacos_test): Add more tests.
10603 * sysdeps/i386/fpu/libm-test-ulps: Update.
10604 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10606 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
10608 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
10609 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
10610 [!HAVE_MREMAP]: Remove [defined linux] case.
10611 * malloc/arena.c: Do not include <malloc-sysdep.h>.
10613 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
10615 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
10617 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
10619 * elf/elf.h (R_386_SIZE32): New relocation.
10620 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
10622 (elf_machine_rela): Likewise.
10623 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
10624 R_X86_64_SIZE64 and R_X86_64_SIZE32.
10626 2013-01-17 Joseph Myers <joseph@codesourcery.com>
10628 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
10629 (FP_FAST_FMA): Do not define.
10630 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
10631 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
10632 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
10633 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
10634 !_SOFT_FLOAT]: Likewise.
10635 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
10636 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
10638 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
10639 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
10640 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
10641 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
10642 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
10643 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
10646 2013-01-16 Andreas Schwab <schwab@suse.de>
10649 * include/stdlib.h (__mktemp): Add declaration.
10650 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
10651 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
10653 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10655 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
10657 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
10658 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
10659 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
10661 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
10662 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
10664 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
10666 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
10667 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
10668 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
10670 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
10671 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
10673 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
10675 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
10677 2013-01-15 David S. Miller <davem@davemloft.net>
10679 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
10680 trunc{,f} to libm-sysdep_routes.
10681 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
10682 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
10684 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
10685 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
10687 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
10689 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
10690 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
10691 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
10692 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
10693 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
10694 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
10695 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
10696 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
10698 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
10699 nearbyint{,f} to libm-sysdep_routes.
10700 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
10701 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
10703 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
10705 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
10707 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
10709 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
10710 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
10711 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
10713 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
10714 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
10716 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
10717 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
10718 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
10720 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
10721 libc_feholdexcept and libc_fesetenv.
10723 2013-01-15 Mike Frysinger <vapier@gentoo.org>
10725 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
10727 2013-01-14 David S. Miller <davem@davemloft.net>
10729 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
10730 (SPARC_ASM_VIS2_IFUNC): Likewise.
10731 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
10732 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
10733 use of 'siam' instruction.
10734 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
10736 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
10738 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
10740 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
10741 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
10742 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
10743 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
10744 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
10746 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
10748 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
10750 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
10752 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
10753 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
10754 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
10755 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
10756 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
10758 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
10759 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
10760 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
10762 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
10763 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
10764 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
10765 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
10766 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
10767 routines to libm-sysdep_routines.
10768 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
10770 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
10771 fdim/fdimf to libm-sysdep_routines.
10772 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
10774 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
10775 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
10777 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
10778 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
10779 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
10780 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
10781 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
10782 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
10783 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
10785 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
10787 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
10788 to optimize copies.
10790 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
10791 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
10792 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
10794 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
10795 local variable MPTWO.
10796 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
10799 2013-01-13 Mike Frysinger <vapier@gentoo.org>
10801 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
10804 2013-01-13 Mike Frysinger <vapier@gentoo.org>
10806 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
10808 2013-01-13 Mike Frysinger <vapier@gentoo.org>
10810 * manual/pattern.texi (glob_t): Document gl_flags.
10811 (glob64_t): Likewise.
10813 2013-01-11 David S. Miller <davem@davemloft.net>
10815 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
10816 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
10817 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
10818 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
10819 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
10820 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
10821 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
10822 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
10823 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
10824 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
10825 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
10826 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
10827 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
10829 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
10830 sparc V9 rather than using V8 code.
10831 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
10832 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
10834 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
10836 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
10839 2013-01-11 Roland McGrath <roland@hack.frob.com>
10841 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
10842 not in the main loop.
10843 * configure: Regenerated.
10845 2013-01-11 Joseph Myers <joseph@codesourcery.com>
10847 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
10848 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
10850 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
10851 [!__GLIBC_HAVE_LONG_LONG] case.
10852 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
10853 condition to just #else.
10854 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
10855 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
10856 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
10857 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
10859 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
10860 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
10861 #elif condition to just #else.
10862 * sysdeps/unix/sysv/linux/sys/sysmacros.h
10863 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
10864 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
10865 #elif condition to just #else.
10867 2013-01-11 Steve Ellcey <sellcey@mips.com>
10869 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
10870 (EF_MIPS_ARCH_64): Fix value.
10871 (EF_MIPS_ARCH_32R2): New.
10872 (EF_MIPS_ARCH_64R2): New.
10874 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
10876 * Makeconfig (+link-pie-before-libc): New.
10877 (+link-pie-after-libc): Likewise.
10878 (+link-pie-tests): Likewise.
10879 (+link-pie): Rewritten.
10880 (link-before-libc): Remove $(config-LDFLAGS).
10881 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
10882 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
10883 (config-LDFLAGS): Renamed to ...
10884 (rtld-LDFLAGS): This.
10885 (rtld-tests-LDFLAGS): New macro.
10886 (link-libc-rpath-link): Likewise.
10887 (link-libc-tests-rpath-link): Likewise.
10888 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
10889 (link-libc): Prepand $(link-libc-rpath-link).
10890 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
10891 (test-program-prefix): New macro.
10892 (test-via-rtld-prefix): Likewise.
10893 (test-program-cmd): Likewise.
10894 (host-test-program-cmd): Likewise.
10895 * Makefile ($(common-objpfx)testrun.sh): Replace
10896 $(run-program-prefix) with $(test-program-prefix).
10897 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
10899 ($(common-objpfx)shlib.lds): Likewise.
10900 (build-module-helper): Likewise.
10901 ($(common-objpfx)format.lds): Likewise.
10902 * Rules (binaries-pie-tests): New.
10903 (binaries-pie-notests): Likewise.
10904 (binaries-pie): Rewritten.
10905 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
10906 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
10907 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
10908 (make-test-out): Replace $(host-built-program-cmd) with
10909 $(host-test-program-cmd).
10910 * config.make.in (build-hardcoded-path-in-tests): New variable.
10911 * configure.in (--enable-hardcoded-path-in-tests): New configure
10913 (hardcoded_path_in_tests): New AC_SUBST.
10914 * configure: Regenerated.
10915 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
10916 $(built-program-cmd) with $(test-program-cmd).
10917 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
10918 (test_program_cmd): This.
10919 * elf/Makefile ($(objpfx)order.out): Run test with
10920 $(test-program-prefix).
10921 ($(objpfx)order2.out): Likewise.
10922 ($(objpfx)tst-initorder.out): Likewise.
10923 ($(objpfx)tst-initorder2.out): Likewise.
10924 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
10925 $(test-program-cmd).
10926 ($(objpfx)tst-array1-static.out): Likewise.
10927 ($(objpfx)tst-array2.out): Likewise.
10928 ($(objpfx)tst-array3.out): Likewise.
10929 ($(objpfx)tst-array4.out): Likewise.
10930 ($(objpfx)tst-array5.out): Likewise.
10931 ($(objpfx)tst-array5-static.out): Likewise.
10932 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
10933 $(test-program-cmd).
10934 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
10935 $(run-program-prefix) with $(test-program-prefix).
10936 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
10937 (test_program_prefix): This.
10938 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
10939 $(run-program-prefix) with $(test-program-prefix).
10940 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
10941 (test_program_prefix): This.
10942 * iconvdata/tst-tables.sh: Likewise.
10943 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
10944 $(run-program-prefix) with $(test-program-prefix).
10945 ($(objpfx)tst-translit.out): Likewise.
10946 ($(objpfx)tst-gettext2.out): Likewise.
10947 ($(objpfx)tst-gettext4.out): Likewise.
10948 ($(objpfx)tst-gettext6.out): Likewise.
10949 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
10950 (test_program_prefix): This.
10951 * intl/tst-gettext2.sh: Likewise.
10952 * intl/tst-gettext4.sh Likewise.
10953 * intl/tst-gettext6.sh: Likewise.
10954 * intl/tst-translit.sh: Likewise.
10955 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
10956 with $(test-program-cmd).
10957 * libio/Makefile ($(objpfx)test-freopen.out): Replace
10958 $(run-program-prefix) with $(test-program-prefix).
10959 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
10960 (test_program_prefix): This.
10961 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
10962 $(run-program-prefix) with $(test-program-prefix).
10963 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
10964 (test_program_prefix): This.
10965 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
10966 * posix/Makefile ($(objpfx)globtest.out): Replace
10967 $(run-via-rtld-prefix) and $(test-wrapper) with
10968 $(test-program-prefix) and $(test-via-rtld-prefix).
10969 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
10970 $(test-program-prefix).
10971 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
10972 $(host-test-program-cmd).
10973 (tst-spawn-ARGS): Likewise.
10974 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
10975 $(test-program-prefix).
10976 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
10977 (test_via_rtld_prefix): This.
10978 (test_wrapper): Renamed to ...
10979 (test_program_prefix): This.
10980 (run_program_prefix): Replaced by test_program_prefix.
10981 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
10982 (test_program_prefix): This.
10983 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
10984 with $(host-test-program-cmd).
10985 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
10986 $(run-program-prefix) with $(test-program-prefix).
10987 ($(objpfx)tst-printf.out): Likewise.
10988 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
10989 $(test-program-cmd).
10990 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
10991 (test_program_prefix): This.
10992 * stdio-common/tst-unbputc.sh: Likewise.
10993 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
10994 $(run-program-prefix) with $(test-program-prefix).
10995 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
10996 (test_program_prefix): This.
10997 * string/Makefile ($(objpfx)tst-svc.out): Replace
10998 $(built-program-cmd) with $(test-program-cmd).
11000 2013-01-11 Andreas Jaeger <aj@suse.de>
11003 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
11004 value. Sync with Linux 3.7.
11006 2013-01-10 David S. Miller <davem@davemloft.net>
11008 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
11009 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
11010 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
11012 2013-01-10 Roland McGrath <roland@hack.frob.com>
11014 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
11016 * configure: Regenerated.
11018 2013-01-10 David S. Miller <davem@davemloft.net>
11020 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
11021 sparc V9 rather than using V8 code.
11022 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
11023 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
11025 2013-01-10 Roland McGrath <roland@hack.frob.com>
11027 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
11028 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
11029 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
11030 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
11031 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
11032 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
11033 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
11034 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
11035 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
11036 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
11037 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
11038 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
11039 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
11040 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
11041 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
11042 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
11043 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
11044 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
11045 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
11046 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
11047 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
11048 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
11049 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
11050 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
11051 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
11052 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
11053 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
11055 2013-01-10 David S. Miller <davem@davemloft.net>
11057 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11059 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
11061 * posix/Makefile (tests-static): New variable.
11062 (tests): Add $(tests-static).
11063 (tst-exec-static-ARGS): New variable.
11064 (tst-spawn-static-ARGS): Likewise.
11065 * posix/tst-exec-static.c: New file.
11066 * posix/tst-spawn-static.c: Likewise.
11067 * posix/tst-exec.c: Support run directly.
11068 * posix/tst-spawn.c: Likewise.
11070 2013-01-10 Joseph Myers <joseph@codesourcery.com>
11072 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
11074 * math/bits/mathcalls.h (llrint): Likewise.
11075 (llround): Likewise.
11076 * stdlib/stdlib.h (struct drand48_data): Likewise.
11077 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
11078 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
11079 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
11081 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
11083 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
11084 (elf_greg_t): Likewise.
11085 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
11086 (__jmp_buf): Likewise.
11087 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
11089 (llrint): Likewise, for all definitions.
11090 (llrintl): Likewise.
11092 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
11093 Remove [__GNUC__] condition.
11094 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
11095 condition to just [__USE_ISOC99].
11096 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
11098 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
11101 * sysdeps/unix/sysv/linux/x86/bits/environments.h
11102 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
11104 (_POSIX_V6_ILP32_OFF32): Likewise.
11105 (_XBS5_ILP32_OFF32): Likewise.
11106 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
11107 (__ILP32_OFFBIG_LDFLAGS): Likewise.
11109 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11111 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
11113 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
11114 doubles __mpexp_twomm1. Adjust usage.
11115 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
11118 2013-01-10 Andreas Schwab <schwab@suse.de>
11121 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
11122 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
11124 2013-01-09 David S. Miller <davem@davemloft.net>
11127 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
11128 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
11129 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
11130 TCP_FASTOPEN): Define.
11131 (tcp_repair_opt): New structure.
11132 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
11134 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
11135 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
11136 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
11137 (tcp_cookie_transactions): New structure.
11139 2013-01-09 Anton Blanchard <anton@samba.org>
11141 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
11142 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
11143 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
11144 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
11146 2013-01-09 Joseph Myers <joseph@codesourcery.com>
11148 * include/features.h (__USE_ANSI): Remove.
11150 2013-01-09 Roland McGrath <roland@hack.frob.com>
11152 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
11154 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
11156 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
11158 * sysdeps/s390/fpu/libm-test-ulps: Update.
11160 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11162 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
11166 (denorm): Likewise.
11167 (__mp_dbl): Likewise.
11168 (__dbl_mp): Likewise.
11169 (add_magnitudes): Likewise.
11170 (sub_magnitudes): Likewise.
11176 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
11180 (denorm): Likewise.
11181 (__mp_dbl): Likewise.
11182 (__dbl_mp): Likewise.
11183 (add_magnitudes): Likewise.
11184 (sub_magnitudes): Likewise.
11190 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
11194 (denorm): Likewise.
11195 (__mp_dbl): Likewise.
11196 (__dbl_mp): Likewise.
11197 (add_magnitudes): Likewise.
11198 (sub_magnitudes): Likewise.
11205 2013-01-08 Joseph Myers <joseph@codesourcery.com>
11207 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
11208 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
11209 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
11210 2 && __USE_EXTERN_INLINES]: Likewise.
11212 2013-01-08 Andreas Jaeger <aj@suse.de>
11215 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
11217 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
11218 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
11220 2013-01-07 Anton Blanchard <anton@samba.org>
11222 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
11223 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
11224 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
11225 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
11226 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
11227 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
11228 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
11229 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
11230 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
11231 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
11232 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
11233 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
11234 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
11235 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
11236 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
11237 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
11238 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
11239 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
11240 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
11241 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
11242 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
11243 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
11244 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
11245 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
11246 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
11247 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
11248 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
11249 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
11250 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
11251 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
11252 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
11253 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11254 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
11255 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
11256 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
11257 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
11258 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
11259 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
11260 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
11261 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
11262 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
11263 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
11264 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
11266 2013-01-07 Joseph Myers <joseph@codesourcery.com>
11268 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
11269 (__MALLOC_PMT): Likewise.
11270 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
11271 [__GNUC__], only on [_LIBC].
11272 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
11273 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
11274 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
11275 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
11276 forward declaration.
11277 (realloc_hook_ini): Likewise.
11278 (memalign_hook_ini): Likewise.
11279 (__libc_memalign): Do not use __MALLOC_PMT in variable
11281 (__libc_valloc): Likewise.
11282 (__libc_pvalloc): Likewise.
11283 (__libc_calloc): Likewise.
11284 (__posix_memalign): Likewise.
11287 * math/s_casinh.c: Include <float.h>.
11288 (__casinh): Do not do computation with squaring and square root
11289 for large arguments.
11290 * math/s_casinhf.c: Include <float.h>.
11291 (__casinhf): Do not do computation with squaring and square root
11292 for large arguments.
11293 * math/s_casinhl.c: Include <float.h>.
11294 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
11295 (__casinhl): Do not do computation with squaring and square root
11296 for large arguments.
11297 * math/libm-test.inc (casin_test): Add more tests.
11298 (casinh_test): Likewise.
11299 * sysdeps/i386/fpu/libm-test-ulps: Update.
11300 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11302 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
11304 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
11305 (__x86_64_raw_data_cache_size): Likewise.
11306 (__x86_64_data_cache_size_half): Likewise.
11307 (__x86_64_raw_data_cache_size_half): Likewise.
11308 (__x86_64_shared_cache_size): Likewise.
11309 (__x86_64_raw_shared_cache_size): Likewise.
11310 (__x86_64_shared_cache_size_half): Likewise.
11311 (__x86_64_raw_shared_cache_size_half): Likewise.
11312 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
11314 (__x86_data_cache_size): This.
11315 (__x86_64_raw_data_cache_size): Renamed to ...
11316 (__x86_raw_data_cache_size): This.
11317 (__x86_64_data_cache_size_half): Renamed to ...
11318 (__x86_data_cache_size_half): This.
11319 (__x86_64_raw_data_cache_size_half): Renamed to ...
11320 (__x86_raw_data_cache_size_half): This.
11321 (__x86_64_shared_cache_size): Renamed to ...
11322 (__x86_shared_cache_size): This.
11323 (__x86_64_raw_shared_cache_size): Renamed to ...
11324 (__x86_raw_shared_cache_size): This.
11325 (__x86_64_shared_cache_size_half): Renamed to ...
11326 (__x86_shared_cache_size_half): This.
11327 (__x86_64_raw_shared_cache_size_half): Renamed to ...
11328 (__x86_raw_shared_cache_size_half): This.
11329 * sysdeps/x86_64/memcpy.S: Updated.
11330 * sysdeps/x86_64/memset.S: Likewise.
11331 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
11332 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
11333 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
11335 2013-01-04 David S. Miller <davem@davemloft.net>
11337 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11339 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
11341 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
11342 1 to avoid redefinition warning.
11343 (__USE_GNU): Don't define.
11344 (init_signaling_nan): Protoize.
11346 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11348 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11350 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
11351 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
11352 (__cpymn): Likewise.
11353 (norm): Remove commented code.
11354 (denorm): Likewise.
11355 (__mp_dbl): Likewise.
11357 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
11358 (__cpymn): Likewise.
11359 (norm): Remove commented code.
11360 (denorm): Likewise.
11361 (__mp_dbl): Likewise.
11364 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
11365 mp_no value for 1.0 and 2.0.
11366 (norm): Use RADIXI instead of radixi.d.
11367 (denorm): Likewise.
11368 (__mul): Use 0.0 instead of zero.d.
11369 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
11370 mp_no value for 1.0 and 2.0.
11371 (norm): Use RADIXI instead of radixi.d.
11372 (denorm): Likewise.
11373 (__mul): Use 0.0 instead of zero.d.
11375 2013-01-04 Joseph Myers <joseph@codesourcery.com>
11378 * math/s_casinh.c (__casinh): Reduce finite argument to first
11379 quadrant then set signs of results at the end.
11380 * math/s_casinhf.c (__casinhf): Likewise.
11381 * math/s_casinhl.c (__casinhl): Likewise.
11382 * math/libm-test.inc (casin_test): Add more tests.
11383 (casinh_test): Likewise.
11384 * sysdeps/i386/fpu/libm-test-ulps: Update.
11385 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11387 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11389 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
11391 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
11393 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
11395 (denorm): Likewise.
11396 (__mp_dbl): Likewise.
11399 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
11400 and adjust the header comment.
11402 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
11403 variable name from declaration.
11405 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
11407 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11408 Initialize COMMON_CPUID_INDEX_7 element.
11409 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
11410 (CPUID_RTM): Likewise.
11411 (HAS_RTM): Likewise.
11412 (COMMON_CPUID_INDEX_7): New enum.
11414 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
11417 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
11418 size is zero, record memory as freed.
11420 2013-01-03 Andreas Jaeger <aj@suse.de>
11422 * po/ia.po: Add new Interlingua translation.
11424 2012-01-03 Allan McRae <allan@archlinux.org>
11426 * locale/programs/localedef.c: Fix description of '--posix' flag.
11428 2013-01-02 Joseph Myers <joseph@codesourcery.com>
11430 * NEWS: Update dates in second copyright notice.
11431 * README: Update copyright dates in example.
11432 * manual/libc.texinfo: Update copyright dates.
11433 * scripts/test-installation.pl: Update copyright date in --version
11436 * hurd/ctty-input.c: Fix copyright notice formatting.
11437 * hurd/ctty-output.c: Likewise.
11438 * hurd/dtable.c: Likewise.
11439 * hurd/hurd-raise.c: Likewise.
11440 * hurd/hurdprio.c: Likewise.
11441 * hurd/msgportdemux.c: Likewise.
11442 * misc/sys/file.h: Likewise.
11443 * misc/sys/ioctl.h: Likewise.
11444 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
11445 * sysdeps/mach/hurd/chdir.c: Likewise.
11446 * sysdeps/mach/hurd/fchdir.c: Likewise.
11447 * sysdeps/mach/hurd/rename.c: Likewise.
11448 * sysdeps/mach/hurd/rmdir.c: Likewise.
11449 * sysdeps/mach/hurd/seekdir.c: Likewise.
11450 * sysdeps/mach/hurd/setsid.c: Likewise.
11451 * sysdeps/posix/wait3.c: Likewise.
11453 * All files with FSF copyright notices: Update copyright dates
11454 using scripts/update-copyrights.
11455 * intl/plural.c: Regenerated.
11456 * locale/programs/charmap-kw.h: Likewise.
11457 * locale/programs/locfile-kw.h: Likewise.
11459 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11461 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
11464 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
11465 calculation loop and add branch prediction.
11467 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
11468 check access beyond bounds of m1np.
11470 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
11472 (__inv): Remove local variable MPTWO to use the global
11474 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
11475 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
11477 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
11478 MP3HALFS static const.
11480 2013-01-01 David S. Miller <davem@davemloft.net>
11482 * po/ca.po: Update from translation team.
11484 2013-01-01 Joseph Myers <joseph@codesourcery.com>
11486 * scripts/update-copyrights: New file.
11487 * Makeconfig: Reformat copyright notice.
11488 * ctype/ctype.h: Likewise.
11489 * debug/swprintf_chk.c: Likewise.
11490 * elf/dl-cache.c: Likewise.
11491 * elf/dl-debug.c: Likewise.
11492 * elf/dl-object.c: Likewise.
11493 * grp/initgroups.c: Likewise.
11494 * hurd/Makefile: Likewise.
11495 * hurd/hurd/signal.h: Likewise.
11496 * hurd/hurdfault.c: Likewise.
11497 * hurd/hurdioctl.c: Likewise.
11498 * hurd/hurdlookup.c: Likewise.
11499 * hurd/intr-msg.c: Likewise.
11500 * iconv/gconv_open.c: Likewise.
11501 * libio/swprintf.c: Likewise.
11502 * locale/lc-ctype.c: Likewise.
11503 * locale/nl_langinfo.c: Likewise.
11504 * mach/Machrules: Likewise.
11505 * mach/Makefile: Likewise.
11506 * malloc/obstack.h: Likewise.
11507 * manual/Makefile: Likewise.
11508 * manual/tsort.awk: Likewise.
11509 * misc/bits/stab.def: Likewise.
11510 * nis/nis_print_group_entry.c: Likewise.
11511 * nis/nis_table.c: Likewise.
11512 * nis/nss_compat/compat-pwd.c: Likewise.
11513 * nis/nss_compat/compat-spwd.c: Likewise.
11514 * po/Makefile: Likewise.
11515 * posix/fnmatch.c: Likewise.
11516 * posix/regex.h: Likewise.
11517 * resolv/Makefile: Likewise.
11518 * resolv/nss_dns/dns-network.c: Likewise.
11519 * resolv/res_hconf.c: Likewise.
11520 * scripts/gen-sorted.awk: Likewise.
11521 * soft-fp/soft-fp.h: Likewise.
11522 * stdio-common/printf.h: Likewise.
11523 * stdlib/monetary.h: Likewise.
11524 * stdlib/random.c: Likewise.
11525 * stdlib/random_r.c: Likewise.
11526 * sysdeps/generic/Makefile: Likewise.
11527 * sysdeps/gnu/Makefile: Likewise.
11528 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
11529 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11530 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
11531 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11532 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11533 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11534 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11535 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
11536 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11537 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11538 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
11539 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
11540 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
11541 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
11542 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
11543 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
11544 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
11545 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11546 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
11547 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11548 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
11549 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
11550 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
11551 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
11552 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
11553 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
11554 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
11555 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
11556 * sysdeps/mach/hurd/errnos.awk: Likewise.
11557 * sysdeps/mach/hurd/fork.c: Likewise.
11558 * sysdeps/mach/hurd/getcwd.c: Likewise.
11559 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
11560 * sysdeps/mach/hurd/mmap.c: Likewise.
11561 * sysdeps/mach/hurd/utimes.c: Likewise.
11562 * sysdeps/mach/hurd/xmknod.c: Likewise.
11563 * sysdeps/posix/profil.c: Likewise.
11564 * sysdeps/posix/readdir_r.c: Likewise.
11565 * sysdeps/powerpc/bits/mathdef.h: Likewise.
11566 * sysdeps/powerpc/bits/setjmp.h: Likewise.
11567 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
11568 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
11569 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
11570 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
11571 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
11572 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
11573 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11574 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
11575 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
11576 * sysdeps/pthread/lio_listio.c: Likewise.
11577 * sysdeps/sparc/dl-procinfo.h: Likewise.
11578 * sysdeps/unix/i386/sysdep.S: Likewise.
11579 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
11580 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
11581 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
11582 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
11583 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
11584 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
11585 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
11586 * sysdeps/unix/sysv/linux/speed.c: Likewise.
11587 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
11588 * sysdeps/wordsize-32/divdi3.c: Likewise.
11589 * time/sys/time.h: Likewise.
11590 * wcsmbs/Makefile: Likewise.
11592 2013-01-01 David S. Miller <davem@davemloft.net>
11594 * po/fr.po: Update from translation team.
11596 * catgets/gencat.c: Update copyright year.
11597 * csu/version.c: Likewise.
11598 * debug/catchsegv.sh: Likewise.
11599 * debug/pcprofiledump.c: Likewise.
11600 * debug/xtrace.sh: Likewise.
11601 * elf/ldconfig.c: Likewise.
11602 * elf/ldd.bash.in: Likewise.
11603 * elf/pldd.c: Likewise.
11604 * elf/sotruss.ksh: Likewise.
11605 * elf/sprof.c: Likewise.
11606 * iconv/iconv_prog.c: Likewise.
11607 * iconv/iconvconfig.c: Likewise.
11608 * locale/programs/locale.c: Likewise.
11609 * locale/programs/localedef.c: Likewise.
11610 * login/programs/pt_chown.c: Likewise.
11611 * malloc/memusage.sh: Likewise.
11612 * malloc/memusagestat.c: Likewise.
11613 * malloc/mtrace.pl: Likewise.
11614 * nscd/nscd.c: Likewise.
11615 * nss/getent.c: Likewise.
11616 * nss/makedb.c: Likewise.
11617 * posix/getconf.c: Likewise.
11619 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
11621 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
11624 2012-12-30 Mike Frysinger <vapier@gentoo.org>
11626 * math/bits/mathcalls.h (modf): Use __nonnull.
11628 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
11630 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
11631 (split): Use macro CN instead of the bare value.
11632 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
11634 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
11635 instead of the bare value.
11636 (power1): Likewise.
11638 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11640 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
11642 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
11644 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
11646 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
11647 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
11648 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
11649 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
11651 2012-12-28 Andreas Jaeger <aj@suse.de>
11653 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
11654 values are from Linux 3.7.
11656 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
11657 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
11659 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11661 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
11664 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
11666 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
11667 variables with preprocessor constants.
11668 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
11669 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
11670 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
11672 2012-12-27 Bruno Haible <bruno@clisp.org>
11675 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
11678 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11680 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
11681 and use variable directly.
11682 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
11684 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
11686 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
11687 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
11689 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
11690 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
11691 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
11692 include directive. Remove local variable MPONE.
11693 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
11694 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
11695 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
11697 2012-12-25 David S. Miller <davem@davemloft.net>
11699 * version.h (RELEASE): Set to "development".
11700 (VERSION): Set to "2.17.90".
11701 * NEWS: Add 2.18 section.
11703 2012-12-21 David S. Miller <davem@davemloft.net>
11705 * po/hr.po: Update from translation team.
11707 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11709 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
11711 2012-12-19 Steve Ellcey <sellcey@mips.com>
11713 * NEWS: Mention new memcpy for MIPS.
11715 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11717 * manual/contrib.texi (Contributors): Spelling correction.
11719 2012-12-15 David S. Miller <davem@davemloft.net>
11721 * po/ru.po: Update from translation team.
11723 2012-12-13 David S. Miller <davem@davemloft.net>
11725 * NEWS: Mention IFUNC testsuite enhancements.
11727 * po/pl.po: Update from translation team.
11728 * po/bg.po: Likewise.
11730 * manual/contrib.texi (Contributors): Update entries for Hongjiu
11731 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
11733 2012-12-11 David S. Miller <davem@davemloft.net>
11735 * po/sv.po: Update from translation team.
11737 * po/vi.po: Update from translation team.
11739 * po/cs.po: Update from translation team.
11741 * po/de.po: Update from translation team.
11742 * po/eo.po: Likewise.
11743 * po/nl.po: Likewise.
11745 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11748 * manual/argp.texi (Argp Helper Functions): Move node to follow
11749 Argp Parsing State.
11752 * manual/conf.texi (Limits on File System Capacity): Mention if
11753 terminating null is included in the max size.
11755 2012-12-10 Andreas Jaeger <aj@suse.de>
11757 * po/cs.po: Update from translation team.
11759 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
11761 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
11762 void pointer and cast to uintptr_t.
11763 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
11765 * sysdeps/s390/s390-64/memcpy.S: Likewise.
11766 * sysdeps/s390/s390-64/memset.S: Likewise.
11768 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
11771 * menual/message.texi (Message Translation): Fix typos.
11772 (Helper programs for gettext): Likewise.
11774 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
11777 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
11780 2012-12-07 David S. Miller <davem@davemloft.net>
11782 * po/libc.pot: Update.
11784 2012-12-07 Richard Henderson <rth@redhat.com>
11787 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
11788 normal/normal case to before the switch.
11789 (_FP_DIV): Likewise.
11791 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
11792 Mike Frysinger <vapier@gentoo.org>
11794 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
11795 check for __NR_fadvise64_64.
11797 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
11799 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
11800 0, not just to plain "0" as a statement.
11801 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
11804 2012-12-06 Joseph Myers <joseph@codesourcery.com>
11806 * NEWS: Use sourceware.org in Bugzilla URL.
11808 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
11810 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
11811 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
11813 * stdio-common/tst-put-error.c (do_test): Add newline to the
11814 padded test to ensure flush.
11816 2012-12-05 Jeff Law <law@redhat.com>
11818 * sunrpc/etc.rpc (fedfs_admin): Add entry.
11820 2012-12-05 Joseph Myers <joseph@codesourcery.com>
11822 * README: Don't refer to ports add-on as distributed separately.
11823 Mention AArch64 in list of systems supported in the ports add-on.
11825 * LICENSES: Add more non-FSF copyright and license notices.
11827 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
11830 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
11832 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
11833 10000 as width of padded output.
11835 2012-12-04 Joseph Myers <joseph@codesourcery.com>
11837 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
11839 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
11840 variable LX with __attribute__ ((unused)).
11841 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
11843 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
11844 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
11845 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
11846 with __attribute__ ((unused)).
11848 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
11850 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
11852 2012-12-04 Joseph Myers <joseph@codesourcery.com>
11854 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
11855 (CFLAGS-nldbl-acos.c): New variable.
11856 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
11857 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
11858 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
11859 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
11860 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
11861 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
11862 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
11863 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
11864 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
11865 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
11866 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
11867 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
11868 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
11869 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
11870 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
11871 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
11872 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
11873 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
11874 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
11875 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
11876 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
11877 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
11878 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
11879 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
11880 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
11881 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
11882 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
11883 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
11884 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
11885 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
11886 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
11887 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
11888 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
11889 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
11890 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
11891 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
11892 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
11893 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
11894 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
11895 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
11896 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
11897 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
11898 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
11899 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
11900 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
11901 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
11902 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
11903 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
11904 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
11905 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
11906 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
11907 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
11908 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
11909 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
11910 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
11911 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
11912 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
11913 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
11914 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
11915 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
11916 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
11917 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
11918 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
11919 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
11920 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
11921 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
11922 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
11923 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
11924 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
11925 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
11926 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
11927 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
11928 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
11929 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
11930 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
11931 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
11932 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
11933 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
11934 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
11935 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
11936 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
11937 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
11938 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
11939 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
11940 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
11941 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
11942 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
11943 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
11944 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
11945 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
11946 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
11947 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
11948 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
11949 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
11950 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
11951 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
11952 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
11954 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
11955 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
11958 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
11959 whole low double instead of just low 47 bits when splitting values
11962 2012-12-03 Allan McRae <allan@archlinux.org>
11964 * manual/stdio.texi (Predefined Printf Handlers): Remove
11965 @hsep and @vsep usage.
11967 2012-12-03 Mike Frysinger <vapier@gentoo.org>
11969 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
11970 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
11972 2012-12-03 Jeff Law <law@redhat.com>
11974 * time/sys/time.h (settimeofday): Do not mark TV argument
11977 2012-12-01 Mike Frysinger <vapier@gentoo.org>
11979 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
11980 when currently writing and seek to current position when not.
11981 * libio/Makefile (tests): Remove bug-fclose1.
11982 * libio/bug-fclose1.c: Delete.
11984 2012-12-01 Joseph Myers <joseph@codesourcery.com>
11986 * manual/arith.texi (feenableexcept): Fix typo.
11987 (fedisableexcept): Likewise.
11989 2012-11-30 Roland McGrath <roland@hack.frob.com>
11991 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
11992 second, differently-typed declaration, rather than a cast.
11994 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
11996 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
11997 * include/rpc/svc.h: ... here.
11999 2012-11-30 Aurelien Jarno <aurel32@debian.org>
12002 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
12003 depending n and resplen2 to catch cases where answer
12006 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
12008 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
12009 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
12011 2012-11-29 Mike Frysinger <vapier@gentoo.org>
12013 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
12015 2012-11-29 Roland McGrath <roland@hack.frob.com>
12017 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
12019 2012-11-28 Jeff Law <law@redhat.com>
12022 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
12023 dataset_temporary. Track alloca usage into alloca_used.
12024 If dataset is large allocate and release it via malloc/free.
12026 2012-06-04 Florian Weimer <fweimer@redhat.com>
12029 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
12031 2012-11-28 David S. Miller <davem@davemloft.net>
12033 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12035 2012-11-28 Joseph Myers <joseph@codesourcery.com>
12038 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
12039 of pi/2 rounded to nearest to 64 bits.
12040 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
12041 nearest to 64 bits.
12042 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
12045 2012-11-28 Jeff Law <law@redhat.com>
12046 Martin Osvald <mosvald@redhat.com>
12049 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
12050 * sunrpc/svc.c: Include time.h.
12051 (__svc_accept_failed): New function.
12052 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
12053 any reason other than EINTR, call __svc_accept_failed.
12054 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
12055 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
12057 2012-11-28 Andreas Schwab <schwab@suse.de>
12059 * scripts/abilist.awk: Also handle indirect functions in .opd
12062 2012-11-28 Joseph Myers <joseph@codesourcery.com>
12065 * sysdeps/x86/fpu/powl_helper.c: New file.
12066 * sysdeps/x86/fpu/Makefile: Likewise.
12067 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
12069 (__ieee754_powl): Use __powl_helper for finite arguments except
12070 integer exponents below 8.
12071 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
12073 (__ieee754_powl): Use __powl_helper for finite arguments except
12074 integer exponents below 8.
12075 * math/libm-test.inc (pow_test): Add more tests and enable some
12076 previously disabled tests.
12077 * sysdeps/i386/fpu/libm-test-ulps: Update.
12078 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12080 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12081 Carlos O'Donell <carlos_odonell@mentor.com>
12083 * nss/makedb.c (is_prime): Assert that input is odd and greater
12084 than 4. Note that fact in a comment too.
12085 (next_prime): Add 4 to input.
12087 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
12090 * libio/Makefile (tests): Add test case tst-fwrite-error.
12091 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
12092 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
12093 * libio/tst-fwrite-error.c: New test case.
12095 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
12097 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
12098 before casting to void *.
12099 * include/libc-internal.h (__pointer_type): New macro.
12100 (__integer_if_pointer_type_sub): Likewise.
12101 (__integer_if_pointer_type): Likewise.
12102 (cast_to_integer): Likewise.
12103 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
12104 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
12105 before casting to atomic64_t.
12106 (atomic_exchange_acq): Likewise.
12107 (__arch_exchange_and_add_body): Likewise.
12108 (__arch_add_body): Likewise.
12109 (atomic_add_negative): Likewise.
12110 (atomic_add_zero): Likewise.
12112 2012-11-26 Joseph Myers <joseph@codesourcery.com>
12114 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
12115 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
12116 (add_fdes): Likewise.
12117 (linear_search_fdes): Likewise.
12118 (binary_search_unencoded_fdes): Likewise.
12120 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
12122 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
12124 2012-11-24 Adam Conrad <adconrad@0c3.net>
12126 * configure.in: Autodetect C++ header directories.
12127 * configure: Regenerated.
12129 2012-11-23 Mike Frysinger <vapier@gentoo.org>
12131 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
12133 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
12135 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12137 2012-11-22 Joseph Myers <joseph@codesourcery.com>
12139 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
12140 LDBL_MANT_DIG == 106]: Disable some tests.
12141 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
12143 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
12147 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
12148 input for small inputs. Return +/- pi/2 for large inputs.
12149 * math/libm-test.inc (atan_test): Add more tests.
12151 * sysdeps/generic/unwind-dw2-fde-glibc.c
12152 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
12153 __attribute__ ((unused)).
12156 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
12157 x * y if x and y are nonzero and z is zero.
12160 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
12161 nonzero exponents with absolute value below 0x1p-117 to +/-
12165 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
12166 up arguments below 2**-450, not just those below 2**-500.
12167 * math/libm-test.inc (hypot_test): Add another test.
12170 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
12171 Return a+b for ratio over 2**120, not 2**60.
12172 * math/libm-test.inc (hypot_test): Add another test.
12174 * math/libm-test.inc (clog_test): Use
12175 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
12176 (clog10_test): Likewise.
12179 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
12181 2012-11-22 Andreas Schwab <schwab@suse.de>
12183 * sysdeps/i386/fpu/libm-test-ulps: Update.
12185 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
12187 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
12188 printf output with newline.
12190 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
12193 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
12194 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
12195 -z nodlopen, -z initfirst and -z execstack support.
12196 * configure: Regenerated.
12198 * elf/elf.h (DF_1_NODIRECT): New macro.
12199 (DF_1_IGNMULDEF): Likewise.
12200 (DF_1_NOKSYMS): Likewise.
12201 (DF_1_NOHDR): Likewise.
12202 (DF_1_EDITED): Likewise.
12203 (DF_1_NORELOC): Likewise.
12204 (DF_1_SYMINTPOSE): Likewise.
12205 (DF_1_GLOBAUDIT): Likewise.
12206 (DF_1_SINGLETON): Likewise.
12207 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
12208 DT_1_SUPPORTED_MASK bits.
12209 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
12211 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
12213 * sysdeps/unix/make-syscalls.sh: Document prefixes.
12215 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
12217 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
12220 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
12221 (sendmmsg): Move declarations...
12222 * socket/sys/socket.h: ... here.
12223 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
12224 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
12226 * socket/recvmmsg.c: ... this new file.
12227 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
12228 (sendmmsg): Rename to __sendmmsg, create weak alias and make
12229 definition of __sendmmsg hidden.
12230 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
12231 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
12232 Move ENOSYS stub into and include it from...
12233 * socket/sendmmsg.c: ... this new file.
12234 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
12235 (sysdep_routines): Move recvmmsg and sendmmsg...
12236 * socket/Makefile (routines): ... here.
12237 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
12238 (GLIBC_PRIVATE): Add __sendmmsg.
12239 * include/sys/socket.h (__sendmmsg): Add declarations.
12240 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
12243 2012-11-20 Joseph Myers <joseph@codesourcery.com>
12245 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
12246 variable I1 with __attribute__ ((unused)).
12247 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
12249 2012-11-19 Joseph Myers <joseph@codesourcery.com>
12251 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
12252 DUMMY variables with __attribute__ ((unused)).
12254 * bits/byteswap.h: Include <bits/types.h>.
12255 (__bswap_64): Use __uint64_t instead of unsigned long long int.
12257 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
12259 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
12260 string_t. Do not manually set errno.
12261 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
12262 length with __strnlen. Make sure to both set errno and return it on
12265 2012-11-19 David S. Miller <davem@davemloft.net>
12267 With help from Joseph Myers.
12268 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
12269 very large arguments properly.
12270 * math/libm-test.inc (atan_test): New tests.
12271 (atan2_test): New tests.
12272 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12273 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12275 2012-11-19 Joseph Myers <joseph@codesourcery.com>
12278 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
12281 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
12282 [POSIX] (EADDRNOTAVAIL): Likewise.
12283 [POSIX] (EAFNOSUPPORT): Likewise.
12284 [POSIX] (EALREADY): Likewise.
12285 [POSIX] (ECONNABORTED): Likewise.
12286 [POSIX] (ECONNREFUSED): Likewise.
12287 [POSIX] (ECONNRESET): Likewise.
12288 [POSIX] (EDESTADDRREQ): Likewise.
12289 [POSIX] (EDQUOT): Likewise.
12290 [POSIX] (EHOSTUNREACH): Likewise.
12291 [POSIX] (EIDRM): Likewise.
12292 [POSIX] (EISCONN): Likewise.
12293 [POSIX] (ELOOP): Likewise.
12294 [POSIX] (EMULTIHOP): Likewise.
12295 [POSIX] (ENETDOWN): Likewise.
12296 [POSIX] (ENETUNREACH): Likewise.
12297 [POSIX] (ENOBUFS): Likewise.
12298 [POSIX] (ENODATA): Likewise.
12299 [POSIX] (ENOLINK): Likewise.
12300 [POSIX] (ENOMSG): Likewise.
12301 [POSIX] (ENOPROTOOPT): Likewise.
12302 [POSIX] (ENOSR): Likewise.
12303 [POSIX] (ENOSTR): Likewise.
12304 [POSIX] (ENOTCONN): Likewise.
12305 [POSIX] (ENOTSOCK): Likewise.
12306 [POSIX] (EOPNOTSUPP): Likewise.
12307 [POSIX] (EOVERFLOW): Likewise.
12308 [POSIX] (EPROTO): Likewise.
12309 [POSIX] (EPROTONOSUPPORT): Likewise.
12310 [POSIX] (EPROTOTYPE): Likewise.
12311 [POSIX] (ESTALE): Likewise.
12312 [POSIX] (ETIME): Likewise.
12313 [POSIX] (ETXTBSY): Likewise.
12314 [POSIX] (EWOULDBLOCK): Likewise.
12315 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
12316 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
12317 [POSIX] (SEEK_CUR): Likewise.
12318 [POSIX] (SEEK_END): Likewise.
12319 [POSIX || UNIX98] (mode_t): Do not require.
12320 [POSIX] (off_t): Likewise.
12321 [POSIX] (pid_t): Likewise.
12322 [POSIX] (sys/stat.h): Do not allow header.
12323 [POSIX] (unistd.h): Likewise.
12324 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
12325 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
12326 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
12327 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
12329 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
12330 sigevent): Specify elements.
12331 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
12333 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
12334 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
12336 * conform/data/cpio.h-data [POSIX]: Disable whole file.
12337 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
12338 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
12339 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
12340 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
12341 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
12342 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
12343 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
12344 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
12345 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
12346 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
12347 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
12348 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
12349 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
12351 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
12353 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
12355 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
12357 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
12358 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
12359 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
12360 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
12361 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
12362 Specify lower bound on value.
12363 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
12364 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
12365 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
12366 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
12367 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
12368 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
12369 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
12370 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
12372 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
12374 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
12375 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
12376 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
12377 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
12378 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
12379 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
12380 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
12381 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
12382 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
12383 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
12384 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
12385 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
12386 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
12387 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
12388 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
12389 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
12391 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
12393 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
12394 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
12395 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
12396 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
12397 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
12398 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
12400 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
12401 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
12402 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
12403 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
12404 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
12405 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
12406 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
12408 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
12409 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
12410 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
12411 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
12412 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
12413 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
12414 specify as optional.
12415 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
12416 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
12417 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
12418 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
12419 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
12420 [XPG3] (NL_LANGMAX): Likewise.
12421 [POSIX || XPG3] (NL_MSGMAX): Likewise.
12422 [POSIX || XPG3] (NL_NMAX): Likewise.
12423 [POSIX || XPG3] (NL_SETMAX): Likewise.
12424 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
12425 [XPG3] (NZERO): Likewise.
12426 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
12427 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
12428 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
12429 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
12430 (REG_ERANGE): Expect.
12431 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
12433 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
12434 Use (void) in prototype.
12435 [POSIX] (*_t): Allow.
12436 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
12437 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
12438 (WRDE_BADVAL): Expect.
12440 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
12442 [XPG3 || XPG4] (O_RSYNC): Likewise.
12443 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
12445 [XPG3 || XPG4] (pthread_sigmask): Likewise.
12446 [XPG3 || XPG4] (sigqueue): Likewise.
12447 [XPG3 || XPG4] (sigtimedwait): Likewise.
12448 [XPG3 || XPG4] (sigwaitinfo): Likewise.
12449 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
12450 [XPG3 || XPG4] (vsnprintf): Likewise.
12451 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
12453 [XPG3 || XPG4] (blksize_t): Likewise.
12454 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
12456 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
12457 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
12458 [XPG3 || XPG4] (struct itimerspec): Likewise.
12459 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
12460 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
12461 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
12462 [XPG3 || XPG4] (clockid_t): Likewise.
12463 [XPG3 || XPG4] (timer_t): Likewise.
12464 [XPG3 || XPG4] (clock_getres): Likewise.
12465 [XPG3 || XPG4] (clock_gettime): Likewise.
12466 [XPG3 || XPG4] (clock_settime): Likewise.
12467 [XPG3 || XPG4] (nanosleep): Likewise.
12468 [XPG3 || XPG4] (timer_create): Likewise.
12469 [XPG3 || XPG4] (timer_delete): Likewise.
12470 [XPG3 || XPG4] (timer_gettime): Likewise.
12471 [XPG3 || XPG4] (timer_getoverrun): Likewise.
12472 [XPG3 || XPG4] (timer_settime): Likewise.
12473 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
12474 [XPG3 || XPG4] (getlogin_r): Likewise.
12475 [XPG3 || XPG4] (pread): Likewise.
12476 [XPG3 || XPG4] (pthread_atfork): Likewise.
12477 [XPG3 || XPG4] (pwrite): Likewise.
12480 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
12483 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
12485 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
12486 finalizing MALLSTREAM.
12488 * sysdeps/mach/hurd/syncfs.c: New file.
12490 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
12493 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
12494 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
12495 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
12496 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
12497 (_nss_dns_gethostbyname4_r): Likewise.
12498 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
12499 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
12501 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
12504 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
12506 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
12508 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
12509 * elf/cache.c (print_entry): Print ",AArch64" for
12512 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
12513 * elf/cache.c (print_entry): Print ",hard-float" for
12516 2012-11-18 David S. Miller <davem@davemloft.net>
12518 With help from Joseph Myers.
12519 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
12521 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
12523 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
12524 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
12526 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
12527 * math/libm-test.inc (y0_test): New tests.
12528 (y1_test): New tests.
12529 * sysdeps/i386/fpu/libm-test-ulps: Update.
12530 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12531 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12533 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
12535 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
12537 * configure: Regenerated.
12539 2012-11-17 David S. Miller <davem@davemloft.net>
12542 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
12543 nonzero exponents with absolute value below 0x1p-128 to +/-
12546 2012-11-17 Joseph Myers <joseph@codesourcery.com>
12548 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
12550 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
12552 * posix/getconf-speclist.c: New file.
12553 * posix/posix-envs.def: Likewise.
12554 * posix/confstr.c (START_ENV_GROUP): New macro.
12555 (END_ENV_GROUP): Likewise.
12556 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
12557 (KNOWN_PRESENT_ENV_STRING): Likewise.
12558 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
12559 (UNKNOWN_ENVIRONMENT): Likewise.
12560 (confstr): Include posix-envs.def instead of handling
12561 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
12562 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
12563 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
12564 (END_ENV_GROUP): Likewise.
12565 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
12566 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
12567 (UNKNOWN_ENVIRONMENT): Likewise.
12568 (__sysconf): Include posix-envs.def instead of handling associated
12569 cases directly here.
12570 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
12571 preprocessing getconf-speclist.c rather than running getconf or
12572 generating empty file.
12574 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
12576 * scripts/check-local-headers.sh: Ignore 'mach' headers.
12578 2012-11-16 Andrej Lajovic <natrij@gmail.com>
12581 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
12583 2012-11-16 David S. Miller <davem@davemloft.net>
12585 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
12586 smaller than LDBL_EPSILON/2.0L, just return xm1.
12588 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
12590 * elf/tst-array1.c (init): Set constructor priority to 1000.
12591 (fini): Set destructor priority to 1000.
12592 * elf/tst-array2dep.c: Likewise.
12594 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
12597 * libio/fileops.c (_IO_new_file_write): Correctly return error.
12598 (_IO_new_file_xsputn): Also return EOF if none of the input
12599 data was written when overflow failed.
12600 * libio/iopadn.c (_IO_padn): Likewise.
12601 * libio/iowpadn.c (_IO_wpadn): Likewise.
12602 * stdio-common/tst-put-error.c: Add copyright notice.
12603 (do_test): Add case for printing padded string.
12604 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
12605 _IO_padn returned error.
12606 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
12607 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
12610 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
12612 * libio/libioP.h: Add comment note that the references to C++
12613 bits are now obsolete.
12615 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12617 * math/libm-test.inc (check_complex): Use asprintf.
12619 2012-11-14 Joseph Myers <joseph@codesourcery.com>
12621 * debug/pcprofiledump.c (print_version): Update copyright year.
12622 * malloc/memusagestat.c (print_version): Likewise.
12624 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
12627 * elf/Makefile (tests): Add tst-audit8.
12628 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
12629 ($(objpfx)tst-audit8.out): New target.
12630 (tst-audit8-ENV): New variable.
12631 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
12632 audit if l_reloc_result is NULL.
12633 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
12634 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
12635 * elf/tst-audit8.c: New file.
12637 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12639 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
12640 * misc/Makefile (CFLAGS-select.c): Define.
12641 * posix/Makefile (CFLAGS-pause.c): Define.
12643 2012-11-13 David S. Miller <davem@davemloft.net>
12645 * crypt/Makefile: Move test targets after toplevel Rules
12646 inclusion. Grab any necessary sysdep routines when linking.
12647 * crypt/md5.c (md5_process_block): Remove define, we will always
12648 name it __md5_process_block.
12649 (md5_finish_ctx): Update md5_process_block call.
12650 (md5_stream): Likewise.
12651 (md5_process_bytes): Likewise.
12652 (md5_process_block): Rename to __md5_process_block and move to ...
12653 * crypt/md5-block.c: ... here.
12654 * crypt/sha256.c (sha256_process_block): Move to ...
12655 * crypt/sha256-block.c: ... here.
12656 * crypt/sha512.c (sha512_process_block): Move to ...
12657 * crypt/sha512-block.c: ... here.
12658 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
12660 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
12661 * sysdeps/sparc/sparc64/multiarch/Makefile
12662 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
12664 (localedef-aux): Add md5 crypto assembler when in locale subdir.
12665 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
12667 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
12668 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
12669 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
12670 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
12671 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
12672 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
12673 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
12674 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
12675 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
12677 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
12678 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
12680 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
12682 2012-11-13 Joseph Myers <joseph@codesourcery.com>
12684 * timezone/tzselect.ksh: Update from tzcode git revision
12685 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
12686 * timezone/zdump.c: Likewise.
12687 * timezone/zic.c: Likewise.
12688 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
12689 in TZVERSION setting, not $(PKGVERSION).
12690 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
12691 REPORT_BUGS_TO settings.
12694 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
12697 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12699 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
12700 detection to immediately after _FP_ROUND().
12701 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
12704 2012-11-11 David S. Miller <davem@davemloft.net>
12706 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
12708 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
12709 __close rather than their public counterparts.
12711 2012-11-10 Joseph Myers <joseph@codesourcery.com>
12713 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
12715 [UNIX98] (sem_timedwait): Do not expect.
12716 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
12717 [XPG4 || UNIX98] (sockatmark): Do not expect.
12718 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
12719 (clock_getcpuclockid): Do not expect.
12720 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
12721 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
12723 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
12724 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
12725 [UNIX98] (vwscanf): Likewise.
12726 [UNIX98] (vswscanf): Likewise.
12728 2012-11-09 Joseph Myers <joseph@codesourcery.com>
12730 * timezone/version.h: Remove file.
12731 * timezone/README: Do not refer to version.h.
12732 * timezone/Makefile ($(objpfx)zic.o): New dependency on
12733 $(objpfx)version.h.
12734 ($(objpfx)zdump.o): Likewise.
12735 ($(objpfx)version.h): New target.
12737 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
12739 * timezone/README: Don't mention modification to tzselect.ksh.
12740 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
12741 work on unmodified tzselect.ksh. Substitute version numbers in
12744 * Makefile (format-me): Remove.
12745 (INSTALL): Adjust indentation. Use commands directly instead of
12746 using $(format-me).
12748 * aclocal.m4 (ACX_PKGVERSION): New macro.
12749 (ACX_BUGURL): Likewise.
12750 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
12751 (PKGVERSION): New AC_DEFINE_UNQUOTED.
12752 (REPORT_BUGS_TO): Likewise.
12753 * configure: Regenerated.
12754 * config.h.in (PKGVERSION): New macro.
12755 (REPORT_BUGS_TO): Likewise.
12756 * config.make.in (PKGVERSION): New variable.
12757 (PKGVERSION_TEXI): Likewise.
12758 (REPORT_BUGS_TO): Likewise.
12759 (REPORT_BUGS_TEXI): Likewise.
12760 * Makefile (format-me): Use -I$(common-objpfx)manual.
12761 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
12762 ($(common-objpfx)manual/%): New target.
12763 (manual/%): Remove target.
12764 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
12765 (print_version): Use PKGVERSION.
12766 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
12767 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
12768 and REPORT_BUGS_TO.
12769 ($(objpfx)xtrace): Likewise.
12770 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
12771 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
12772 (print_version): Use PKGVERSION.
12773 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
12774 (do_version): Use PKGVERSION.
12775 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
12777 (common-ldd-rewrite): Likewise.
12778 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
12779 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
12780 (print_version): Use PKGVERSION.
12781 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
12782 * elf/pldd.c (argp_program_bug_address): Remove variable.
12783 (more_help): New function.
12784 (argp): Use more_help.
12785 (print_version): Use PKGVERSION.
12786 * elf/sln.c (main): Use PKGVERSION.
12787 (usage): Use REPORT_BUGS_TO.
12788 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
12789 (top level): Use PKGVERSION.
12790 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
12791 (print_version): Use PKGVERSION.
12792 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
12793 (print_version): Use PKGVERSION.
12794 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
12795 (print_version): Use PKGVERSION.
12796 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
12797 (print_version): Use PKGVERSION.
12798 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
12799 (print_version): Use PKGVERSION.
12800 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
12801 (print_version): Use PKGVERSION.
12802 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
12804 ($(objpfx)memusage): Likewise.
12805 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
12806 (do_version): Use PKGVERSION.
12807 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
12808 (print_version): Use PKGVERSION.
12809 * malloc/mtrace.pl ($PACKAGE): Remove variable.
12810 ($PKGVERSION): New variable.
12811 ($REPORT_BUGS_TO): Likewise.
12812 (usage): Use $REPORT_BUGS_TO.
12813 (top level): Use $PKGVERSION.
12814 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
12815 ($(objpfx)pkgvers.texi): New rule.
12816 ($(objpfx)stamp-pkgvers): Likewise.
12817 * manual/install.texi: Include pkgvers.texi.
12818 (--with-pkgversion): Document new configure option.
12819 (--with-bugurl): Likewise.
12820 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
12821 than necessarily for this particular distribution. Use
12822 REPORT_BUGS_TO for where to report bugs.
12823 * INSTALL: Regenerated.
12824 * manual/libc.texinfo: Include pkgvers.texi.
12825 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
12826 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
12827 (print_version): Use PKGVERSION.
12828 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
12829 (print_version): Use PKGVERSION.
12830 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
12831 (print_version): Use PKGVERSION.
12832 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
12833 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
12835 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
12836 (print_version): Use PKGVERSION.
12837 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
12838 (print_version): Use PKGVERSION.
12839 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
12842 * timezone/checktab.awk: Update from tzcode 2012i.
12843 * timezone/ialloc.c: Likewise.
12844 * timezone/private.h: Likewise.
12845 * timezone/scheck.c: Likewise.
12846 * timezone/tzfile.h: Likewise.
12847 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
12848 (TZVERSION): Hardcode tzcode version number.
12849 * timezone/zdump.c: Update from tzcode 2012i.
12850 * timezone/zic.c: Likewise.
12851 * timezone/version.h: New file.
12852 * timezone/README: Describe version.h. Update upstream location.
12855 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
12856 (mktemp): Enable declaration.
12857 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
12858 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
12859 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
12860 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
12862 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
12864 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
12866 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
12868 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
12870 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
12874 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
12875 offset in buffer as u_int32_t not u_long. Consistently use memcpy
12876 for copies of such integer values.
12877 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
12878 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
12880 2012-11-09 Andreas Jaeger <aj@suse.de>
12882 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
12883 definitions and declarations that are provided by
12884 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
12886 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12888 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
12889 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
12890 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
12893 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12895 * elf/elf.h: Update comment before AArch64 relocations.
12897 2012-11-07 David S. Miller <davem@davemloft.net>
12899 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
12900 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
12901 (__start_context): Declare.
12902 (__makecontext_ret): Delete.
12903 (__makecontext): Hook up __start_context instead of
12905 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
12906 (sysdep_routines): Add __start_context when in stdlib.
12908 2012-11-07 Joseph Myers <joseph@codesourcery.com>
12910 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
12911 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
12912 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
12914 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
12915 (READELF): New variable. Use it instead of hardcoded "readelf".
12917 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
12919 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
12920 * sysdeps/x86/Makefile: Here.
12921 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
12922 * sysdeps/x86/tst-xmmymm.sh: This.
12924 2012-11-07 Joseph Myers <joseph@codesourcery.com>
12926 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
12928 [UNIX98] (pthread_barrier_t): Do not expect.
12929 [UNIX98] (pthread_barrierattr_t): Likewise.
12930 [UNIX98] (pthread_spinlock_t): Likewise.
12931 [UNIX98] (pthread_barrier_destroy): Likewise.
12932 [UNIX98] (pthread_barrier_init): Likewise.
12933 [UNIX98] (pthread_barrier_wait): Likewise.
12934 [UNIX98] (pthread_barrierattr_destroy): Likewise.
12935 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
12936 [UNIX98] (pthread_barrierattr_init): Likewise.
12937 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
12938 [UNIX98] (pthread_getcpuclockid): Likewise.
12939 [UNIX98] (pthread_mutex_timedlock): Likewise.
12940 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
12941 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
12942 [UNIX98] (pthread_sigmask): Likewise.
12943 [UNIX98] (pthread_spin_destroy): Likewise.
12944 [UNIX98] (pthread_spin_init): Likewise.
12945 [UNIX98] (pthread_spin_lock): Likewise.
12946 [UNIX98] (pthread_spin_trylock): Likewise.
12947 [UNIX98] (pthread_spin_unlock): Likewise.
12948 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
12950 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
12951 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
12952 [XPG3 || XPG4] (pthread_cond_t): Likewise.
12953 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
12954 [XPG3 || XPG4] (pthread_key_t): Likewise.
12955 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
12956 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
12957 [XPG3 || XPG4] (pthread_once_t): Likewise.
12958 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
12959 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
12960 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
12961 [XPG3 || XPG4] (pthread_t): Likewise.
12963 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
12965 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
12967 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
12968 Change function return type to int.
12970 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
12971 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
12972 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
12973 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
12974 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
12975 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
12976 [!POSIX] (posix_madvise): Likewise.
12977 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
12979 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
12980 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
12981 (mode_t): Likewise.
12982 (posix_mem_offset): Likewise.
12983 (posix_typed_mem_get_info): Likewise.
12984 (posix_typed_mem_open): Likewise.
12986 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
12987 Change condition to [XOPEN2K8].
12989 * conform/conformtest.pl: Preprocess allow-header data with -x c
12990 instead of from stdin.
12991 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
12992 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
12993 [C99-based standards] (cerfc): Likewise.
12994 [C99-based standards] (cexp2): Likewise.
12995 [C99-based standards] (cexpm1): Likewise.
12996 [C99-based standards] (clog10): Likewise.
12997 [C99-based standards] (clog1p): Likewise.
12998 [C99-based standards] (clog2): Likewise.
12999 [C99-based standards] (clgamma): Likewise.
13000 [C99-based standards] (ctgamma): Likewise.
13001 [C99-based standards] (cerff): Likewise.
13002 [C99-based standards] (cerfcf): Likewise.
13003 [C99-based standards] (cexp2f): Likewise.
13004 [C99-based standards] (cexpm1f): Likewise.
13005 [C99-based standards] (clog10f): Likewise.
13006 [C99-based standards] (clog1pf): Likewise.
13007 [C99-based standards] (clog2f): Likewise.
13008 [C99-based standards] (clgammaf): Likewise.
13009 [C99-based standards] (ctgammaf): Likewise.
13010 [C99-based standards] (cerfl): Likewise.
13011 [C99-based standards] (cerfcl): Likewise.
13012 [C99-based standards] (cexp2l): Likewise.
13013 [C99-based standards] (cexpm1l): Likewise.
13014 [C99-based standards] (clog10l): Likewise.
13015 [C99-based standards] (clog1pl): Likewise.
13016 [C99-based standards] (clog2l): Likewise.
13017 [C99-based standards] (clgammal): Likewise.
13018 [C99-based standards] (ctgammal): Likewise.
13019 * conform/data/inttypes.h-data [C99-based standards]: Include
13020 stdint.h-data. Remove all expectations for stdint.h contents.
13021 [C99-based standards] (PRI*): Do not allow.
13022 [C99-based standards] (SCN*): Likewise.
13023 [C99-based standards] (*_t): Likewise.
13024 [C99-based-standards] (PRId8): Expect macro.
13025 [C99-based-standards] (PRIi8): Likewise.
13026 [C99-based-standards] (PRIo8): Likewise.
13027 [C99-based-standards] (PRIu8): Likewise.
13028 [C99-based-standards] (PRIx8): Likewise.
13029 [C99-based-standards] (PRIX8): Likewise.
13030 [C99-based-standards] (SCNd8): Likewise.
13031 [C99-based-standards] (SCNi8): Likewise.
13032 [C99-based-standards] (SCNo8): Likewise.
13033 [C99-based-standards] (SCNu8): Likewise.
13034 [C99-based-standards] (SCNx8): Likewise.
13035 [C99-based-standards] (PRIdLEAST8): Likewise.
13036 [C99-based-standards] (PRIiLEAST8): Likewise.
13037 [C99-based-standards] (PRIoLEAST8): Likewise.
13038 [C99-based-standards] (PRIuLEAST8): Likewise.
13039 [C99-based-standards] (PRIxLEAST8): Likewise.
13040 [C99-based-standards] (PRIXLEAST8): Likewise.
13041 [C99-based-standards] (SCNdLEAST8): Likewise.
13042 [C99-based-standards] (SCNiLEAST8): Likewise.
13043 [C99-based-standards] (SCNoLEAST8): Likewise.
13044 [C99-based-standards] (SCNuLEAST8): Likewise.
13045 [C99-based-standards] (SCNxLEAST8): Likewise.
13046 [C99-based-standards] (PRIdFAST8): Likewise.
13047 [C99-based-standards] (PRIiFAST8): Likewise.
13048 [C99-based-standards] (PRIoFAST8): Likewise.
13049 [C99-based-standards] (PRIuFAST8): Likewise.
13050 [C99-based-standards] (PRIxFAST8): Likewise.
13051 [C99-based-standards] (PRIXFAST8): Likewise.
13052 [C99-based-standards] (SCNdFAST8): Likewise.
13053 [C99-based-standards] (SCNiFAST8): Likewise.
13054 [C99-based-standards] (SCNoFAST8): Likewise.
13055 [C99-based-standards] (SCNuFAST8): Likewise.
13056 [C99-based-standards] (SCNxFAST8): Likewise.
13057 [C99-based-standards] (PRId16): Likewise.
13058 [C99-based-standards] (PRIi16): Likewise.
13059 [C99-based-standards] (PRIo16): Likewise.
13060 [C99-based-standards] (PRIu16): Likewise.
13061 [C99-based-standards] (PRIx16): Likewise.
13062 [C99-based-standards] (PRIX16): Likewise.
13063 [C99-based-standards] (SCNd16): Likewise.
13064 [C99-based-standards] (SCNi16): Likewise.
13065 [C99-based-standards] (SCNo16): Likewise.
13066 [C99-based-standards] (SCNu16): Likewise.
13067 [C99-based-standards] (SCNx16): Likewise.
13068 [C99-based-standards] (PRIdLEAST16): Likewise.
13069 [C99-based-standards] (PRIiLEAST16): Likewise.
13070 [C99-based-standards] (PRIoLEAST16): Likewise.
13071 [C99-based-standards] (PRIuLEAST16): Likewise.
13072 [C99-based-standards] (PRIxLEAST16): Likewise.
13073 [C99-based-standards] (PRIXLEAST16): Likewise.
13074 [C99-based-standards] (SCNdLEAST16): Likewise.
13075 [C99-based-standards] (SCNiLEAST16): Likewise.
13076 [C99-based-standards] (SCNoLEAST16): Likewise.
13077 [C99-based-standards] (SCNuLEAST16): Likewise.
13078 [C99-based-standards] (SCNxLEAST16): Likewise.
13079 [C99-based-standards] (PRIdFAST16): Likewise.
13080 [C99-based-standards] (PRIiFAST16): Likewise.
13081 [C99-based-standards] (PRIoFAST16): Likewise.
13082 [C99-based-standards] (PRIuFAST16): Likewise.
13083 [C99-based-standards] (PRIxFAST16): Likewise.
13084 [C99-based-standards] (PRIXFAST16): Likewise.
13085 [C99-based-standards] (SCNdFAST16): Likewise.
13086 [C99-based-standards] (SCNiFAST16): Likewise.
13087 [C99-based-standards] (SCNoFAST16): Likewise.
13088 [C99-based-standards] (SCNuFAST16): Likewise.
13089 [C99-based-standards] (SCNxFAST16): Likewise.
13090 [C99-based-standards] (PRId32): Likewise.
13091 [C99-based-standards] (PRIi32): Likewise.
13092 [C99-based-standards] (PRIo32): Likewise.
13093 [C99-based-standards] (PRIu32): Likewise.
13094 [C99-based-standards] (PRIx32): Likewise.
13095 [C99-based-standards] (PRIX32): Likewise.
13096 [C99-based-standards] (SCNd32): Likewise.
13097 [C99-based-standards] (SCNi32): Likewise.
13098 [C99-based-standards] (SCNo32): Likewise.
13099 [C99-based-standards] (SCNu32): Likewise.
13100 [C99-based-standards] (SCNx32): Likewise.
13101 [C99-based-standards] (PRIdLEAST32): Likewise.
13102 [C99-based-standards] (PRIiLEAST32): Likewise.
13103 [C99-based-standards] (PRIoLEAST32): Likewise.
13104 [C99-based-standards] (PRIuLEAST32): Likewise.
13105 [C99-based-standards] (PRIxLEAST32): Likewise.
13106 [C99-based-standards] (PRIXLEAST32): Likewise.
13107 [C99-based-standards] (SCNdLEAST32): Likewise.
13108 [C99-based-standards] (SCNiLEAST32): Likewise.
13109 [C99-based-standards] (SCNoLEAST32): Likewise.
13110 [C99-based-standards] (SCNuLEAST32): Likewise.
13111 [C99-based-standards] (SCNxLEAST32): Likewise.
13112 [C99-based-standards] (PRIdFAST32): Likewise.
13113 [C99-based-standards] (PRIiFAST32): Likewise.
13114 [C99-based-standards] (PRIoFAST32): Likewise.
13115 [C99-based-standards] (PRIuFAST32): Likewise.
13116 [C99-based-standards] (PRIxFAST32): Likewise.
13117 [C99-based-standards] (PRIXFAST32): Likewise.
13118 [C99-based-standards] (SCNdFAST32): Likewise.
13119 [C99-based-standards] (SCNiFAST32): Likewise.
13120 [C99-based-standards] (SCNoFAST32): Likewise.
13121 [C99-based-standards] (SCNuFAST32): Likewise.
13122 [C99-based-standards] (SCNxFAST32): Likewise.
13123 [C99-based-standards] (PRId64): Likewise.
13124 [C99-based-standards] (PRIi64): Likewise.
13125 [C99-based-standards] (PRIo64): Likewise.
13126 [C99-based-standards] (PRIu64): Likewise.
13127 [C99-based-standards] (PRIx64): Likewise.
13128 [C99-based-standards] (PRIX64): Likewise.
13129 [C99-based-standards] (SCNd64): Likewise.
13130 [C99-based-standards] (SCNi64): Likewise.
13131 [C99-based-standards] (SCNo64): Likewise.
13132 [C99-based-standards] (SCNu64): Likewise.
13133 [C99-based-standards] (SCNx64): Likewise.
13134 [C99-based-standards] (PRIdLEAST64): Likewise.
13135 [C99-based-standards] (PRIiLEAST64): Likewise.
13136 [C99-based-standards] (PRIoLEAST64): Likewise.
13137 [C99-based-standards] (PRIuLEAST64): Likewise.
13138 [C99-based-standards] (PRIxLEAST64): Likewise.
13139 [C99-based-standards] (PRIXLEAST64): Likewise.
13140 [C99-based-standards] (SCNdLEAST64): Likewise.
13141 [C99-based-standards] (SCNiLEAST64): Likewise.
13142 [C99-based-standards] (SCNoLEAST64): Likewise.
13143 [C99-based-standards] (SCNuLEAST64): Likewise.
13144 [C99-based-standards] (SCNxLEAST64): Likewise.
13145 [C99-based-standards] (PRIdFAST64): Likewise.
13146 [C99-based-standards] (PRIiFAST64): Likewise.
13147 [C99-based-standards] (PRIoFAST64): Likewise.
13148 [C99-based-standards] (PRIuFAST64): Likewise.
13149 [C99-based-standards] (PRIxFAST64): Likewise.
13150 [C99-based-standards] (PRIXFAST64): Likewise.
13151 [C99-based-standards] (SCNdFAST64): Likewise.
13152 [C99-based-standards] (SCNiFAST64): Likewise.
13153 [C99-based-standards] (SCNoFAST64): Likewise.
13154 [C99-based-standards] (SCNuFAST64): Likewise.
13155 [C99-based-standards] (SCNxFAST64): Likewise.
13156 [C99-based-standards] (PRIdMAX): Likewise.
13157 [C99-based-standards] (PRIiMAX): Likewise.
13158 [C99-based-standards] (PRIoMAX): Likewise.
13159 [C99-based-standards] (PRIuMAX): Likewise.
13160 [C99-based-standards] (PRIxMAX): Likewise.
13161 [C99-based-standards] (PRIXMAX): Likewise.
13162 [C99-based-standards] (SCNdMAX): Likewise.
13163 [C99-based-standards] (SCNiMAX): Likewise.
13164 [C99-based-standards] (SCNoMAX): Likewise.
13165 [C99-based-standards] (SCNuMAX): Likewise.
13166 [C99-based-standards] (SCNxMAX): Likewise.
13167 [C99-based-standards] (PRIdPTR): Likewise.
13168 [C99-based-standards] (PRIiPTR): Likewise.
13169 [C99-based-standards] (PRIoPTR): Likewise.
13170 [C99-based-standards] (PRIuPTR): Likewise.
13171 [C99-based-standards] (PRIxPTR): Likewise.
13172 [C99-based-standards] (PRIXPTR): Likewise.
13173 [C99-based-standards] (SCNdPTR): Likewise.
13174 [C99-based-standards] (SCNiPTR): Likewise.
13175 [C99-based-standards] (SCNoPTR): Likewise.
13176 [C99-based-standards] (SCNuPTR): Likewise.
13177 [C99-based-standards] (SCNxPTR): Likewise.
13178 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
13180 * conform/data/stdint.h-data: Update comments to clarify
13182 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
13184 [C99-based standards] (INT8_MAX): Likewise.
13185 [C99-based standards] (INT16_MIN): Likewise.
13186 [C99-based standards] (INT16_MAX): Likewise.
13187 [C99-based standards] (INT32_MIN): Likewise.
13188 [C99-based standards] (INT32_MAX): Likewise.
13189 [C99-based standards] (INT64_MIN): Likewise.
13190 [C99-based standards] (INT64_MAX): Likewise.
13191 [C99-based standards] (UINT8_MAX): Likewise.
13192 [C99-based standards] (UINT16_MAX): Likewise.
13193 [C99-based standards] (UINT32_MAX): Likewise.
13194 [C99-based standards] (UINT64_MAX): Likewise.
13195 [C99-based standards] (INT_LEAST8_MIN): Likewise.
13196 [C99-based standards] (INT_LEAST8_MAX): Likewise.
13197 [C99-based standards] (INT_LEAST16_MIN): Likewise.
13198 [C99-based standards] (INT_LEAST16_MAX): Likewise.
13199 [C99-based standards] (INT_LEAST32_MIN): Likewise.
13200 [C99-based standards] (INT_LEAST32_MAX): Likewise.
13201 [C99-based standards] (INT_LEAST64_MIN): Likewise.
13202 [C99-based standards] (INT_LEAST64_MAX): Likewise.
13203 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
13204 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
13205 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
13206 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
13207 [C99-based standards] (INT_FAST8_MIN): Likewise.
13208 [C99-based standards] (INT_FAST8_MAX): Likewise.
13209 [C99-based standards] (INT_FAST16_MIN): Likewise.
13210 [C99-based standards] (INT_FAST16_MAX): Likewise.
13211 [C99-based standards] (INT_FAST32_MIN): Likewise.
13212 [C99-based standards] (INT_FAST32_MAX): Likewise.
13213 [C99-based standards] (INT_FAST64_MIN): Likewise.
13214 [C99-based standards] (INT_FAST64_MAX): Likewise.
13215 [C99-based standards] (UINT_FAST8_MAX): Likewise.
13216 [C99-based standards] (UINT_FAST16_MAX): Likewise.
13217 [C99-based standards] (UINT_FAST32_MAX): Likewise.
13218 [C99-based standards] (UINT_FAST64_MAX): Likewise.
13219 [C99-based standards] (INTPTR_MIN): Likewise.
13220 [C99-based standards] (INTPTR_MAX): Likewise.
13221 [C99-based standards] (UINTPTR_MAX): Likewise.
13222 [C99-based standards] (INTMAX_MIN): Likewise.
13223 [C99-based standards] (INTMAX_MAX): Likewise.
13224 [C99-based standards] (UINTMAX_MAX): Likewise.
13225 [C99-based standards] (PTRDIFF_MIN): Likewise.
13226 [C99-based standards] (PTRDIFF_MAX): Likewise.
13227 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
13228 [C99-based standards] (SIZE_MAX): Likewise.
13229 [C99-based standards] (WCHAR_MAX): Likewise.
13230 [C99-based standards] (WINT_MAX): Likewise.
13231 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
13232 constraint on value.
13233 [C99-based standards] (WCHAR_MIN): Likewise.
13234 [C99-based standards] (WINT_MIN): Likewise.
13235 [C99-based standards] (*_t): Allow.
13236 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
13237 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
13238 Include math.h-data and complex.h-data. Remove all expectations
13239 of math.h and complex.h contents.
13240 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
13242 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
13243 (struct tm): Expect tag.
13244 [C99-based-standards] (wcstof): Expect function.
13245 [C99-based-standards] (wcstold): Likewise.
13246 [C99-based-standards] (wcstoll): Likewise.
13247 [C99-based-standards] (wcstoull): Likewise.
13248 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
13249 macro-int-constant. Specify type.
13250 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
13251 constraint on value.
13252 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
13254 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
13256 [ISO C standards]: Do not allow headers.
13257 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
13258 wcs[abcdefghijklmnopqrstuvwxyz]*.
13259 [ISO C standards] (*_t): Do not allow.
13260 * conform/data/wctype.h-data [C99-based standards] (iswblank):
13262 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
13263 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
13265 [ISO C standards]: Do not allow headers.
13266 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
13267 is[abcdefghijklmnopqrstuvwxyz]*.
13268 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
13269 to[abcdefghijklmnopqrstuvwxyz]*.
13270 [ISO C standards] (*_t): Do not allow.
13271 * conform/data/stdalign.h-data: New file.
13272 * conform/data/stdbool.h-data: Likewise.
13273 * conform/data/stdnoreturn.h-data: Likewise.
13275 2012-11-07 Roland McGrath <roland@hack.frob.com>
13278 * manual/filesys.texi (Directory Entries): Typo fix.
13279 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
13281 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13283 * elf/elf.h (EM_AARCH64): New macro.
13284 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
13285 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
13286 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
13287 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
13288 (R_AARCH64_TLSDESC): Likewise.
13289 (NT_ARM_TLS): Likewise.
13290 (NT_ARM_HW_BREAK): Likewise.
13291 (NT_ARM_HW_WATCH): Likewise.
13293 2012-11-07 Joseph Myers <joseph@codesourcery.com>
13296 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
13297 (__ieee754_powl): Saturate nonzero exponents with absolute value
13298 below 0x1p-79 to +/- 0x1p-79.
13299 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
13300 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
13301 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
13302 nonzero exponents with absolute value below 0x1p-32 to +/-
13304 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
13305 (__ieee754_powl): Saturate nonzero exponents with absolute value
13306 below 0x1p-79 to +/- 0x1p-79.
13307 * math/libm-test.inc (pow_test): Add more tests.
13309 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13311 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
13312 _dl_s390_cap_flags with kernel. Increase string length.
13313 (_dl_s390_platforms): Add z196 and zEC12.
13315 2012-11-07 Joseph Myers <joseph@codesourcery.com>
13317 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
13318 Change XOPEN21K to XOPEN2K.
13320 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
13322 * string/memmove.c: Use memcpy when possible.
13324 2012-11-06 Andreas Jaeger <aj@suse.de>
13326 * po/eo.po: Update from translation team.
13328 2012-11-06 Joseph Myers <joseph@codesourcery.com>
13331 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
13332 exponent and small x and y exponents, scale x or y up. Increase
13333 by 2 the exponent used in scaling up.
13334 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13335 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13336 * math/libm-test.inc (fma_test): Add more tests.
13337 (fma_test_towardzero): Likewise.
13338 (fma_test_downward): Likewise.
13339 (fma_test_upward): Likewise.
13341 2012-11-05 Joseph Myers <joseph@codesourcery.com>
13344 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
13348 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
13349 namespace for names of struct fields.
13350 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
13352 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
13353 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
13355 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
13358 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
13360 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
13362 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
13366 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
13369 2012-11-04 Joseph Myers <joseph@codesourcery.com>
13372 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
13373 definitely overflow as x * y not x * y + z.
13374 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13375 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13376 * math/libm-test.inc (fma_test): Add more tests.
13377 (fma_test_towardzero): Likewise.
13378 (fma_test_downward): Likewise.
13379 (fma_test_upward): Likewise.
13381 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
13385 * include/stub-tag.h: Remove file.
13386 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
13388 * manual/maint.texi (Porting): Don't reference it.
13389 * Makerules ($(objpfx)stubs): Likewise.
13390 * dirent/closedir.c: Don't include <stub-tag.h>.
13391 * dirent/dirfd.c: Likewise.
13392 * dirent/fdopendir.c: Likewise.
13393 * dirent/getdents.c: Likewise.
13394 * dirent/getdents64.c: Likewise.
13395 * dirent/opendir.c: Likewise.
13396 * dirent/readdir.c: Likewise.
13397 * dirent/readdir64.c: Likewise.
13398 * dirent/readdir64_r.c: Likewise.
13399 * dirent/readdir_r.c: Likewise.
13400 * dirent/rewinddir.c: Likewise.
13401 * dirent/seekdir.c: Likewise.
13402 * dirent/telldir.c: Likewise.
13403 * gmon/profil.c: Likewise.
13404 * grp/setgroups.c: Likewise.
13405 * inet/if_index.c: Likewise.
13406 * io/access.c: Likewise.
13407 * io/chdir.c: Likewise.
13408 * io/chmod.c: Likewise.
13409 * io/chown.c: Likewise.
13410 * io/close.c: Likewise.
13411 * io/dup.c: Likewise.
13412 * io/dup2.c: Likewise.
13413 * io/dup3.c: Likewise.
13414 * io/euidaccess.c: Likewise.
13415 * io/faccessat.c: Likewise.
13416 * io/fchdir.c: Likewise.
13417 * io/fchmod.c: Likewise.
13418 * io/fchmodat.c: Likewise.
13419 * io/fchown.c: Likewise.
13420 * io/fchownat.c: Likewise.
13421 * io/fcntl.c: Likewise.
13422 * io/flock.c: Likewise.
13423 * io/fstatfs.c: Likewise.
13424 * io/fstatfs64.c: Likewise.
13425 * io/fstatvfs.c: Likewise.
13426 * io/fstatvfs64.c: Likewise.
13427 * io/futimens.c: Likewise.
13428 * io/fxstat.c: Likewise.
13429 * io/fxstat64.c: Likewise.
13430 * io/fxstatat.c: Likewise.
13431 * io/fxstatat64.c: Likewise.
13432 * io/getcwd.c: Likewise.
13433 * io/isatty.c: Likewise.
13434 * io/lchmod.c: Likewise.
13435 * io/lchown.c: Likewise.
13436 * io/link.c: Likewise.
13437 * io/linkat.c: Likewise.
13438 * io/lseek.c: Likewise.
13439 * io/lseek64.c: Likewise.
13440 * io/lxstat64.c: Likewise.
13441 * io/mkdir.c: Likewise.
13442 * io/mkdirat.c: Likewise.
13443 * io/mkfifo.c: Likewise.
13444 * io/mkfifoat.c: Likewise.
13445 * io/open.c: Likewise.
13446 * io/open64.c: Likewise.
13447 * io/openat.c: Likewise.
13448 * io/openat64.c: Likewise.
13449 * io/pipe.c: Likewise.
13450 * io/pipe2.c: Likewise.
13451 * io/poll.c: Likewise.
13452 * io/posix_fadvise.c: Likewise.
13453 * io/posix_fadvise64.c: Likewise.
13454 * io/posix_fallocate.c: Likewise.
13455 * io/posix_fallocate64.c: Likewise.
13456 * io/read.c: Likewise.
13457 * io/readlink.c: Likewise.
13458 * io/readlinkat.c: Likewise.
13459 * io/rmdir.c: Likewise.
13460 * io/sendfile.c: Likewise.
13461 * io/sendfile64.c: Likewise.
13462 * io/statfs.c: Likewise.
13463 * io/statfs64.c: Likewise.
13464 * io/statvfs.c: Likewise.
13465 * io/statvfs64.c: Likewise.
13466 * io/symlink.c: Likewise.
13467 * io/symlinkat.c: Likewise.
13468 * io/ttyname.c: Likewise.
13469 * io/ttyname_r.c: Likewise.
13470 * io/umask.c: Likewise.
13471 * io/unlink.c: Likewise.
13472 * io/unlinkat.c: Likewise.
13473 * io/utime.c: Likewise.
13474 * io/utimensat.c: Likewise.
13475 * io/write.c: Likewise.
13476 * io/xmknod.c: Likewise.
13477 * io/xmknodat.c: Likewise.
13478 * io/xstat.c: Likewise.
13479 * io/xstat64.c: Likewise.
13480 * login/getpt.c: Likewise.
13481 * login/grantpt.c: Likewise.
13482 * login/unlockpt.c: Likewise.
13483 * math/e_acoshl.c: Likewise.
13484 * math/e_acosl.c: Likewise.
13485 * math/e_asinl.c: Likewise.
13486 * math/e_atan2l.c: Likewise.
13487 * math/e_atanhl.c: Likewise.
13488 * math/e_coshl.c: Likewise.
13489 * math/e_expl.c: Likewise.
13490 * math/e_fmodl.c: Likewise.
13491 * math/e_gammal_r.c: Likewise.
13492 * math/e_hypotl.c: Likewise.
13493 * math/e_j0l.c: Likewise.
13494 * math/e_j1l.c: Likewise.
13495 * math/e_jnl.c: Likewise.
13496 * math/e_lgammal_r.c: Likewise.
13497 * math/e_log10l.c: Likewise.
13498 * math/e_log2l.c: Likewise.
13499 * math/e_logl.c: Likewise.
13500 * math/e_powl.c: Likewise.
13501 * math/e_rem_pio2l.c: Likewise.
13502 * math/e_sinhl.c: Likewise.
13503 * math/e_sqrtl.c: Likewise.
13504 * math/fclrexcpt.c: Likewise.
13505 * math/fedisblxcpt.c: Likewise.
13506 * math/feenablxcpt.c: Likewise.
13507 * math/fegetenv.c: Likewise.
13508 * math/fegetexcept.c: Likewise.
13509 * math/fegetround.c: Likewise.
13510 * math/feholdexcpt.c: Likewise.
13511 * math/fesetenv.c: Likewise.
13512 * math/fesetround.c: Likewise.
13513 * math/feupdateenv.c: Likewise.
13514 * math/fgetexcptflg.c: Likewise.
13515 * math/fraiseexcpt.c: Likewise.
13516 * math/fsetexcptflg.c: Likewise.
13517 * math/ftestexcept.c: Likewise.
13518 * math/k_cosl.c: Likewise.
13519 * math/k_rem_pio2l.c: Likewise.
13520 * math/k_sinl.c: Likewise.
13521 * math/k_tanl.c: Likewise.
13522 * math/s_asinhl.c: Likewise.
13523 * math/s_atanl.c: Likewise.
13524 * math/s_cbrtl.c: Likewise.
13525 * math/s_erfl.c: Likewise.
13526 * math/s_expm1l.c: Likewise.
13527 * math/s_log1pl.c: Likewise.
13528 * math/s_tanhl.c: Likewise.
13529 * misc/acct.c: Likewise.
13530 * misc/brk.c: Likewise.
13531 * misc/chflags.c: Likewise.
13532 * misc/chroot.c: Likewise.
13533 * misc/fchflags.c: Likewise.
13534 * misc/fgetxattr.c: Likewise.
13535 * misc/flistxattr.c: Likewise.
13536 * misc/fremovexattr.c: Likewise.
13537 * misc/fsetxattr.c: Likewise.
13538 * misc/fsync.c: Likewise.
13539 * misc/ftruncate.c: Likewise.
13540 * misc/futimes.c: Likewise.
13541 * misc/futimesat.c: Likewise.
13542 * misc/getdomain.c: Likewise.
13543 * misc/getdtsz.c: Likewise.
13544 * misc/gethostid.c: Likewise.
13545 * misc/gethostname.c: Likewise.
13546 * misc/getloadavg.c: Likewise.
13547 * misc/getpagesize.c: Likewise.
13548 * misc/getsysstats.c: Likewise.
13549 * misc/getxattr.c: Likewise.
13550 * misc/gtty.c: Likewise.
13551 * misc/ioctl.c: Likewise.
13552 * misc/lgetxattr.c: Likewise.
13553 * misc/listxattr.c: Likewise.
13554 * misc/llistxattr.c: Likewise.
13555 * misc/lremovexattr.c: Likewise.
13556 * misc/lsetxattr.c: Likewise.
13557 * misc/lutimes.c: Likewise.
13558 * misc/madvise.c: Likewise.
13559 * misc/mincore.c: Likewise.
13560 * misc/mlock.c: Likewise.
13561 * misc/mlockall.c: Likewise.
13562 * misc/mmap.c: Likewise.
13563 * misc/mprotect.c: Likewise.
13564 * misc/msync.c: Likewise.
13565 * misc/munlock.c: Likewise.
13566 * misc/munlockall.c: Likewise.
13567 * misc/munmap.c: Likewise.
13568 * misc/preadv.c: Likewise.
13569 * misc/preadv64.c: Likewise.
13570 * misc/ptrace.c: Likewise.
13571 * misc/pwritev.c: Likewise.
13572 * misc/pwritev64.c: Likewise.
13573 * misc/readv.c: Likewise.
13574 * misc/reboot.c: Likewise.
13575 * misc/remap_file_pages.c: Likewise.
13576 * misc/removexattr.c: Likewise.
13577 * misc/revoke.c: Likewise.
13578 * misc/select.c: Likewise.
13579 * misc/setdomain.c: Likewise.
13580 * misc/setegid.c: Likewise.
13581 * misc/seteuid.c: Likewise.
13582 * misc/sethostid.c: Likewise.
13583 * misc/sethostname.c: Likewise.
13584 * misc/setregid.c: Likewise.
13585 * misc/setreuid.c: Likewise.
13586 * misc/setxattr.c: Likewise.
13587 * misc/sstk.c: Likewise.
13588 * misc/stty.c: Likewise.
13589 * misc/swapoff.c: Likewise.
13590 * misc/swapon.c: Likewise.
13591 * misc/sync.c: Likewise.
13592 * misc/syncfs.c: Likewise.
13593 * misc/syscall.c: Likewise.
13594 * misc/truncate.c: Likewise.
13595 * misc/ualarm.c: Likewise.
13596 * misc/usleep.c: Likewise.
13597 * misc/ustat.c: Likewise.
13598 * misc/utimes.c: Likewise.
13599 * misc/vhangup.c: Likewise.
13600 * misc/writev.c: Likewise.
13601 * posix/_exit.c: Likewise.
13602 * posix/alarm.c: Likewise.
13603 * posix/execve.c: Likewise.
13604 * posix/fexecve.c: Likewise.
13605 * posix/fork.c: Likewise.
13606 * posix/fpathconf.c: Likewise.
13607 * posix/getaddrinfo.c: Likewise.
13608 * posix/getegid.c: Likewise.
13609 * posix/geteuid.c: Likewise.
13610 * posix/getgid.c: Likewise.
13611 * posix/getgroups.c: Likewise.
13612 * posix/getlogin.c: Likewise.
13613 * posix/getlogin_r.c: Likewise.
13614 * posix/getpgid.c: Likewise.
13615 * posix/getpid.c: Likewise.
13616 * posix/getppid.c: Likewise.
13617 * posix/getresgid.c: Likewise.
13618 * posix/getresuid.c: Likewise.
13619 * posix/getsid.c: Likewise.
13620 * posix/getuid.c: Likewise.
13621 * posix/glob64.c: Likewise.
13622 * posix/nanosleep.c: Likewise.
13623 * posix/pathconf.c: Likewise.
13624 * posix/pause.c: Likewise.
13625 * posix/posix_madvise.c: Likewise.
13626 * posix/pread.c: Likewise.
13627 * posix/pread64.c: Likewise.
13628 * posix/pwrite.c: Likewise.
13629 * posix/pwrite64.c: Likewise.
13630 * posix/sched_getaffinity.c: Likewise.
13631 * posix/sched_getp.c: Likewise.
13632 * posix/sched_gets.c: Likewise.
13633 * posix/sched_primax.c: Likewise.
13634 * posix/sched_primin.c: Likewise.
13635 * posix/sched_rr_gi.c: Likewise.
13636 * posix/sched_setaffinity.c: Likewise.
13637 * posix/sched_setp.c: Likewise.
13638 * posix/sched_sets.c: Likewise.
13639 * posix/sched_yield.c: Likewise.
13640 * posix/setgid.c: Likewise.
13641 * posix/setlogin.c: Likewise.
13642 * posix/setpgid.c: Likewise.
13643 * posix/setresgid.c: Likewise.
13644 * posix/setresuid.c: Likewise.
13645 * posix/setsid.c: Likewise.
13646 * posix/setuid.c: Likewise.
13647 * posix/sleep.c: Likewise.
13648 * posix/spawni.c: Likewise.
13649 * posix/sysconf.c: Likewise.
13650 * posix/times.c: Likewise.
13651 * posix/wait.c: Likewise.
13652 * posix/wait3.c: Likewise.
13653 * posix/wait4.c: Likewise.
13654 * posix/waitpid.c: Likewise.
13655 * resolv/gai_sigqueue.c: Likewise.
13656 * resource/getpriority.c: Likewise.
13657 * resource/getrlimit.c: Likewise.
13658 * resource/getrusage.c: Likewise.
13659 * resource/nice.c: Likewise.
13660 * resource/setpriority.c: Likewise.
13661 * resource/setrlimit.c: Likewise.
13662 * resource/ulimit.c: Likewise.
13663 * rt/aio_cancel.c: Likewise.
13664 * rt/aio_fsync.c: Likewise.
13665 * rt/aio_read.c: Likewise.
13666 * rt/aio_sigqueue.c: Likewise.
13667 * rt/aio_suspend.c: Likewise.
13668 * rt/aio_write.c: Likewise.
13669 * rt/clock_getres.c: Likewise.
13670 * rt/clock_gettime.c: Likewise.
13671 * rt/clock_nanosleep.c: Likewise.
13672 * rt/clock_settime.c: Likewise.
13673 * rt/lio_listio.c: Likewise.
13674 * rt/mq_close.c: Likewise.
13675 * rt/mq_getattr.c: Likewise.
13676 * rt/mq_notify.c: Likewise.
13677 * rt/mq_open.c: Likewise.
13678 * rt/mq_receive.c: Likewise.
13679 * rt/mq_send.c: Likewise.
13680 * rt/mq_setattr.c: Likewise.
13681 * rt/mq_timedreceive.c: Likewise.
13682 * rt/mq_timedsend.c: Likewise.
13683 * rt/mq_unlink.c: Likewise.
13684 * rt/shm_open.c: Likewise.
13685 * rt/shm_unlink.c: Likewise.
13686 * rt/timer_create.c: Likewise.
13687 * rt/timer_delete.c: Likewise.
13688 * rt/timer_getoverr.c: Likewise.
13689 * rt/timer_gettime.c: Likewise.
13690 * rt/timer_settime.c: Likewise.
13691 * setjmp/__longjmp.c: Likewise.
13692 * setjmp/setjmp.c: Likewise.
13693 * signal/kill.c: Likewise.
13694 * signal/killpg.c: Likewise.
13695 * signal/raise.c: Likewise.
13696 * signal/sigaction.c: Likewise.
13697 * signal/sigaltstack.c: Likewise.
13698 * signal/sigblock.c: Likewise.
13699 * signal/sigignore.c: Likewise.
13700 * signal/sigintr.c: Likewise.
13701 * signal/signal.c: Likewise.
13702 * signal/sigpause.c: Likewise.
13703 * signal/sigpending.c: Likewise.
13704 * signal/sigqueue.c: Likewise.
13705 * signal/sigreturn.c: Likewise.
13706 * signal/sigset.c: Likewise.
13707 * signal/sigsetmask.c: Likewise.
13708 * signal/sigstack.c: Likewise.
13709 * signal/sigsuspend.c: Likewise.
13710 * signal/sigtimedwait.c: Likewise.
13711 * signal/sigvec.c: Likewise.
13712 * signal/sigwait.c: Likewise.
13713 * signal/sigwaitinfo.c: Likewise.
13714 * signal/sysv_signal.c: Likewise.
13715 * socket/accept.c: Likewise.
13716 * socket/accept4.c: Likewise.
13717 * socket/bind.c: Likewise.
13718 * socket/connect.c: Likewise.
13719 * socket/getpeername.c: Likewise.
13720 * socket/getsockname.c: Likewise.
13721 * socket/getsockopt.c: Likewise.
13722 * socket/isfdtype.c: Likewise.
13723 * socket/listen.c: Likewise.
13724 * socket/recv.c: Likewise.
13725 * socket/recvfrom.c: Likewise.
13726 * socket/recvmsg.c: Likewise.
13727 * socket/send.c: Likewise.
13728 * socket/sendmsg.c: Likewise.
13729 * socket/sendto.c: Likewise.
13730 * socket/setsockopt.c: Likewise.
13731 * socket/shutdown.c: Likewise.
13732 * socket/sockatmark.c: Likewise.
13733 * socket/socket.c: Likewise.
13734 * socket/socketpair.c: Likewise.
13735 * stdio-common/ctermid.c: Likewise.
13736 * stdio-common/cuserid.c: Likewise.
13737 * stdio-common/remove.c: Likewise.
13738 * stdio-common/rename.c: Likewise.
13739 * stdio-common/renameat.c: Likewise.
13740 * stdio-common/tempname.c: Likewise.
13741 * stdlib/getcontext.c: Likewise.
13742 * stdlib/makecontext.c: Likewise.
13743 * stdlib/setcontext.c: Likewise.
13744 * stdlib/swapcontext.c: Likewise.
13745 * stdlib/system.c: Likewise.
13746 * streams/fattach.c: Likewise.
13747 * streams/fdetach.c: Likewise.
13748 * streams/getmsg.c: Likewise.
13749 * streams/getpmsg.c: Likewise.
13750 * streams/putmsg.c: Likewise.
13751 * streams/putpmsg.c: Likewise.
13752 * sysdeps/unix/bsd/getpt.c: Likewise.
13753 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
13754 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
13755 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
13756 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
13758 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
13759 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
13760 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
13761 * sysvipc/msgctl.c: Likewise.
13762 * sysvipc/msgget.c: Likewise.
13763 * sysvipc/msgrcv.c: Likewise.
13764 * sysvipc/msgsnd.c: Likewise.
13765 * sysvipc/semctl.c: Likewise.
13766 * sysvipc/semget.c: Likewise.
13767 * sysvipc/semop.c: Likewise.
13768 * sysvipc/semtimedop.c: Likewise.
13769 * sysvipc/shmat.c: Likewise.
13770 * sysvipc/shmctl.c: Likewise.
13771 * sysvipc/shmdt.c: Likewise.
13772 * sysvipc/shmget.c: Likewise.
13773 * termios/tcdrain.c: Likewise.
13774 * termios/tcflow.c: Likewise.
13775 * termios/tcflush.c: Likewise.
13776 * termios/tcgetattr.c: Likewise.
13777 * termios/tcgetpgrp.c: Likewise.
13778 * termios/tcsendbrk.c: Likewise.
13779 * termios/tcsetattr.c: Likewise.
13780 * termios/tcsetpgrp.c: Likewise.
13781 * time/adjtime.c: Likewise.
13782 * time/clock.c: Likewise.
13783 * time/getitimer.c: Likewise.
13784 * time/gettimeofday.c: Likewise.
13785 * time/setitimer.c: Likewise.
13786 * time/settimeofday.c: Likewise.
13787 * time/stime.c: Likewise.
13788 * time/time.c: Likewise.
13790 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
13792 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
13795 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
13797 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
13799 2012-11-03 Joseph Myers <joseph@codesourcery.com>
13802 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
13803 FE_TONEAREST before applying Dekker multiplication and Knuth
13804 addition. Clear inexact exceptions and check for exact zero
13805 results afterwards.
13806 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13807 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
13808 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13809 * math/libm-test.inc (fma_test): Add more tests.
13810 (fma_test_towardzero): Likewise.
13811 (fma_test_downward): Likewise.
13812 (fma_test_upward): Likewise.
13813 * sysdeps/generic/math_private.h (default_libc_fesetround): New
13815 (libc_fesetround): New macro.
13816 (libc_fesetroundf): Likewise.
13817 (libc_fesetroundl): Likewise.
13818 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
13820 (libc_fesetround_387): Likewise.
13821 (libc_fesetroundf): New macro.
13822 (libc_fesetround): Likewise.
13823 (libc_fesetroundl): Likewise.
13824 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
13826 (libc_fesetroundf): New macro.
13827 (libc_fesetround): Likewise.
13828 (libc_fesetroundl): Likewise.
13829 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
13830 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
13831 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
13833 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
13834 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
13836 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
13837 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
13839 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
13843 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
13844 integer constant usable in #if and use that to give value to enum
13846 (FE_DIVBYZERO): Likewise.
13847 (FE_UNDERFLOW): Likewise.
13848 (FE_OVERFLOW): Likewise.
13849 (FE_INVALID): Likewise.
13850 (FE_INVALID_SNAN): Likewise.
13851 (FE_INVALID_ISI): Likewise.
13852 (FE_INVALID_IDI): Likewise.
13853 (FE_INVALID_ZDZ): Likewise.
13854 (FE_INVALID_IMZ): Likewise.
13855 (FE_INVALID_COMPARE): Likewise.
13856 (FE_INVALID_SOFTWARE): Likewise.
13857 (FE_INVALID_SQRT): Likewise.
13858 (FE_INVALID_INTEGER_CONVERSION): Likewise.
13859 (FE_TONEAREST): Likewise.
13860 (FE_TOWARDZERO): Likewise.
13861 (FE_UPWARD): Likewise.
13862 (FE_DOWNWARD): Likewise.
13863 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
13864 (FE_DIVBYZERO): Likewise.
13865 (FE_OVERFLOW): Likewise.
13866 (FE_UNDERFLOW): Likewise.
13867 (FE_INEXACT): Likewise.
13868 (FE_TONEAREST): Likewise.
13869 (FE_DOWNWARD): Likewise.
13870 (FE_UPWARD): Likewise.
13871 (FE_TOWARDZERO): Likewise.
13872 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
13873 (FE_UNDERFLOW): Likewise.
13874 (FE_OVERFLOW): Likewise.
13875 (FE_DIVBYZERO): Likewise.
13876 (FE_INVALID): Likewise.
13877 (FE_TONEAREST): Likewise.
13878 (FE_TOWARDZERO): Likewise.
13879 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
13880 (FE_OVERFLOW): Likewise.
13881 (FE_UNDERFLOW): Likewise.
13882 (FE_DIVBYZERO): Likewise.
13883 (FE_INEXACT): Likewise.
13884 (FE_TONEAREST): Likewise.
13885 (FE_TOWARDZERO): Likewise.
13886 (FE_UPWARD): Likewise.
13887 (FE_DOWNWARD): Likewise.
13888 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
13889 (FE_DIVBYZERO): Likewise.
13890 (FE_OVERFLOW): Likewise.
13891 (FE_UNDERFLOW): Likewise.
13892 (FE_INEXACT): Likewise.
13893 (FE_TONEAREST): Likewise.
13894 (FE_DOWNWARD): Likewise.
13895 (FE_UPWARD): Likewise.
13896 (FE_TOWARDZERO): Likewise.
13898 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
13900 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
13902 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
13904 * scripts/cross-test-ssh.sh (command): Use newlines to separate
13905 commands. Quote $PWD.
13906 (blacklist_exports): Don't use remove_newlines. Replace "declare
13908 (remove_newlines): Remove.
13910 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
13912 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
13913 * stdlib/stdlib.h (atof): Moved to ...
13914 * include/bits/stdlib-float.h: Here. New file.
13915 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
13916 * stdlib/bits/stdlib-float.h: New file.
13917 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
13919 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
13922 2012-11-02 Joseph Myers <joseph@codesourcery.com>
13924 * conform/conformtest.pl (@headers): Add fenv.h.
13925 * conform/data/fenv.h-data: New file.
13926 * include/fenv.h [_ISOMAC]: Disable all contents of file except
13927 include of <math/fenv.h>.
13929 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
13930 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
13931 && !UNIX98]. Enables tests for XOPEN2K8.
13932 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
13933 POSIX2008]: Likewise.
13935 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
13936 (struct rusage): Do not expect type or its members.
13939 * math/math.h (FP_NAN): Define macro to integer constant usable in
13940 #if and use that to give value to enum constant.
13941 (FP_INFINITE): Likewise.
13942 (FP_ZERO): Likewise.
13943 (FP_SUBNORMAL): Likewise.
13944 (FP_NORMAL): Likewise.
13946 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
13948 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
13949 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
13952 2012-11-02 Roland McGrath <roland@hack.frob.com>
13954 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
13955 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
13956 autoconf-time if not.
13957 * configure.in: Remove AC_PREREQ.
13959 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13961 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
13962 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
13963 of the internal implementation.
13965 2012-11-02 Joseph Myers <joseph@codesourcery.com>
13967 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
13968 except include of <misc/sys/syslog.h>.
13970 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
13972 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
13973 function returns with a NULL context exit with zero.
13975 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13977 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
13979 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
13981 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
13982 (run_program_cmd): This.
13983 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
13984 (tst_langinfo): New variable. Use it.
13986 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
13988 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
13989 floating point opcodes.
13991 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
13993 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
13996 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
13998 * sysdeps/mach/hurd/powerpc: Remove directory.
13999 * sysdeps/mach/powerpc: Likewise.
14001 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
14003 * scripts/check-local-headers.sh: Ignore c++ headers.
14005 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
14007 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
14008 __libc_cleanup_region_start argument.
14010 2012-11-01 Joseph Myers <joseph@codesourcery.com>
14014 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
14015 x * y using scaling, not as x * y + z.
14016 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14017 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14018 * math/libm-test.inc (fma_test): Add more tests.
14019 (fma_test_towardzero): Likewise.
14020 (fma_test_downward): Likewise.
14021 (fma_test_upward): Likewise.
14023 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
14025 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
14027 2012-10-31 Joseph Myers <joseph@codesourcery.com>
14029 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
14032 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
14034 * rt/tst-shm.c (worker): Correct checking for mmap failure.
14036 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
14038 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14043 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14045 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14046 Fix the order of the list for glibc 2.17.
14047 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14050 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
14052 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14054 2012-10-31 Joseph Myers <joseph@codesourcery.com>
14057 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
14058 for low part of x being zero before using __atanl (y).
14059 * math/libm-test.inc (atan2_test): Add another test.
14061 * manual/install.texi (Configuring and compiling): Document
14062 general use of test-wrapper and test-wrapper-env.
14063 * INSTALL: Regenerated.
14065 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
14066 (__fma): Do not extract and scale down low bits on after-rounding
14067 systems when result rounded to normal precision would have normal
14069 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
14070 (__fmal): Do not extract and scale down low bits on after-rounding
14071 systems when result rounded to normal precision would have normal
14073 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
14074 (__fmal): Do not extract and scale down low bits on after-rounding
14075 systems when result rounded to normal precision would have normal
14077 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
14079 (fma_test): Add more tests.
14080 (fma_test_towardzero): Likewise.
14081 (fma_test_downward): Likewise.
14082 (fma_test_upward): Likewise.
14084 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
14086 * sysdeps/i386/tininess.h: Renamed to ...
14087 * sysdeps/x86/tininess.h: This.
14088 * sysdeps/x86_64/tininess.h: Removed.
14090 2012-10-30 Joseph Myers <joseph@codesourcery.com>
14092 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
14093 input. Use $(build-program-cmd).
14094 ($(objpfx)tst-array1-static.out): Likewise.
14095 ($(objpfx)tst-array2.out): Likewise.
14096 ($(objpfx)tst-array3.out): Likewise.
14097 ($(objpfx)tst-array4.out): Likewise.
14098 ($(objpfx)tst-array5.out): Likewise.
14099 ($(objpfx)tst-array5-static.out): Likewise.
14101 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
14103 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
14106 * nss/nsswitch.h (nss_interface_function): Provide new
14107 macro for use with NSS functions.
14108 * grp/initgroups.c: Use new macro.
14109 * nss/getXXbyYY.c: Likewise.
14110 * nss/getXXbyYY_r.c: Likewise.
14111 * nss/getXXent.c: Likewise.
14112 * nss/getXXent_r.c: Likewise.
14113 * sysdeps/posix/getaddrinfo.c: Likewise.
14115 2012-10-30 Andreas Jaeger <aj@suse.de>
14117 * po/ru.po: Update Russion translation from translation project.
14119 2012-10-30 Joseph Myers <joseph@codesourcery.com>
14123 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
14124 result and shift together with sticky bit instead of replicating
14125 round-to-nearest rounding.
14126 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14127 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14128 * math/libm-test.inc (fma_test): Add more tests. Do not permit
14129 missing underflow exceptions.
14130 (fma_test_towardzero): Add more tests.
14131 (fma_test_downward): Likewise.
14132 (fma_test_upward): Likewise.
14135 * sysdeps/generic/tininess.h: New file.
14136 * sysdeps/i386/tininess.h: Likewise.
14137 * sysdeps/sh/tininess.h: Likewise.
14138 * sysdeps/x86_64/tininess.h: Likewise.
14139 * stdlib/tst-strtod-underflow.c: Likewise.
14140 * stdlib/tst-tininess.c: Likewise.
14141 * stdlib/strtod_l.c: Include <tininess.h>.
14142 (round_and_return): Do not set errno for exact underflow cases.
14143 Force an underflow exception when setting errno for underflow.
14144 Determine underflow based on rounding to normal precision if
14145 TININESS_AFTER_ROUNDING.
14146 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
14147 ERANGE for exact underflow cases.
14148 * stdlib/Makefile (tests): Add tst-tininess and
14149 tst-strtod-underflow.
14150 ($(objpfx)tst-tininess): Use $(link-libm).
14151 ($(objpfx)tst-strtod-underflow): Likewise.
14153 2012-10-30 Andreas Jaeger <aj@suse.de>
14156 * elf/Makefile (tests): Remove conditional for have-initfini-array
14157 since this is now always required and the variable does not exist
14159 (tests-static): Likewise.
14160 (modules-names): Likewise.
14162 * po/eo.po: Add Esperanto translation from translation project.
14164 * elf/tst-array1.c (fini_array): Make writeable so that it can be
14165 merged with constructor/destructor.
14166 (init_array): Likewise.
14167 * elf/tst-array2dep.c (fini_array): Likewise.
14168 (init_array): Likewise.
14170 2012-10-29 Mike Frysinger <vapier@gentoo.org>
14172 * manual/message.texi: Delete @cartouche tags.
14174 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
14176 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
14178 * sysdeps/mach/hurd/fsync.c: Likewise.
14180 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
14181 [_POSIX_REALTIME_SIGNALS]: Change condition to
14182 [_POSIX_REALTIME_SIGNALS > 0].
14184 2012-10-27 Andreas Jaeger <aj@suse.de>
14186 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
14187 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
14188 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
14189 [__WORDSIZE != 64]: Likewise.
14191 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
14193 * iconvdata/tst-table.sh: Remove ${SHELL}.
14194 * iconvdata/tst-tables.sh: Likewise.
14196 2012-10-25 David S. Miller <davem@davemloft.net>
14198 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14199 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
14202 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
14204 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
14205 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
14206 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
14209 2012-10-25 Roland McGrath <roland@hack.frob.com>
14211 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14212 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
14215 2012-10-25 Joseph Myers <joseph@codesourcery.com>
14216 Jim Blandy <jimb@codesourcery.com>
14218 * scripts/cross-test-ssh.sh: New file.
14219 * manual/install.texi (Configuring and compiling): Document use of
14221 * INSTALL: Regenerated.
14223 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
14225 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
14228 2012-10-25 Joseph Myers <joseph@codesourcery.com>
14230 * Makeconfig (run-program-prefix): Fix comment.
14232 2012-10-24 Joseph Myers <joseph@codesourcery.com>
14233 Jim Blandy <jimb@codesourcery.com>
14235 * Makeconfig (test-wrapper): New variable,
14236 (test-wrapper-env): Likewise.
14237 [$(cross-compiling) = yes && $(test-wrapper) != ""]
14238 (run-built-tests): Define to yes.
14239 (run-program-prefix): Use $(test-wrapper).
14240 (built-program-cmd): Likewise.
14241 * Rules (make-test-out): Use $(test-wrapper-env) and
14242 $(host-built-program-cmd).
14243 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
14244 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
14246 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
14247 $(test-wrapper-env) to tst-rtld-load-self.sh.
14248 ($(objpfx)order2.out): Use $(test-wrapper).
14249 ($(objpfx)tst-initorder.out): Likewise.
14250 ($(objpfx)tst-initorder2.out): Likewise.
14251 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
14252 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
14253 (test_wrapper_env): New variable. Use it to run ld.so.
14254 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
14255 Use it to run ld.so.
14256 (test_wrapper_env): Likewise.
14257 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
14258 $(test-wrapper) to run-iconv-test.sh.
14259 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
14260 (ICONV): Use $test_wrapper.
14261 * posix/Makefile ($(objpfx)globtest.out): Pass
14262 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
14263 globtest.sh, not $(run-program-prefix).
14264 * posix/globtest.sh (run_via_rtld_prefix): New variable.
14265 (test_wrapper): Likewise.
14266 (test_wrapper_env): Likewise. Use it to run globtest with HOME
14267 set together with run_via_rtld_prefix.
14268 (run_program_prefix): Define in terms of test_wrapper and
14269 run_via_rtld_prefix.
14271 2012-10-24 Roland McGrath <roland@hack.frob.com>
14273 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
14274 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
14278 * include/time.h: Remove librt_hidden_proto (clock_gettime).
14279 Declare __clock_getres, __clock_gettime, __clock_settime,
14280 __clock_nanosleep, and __clock_getcpuclockid.
14281 * rt/clock_gettime.c: Define __clock_gettime as an alias.
14282 Remove librt_hidden_def (clock_gettime).
14283 * sysdeps/unix/clock_gettime.c: Likewise.
14284 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
14285 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
14286 * rt/clock_getres.c: Define __clock_getres as an alias.
14287 * sysdeps/posix/clock_getres.c: Likewise.
14288 * rt/clock_settime.c: Define __clock_settime as an alias.
14289 * sysdeps/unix/clock_settime.c: Likewise.
14290 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
14291 * sysdeps/unix/clock_nanosleep.c: Likewise.
14292 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
14293 * rt/clock-compat.c: New file.
14294 * rt/Makefile (librt-routines): Add clock-compat and move
14295 $(clock-routines) to ...
14296 (routines): ... here, new variable.
14297 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
14298 Don't add get_clockfreq here.
14299 * rt/Versions (libc: GLIBC_2.17): New version set.
14300 Add clock_* symbols here.
14301 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
14302 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
14303 (GLIBC_2.17): Add clock_* symbols.
14304 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
14305 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
14306 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
14307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14309 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14311 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
14312 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
14313 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
14314 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
14315 * NEWS: Mention the move.
14317 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
14318 Use __open, __read, __close rather than their public counterparts.
14319 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14320 (__get_clockfreq_via_cpuinfo): Likewise.
14321 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
14322 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
14324 * config.h.in (HAVE_IFUNC): New #undef.
14325 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
14327 * configure: Regenerated.
14329 2012-10-24 Mike Frysinger <vapier@gentoo.org>
14331 * configure.in: Move READELF check to start of file.
14332 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
14333 libc_cv_asm_gnu_indirect_function in the process.
14334 * configure: Regenerated.
14336 2012-10-24 Mike Frysinger <vapier@gentoo.org>
14338 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
14339 send the output to /dev/null.
14340 (libc_cv_cc_with_libunwind): Likewise.
14341 (libc_cv_as_noexecstack): Likewise.
14342 * configure: Regenerate.
14344 2012-10-24 Joseph Myers <joseph@codesourcery.com>
14346 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
14348 * posix/globtest.sh (TMPDIR): Do not set.
14349 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
14350 (testout): Likewise.
14352 2012-10-24 Andreas Jaeger <aj@suse.de>
14354 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
14355 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
14356 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
14357 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
14358 posix_fadvise64, posix_fallocate64.
14360 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
14361 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
14362 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
14364 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
14366 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
14368 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
14369 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
14370 <bits/fcntl-linux.h>.
14371 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
14373 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
14374 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
14375 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
14376 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
14377 [__WORDSIZE != 64]: Likewise.
14379 2012-10-23 Joseph Myers <joseph@codesourcery.com>
14381 * Makeconfig (run-built-tests): New variable.
14382 * Rules [$(cross-compiling) = yes]: Change condition to
14383 [$(run-built-tests) = no].
14384 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
14385 to [$(run-built-tests) = yes].
14386 * elf/Makefile [$(cross-compiling) = no]: Likewise
14387 * grp/Makefile [$(cross-compiling) = no]: Likewise.
14388 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
14389 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
14390 * intl/Makefile [$(cross-compiling) = no]: Likewise.
14391 * io/Makefile [$(cross-compiling) = no]: Likewise.
14392 * libio/Makefile [$(cross-compiling) = no]: Likewise.
14393 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
14394 * misc/Makefile [$(cross-compiling) = no]: Likewise.
14395 * posix/Makefile [$(cross-compiling) = no]: Likewise.
14396 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
14397 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
14398 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
14399 * string/Makefile [$(cross-compiling) = no]: Likewise.
14401 * posix/Makefile ($(objpfx)globtest.out): Pass
14402 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
14403 $(rtld-installed-name).
14404 * posix/globtest.sh (elf_objpfx): Remove variable.
14405 (rtld_installed_name): Likewise.
14406 (library_path): Likewise.
14407 (run_program_prefix): New variable. Use for running globtest
14410 2012-10-23 Jim Blandy <jimb@codesourcery.com>
14411 Joseph Myers <joseph@codesourcery.com>
14413 * Makeconfig (host-built-program-cmd): New variable.
14414 * elf/Makefile (tst-stackguard1-ARGS): Use
14415 $(host-built-program-cmd).
14416 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
14417 (tst-spawn-ARGS): Likewise.
14418 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
14420 2012-10-23 Joseph Myers <joseph@codesourcery.com>
14421 Jim Blandy <jimb@codesourcery.com>
14423 * Makeconfig (run-via-rtld-prefix): New variable.
14424 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
14425 (built-program-cmd): Likewise.
14427 2012-10-22 Andreas Jaeger <aj@suse.de>
14429 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
14430 __O_RSYNC if it exists, otherwise to O_SYNC.
14432 2012-10-22 Jim Blandy <jimb@codesourcery.com>
14433 Joseph Myers <joseph@codesourcery.com>
14435 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
14437 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
14439 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
14442 2012-10-22 Andreas Jaeger <aj@suse.de>
14444 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
14446 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
14448 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14449 bits/fcntl-linux.h.
14451 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
14452 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
14454 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
14456 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
14459 2012-10-21 Jim Blandy <jimb@codesourcery.com>
14460 Joseph Myers <joseph@codesourcery.com>
14462 * config.make.in (NM): New variable.
14464 2012-10-21 Andreas Jaeger <aj@suse.de>
14466 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
14467 definitions and declarations that are provided by
14468 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
14470 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
14473 * elf/Makefile (tests-static): Add tst-leaks1-static.
14474 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
14475 ($(objpfx)tst-leaks1-static): New rule.
14476 ($(objpfx)tst-leaks1-static-mem): Likewise.
14477 (tst-leaks1-static-ENV): New macro.
14478 * elf/dl-open.c (dl_open_worker): Check the main application
14479 only if SHARED is defined.
14480 * elf/tst-leaks1-static.c: New file.
14482 2012-10-20 Andreas Jaeger <aj@suse.de>
14484 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
14485 generic values for Linux.
14486 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
14487 and declarations that are provided by <bits/fcntl-linux.h> and
14488 include <bits/fcntl-linux.h>.
14489 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14490 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14492 2012-10-20 Roland McGrath <roland@hack.frob.com>
14494 * io/fcntl.h: Move include of <bits/types.h> to the top and
14495 include it unconditionally.
14497 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
14499 * wcsmbs/Makefile (tests-ifunc): New variable.
14500 (tests): Add $(tests-ifunc).
14501 * wcsmbs/test-wcschr-ifunc.c: New file.
14502 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
14503 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
14504 * wcsmbs/test-wcslen-ifunc.c: Likewise.
14505 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
14506 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
14508 * string/Makefile (tests-ifunc): New variable.
14509 (tests): Add $(tests-ifunc).
14510 * string/test-memccpy.c (TEST_NAME): New macro.
14511 * string/test-memchr.c (TEST_NAME): Likewise.
14512 * string/test-memcmp.c (TEST_NAME): Likewise.
14513 * string/test-memcpy.c (TEST_NAME): Likewise.
14514 * string/test-memmem.c (TEST_NAME): Likewise.
14515 * string/test-memmove.c (TEST_NAME): Likewise.
14516 * string/test-memset.c (TEST_NAME): Likewise.
14517 * string/test-rawmemchr.c (TEST_NAME): Likewise.
14518 * string/test-stpcpy.c (TEST_NAME): Likewise.
14519 * string/test-stpncpy.c (TEST_NAME): Likewise.
14520 * string/test-strcasecmp.c (TEST_NAME): Likewise.
14521 * string/test-strcasestr.c (TEST_NAME): Likewise.
14522 * string/test-strcat.c (TEST_NAME): Likewise.
14523 * string/test-strchr.c (TEST_NAME): Likewise.
14524 * string/test-strcmp.c(TEST_NAME): Likewise.
14525 * string/test-strcpy.c (TEST_NAME): Likewise.
14526 * string/test-strcspn.c (TEST_NAME): Likewise.
14527 * string/test-strlen.c (TEST_NAME): Likewise.
14528 * string/test-strncasecmp.c (TEST_NAME): Likewise.
14529 * string/test-strncmp.c (TEST_NAME): Likewise.
14530 * string/test-strncpy.c (TEST_NAME): Likewise.
14531 * string/test-strnlen.c (TEST_NAME): Likewise.
14532 * string/test-strpbrk.c (TEST_NAME): Likewise.
14533 * string/test-strrchr.c (TEST_NAME): Likewise.
14534 * string/test-strspn.c (TEST_NAME): Likewise.
14535 * string/test-strstr.c (TEST_NAME): Likewise.
14536 * string/test-bcopy-ifunc.c: New file.
14537 * string/test-bzero-ifunc.c: Likewise.
14538 * string/test-memccpy-ifunc.c: Likewise.
14539 * string/test-memchr-ifunc.c: Likewise.
14540 * string/test-memcmp-ifunc.c: Likewise.
14541 * string/test-memcpy-ifunc.c: Likewise.
14542 * string/test-memmem-ifunc.c: Likewise.
14543 * string/test-memmove-ifunc.c: Likewise.
14544 * string/test-mempcpy-ifunc.c: Likewise.
14545 * string/test-memset-ifunc.c: Likewise.
14546 * string/test-rawmemchr-ifunc.c: Likewise.
14547 * string/test-stpcpy-ifunc.c: Likewise.
14548 * string/test-stpncpy-ifunc.c: Likewise.
14549 * string/test-strcasecmp-ifunc.c: Likewise.
14550 * string/test-strcasestr-ifunc.c: Likewise.
14551 * string/test-strcat-ifunc.c: Likewise.
14552 * string/test-strchr-ifunc.c: Likewise.
14553 * string/test-strchrnul-ifunc.c: Likewise.
14554 * string/test-strcmp-ifunc.c: Likewise.
14555 * string/test-strcpy-ifunc.c: Likewise.
14556 * string/test-strcspn-ifunc.c: Likewise.
14557 * string/test-strlen-ifunc.c: Likewise.
14558 * string/test-strncasecmp-ifunc.c: Likewise.
14559 * string/test-strncat-ifunc.c: Likewise.
14560 * string/test-strncmp-ifunc.c: Likewise.
14561 * string/test-strncpy-ifunc.c: Likewise.
14562 * string/test-strnlen-ifunc.c: Likewise.
14563 * string/test-strpbrk-ifunc.c: Likewise.
14564 * string/test-strrchr-ifunc.c: Likewise.
14565 * string/test-strspn-ifunc.c: Likewise.
14566 * string/test-strstr-ifunc.c: Likewise.
14568 * debug/Makefile (tests-ifunc): New variable.
14569 (tests): Add $(tests-ifunc).
14570 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
14571 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
14572 * debug/test-stpcpy_chk-ifunc.c: New file.
14573 * debug/test-strcpy_chk-ifunc.c: Likewise.
14575 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
14578 * elf/dl-load.c (open_verify): Retry read if the entire ELF
14579 header is not read in.
14581 2012-10-19 Joseph Myers <joseph@codesourcery.com>
14583 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
14584 script to $(SHELL) as $<. Pass $(common-objpfx) to script
14585 directly. Pass built executable to script as
14586 $(built-program-cmd).
14587 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
14588 $testprogram without using LD_LIBRARY_PATH and $ldso.
14590 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
14591 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
14592 $(rtld-installed-name).
14593 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
14594 (rtld_installed_name): Likewise.
14595 (library_path): Likewise.
14596 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
14597 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
14598 $(run-program-prefix) to tst-tables.sh.
14599 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
14600 it to run tst-table-from and tst-table-to.
14601 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
14602 Pass it to tst-table.sh.
14603 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
14604 $(run-program-prefix) to tst-gettext.sh.
14605 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
14607 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
14609 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
14610 to run tst-gettext.
14611 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
14612 to run tst-gettext2.
14613 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
14614 to run tst-translit.
14615 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
14616 $(run-program-prefix) to tst-mtrace.sh.
14617 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
14619 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
14620 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
14621 $(rtld-installed-name).
14622 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
14623 (rtld_installed_name): Likewise.
14624 (run_program_prefix): New variable. Use it to run wordexp-test.
14626 * Makeconfig (ARCH): Remove all definitions.
14627 (machine): Likewise.
14628 [ARCH]: Remove conditional code.
14629 [!objdir]: Give error.
14630 [!objdir] (objpfx): Remove.
14631 [!objdir] (common-objpfx): Likewise.
14632 [!objdir] (common-objdir): Likewise.
14633 * configure.in (config_makefile): Remove. Hardcode Makefile in
14634 AC_CONFIG_FILES call.
14635 * configure: Regenerated.
14638 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
14640 (testout): Likewise.
14642 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
14643 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
14644 $(rtld-installed-name).
14645 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
14646 (rtld_installed_name): Likwise.
14647 (runit): Remove function.
14648 (run_getconf): New variable, Use it for running getconf binary.
14650 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
14653 * string/test-memmem.c (check_result): New function.
14654 (do_one_test): Use it.
14655 (check1): New function.
14656 (test_main): Use it.
14658 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
14660 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
14662 2012-10-18 Joseph Myers <joseph@codesourcery.com>
14664 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
14665 (_G_LSEEK64): Likewise.
14666 (_G_MMAP64): Likewise.
14667 (_G_FSTAT64): Likewise.
14668 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
14669 (_G_LSEEK64): Likewise.
14670 (_G_MMAP64): Likewise.
14671 (_G_FSTAT64): Likewise.
14672 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
14673 unconditional. Call __mmap64 directly.
14674 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
14675 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
14676 __lseek64 directly.
14677 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
14678 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
14680 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
14681 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
14682 __lseek64 directly.
14683 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
14684 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
14685 __lseek64 directly.
14686 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
14687 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
14688 __lseek64 directly.
14689 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
14690 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
14691 __fxstat64 directly.
14692 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
14693 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
14695 (freopen64) [!_G_OPEN64]: Remove conditional code.
14696 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
14698 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
14699 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
14701 (ftello64) [!_G_LSEEK64]: Remove conditional code.
14702 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
14704 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
14705 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
14707 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
14708 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
14710 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
14711 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
14713 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
14714 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
14716 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
14718 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
14721 * manual/memory.texi (Malloc Tunable Parameters): Add note
14722 about free list pointers overwriting some perturb bytes.
14723 Wording suggested by Roland McGrath.
14725 2012-10-17 Joseph Myers <joseph@codesourcery.com>
14727 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
14728 (lgamma_test): Likewise.
14729 (tgamma_test): Likewise.
14731 2012-10-16 Florian Weimer <fweimer@redhat.com>
14734 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
14735 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
14737 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
14739 * NEWS: Mention BZ #14716.
14740 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
14741 when removing AVAILABLE1_USES_J macro.
14743 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
14745 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
14746 (__bswap_64): __uint64_t for unsigned 64-bit int.
14748 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
14750 * include/string.h (memmem): Declare libc hidden alias.
14751 * string/memmem.c (memmem): Define libc hidden alias.
14752 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
14753 __read, __close instead of open, read, close.
14755 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
14757 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
14758 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
14760 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
14761 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
14762 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
14764 (__rawmemchr_sse2): Likewise.
14765 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
14766 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
14767 (__strchr_sse2): Likewise.
14768 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
14769 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
14770 (__strcasecmp_sse2): Likewise.
14771 (__strncasecmp_sse2): Likewise.
14772 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
14773 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
14774 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
14775 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
14776 (__strrchr_sse2): Likewise.
14777 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
14779 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
14780 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
14781 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
14782 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
14783 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
14784 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
14785 * sysdeps/x86_64/multiarch/memset.S: Likewise.
14786 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
14787 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
14788 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
14789 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
14790 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
14791 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
14792 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
14793 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
14794 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
14795 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
14796 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
14797 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
14798 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
14799 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
14800 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
14801 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
14802 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
14803 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
14804 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
14805 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
14806 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
14807 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
14808 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
14810 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
14812 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
14813 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
14814 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
14815 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
14817 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
14819 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
14820 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
14821 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
14822 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
14824 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
14825 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
14826 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
14827 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
14828 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
14829 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
14830 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
14831 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
14832 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
14833 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
14834 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
14835 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
14836 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
14837 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
14838 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
14839 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
14840 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
14841 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
14842 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
14843 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
14844 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
14845 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
14846 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
14847 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
14848 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
14849 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
14850 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
14851 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
14852 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
14853 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
14854 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
14855 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
14856 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
14857 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
14858 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
14859 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
14860 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
14861 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
14862 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
14863 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
14864 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
14866 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
14867 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
14868 * include/ifunc-impl-list.h: New file.
14869 * misc/ifunc-impl-list.c: Likewise.
14870 * misc/Makefile (routines): Add ifunc-impl-list.
14871 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
14872 * string/test-string.h: Include <ifunc-impl-list.h>.
14873 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
14874 impl_array): New variables.
14875 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
14877 (test_init): Call __libc_ifunc_impl_list to initialize
14878 func_list if TEST_IFUNC and TEST_NAME are defined.
14880 * string/Makefile (strop-tests): Add bcopy and bzero.
14881 * string/test-bcopy.c: New file.
14882 * string/test-bzero.c: Likewise.
14883 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
14885 * string/test-memset.c: Support bzero test if TEST_BZERO is
14887 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
14889 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
14891 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
14894 2012-10-10 Joseph Myers <joseph@codesourcery.com>
14896 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
14897 * configure: Regenerated.
14899 * Makeconfig (+link-static-before-libc): Don't include
14900 $(link-static-libc).
14902 * libio/libio.h (_IO_pos_t): Remove.
14904 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
14906 * NEWS: Add note about FIPS mode. Wording suggested by Roland
14909 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
14911 * crypt/crypt-entry.c: Include fips-private.h.
14912 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
14913 * crypt/md5c-test.c (main): Tolerate disabled MD5.
14914 * sysdeps/unix/sysv/linux/fips-private.h: New file.
14915 * sysdeps/generic/fips-private.h: New file, dummy fallback.
14917 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
14919 * crypt/crypt-private.h: Include stdbool.h.
14920 (_ufc_setup_salt_r): Return bool.
14921 * crypt/crypt-entry.c: Include errno.h.
14922 (__crypt_r): Return NULL with EINVAL for bad salt.
14923 * crypt/crypt_util.c (bad_for_salt): New.
14924 (_ufc_setup_salt_r): Check that salt is long enough and within
14925 the specified alphabet.
14926 * crypt/badsalttest.c: New file.
14927 * crypt/Makefile (tests): Add it.
14928 ($(objpfx)badsalttest): New.
14930 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
14932 * NEWS: Add entry for BZ #14602.
14934 2012-10-09 Joseph Myers <joseph@codesourcery.com>
14936 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
14938 * math/libm-test.inc: Update comment listing what functions and
14940 (isgreater_test): New function.
14941 (isgreaterequal_test): Likewise.
14942 (isless_test): Likewise.
14943 (islessequal_test): Likewise.
14944 (islessgreater_test): Likewise.
14945 (isunordered_test): Likewise.
14946 (main): Call the new functions.
14948 2012-10-09 Roland McGrath <roland@hack.frob.com>
14950 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
14951 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
14952 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
14953 * sysdeps/i386/configure: Regenerated.
14954 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
14955 * sysdeps/mach/configure: Regenerated.
14956 * sysdeps/mach/hurd/configure: Regenerated.
14957 * sysdeps/powerpc/configure: Regenerated.
14958 * sysdeps/powerpc/powerpc32/configure: Regenerated.
14959 * sysdeps/powerpc/powerpc64/configure: Regenerated.
14960 * sysdeps/s390/s390-32/configure: Regenerated.
14961 * sysdeps/s390/s390-64/configure: Regenerated.
14962 * sysdeps/sh/configure: Regenerated.
14963 * sysdeps/sparc/configure: Regenerated.
14964 * sysdeps/unix/sysv/linux/configure: Regenerated.
14965 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
14966 * sysdeps/x86_64/configure: Regenerated.
14968 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
14969 defined. Don't check if MAP is NULL.
14971 2012-10-09 Joseph Myers <joseph@codesourcery.com>
14973 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
14974 (_G_stat64): Likewise.
14975 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
14976 (_G_stat64): Likewise.
14977 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
14978 instead of struct _G_stat64.
14979 * libio/fileops.c (mmap_remap_check): Likewise.
14980 (decide_maybe_mmap): Likewise.
14981 (_IO_new_file_seekoff): Likewise.
14982 (_IO_file_stat): Likewise.
14983 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
14985 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
14986 instead of struct _G_stat64.
14987 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
14989 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
14992 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
14994 (CHECK_EOL): New macro.
14995 (two_way_short_needle): Check beginning of haystack for EOL. Use
14997 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
14998 Replace with CHECK_EOL.
14999 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
15000 Replace with CHECK_EOL.
15002 2012-10-08 Joseph Myers <joseph@codesourcery.com>
15004 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
15006 * math/libm-test.inc: Update comment listing what functions and
15008 (finite_test): New function.
15009 (isinf_test): Likewise.
15010 (isnan_test): Likewise.
15011 (fpclassify_test): Test subnormal input.
15012 (isfinite_test): Likewise.
15013 (isnormal_test): Likewise.
15014 (main): Call the new functions.
15016 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
15019 * Makerules (%.dynsym): Force C locale when running
15020 $(OBJDUMP) --dynamic-syms.
15022 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
15024 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
15027 2012-10-06 David S. Miller <davem@davemloft.net>
15029 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
15030 upper 32-bits of the length value in %o2 since we use branch-on-register
15031 tests which consider the entire 64-bit register.
15033 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
15035 * string/test-strstr.c (check2): Add a test for page boundary.
15037 2012-10-05 David S. Miller <davem@davemloft.net>
15039 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
15040 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
15042 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
15044 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
15045 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
15046 and bzero when HWCAP_SPARC_CRYPTO is present.
15048 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
15051 * string/test-strstr.c (check2): New function.
15052 (test_main): Call check2.
15054 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
15056 * string/bug-strcasestr1.c (do_test): Moved to ...
15057 * string/test-strcasestr.c (check1): Here. New function.
15058 (do_one_test): Break out result checking code into ...
15059 (check_result): This. New function.
15060 (do_one_test): Call check_result.
15061 (test_main): Call check1.
15062 * string/bug-strchr1.c (do_test): Moved to ...
15063 * string/test-strchr.c (check1): Here. New function.
15064 (do_one_test): Break out result checking code into ...
15065 (check_result): This. New function.
15066 (do_one_test): Call check_result.
15067 (test_main): Call check1.
15068 * string/bug-strstr1.c (main): Moved to ...
15069 * string/test-strstr.c (check1): Here. New function.
15070 (do_one_test): Break out result checking code into ...
15071 (check_result): This. New function.
15072 (do_one_test): Call check_result.
15073 (test_main): Call check1.
15074 * string/bug-strcasestr1.c: Removed.
15075 * string/bug-strchr1.c: Likewise.
15076 * string/bug-strstr1.c: Likewise.
15078 * elf/Makefile (dl-routines): Add hwcaps.
15079 * elf/dl-support.c (_dl_important_hwcaps): Removed.
15080 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
15081 (_dl_important_hwcaps): Moved to ...
15082 * elf/dl-hwcaps.c: Here. New file.
15083 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
15086 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
15087 if IS_IN_rtld isn't defined.
15089 * elf/dl-support.c (_dl_sysinfo_map): New.
15090 Include "get-dynamic-info.h" and "setup-vdso.h".
15091 (_dl_non_dynamic_init): Call setup_vdso.
15092 * elf/dynamic-link.h: Don't include <assert.h>.
15093 (elf_get_dynamic_info): Moved to ...
15094 * elf/get-dynamic-info.h: Here. New file.
15095 * elf/dynamic-link.h: Include "get-dynamic-info.h".
15096 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
15097 * elf/setup-vdso.h: Here. New file.
15098 * elf/rtld.c: Include "setup-vdso.h".
15099 (dl_main): Call setup_vdso.
15101 2012-10-05 Joseph Myers <joseph@codesourcery.com>
15103 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
15104 creal in comment listing functions tested. List finite, isinf,
15105 isnan, isless, islessequal, isgreater, isgreaterequal,
15106 islessgreater, isunordered, lgamma_r and pow10 as functions and
15107 macros not tested. Mention which functions not tested are aliases
15108 for other functions. Fix typo. Note that signs of NaNs are not
15111 * scripts/config.guess: Update from config.git.
15112 * scripts/config.sub: Likewise.
15114 2012-10-04 Roland McGrath <roland@hack.frob.com>
15116 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
15117 * misc/madvise.c (madvise): Renamed to __madvise.
15118 Make madvise a weak alias.
15119 * include/sys/mman.h: Declare __madvise.
15120 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
15121 * sysdeps/unix/syscalls.list
15122 (madvise): Make __madvise the strong name, and madvise a weak alias.
15123 * sysdeps/unix/sysv/linux/syscalls.list
15124 (madvise, mmap): Remove redundant entries.
15125 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
15126 * malloc/malloc.c (mtrim): Likewise.
15127 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
15129 2012-10-03 Roland McGrath <roland@hack.frob.com>
15131 * sysdeps/mach/hurd/dl-cache.c: File removed.
15132 * config.h.in (USE_LDCONFIG): New #undef.
15133 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
15134 * configure: Regenerated.
15135 * elf/Makefile (dl-routines): Add dl-cache only under
15136 [$(use-ldconfig) = yes].
15137 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
15138 cache on [USE_LDCONFIG].
15139 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
15141 * elf/rtld.c (dl_main): Likewise.
15143 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
15145 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
15146 _SC_LEVEL4_CACHE_LINESIZE.
15148 2012-10-03 Roland McGrath <roland@hack.frob.com>
15150 * sysdeps/unix/bsd/confstr.h: File removed.
15152 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
15154 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
15157 2012-10-02 Roland McGrath <roland@hack.frob.com>
15159 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
15160 Make 'mapoff' field ElfW(Off) rather than off_t.
15162 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
15164 * nscd/Makefile: Remove nscd-cflags and all its users.
15165 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
15166 (CFLAGS-nonlib): Add compiler flags for nscd modules.
15169 * malloc.c (malloc_printerr): Clarify error message.
15171 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
15174 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15175 Set bit_FMA_Usable if FMA is supported.
15176 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
15178 (bit_FMA4_Usable): Updated.
15179 (index_FMA_Usable): New macro.
15180 (CPUID_FMA): Likewise
15181 (HAS_FMA): Defined with bit_FMA_Usable.
15183 2012-10-01 Roland McGrath <roland@hack.frob.com>
15185 * bits/types.h (__swblk_t): Type removed.
15186 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
15187 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
15188 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
15189 (__SWBLK_T_TYPE): Likewise.
15190 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
15191 (__SWBLK_T_TYPE): Likewise.
15192 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
15193 (__SWBLK_T_TYPE): Likewise.
15194 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
15195 (__SWBLK_T_TYPE): Likewise.
15197 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
15198 Honza Horak <hhorak@redhat.com>
15200 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
15201 (xdr_mapname): Use YPMAXMAP as maxsize.
15202 (xdr_peername): Use YPMAXPEER as maxsize.
15203 (xdr_keydat): Use YPAXRECORD as maxsize.
15204 (xdr_valdat): Use YPMAXRECORD as maxsize.
15206 2012-10-01 Roland McGrath <roland@hack.frob.com>
15208 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
15210 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
15211 * csu/init-first.c: ... here.
15212 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
15213 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
15214 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
15215 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
15216 * sysdeps/i386/init-first.c: File removed.
15217 * sysdeps/sh/init-first.c: File removed.
15219 2012-10-01 Joseph Myers <joseph@codesourcery.com>
15222 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
15223 if x * y might underflow to zero and z is zero.
15224 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15225 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15226 * math/libm-test.inc (min_subnorm_value): New variable.
15227 (fma_test): Add more tests.
15228 (fma_test_towardzero): Likewise.
15229 (fma_test_downward): Likewise
15230 (fma_test_upward): Likewise.
15231 (initialize): Set min_subnorm_value.
15233 2012-09-29 Joseph Myers <joseph@codesourcery.com>
15236 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
15238 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
15239 mode for addition resulting in exact zero.
15240 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
15241 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
15243 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
15244 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15245 * math/libm-test.inc (fma_test): Add more tests.
15246 (fma_test_towardzero): New function.
15247 (fma_test_downward): Likewise.
15248 (fma_test_upward): Likewise.
15249 (main): Call the new functions.
15251 2012-09-28 David S. Miller <davem@davemloft.net>
15253 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
15255 2012-09-28 Roland McGrath <roland@hack.frob.com>
15257 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
15258 instead of SIGALRM.
15260 * sysdeps/gnu/_G_config.h: Moved to ...
15261 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
15262 * sysdeps/mach/hurd/_G_config.h: Moved to ...
15263 * sysdeps/generic/_G_config.h: ... here.
15265 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
15267 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
15269 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
15270 Conditionalize target on [libnss_test1.so-version].
15272 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
15274 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
15275 (elfobjdir): Move out of conditionals.
15277 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
15278 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
15279 (__nss_lookup_function): Conditionalize label remove_from_tree on
15280 [!DO_STATIC_NSS || SHARED], matching its only use.
15282 2012-09-28 David S. Miller <davem@davemloft.net>
15284 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
15285 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
15287 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
15289 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
15290 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
15291 when HWCAP_SPARC_CRYPTO is present.
15293 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
15295 * io/tst-mknodat.c: Create a FIFO instead of a socket.
15297 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
15300 * stdio-common/vfprintf.c (process_string_arg): Revert
15303 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
15305 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
15307 * stdio-common/tst-sprintf.c: Include <locale.h>
15308 (main): Test sprintf's handling of incomplete multibyte
15311 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
15313 * elf/dl-runtime.c (VERSYMIDX): Removed.
15314 * elf/dl-version.c (VERSYMIDX): Likewise.
15315 * elf/do-rel.h (VERSYMIDX): Likewise.
15316 (VALIDX): Likewise.
15317 * elf/dynamic-link.h (VERSYMIDX): Likewise.
15318 * elf/rtld.c (VALIDX): Likewise.
15319 (ADDRIDX): Likewise.
15320 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
15321 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
15322 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
15323 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
15324 (VALIDX): Likewise.
15325 (ADDRIDX): Likewise.
15327 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
15329 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
15331 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
15334 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
15336 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
15337 addresses are in the same scope as 192.0.2/24.
15338 * posix/gai.conf: Document new scope table defaults.
15340 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15343 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
15344 for ftell. Compute offsets from write pointers instead.
15345 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
15347 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15350 * libio/Makefile (tests): New test case tst-fseek.
15351 * libio/tst-fseek.c: New test case to verify that fseek/ftell
15352 combination works in wide mode.
15353 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
15354 state when the external buffer state changes.
15356 2012-09-27 David S. Miller <davem@davemloft.net>
15359 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
15360 pass reloc->r_addend in as the 'high' argument to
15361 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
15363 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15365 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
15367 * rt/tst-aio2.c: Include <pthread.h>.
15368 * rt/tst-aio3.c: Likewise.
15370 2012-09-27 Steve Ellcey <sellcey@mips.com>
15372 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
15374 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
15376 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
15377 contents on [SHARED].
15379 2012-09-26 Marek Polacek <polacek@redhat.com>
15383 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
15384 for C++ and GCC <4.3 as well as for non GCC compilers.
15386 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
15388 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15390 2012-09-25 Roland McGrath <roland@hack.frob.com>
15392 * Makefile.in (all, install): Declare with .PHONY.
15393 Reported by Michael Hope <michael.hope@linaro.org>.
15395 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15397 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
15398 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
15400 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
15402 (sydep_routines): Add the new and the internal functions.
15403 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
15404 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
15405 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
15406 (GLIBC_2.17): Add the new function.
15407 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
15408 (GLIBC_2.17): Likewise.
15409 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
15410 (GLIBC_2.17): Likewise.
15411 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
15412 (GLIBC_2.17): Likewise.
15413 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
15415 2012-09-25 Alan Modra <amodra@gmail.com>
15417 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
15418 Add release barrier before setting once_control to say
15419 initialisation is done. Add hints on lwarx. Use macro in
15421 (clear_once_control): Add release barrier.
15423 2012-09-25 Joseph Myers <joseph@codesourcery.com>
15426 * math/s_clog.c (__clog): Handle more values close to |z| = 1
15428 * math/s_clog10.c (__clog10): Likewise.
15429 * math/s_clog10f.c (__clog10f): Likewise.
15430 * math/s_clog10l.c (__clog10l): Likewise.
15431 * math/s_clogf.c (__clogf): Likewise.
15432 * math/s_clogl.c (__clogl): Likewise.
15433 * math/Makefile (libm-calls): Add x2y2m1.
15434 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
15435 (__x2y2m1): Likewise.
15436 (__x2y2m1l): Likewise.
15437 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
15438 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
15439 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
15440 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
15441 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
15442 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
15443 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
15444 * sysdeps/i386/fpu/libm-test-ulps: Update.
15445 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15448 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
15449 int as type of variable DEPTH.
15450 (glob): Use size_t instead of int as type of variables NEWCOUNT
15453 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15455 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
15456 Add s_sincosf-sse2.
15457 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
15458 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
15459 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
15460 macros for using routine as __sincosf_ia32.
15461 Use macro for function declaration and weak_alias.
15462 * sysdeps/i386/fpu/libm-test-ulps: Update.
15464 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
15465 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15467 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
15468 subnormal argument.
15469 * math/s_cexpf.c (__cexpf): Likewise.
15470 * math/s_csinf.c (__csinf): Likewise.
15471 * math/s_csinhf.c (__csinhf): Likewise.
15472 * math/s_ctanf.c (__ctanf): Likewise.
15473 * math/s_ctanhf.c (__ctanhf): Likewise.
15474 * math/s_ccosh.c (__ccoshf): Likewise.
15475 * math/s_cexp.c (__cexpl): Likewise.
15476 * math/s_csin.c (__csin): Likewise.
15477 * math/s_csinh.c (__csinh): Likewise.
15478 * math/s_ctan.c (__ctan): Likewise.
15479 * math/s_ctanh.c (ctanh): Likewise.
15480 * math/s_ccoshl.c (__ccoshl): Likewise.
15481 * math/s_cexpl.c (__cexpl): Likewise.
15482 * math/s_csinl.c (__csinl): Likewise.
15483 * math/s_csinhl.c (__csinhl): Likewise.
15484 * math/s_ctanl.c (__ctanl): Likewise.
15485 * math/s_ctanhl.c (__ctanhl): Likewise.
15487 2012-09-25 Joseph Myers <joseph@codesourcery.com>
15489 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
15490 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
15491 (_IO_off_t): Define to __off_t, not _G_off_t.
15492 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
15493 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
15494 (_IO_wint_t): Define to wint_t, not _G_wint_t.
15495 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
15496 type of __dummy and __dummy2 fields.
15497 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
15498 (_G_ssize_t): Likewise.
15499 (_G_off_t): Likewise.
15500 (_G_pid_t): Likewise.
15501 (_G_uid_t): Likewise.
15502 (_G_wchar_t): Likewise.
15503 (_G_wint_t): Likewise.
15504 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
15505 (_G_ssize_t): Likewise.
15506 (_G_off_t): Likewise.
15507 (_G_pid_t): Likewise.
15508 (_G_uid_t): Likewise.
15509 (_G_wchar_t): Likewise.
15510 (_G_wint_t): Likewise.
15511 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
15512 (_G_ssize_t): Likewise.
15513 (_G_off_t): Likewise.
15514 (_G_pid_t): Likewise.
15515 (_G_uid_t): Likewise.
15516 (_G_wchar_t): Likewise.
15517 (_G_wint_t): Likewise.
15519 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
15521 * malloc/arena.c: Include malloc-sysdep.h.
15522 (shrink_heap): Use check_may_shrink_heap to decide if madvise
15523 is sufficient to shrink the heap or an unmap is needed.
15524 * sysdeps/generic/malloc-sysdep.h: New file. Define
15525 new function check_may_shrink_heap.
15526 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
15527 new function check_may_shrink_heap.
15529 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
15531 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
15534 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
15536 * catgets/test-gencat.sh: Add "set -e".
15537 * elf/tst-pathopt.sh: Likewise.
15538 * grp/tst_fgetgrent.sh: Likewise.
15539 * iconvdata/run-iconv-test.sh: Likewise.
15540 * intl/tst-gettext.sh: Likewise.
15541 * intl/tst-gettext2.sh: Likewise.
15542 * intl/tst-gettext4.sh: Likewise.
15543 * intl/tst-gettext6.sh: Likewise.
15544 * intl/tst-translit.sh: Likewise.
15545 * io/ftwtest-sh: Likewise.
15546 * libio/test-freopen.sh: Likewise.
15547 * malloc/tst-mtrace.sh: Likewise.
15548 * posix/globtest.sh: Likewise.
15549 * posix/tst-getconf.sh: Likewise.
15550 * posix/wordexp-tst.sh: Likewise.
15551 * stdio-common/tst-printf.sh: Likewise.
15552 * stdio-common/tst-unbputc.sh: Likewise.
15553 * stdlib/tst-fmtmsg.sh: Likewise.
15554 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
15555 * catgets/Makefile: Do not specify -e option when running
15556 testsuite shell scripts.
15557 * elf/Makefile: Likewise.
15558 * grp/Makefile: Likewise.
15559 * iconvdata/Makefile: Likewise.
15560 * intl/Makefile: Likewise.
15561 * io/Makefile: Likewise.
15562 * libio/Makefile: Likewise.
15563 * malloc/Makefile: Likewise.
15564 * posix/Makefile: Likewise.
15565 * stdio-common/Makefile: Likewise.
15566 * stdlib/Makefile: Likewise.
15567 * sysdeps/x86_64/Makefile: Likewise.
15569 * io/ftwtest-sh: Add copyright header.
15570 * posix/globtest.sh: Likewise.
15571 * posix/tst-getconf.sh: Likewise.
15572 * posix/wordexp-tst.sh: Likewise.
15573 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
15575 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
15578 * Makeconfig (+link): Defined as $(+link-static) if
15579 $(build-shared) isn't yes.
15580 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
15582 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
15584 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
15587 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
15588 new chunk size with MALLOC_ALIGN_MASK.
15590 2012-09-24 Joseph Myers <joseph@codesourcery.com>
15593 * stdio-common/printf_fphex.c: Include <stdbool.h> and
15595 (__printf_fphex): Determine rounding using get_rounding_mode and
15597 * stdio-common/tst-printf-round.c (struct hex_test): New
15599 (hex_tests): New variable.
15600 (test_hex_in_one_mode): New function.
15601 (do_test): Also run tests for hex float output.
15603 2012-09-21 Joseph Myers <joseph@codesourcery.com>
15605 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
15606 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
15607 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
15608 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
15609 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
15610 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
15611 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
15612 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
15614 2012-09-20 Joseph Myers <joseph@codesourcery.com>
15616 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
15617 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
15618 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
15619 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
15621 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
15624 * elf/rtld.c (dl_main): Limit the check for self loading to normal
15626 * elf/tst-rtld-load-self.sh: New test.
15627 * elf/Makefile: Run it.
15629 2012-09-18 Joseph Myers <joseph@codesourcery.com>
15631 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
15632 (tst-writev-ENV): Remove.
15633 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
15635 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
15637 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
15639 2012-09-17 Joseph Myers <joseph@codesourcery.com>
15641 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
15643 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
15645 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
15646 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
15647 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
15650 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
15653 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
15654 * config.make.in (have-cpp-asm-debuginfo): Removed.
15655 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
15656 * configure: Regenerated.
15658 2012-09-14 Joseph Myers <joseph@codesourcery.com>
15661 * stdio-common/printf_fp.c: Include <stdbool.h> and
15663 (___printf_fp): Determine rounding using get_rounding_mode and
15665 * stdio-common/tst-printf-round.c: New file.
15666 * stdio-common/Makefile (tests): Add tst-printf-round.
15667 (link-libm): New variable.
15668 ($(objpfx)tst-printf-round): Depend in $(link-libm).
15670 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
15673 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
15674 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
15676 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
15679 2012-09-13 Joseph Myers <joseph@codesourcery.com>
15681 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
15682 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
15683 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
15684 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
15686 2012-09-12 Joseph Myers <joseph@codesourcery.com>
15689 * include/rounding-mode.h: New file.
15690 * sysdeps/generic/get-rounding-mode.h: Likewise.
15691 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
15692 * stdlib/strtod_l.c: Include <rounding-mode.h>.
15693 (MAX_VALUE): New macro.
15694 (MIN_VALUE): Likewise.
15695 (overflow_value): New function.
15696 (underflow_value): Likewise.
15697 (round_and_return): Use overflow_value and underflow_value to
15698 determine return values in overflow and underflow cases. Use
15699 round_away to determine rounding depending on rounding mode.
15700 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
15701 determine return values in overflow and underflow cases.
15702 * stdlib/tst-strtod-round.c: Include <fenv.h>.
15703 (struct test_results): New structure.
15704 (struct test): Use struct test_results to store expected results
15705 for all rounding modes.
15706 (TEST): Include expected results for all rounding modes.
15707 (test_in_one_mode): New function.
15708 (do_test): Use test_in_one_mode to compute and check results.
15709 Check results for all rounding modes.
15710 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
15713 2012-12-09 Allan McRae <allan@archlinux.org>
15715 * sysdeps/i386/fpu/libm-test-ulps: Update
15717 2012-09-11 Joseph Myers <joseph@codesourcery.com>
15719 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
15720 (_G_int32_t): Likewise.
15721 (_G_uint16_t): Likewise.
15722 (_G_uint32_t): Likewise.
15723 (_G_HAVE_BOOL): Likewise.
15724 (_G_HAVE_ATEXIT): Likewise.
15725 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
15726 (_G_HAVE_IO_FILE_OPEN): Likewise.
15727 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
15728 (_G_int32_t): Likewise.
15729 (_G_uint16_t): Likewise.
15730 (_G_uint32_t): Likewise.
15731 (_G_HAVE_BOOL): Likewise.
15732 (_G_HAVE_ATEXIT): Likewise.
15733 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
15734 (_G_HAVE_IO_FILE_OPEN): Likewise.
15735 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
15736 (_G_int32_t): Likewise.
15737 (_G_uint16_t): Likewise.
15738 (_G_uint32_t): Likewise.
15739 (_G_HAVE_BOOL): Likewise.
15740 (_G_HAVE_ATEXIT): Likewise.
15741 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
15742 (_G_HAVE_IO_FILE_OPEN): Likewise.
15744 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
15746 * csu/libc-tls.c: Update copyright years.
15748 2012-09-10 Joseph Myers <joseph@codesourcery.com>
15750 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
15751 [!_G_USING_THUNKS]: Remove conditional code.
15752 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
15753 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
15755 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
15756 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
15757 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
15758 (_G_VTABLE_LABEL_PREFIX): Likewise.
15759 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
15760 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
15761 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
15762 (_G_VTABLE_LABEL_PREFIX): Likewise.
15763 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
15764 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
15765 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
15766 (_G_VTABLE_LABEL_PREFIX): Likewise.
15767 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
15769 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
15771 * libio/Makefile: Include ../Makeconfig before tests.
15772 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
15773 only if $(build-shared) is yes.
15775 * iconv/gconv_db.c: Update copyright years.
15777 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15779 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
15780 unwind info if defined PIC. Fix special cases description.
15781 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
15783 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
15785 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
15787 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
15789 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
15791 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
15794 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
15795 (LDLIBS-tst-chk4): This.
15796 (LDFLAGS-tst-chk5): Renamed to ...
15797 (LDLIBS-tst-chk5): This.
15798 (LDFLAGS-tst-chk6): Renamed to ...
15799 (LDLIBS-tst-chk6): This.
15800 (LDFLAGS-tst-lfschk4): Renamed to ...
15801 (LDLIBS-tst-lfschk4): This.
15802 (LDFLAGS-tst-lfschk5): Renamed to ...
15803 (LDLIBS-tst-lfschk5): This.
15804 (LDFLAGS-tst-lfschk6): Renamed to ...
15805 (LDLIBS-tst-lfschk6): This.
15807 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
15808 on $(common-objpfx)soversions.mk.
15810 2012-09-07 Joseph Myers <joseph@codesourcery.com>
15813 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
15816 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
15818 * malloc/arena.c (arena_get_retry): New function that gets
15819 another arena for the caller to try its request on.
15820 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
15821 current arena cannot fulfill the request.
15822 (__libc_memalign): Likewise.
15823 (__libc_memalign): Likewise.
15824 (__libc_pvalloc): Likewise.
15825 (__libc_calloc): Likewise.
15827 2012-09-05 John Tobey <john.tobey@gmail.com>
15830 * manual/arith.texi (Operations on Complex): Fix description
15831 of carg branch cut.
15833 2012-09-06 Joseph Myers <joseph@codesourcery.com>
15836 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
15840 * manual/memory.texi (Memory): Make order of menu items match
15843 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
15845 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
15846 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
15847 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
15849 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
15851 * csu/libc-tls.c (static_dtv): Renamed to ...
15852 (_dl_static_dtv): This. Make it global.
15853 (_dl_initial_dtv): Removed.
15854 (__libc_setup_tls): Updated.
15855 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
15856 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
15859 2012-09-06 Petr Machata <pmachata@redhat.com>
15861 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
15862 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
15863 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
15864 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
15866 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
15869 * csu/libc-tls.c (_dl_initial_dtv): New variable.
15870 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
15873 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
15876 * Makeconfig (link-static-before-libc): Replace $(+prector)
15878 (link-static-after-libc): Replace $(+postctor) with
15880 (link-bounded): Replace $(+prector)/$(+postctor) with
15881 $(+prectorT)/$(+postctorT).
15882 (+prectorT): New macro.
15883 (+postctorT): Likewise.
15885 2012-09-06 Joseph Myers <joseph@codesourcery.com>
15887 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
15888 (round_str): Handle values above the maximum for IBM long double
15890 * stdlib/tst-strtod-round.c (tests): Regenerated.
15892 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15894 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
15896 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
15897 zarch_nohighgprs around the zarch optimized routines.
15898 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
15899 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
15900 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
15903 2012-09-05 David S. Miller <davem@davemloft.net>
15905 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15907 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
15908 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
15909 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
15910 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
15913 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
15915 * malloc/arena.c: Fold copyright years.
15916 * malloc/mcheck.c, malloc/memusage.c: Likewise.
15918 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
15920 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
15922 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
15924 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
15926 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
15928 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
15929 change internal state upon failure.
15931 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
15933 * malloc/mcheck.c (mcheck_check_all): Fix typo.
15934 * malloc/memusage.c (mmap): Likewise.
15935 (mmap64, mremap): Likewise. Adjust name in comment.
15937 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
15939 * libio/fileops.c: Fix typos in comments.
15940 * libio/oldfileops.c: Likewise.
15941 * libio/wfileops.c: Likewise.
15943 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
15946 * malloc/Makefile (tests): Add tst-malloc-usable test case.
15947 (tst-malloc-usable-ENV): Set environment for test case.
15948 * malloc/hooks.c (malloc_check_get_size): New function to get
15950 * malloc/malloc.c (musable): Use malloc_check_get_size.
15951 * malloc/tst-malloc-usable.c: New test case.
15953 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
15955 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
15957 2012-09-05 Allan McRae <allan@archlinux.org>
15960 * configure.in (CXX_SYSINCLUDES): Use compiler output to
15961 determine header location.
15962 * configure: Regenerated.
15964 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
15966 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
15968 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
15969 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
15971 (test): Regenerate.
15973 2012-09-04 David S. Miller <davem@davemloft.net>
15975 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
15976 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
15977 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
15979 2012-09-04 Florian Weimer <fweimer@redhat.com>
15981 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
15984 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
15986 2012-09-04 Joseph Myers <joseph@codesourcery.com>
15989 * libio/iogetdelim.c: Include <limits.h>.
15990 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
15991 + len + 1 would overflow.
15993 2012-09-03 Andreas Jaeger <aj@suse.de>
15995 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15996 * sysdeps/i386/fpu/libm-test-ulps: Update.
15998 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16000 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
16001 Add s_sinf-sse2, s_conf-sse2.
16003 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
16004 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
16005 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
16006 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
16008 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
16009 for using routine as __sinf_ia32.
16010 Use macro for function declaration and weak_alias.
16011 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
16012 for using routine as __cosf_ia32.
16013 Use macro for function declaration and weak_alias.
16015 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
16016 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
16018 * sysdeps/x86_64/fpu/s_sinf.S: New file.
16019 * sysdeps/x86_64/fpu/s_cosf.S: New file.
16020 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16022 * math/libm-test.inc (cos_test): Add more test cases.
16023 (sin_test): Likewise.
16024 (sincos_test): Likewise.
16026 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16028 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
16029 (IFUNC_RESOLVE): Make pointers to the specialized implementations
16031 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
16033 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
16036 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
16037 first element of the GOT.
16038 (elf_machine_load_address): Return the difference between
16039 the runtime address of _DYNAMIC and elf_machine_dynamic ().
16041 2012-09-01 Allan McRae <allan@archlinux.org>
16044 * configure.in (AWK): Require gawk version 3.0 or later.
16045 * configure: Regenerated.
16047 2012-09-01 Joseph Myers <joseph@codesourcery.com>
16049 * sysdeps/unix/sysv/linux/kernel-features.h
16050 (__ASSUME_POSIX_CPU_TIMERS): Remove.
16051 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
16052 [__NR_clock_getres]: Make code unconditional.
16053 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
16054 (clock_getcpuclockid): Remove code left unreachable by removal of
16056 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
16057 code unconditional.
16058 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
16059 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
16060 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
16061 Make code unconditional.
16062 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
16063 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
16064 * sysdeps/unix/sysv/linux/clock_settime.c
16065 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
16067 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
16068 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
16070 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
16073 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
16074 scripts/test-installation.pl.
16076 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
16077 and $ld_so_version if it is set.
16079 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
16082 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
16083 failure if reading from procfs failed.
16084 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
16086 2012-08-27 Joseph Myers <joseph@codesourcery.com>
16088 * sysdeps/unix/sysv/linux/kernel-features.h
16089 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
16090 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
16091 Remove conditional code.
16092 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16093 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
16094 Remove conditional code.
16095 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16096 * sysdeps/unix/sysv/linux/i386/fxstat.c
16097 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
16098 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16099 * sysdeps/unix/sysv/linux/i386/fxstatat.c
16100 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
16101 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16102 * sysdeps/unix/sysv/linux/i386/lxstat.c
16103 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
16104 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16105 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
16106 Remove conditional code.
16107 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16108 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
16109 Remove conditional code.
16110 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16111 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
16112 <kernel-features.h>.
16113 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
16115 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
16116 Remove conditional code.
16117 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16118 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
16119 Remove conditional.
16121 2012-08-27 Mike Frysinger <vapier@gentoo.org>
16124 * NEWS: Add fixed bug number.
16126 2012-08-27 Joseph Myers <joseph@codesourcery.com>
16129 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
16130 underflowing exponent in case of negative sign.
16131 * stdlib/tst-strtod-round-data: Add more tests.
16132 * stdlib/tst-strtod-round.c (tests): Regenerated.
16135 * stdlib/strtod_l.c (NDIG): Remove.
16136 (HEXNDIG): Likewise.
16137 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
16138 smallest representable value.
16139 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
16140 lie within an exact representation of 1/2 ulp of the result.
16141 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
16143 (TENS_P9_IDX): Define unconditionally.
16144 (TENS_P9_SIZE): Likewise.
16145 (TENS_P10_IDX): Likewise.
16146 (TENS_P10_SIZE): Likewise.
16147 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
16148 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
16149 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
16150 entries for 10^2^13 and 10^2^14.
16151 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
16152 (TENS_P13_IDX): Define.
16153 (TENS_P13_SIZE): Likewise.
16154 (TENS_P14_IDX): Likewise.
16155 (TENS_P14_SIZE): Likewise.
16156 (_fpioconst_pow10): Change array size to
16157 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
16159 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
16160 1024]: Add entries for 10^2^13 and 10^2^14.
16161 [LAST_POW10 > _LAST_POW10]: Remove #error.
16162 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
16163 (_fpioconst_pow10): Change array size to
16164 FPIOCONST_POW10_ARRAY_SIZE.
16165 * stdlib/gen-fpioconst.c: New file.
16166 * stdlib/gen-tst-strtod-round.c: Likewise.
16167 * stdlib/tst-strtod-round-data: Likewise.
16168 * stdlib/tst-strtod-round.c: Likewise.
16169 * stdlib/Makefile (tests): Add tst-strtod-round.
16172 * stdlib/strtod_l.c: Include <stdint.h>.
16173 (NDEBUG): Do not define.
16174 (round_and_return): Change EXPONENT parameter to type intmax_t.
16175 Rearrange calculations to avoid internal overflow possibilities.
16176 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
16177 Rearrange calculations to avoid internal overflow possibilities.
16178 Assert that number fits inside MPNSIZE limbs.
16179 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
16180 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
16181 calculations and add assertions to avoid internal overflow
16182 possibilities. Add casts to avoid signed/unsigned operations.
16183 * stdlib/tst-strtod-overflow.c: New file.
16184 * stdlib/Makefile (tests): Add tst-strtod-overflow.
16186 2012-08-25 Marek Polacek <polacek@redhat.com>
16188 * time/time.h: Fix some typos in comments.
16190 2012-08-23 Roland McGrath <roland@hack.frob.com>
16192 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
16193 * posix/tst-rfc3484-2.c: Likewise.
16194 * posix/tst-rfc3484-3.c: Likewise.
16196 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
16198 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
16199 (EF_ARM_ABI_FLOAT_HARD): Likewise.
16201 2012-08-23 Joseph Myers <joseph@codesourcery.com>
16203 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
16204 #include of fxstatat64.c.
16206 2012-08-22 Roland McGrath <roland@hack.frob.com>
16208 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
16209 * shadow/getspent_r.c: Likewise.
16210 * shadow/getspnam.c: Likewise.
16211 * shadow/getspnam_r.c: Likewise.
16212 * gshadow/getsgent.c: Likewise.
16213 * gshadow/getsgent_r.c: Likewise.
16214 * gshadow/getsgnam.c: Likewise.
16215 * gshadow/getsgnam_r.c: Likewise.
16216 * inet/getnetbyad.c: Likewise.
16217 * inet/getnetbyad_r.c: Likewise.
16218 * inet/getnetbynm.c: Likewise.
16219 * inet/getnetbynm_r.c: Likewise.
16220 * inet/getnetent.c: Likewise.
16221 * inet/getnetent_r.c: Likewise.
16222 * inet/getproto.c: Likewise.
16223 * inet/getproto_r.c: Likewise.
16224 * inet/getprtent.c: Likewise.
16225 * inet/getprtent_r.c: Likewise.
16226 * inet/getprtname.c: Likewise.
16227 * inet/getprtname_r.c: Likewise.
16228 * inet/getrpcbyname.c: Likewise.
16229 * inet/getrpcbyname_r.c: Likewise.
16230 * inet/getrpcbynumber.c: Likewise.
16231 * inet/getrpcbynumber_r.c: Likewise.
16232 * inet/getrpcent.c: Likewise.
16233 * inet/getrpcent_r.c: Likewise.
16234 * inet/getaliasent.c: Likewise.
16235 * inet/getaliasent_r.c: Likewise.
16236 * inet/getaliasname.c: Likewise.
16237 * inet/getaliasname_r.c: Likewise.
16238 * nscd/getgrgid_r.c: Likewise.
16239 * nscd/getgrnam_r.c: Likewise.
16240 * nscd/gethstbyad_r.c: Likewise.
16241 * nscd/gethstbynm3_r.c: Likewise.
16242 * nscd/getpwnam_r.c: Likewise.
16243 * nscd/getpwuid_r.c: Likewise.
16244 * nscd/getsrvbynm_r.c: Likewise.
16245 * nscd/getsrvbypt_r.c: Likewise.
16246 * nscd/gai.c: Likewise.
16248 * configure.in (build_nscd): New substituted variable, set
16249 by --disable-build-nscd and defaults to $use_nscd.
16250 * configure: Regenerated.
16251 * config.make.in (build-nscd): New substituted variable.
16252 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
16253 Change conditional to require [$(build-nscd) = yes] as well.
16254 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
16257 * configure.in (use_nscd): New substituted variable, set by
16258 --disable-nscd. If enabled, define USE_NSCD.
16259 * configure: Regenerated.
16260 * config.h.in: Add USE_NSCD.
16261 * config.make.in (use-nscd): New substituted variable.
16262 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
16263 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
16264 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
16265 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
16266 (CFLAGS-getgrnam_r.c): Likewise.
16267 (CFLAGS-initgroups.c): Likewise.
16268 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
16269 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
16271 * inet/getnetgrent_r.c
16272 (nscd_setnetgrent): New function, broken out of ...
16273 (setnetgrent): ... here. Call it.
16274 (innetgr): Conditionalize nscd bits on [USE_NSCD].
16275 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
16276 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
16277 * nscd/Makefile (routines, aux): Move definitions after include of
16278 Makeconfig. Conditionalize on [$(use-nscd) != no].
16279 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
16280 Conditionalize on [USE_NSCD].
16281 (is_nscd, nscd_init_cb): Likewise.
16282 (nss_load_library): Conditionalize init callback on [USE_NSCD].
16283 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
16284 * nss/nss_db/db-init.c: Likewise.
16285 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
16287 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
16288 (make_request): Use it.
16289 (cache_valid_p): New function.
16290 (__check_pf): Use it.
16291 * NEWS: Add item for --disable-nscd.
16293 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
16295 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
16296 to support sed >= 4.2.1-20-ga9bf076.
16297 * configure: Regenerated.
16299 2012-08-22 Roland McGrath <roland@hack.frob.com>
16301 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
16302 Conditionalize whole body on [IREL].
16304 2012-08-22 Jeff Law <law@redhat.com>
16307 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
16308 if the family is PF_UNSPEC.
16310 2012-08-22 Mike Frysinger <vapier@gentoo.org>
16312 * Makerules (lib-version): Rename from V.
16313 (install-lib-nosubdir): Change V to lib-version.
16315 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
16318 * powerpc32/power6/wcschr.c: New file.
16319 * powerpc32/power6/wcscpy.c: New file.
16320 * powerpc32/power6/wcsrchr.c: New file.
16321 * powerpc64/power6/wcschr.c: New file.
16322 * powerpc64/power6/wcscpy.c: New file.
16323 * powerpc64/power6/wcsrchr.c: New file.
16325 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
16327 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
16328 (two_way_short_needle): Use it.
16329 * string/strstr.c (AVAILABLE1_USES_J): Define.
16330 * string/strcasestr.c: Likewise.
16332 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
16334 * string/strcasestr.c (TOLOWER): Make side-effect safe.
16337 * NEWS: Add an entry.
16338 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
16339 define their defaults.
16340 (two_way_short_needle): Detect end-of-string on-the-fly.
16341 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
16342 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
16343 * string/bug-strcasestr1.c: New test.
16344 * string/Makefile: Run it.
16346 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
16349 * string/str-two-way.h (two_way_short_needle): Optimize matching of
16350 the first character.
16352 2012-08-21 Roland McGrath <roland@hack.frob.com>
16354 * csu/elf-init.c (__libc_csu_irel): Function removed.
16355 * csu/libc-start.c (apply_irel): New function.
16356 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
16358 2012-08-21 Joseph Myers <joseph@codesourcery.com>
16360 * sysdeps/unix/sysv/linux/kernel-features.h
16361 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
16362 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
16363 <kernel-features.h>.
16364 [__NR_fadvise64_64]: Make code unconditional.
16365 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
16366 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
16367 !__NR_fadvise64_64)]: Likewise.
16368 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
16369 !__NR_fadvise64_64))]: Likewise.
16370 [__NR_fadvise64]: Make code unconditional.
16371 [!__NR_fadvise64]: Remove conditional code.
16372 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
16373 <kernel-features.h>.
16374 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
16376 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
16378 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
16379 not include <kernel-features.h>.
16380 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
16382 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
16384 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
16385 include <kernel-features.h>.
16386 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
16388 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
16391 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
16393 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
16394 slight instruction rearrangements per scrollpipe analysis.
16395 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
16397 2012-08-20 Roland McGrath <roland@hack.frob.com>
16399 * manual/syslog.texi (syslog; vsyslog, closelog):
16400 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
16401 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
16403 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
16404 DSOCAPS to match condition on defining it.
16406 2012-08-20 Joseph Myers <joseph@codesourcery.com>
16408 * sysdeps/unix/sysv/linux/kernel-features.h
16409 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
16410 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
16411 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
16412 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
16413 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
16414 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
16415 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
16416 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
16417 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
16418 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
16420 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
16421 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
16423 * sysdeps/unix/sysv/linux/kernel-features.h
16424 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
16425 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
16427 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16428 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
16429 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
16430 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16431 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
16432 Make code unconditional.
16433 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16434 (__mmap64) [!__NR_mmap2]: Likewise.
16435 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
16436 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
16437 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16438 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
16439 [__NR_mmap2]: Make code unconditional.
16440 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16441 (__mmap64) [!__NR_mmap2]: Likewise.
16443 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16445 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
16447 2012-08-18 Andreas Jaeger <aj@suse.de>
16449 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
16451 2012-08-18 Mike Frysinger <vapier@gentoo.org>
16453 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
16454 * include/unistd.h (__have_sock_cloexec): Likewise.
16455 (__have_pipe2): Likewise.
16456 (__have_dup3): Likewise.
16458 2012-08-18 Mike Frysinger <vapier@gentoo.org>
16461 * include/unistd.h (__have_pipe2): Change define into an extern int.
16462 (__have_dup3): Likewise.
16463 * socket/have_sock_cloexec.c: Include fcntl.h.
16464 (__have_pipe2): New variable.
16465 (__have_dup3): Likewise.
16467 2012-08-17 Mike Frysinger <vapier@gentoo.org>
16469 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
16471 2012-08-17 Marek Polacek <polacek@redhat.com>
16473 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
16474 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
16476 2012-08-17 Roland McGrath <roland@hack.frob.com>
16478 * configure.in: Add AC_SUBST for sysheaders.
16479 * configure: Regenerated.
16480 * config.make.in (sysheaders): New substituted variable.
16482 * sysdeps/unix/mkfifo.c: Moved ...
16483 * sysdeps/posix/mkfifo.c: ... here.
16484 * sysdeps/unix/mkfifoat.c: Moved ...
16485 * sysdeps/posix/mkfifoat.c: ... here.
16487 * sysdeps/unix/utime.c: Moved ...
16488 * sysdeps/posix/utime.c: ... here.
16490 * sysdeps/unix/time.c: Moved ...
16491 * sysdeps/posix/time.c: ... here.
16492 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
16493 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
16495 * sysdeps/unix/nice.c: Moved ...
16496 * sysdeps/posix/nice.c: ... here.
16498 * sysdeps/unix/alarm.c: Moved ...
16499 * sysdeps/posix/alarm.c: ... here.
16501 * intl/Makefile ($(codeset_mo)): Depend on the input file.
16503 2012-08-17 Jeff Law <law@redhat.com>
16505 * intl/Makefile (codeset_mo): New variable.
16506 ($(codeset_mo)): New target.
16507 (tst-codeset.out): Depend on that. Remove explicit rule.
16508 (tst-gettext3.out, tst-gettext5.out): Likewise.
16509 (LOCPATH-ENV, tst-codeset-ENV): New variables.
16510 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
16511 * intl/tst-codeset.sh: Remove.
16512 * intl/tst-gettext3.sh: Likewise.
16513 * intl/tst-gettext5.sh: Likewise.
16515 2012-08-17 Roland McGrath <roland@hack.frob.com>
16517 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
16518 * sysdeps/unix/syscalls.list: ... here.
16520 * sysdeps/posix/getaddrinfo.c
16521 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
16522 (gaiconf_init, gaiconf_reload): Use them.
16523 [!_STATBUF_ST_NSEC]
16524 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
16525 Define using time_t rather than struct timespec.
16527 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
16528 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
16530 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
16532 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
16533 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
16536 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
16537 __libc_cleanup_push argument.
16539 * bits/param.h: New file.
16540 * misc/sys/param.h: New file.
16541 * include/sys/param.h: New file.
16542 * misc/Makefile (headers): Add bits/param.h.
16543 * sysdeps/generic/sys/param.h: File removed.
16544 * sysdeps/unix/sysv/linux/bits/param.h: New file.
16545 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
16546 * sysdeps/mach/hurd/bits/param.h: New file.
16547 * sysdeps/mach/hurd/sys/param.h: File removed.
16549 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
16552 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
16554 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
16555 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
16558 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
16559 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
16560 rather than -D_IO_MTSAFE_IO conditionally.
16561 * stdio-common/Makefile (CPPFLAGS): Likewise.
16562 * wcsmbs/Makefile (CPPFLAGS): Likewise.
16563 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
16564 Use $(libio-mtsafe).
16565 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
16566 of -D_IO_MTSAFE_IO.
16567 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
16568 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
16569 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
16570 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
16571 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
16572 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
16573 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
16574 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
16575 (CFLAGS-fread_u_chk.c): Likewise.
16576 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
16577 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
16578 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
16579 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
16580 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
16581 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
16582 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
16583 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
16584 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
16586 * libio/Makefile: Test [$(libc-reentrant) = yes]
16587 instead of [$(filter %REENTRANT, $(defines)) nonempty].
16590 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
16591 * sysdeps/pthread/configure: File removed.
16592 * sysdeps/pthread/Makeconfig: New file.
16593 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
16594 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
16596 2012-08-16 Gary Benson <gbenson@redhat.com>
16598 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
16599 unmapping the first object in a namespace.
16601 2012-08-16 Roland McGrath <roland@hack.frob.com>
16603 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
16604 (__internal_setnetgrent): ... this. Add internal_function to
16605 definition. Add libc_hidden_def.
16606 (setnetgrent): Update caller.
16607 (internal_endnetgrent): Renamed to ...
16608 (__internal_endnetgrent): ... this. Add internal_function to
16609 definition. Add libc_hidden_def.
16610 (endnetgrent): Update caller.
16611 (internal_getnetgrent_r): Renamed to ...
16612 (__internal_getnetgrent_r): ... this. Add internal_function to
16613 definition. Add libc_hidden_def.
16614 (__getnetgrent_r): Update caller.
16615 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
16617 2012-08-16 Joseph Myers <joseph@codesourcery.com>
16619 * stdlib/longlong.h: Update from GCC.
16621 2012-08-16 Roland McGrath <roland@hack.frob.com>
16623 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
16624 on _QL, which is set by umul_ppmm but never used.
16625 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
16626 variables, which are set by GMP macros but never used.
16627 * stdio-common/_itowa.c (_itowa): Likewise.
16628 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
16629 * stdlib/mod_1.c (mpn_mod_1): Likewise.
16631 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
16633 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
16634 struct La_sh_regs is not constant.
16635 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
16636 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
16637 and struct La_sparc64_regs are not constant.
16639 2012-08-16 Joseph Myers <joseph@codesourcery.com>
16641 * sysdeps/unix/sysv/linux/kernel-features.h
16642 (__ASSUME_POSIX_TIMERS): Remove.
16643 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
16644 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16645 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
16646 Make code unconditional.
16647 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16648 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
16649 Make code unconditional.
16650 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16651 * sysdeps/unix/sysv/linux/clock_nanosleep.c
16652 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
16653 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16654 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
16655 Make code unconditional.
16656 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16657 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
16658 (__libc_missing_posix_timers): Remove.
16660 2012-08-15 Roland McGrath <roland@hack.frob.com>
16662 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
16663 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
16665 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
16667 * elf/dl-sym.c: Include <stdlib.h>.
16669 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
16670 constants, which avoids warnings in 32-bit builds.
16672 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
16673 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
16675 * misc/lseek.c: File moved to ...
16676 * io/lseek.c: ... here.
16678 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
16680 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
16681 shifting LEN more than 31 bits at once.
16683 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16686 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
16687 segmentation fault for a case of two empty input strings.
16688 * string/test-strncasecmp.c (check1): Renamed to...
16689 (bz12205): ...this.
16690 (bz14195): Add new testcase for two empty input strings and N > 0.
16691 (test_main): Call new testcase, adapt for renamed function.
16693 2012-08-15 Andreas Jaeger <aj@suse.de>
16696 * crypt/md5test2.c: New test, based on test supplied by Serge
16697 Belyshev <belyshev@depni.sinp.msu.ru>.
16698 * crypt/Makefile (xtests): Add md5test-giant..
16699 * crypt/Makefile ($(objpfx)md5test-giant): Add.
16701 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
16704 * crypt/md5.c (md5_process_block): Don't assume the buffer
16705 length is less than 2**32.
16706 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
16707 length is less than 2**64.
16709 2012-08-15 Roland McGrath <roland@hack.frob.com>
16711 * string/str-two-way.h: Include <sys/param.h>.
16712 (MAX): Macro removed.
16714 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
16715 Move #define and #undef of memmove to just before and after
16716 including <string.h>.
16718 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
16719 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
16720 and after including <string.h>. Move declarations of
16721 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
16722 to before #include "string/memmove.c".
16724 * include/dirent.h: Declare __getdirentries.
16726 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
16727 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
16729 2012-08-14 Mike Frysinger <vapier@gentoo.org>
16731 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
16732 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
16733 * sysdeps/i386/configure: Regenerated.
16734 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
16735 STABS_CURRENT_FILE, and STABS_FUN.
16736 (END): Remove call to STABS_FUN_END.
16737 (STABS_CURRENT_FILE1): Delete.
16738 (STABS_CURRENT_FILE): Likewise.
16739 (STABS_FUN): Likewise.
16740 (STABS_FUN_END): Likewise.
16741 (STABS_FUN2): Likewise.
16742 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
16743 * sysdeps/x86_64/configure: Regenerated.
16745 2012-08-14 Roland McGrath <roland@hack.frob.com>
16747 * elf/dl-open.c: Include <atomic.h>.
16748 * elf/dl-lookup.c: Likewise.
16750 2012-08-14 Joseph Myers <joseph@codesourcery.com>
16752 * sysdeps/unix/sysv/linux/kernel-features.h
16753 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
16754 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
16756 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
16758 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
16759 condition on __ASSUME_CLONE_THREAD_FLAGS.
16761 2012-08-14 Andreas Jaeger <aj@suse.de>
16763 * sysdeps/i386/fpu/libm-test-ulps: Update.
16765 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
16767 * include/atomic.h (atomic_exchange_and_add): Split into ...
16768 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
16771 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
16773 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16775 2012-08-13 Jeff Law <law@redhat.com>
16777 * manual/stdio.texi (snprintf): Clarify handling of the trailing
16778 null byte in the output string.
16780 2012-08-10 Joseph Myers <joseph@codesourcery.com>
16782 * sysdeps/unix/sysv/linux/kernel-features.h
16783 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
16784 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
16785 (__ASSUME_ARG_MAX_STACK_BASED): Define.
16786 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
16787 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
16788 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
16789 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
16791 2012-08-09 Jeff Law <law@redhat.com>
16794 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
16795 When avoid_arena is set, don't retry in the that arena. Pick the
16796 next one, whatever it might be.
16797 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
16798 (arena_lock): Pass in new parameter to arena_get2.
16799 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
16801 (__libc_malloc): Unify retrying after main arena failure with
16802 __libc_memalign version.
16803 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
16805 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
16808 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
16809 to __redirect_strstr.
16810 (__strstr_sse42): Use typeof __redirect_strstr.
16811 (__strstr_ia32): Likewise.
16812 (__libc_strstr): New prototype.
16813 (strstr): Renamed to ...
16814 (__libc_strstr): This.
16815 (strstr): New strong alias of __libc_strstr.
16816 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
16817 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
16820 (__libc_time): New prototype.
16821 (time_ifunc): Replace time with __libc_time.
16822 (time): New strong alias and hidden definition of __libc_time.
16823 (__GI_time): Remove strong alias.
16824 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
16825 Include <stddef.h>.
16826 (memmove): Redefined to __redirect_memmove.
16827 (__memmove_sse2): Use typeof __redirect_memmove.
16828 (__memmove_ssse3): Likewise.
16829 (__memmove_ssse3_back): Likewise.
16830 (__libc_memmove): New prototype.
16831 (memmove): Renamed to ...
16832 (__libc_memmove): This.
16833 (memmove): New strong alias of __libc_memmove.
16835 2012-08-08 Mark Salter <msalter@redhat.com>
16838 (R_MN10300_TLS_GD): Define.
16839 (R_MN10300_TLS_LD): Likewise.
16840 (R_MN10300_TLS_LDO): Likewise.
16841 (R_MN10300_TLS_GOTIE): Likewise.
16842 (R_MN10300_TLS_IE): Likewise.
16843 (R_MN10300_TLS_LE): Likewise.
16844 (R_MN10300_TLS_DTPMOD): Likewise.
16845 (R_MN10300_TLS_DTPOFF): Likewise.
16846 (R_MN10300_TLS_TPOFF): Likewise.
16847 (R_MN10300_SYM_DIFF): Likewise.
16848 (R_MN10300_ALIGN): Likewise.
16849 (R_MN10300_NUM): Update.
16851 2012-08-08 Joseph Myers <joseph@codesourcery.com>
16853 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
16856 2012-08-08 Roland McGrath <roland@hack.frob.com>
16858 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
16860 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
16861 sysdeps/unix -> sysdeps/posix move.
16862 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
16864 2012-08-07 Allan McRae <allan@archlinux.org>
16867 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
16868 (SUNOS_CPP): Likewise.
16869 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
16871 (open_input): Call CPP using execvp.
16873 2012-08-07 Joseph Myers <joseph@codesourcery.com>
16875 * sysdeps/unix/sysv/linux/kernel-features.h
16876 (__ASSUME_PROT_GROWSUPDOWN): Remove.
16877 (__ASSUME_NO_CLONE_DETACHED): Likewise.
16878 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
16879 (__ASSUME_WAITID_SYSCALL): Likewise.
16880 * sysdeps/unix/sysv/linux/dl-execstack.c
16881 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
16882 code unconditional.
16883 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
16885 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
16886 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
16887 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
16889 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
16891 [__ASSUME_WAITID_SYSCALL]: Likewise.
16892 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
16894 2012-08-07 Roland McGrath <roland@hack.frob.com>
16896 * sysdeps/unix/closedir.c: Renamed to ...
16897 * sysdeps/posix/closedir.c: ... here.
16898 * sysdeps/unix/dirfd.c: Renamed to ...
16899 * sysdeps/posix/dirfd.c: ... here.
16900 * sysdeps/unix/dirstream.h: Renamed to ...
16901 * sysdeps/posix/dirstream.h: ... here.
16902 * sysdeps/unix/fdopendir.c: Renamed to ...
16903 * sysdeps/posix/fdopendir.c: ... here.
16904 * sysdeps/unix/opendir.c: Renamed to ...
16905 * sysdeps/posix/opendir.c: ... here.
16906 * sysdeps/unix/readdir.c: Renamed to ...
16907 * sysdeps/posix/readdir.c: ... here.
16908 * sysdeps/unix/readdir_r.c: Renamed to ...
16909 * sysdeps/posix/readdir_r.c: ... here.
16910 * sysdeps/unix/rewinddir.c: Renamed to ...
16911 * sysdeps/posix/rewinddir.c: ... here.
16912 * sysdeps/unix/seekdir.c: Renamed to ...
16913 * sysdeps/posix/seekdir.c: ... here.
16914 * sysdeps/unix/telldir.c: Renamed to ...
16915 * sysdeps/posix/telldir.c: ... here.
16916 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
16917 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
16918 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
16919 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
16921 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
16922 * bits/fcntl.h: ... here.
16924 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
16926 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
16927 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
16928 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
16929 (struct flock): Move l_start, l_len to the beginning.
16930 Use __pid_t for l_pid.
16931 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
16932 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
16933 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
16934 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
16935 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
16936 [__USE_LARGEFILE64] (struct flock64): New type.
16937 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
16939 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
16940 * bits/dirent.h: ... here.
16942 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
16943 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
16945 2012-08-07 Joseph Myers <joseph@codesourcery.com>
16947 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
16948 Change from 2.6.0 to 2.6.16.
16949 * sysdeps/unix/sysv/linux/configure: Regenerated.
16950 * sysdeps/unix/sysv/linux/kernel-features.h
16951 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
16952 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
16954 (__ASSUME_UTIMES): Likewise.
16955 (__ASSUME_CLONE_STOPPED): Remove.
16956 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
16957 architectures, not kernel version.
16958 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
16959 (__ASSUME_NO_CLONE_DETACHED): Likewise.
16960 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
16961 (__ASSUME_WAITID_SYSCALL): Likewise.
16962 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
16963 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
16964 * README: State 2.6.16 as minimum Linux kernel version. Do not
16965 refer to older versions.
16967 2012-08-06 Roland McGrath <roland@hack.frob.com>
16969 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
16970 Define alphasort64 as an alias.
16971 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
16972 Define versionsort64 as an alias.
16973 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
16974 Define scandir64 as an alias.
16975 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
16976 Define scandirat64 as an alias.
16977 * dirent/alphasort64.c (alphasort64):
16978 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
16979 * dirent/versionsort64.c: Likewise.
16980 * dirent/scandir64.c: Likewise.
16981 * dirent/scandirat64.c: Likewise.
16982 * sysdeps/wordsize-64/alphasort.c: File removed.
16983 * sysdeps/wordsize-64/alphasort64.c: File removed.
16984 * sysdeps/wordsize-64/scandir.c: File removed.
16985 * sysdeps/wordsize-64/scandir64.c: File removed.
16986 * sysdeps/wordsize-64/scandirat.c: File removed.
16987 * sysdeps/wordsize-64/scandirat64.c: File removed.
16988 * sysdeps/wordsize-64/versionsort.c: File removed.
16989 * sysdeps/wordsize-64/versionsort64.c: File removed.
16990 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
16991 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
16992 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
16993 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
16994 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
16995 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
16996 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
16997 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
16999 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
17000 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
17001 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
17002 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17003 [defined __arch64__ || defined __sparcv9]
17004 (__INO_T_MATCHES_INO64_T): New macro.
17005 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
17006 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
17007 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
17008 * sysdeps/unix/sysv/linux/bits/dirent.h
17009 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
17010 (_DIRENT_MATCHES_DIRENT64): New macro.
17012 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
17013 Define lockf64 as an alias.
17014 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
17015 Define fseeko64 as an alias.
17016 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
17017 Define ftello64 as an alias.
17018 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
17019 Define _IO_fgetpos64 and fgetpos64 as aliases.
17020 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
17021 Define _IO_fsetpos64 and fsetpos64 as aliases.
17022 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
17023 Conditionalize body on this.
17024 * libio/fseeko64.c: Likewise.
17025 * libio/ftello64.c: Likewise.
17026 * libio/iofgetpos64.c: Likewise.
17027 * libio/iofsetpos64.c: Likewise.
17028 * sysdeps/wordsize-64/lockf.c: File removed.
17029 * sysdeps/wordsize-64/lockf64.c: File removed.
17030 * sysdeps/wordsize-64/fseeko.c: File removed.
17031 * sysdeps/wordsize-64/fseeko64.c: File removed.
17032 * sysdeps/wordsize-64/ftello.c: File removed.
17033 * sysdeps/wordsize-64/ftello64.c: File removed.
17034 * sysdeps/wordsize-64/iofgetpos.c: File removed.
17035 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
17036 * sysdeps/wordsize-64/iofsetpos.c: File removed.
17037 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
17038 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
17039 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
17040 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
17041 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
17042 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
17043 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
17044 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
17045 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
17046 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
17047 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
17049 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
17050 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
17051 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
17052 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17053 [defined __arch64__ || defined __sparcv9]
17054 (__OFF_T_MATCHES_OFF64_T): New macro.
17055 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
17056 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
17057 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17058 (__OFF_T_MATCHES_OFF64_T): New macro.
17060 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
17062 * stdlib/secure-getenv.c (__secure_getenv): Replace
17063 GLIBC_2_16 with GLIBC_2_17.
17065 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
17067 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
17068 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
17070 2012-08-03 David S. Miller <davem@davemloft.net>
17072 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17074 2012-08-03 Joseph Myers <joseph@codesourcery.com>
17076 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
17078 (__ASSUME_CORRECT_SI_PID): Likewise.
17079 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
17080 (__ASSUME_TMPFS_NAME): Likewise.
17081 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
17082 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
17083 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
17084 (HAVE_AUX_SECURE): Make definition unconditional.
17085 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
17086 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
17088 2012-08-03 Roland McGrath <roland@hack.frob.com>
17090 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
17091 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
17092 * sysdeps/mach/hurd/eloop-threshold.h: New file.
17093 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
17094 __eloop_threshold instead of SYMLOOP_MAX.
17096 * sysdeps/generic/eloop-threshold.h: New file.
17097 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
17099 * elf/chroot_canon.c (chroot_canon): Likewise.
17101 2012-08-03 Joseph Myers <joseph@codesourcery.com>
17104 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
17105 Change to 2.6.0 everywhere.
17106 * sysdeps/unix/sysv/linux/configure: Regenerated.
17107 * sysdeps/unix/sysv/linux/kernel-features.h
17108 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
17109 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
17111 (__ASSUME_POSIX_TIMERS): Define unconditionally.
17112 (__ASSUME_FUTEX_REQUEUE): Remove.
17113 (__ASSUME_STATFS64): Define unconditionally.
17114 (__ASSUME_AT_SECURE): Likewise.
17115 (__ASSUME_CORRECT_SI_PID): Likewise.
17116 (__ASSUME_TGKILL): Define without depending on kernel version for
17118 (__ASSUME_UTIMES): Likewise.
17119 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
17121 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
17122 (__ASSUME_TMPFS_NAME): Likewise.
17123 * README: Update reference to Linux kernel versions.
17125 2012-08-02 Marek Polacek <polacek@redhat.com>
17128 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
17129 libc_cv_asm_type_prefix with %.
17130 * configure: Regenerated.
17131 * include/libc-symbols.h: Remove comment about
17132 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
17133 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
17134 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
17135 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
17136 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
17137 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
17138 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
17139 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
17140 * elf/tst-unique2mod1.c: Likewise.
17141 * elf/tst-unique1mod2.c: Likewise.
17142 * elf/tst-unique1mod1.c: Likewise.
17143 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
17144 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
17145 Replace ASM_TYPE_DIRECTIVE with .type.
17146 * sysdeps/s390/s390-64/sysdep.h: Likewise.
17147 * sysdeps/i386/sysdep.h: Likewise.
17148 * sysdeps/x86_64/sysdep.h: Likewise.
17149 * sysdeps/sh/sysdep.h: Likewise.
17150 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
17151 Do not define ASM_TYPE_DIRECTIVE.
17152 * sysdeps/powerpc/sysdep.h: Likewise.
17153 * sysdeps/powerpc/powerpc32/sysdep.h:
17154 Replace ASM_TYPE_DIRECTIVE with .type.
17155 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
17156 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
17157 * sysdeps/i386/fpu/e_powf.S: Likewise.
17158 * sysdeps/i386/fpu/e_expl.S: Likewise.
17159 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
17160 * sysdeps/i386/fpu/e_acosh.S: Likewise.
17161 * sysdeps/i386/fpu/e_pow.S: Likewise.
17162 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
17163 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
17164 * sysdeps/i386/fpu/s_expm1.S: Likewise.
17165 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
17166 * sysdeps/i386/fpu/e_log2.S: Likewise.
17167 * sysdeps/i386/fpu/e_log2l.S: Likewise.
17168 * sysdeps/i386/fpu/e_scalb.S: Likewise.
17169 * sysdeps/i386/fpu/e_powl.S: Likewise.
17170 * sysdeps/i386/fpu/e_log10f.S: Likewise.
17171 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
17172 * sysdeps/i386/fpu/e_logl.S: Likewise.
17173 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
17174 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
17175 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
17176 * sysdeps/i386/fpu/e_log2f.S: Likewise.
17177 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
17178 * sysdeps/i386/fpu/e_log.S: Likewise.
17179 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
17180 * sysdeps/i386/fpu/e_logf.S: Likewise.
17181 * sysdeps/i386/fpu/e_log10l.S: Likewise.
17182 * sysdeps/i386/fpu/e_atanh.S: Likewise.
17183 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
17184 * sysdeps/i386/fpu/e_log10.S: Likewise.
17185 * sysdeps/i386/fpu/s_frexp.S: Likewise.
17186 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
17187 * sysdeps/i386/fpu/s_asinh.S: Likewise.
17188 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
17189 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
17190 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
17191 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
17192 * sysdeps/i386/i686/strtok.S: Likewise.
17193 * sysdeps/i386/i386-mcount.S: Likewise.
17194 * sysdeps/i386/strtok.S: Likewise.
17195 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
17196 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
17197 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
17198 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
17199 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
17200 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
17201 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
17202 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
17203 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
17204 * sysdeps/x86_64/_mcount.S: Likewise.
17205 * sysdeps/x86_64/strtok.S: Likewise.
17206 * sysdeps/sh/_mcount.S: Likewise.
17208 2012-08-01 Roland McGrath <roland@hack.frob.com>
17210 * libio/iofopen.c: Include <fcntl.h>.
17211 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
17212 (_IO_fopen64, fopen64): Define as aliases.
17213 * libio/iofopen64.c: Include <fcntl.h>.
17214 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
17215 Conditionalize body on this.
17216 * sysdeps/wordsize-64/iofopen.c: File removed.
17217 * sysdeps/wordsize-64/iofopen64.c: File removed.
17219 2012-08-01 Marek Polacek <polacek@redhat.com>
17221 * libc/Makeconfig: Use elf in place of binfmt-subdir.
17222 Use dlfcn directly instead of a variable.
17223 (binfmt-subdir): Do not define.
17226 2012-08-01 Joseph Myers <joseph@codesourcery.com>
17228 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
17229 Remove all definitions.
17230 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
17231 <kernel-features.h>.
17232 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
17233 (miss_F_GETOWN_EX): Remove all definitions.
17234 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
17236 [!__ASSUME_FCNTL64]: Remove conditional code.
17237 [__ASSUME_FCNTL64]: Make code unconditional.
17238 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
17239 <kernel-features.h>.
17240 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
17241 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
17242 (lockf64) [__NR_fcntl64]: Make code unconditional.
17243 (lockf64) [__ASSUME_FCNTL64]: Likewise.
17245 * sysdeps/unix/sysv/linux/kernel-features.h
17246 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
17247 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
17248 Make code unconditional.
17249 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
17250 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
17251 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
17252 [__NR_vfork]: Make code unconditional.
17253 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
17254 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
17255 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
17256 [__NR_vfork]: Make code unconditional.
17257 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
17258 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
17260 2012-08-01 Roland McGrath <roland@hack.frob.com>
17262 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
17263 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
17265 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
17266 Define mkstemp64 as an alias.
17267 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
17268 Define mkstemps64 as an alias.
17269 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
17270 Define mkostemp64 as an alias.
17271 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
17272 Define mkostemps64 as an alias.
17273 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
17274 Conditionalize body on this.
17275 * misc/mkostemp64.c: Likewise.
17276 * misc/mkostemps64.c: Likewise.
17277 * misc/mkstemps64.c: Likewise.
17278 * sysdeps/wordsize-64/mkstemp64.c: File removed.
17279 * sysdeps/wordsize-64/mkostemp64.c: File removed.
17280 * sysdeps/wordsize-64/mkostemp.c: File removed.
17281 * sysdeps/wordsize-64/mkstemp.c: File removed.
17282 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
17283 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
17284 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
17285 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
17288 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
17289 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
17290 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
17291 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
17293 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
17294 compat_symbol macros from <shlib-compat.h> rather than the underlying
17295 default_symbol_version and symbol_version macros, so that DEFAULT
17296 lines in shlib-versions are respected.
17297 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
17299 2012-08-01 Florian Weimer <fweimer@redhat.com>
17301 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
17302 Declare with warn_unused_result.
17303 (setgid, setregid, setegid, setresgid): Likewise.
17304 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
17306 * WUR-REPORT: Remove set*id functions.
17308 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
17310 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
17312 2012-07-31 Roland McGrath <roland@hack.frob.com>
17315 * include/sys/socket.h (__libc_accept, __libc_accept4):
17316 Add attribute_hidden.
17317 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
17319 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
17321 * inet/getnetgrent_r.c (setup): Likewise.
17323 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
17325 2012-07-31 David S. Miller <davem@davemloft.net>
17327 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17329 2012-07-31 Joseph Myers <joseph@codesourcery.com>
17332 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
17333 value between 1.0 and 2.0 and smaller part has absolute value less
17335 * math/s_clog10.c (__clog10): Likewise.
17336 * math/s_clog10f.c (__clog10f): Likewise.
17337 * math/s_clog10l.c (__clog10l): Likewise.
17338 * math/s_clogf.c (__clogf): Likewise.
17339 * math/s_clogl.c (__clogl): Likewise.
17340 * math/libm-test.inc (clog_test): Add more tests.
17341 (clog10_test): Likewise.
17342 * sysdeps/i386/fpu/libm-test-ulps: Update.
17343 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17345 2012-07-31 Florian Weimer <fweimer@redhat.com>
17347 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
17348 Exit with zero in case no suitable GID is found, and write a
17349 message to standard error.
17351 2012-07-30 Roland McGrath <roland@hack.frob.com>
17353 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
17355 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
17356 (MAXPATHLEN): Removed.
17357 (NOGROUP, NODEV): New macros.
17358 (setbit, clrbit, isset, isclr): New macros.
17359 (howmany, roundup, powerof2): New macros.
17360 (DEV_BSIZE): New macro.
17362 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
17363 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
17365 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
17366 definition on [!__NO_LONG_DOUBLE_MATH].
17368 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
17369 PTR_MANGLE and PTR_DEMANGLE.
17371 * socket/accept4.c (accept4): Rename to __libc_accept4.
17372 Define accept4 as a weak alias.
17374 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
17375 on [_DIRENT_HAVE_D_TYPE].
17376 * io/ftw.c (ftw_dir): Likewise.
17378 * io/xmknod.c (__xmknod): Don't check PATH for being null.
17380 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
17382 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
17383 Use the BSD numbers rather than the arbitrary ones we had.
17384 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
17385 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
17386 (SIGXCPU, SIGXFSZ): New macros.
17389 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
17390 initializer on [_LIBC_REENTRANT].
17392 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
17393 definitions inside [_POSIX_MAPPED_FILES].
17395 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
17397 * dirent/opendir.c: Include <fcntl.h>.
17399 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
17400 (__libc_getspecific): Likewise.
17401 (__libc_key_create): Likewise.
17403 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
17404 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
17405 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
17406 (tmpfile64): Define as alias.
17407 * sysdeps/wordsize-64/tmpfile.c: File removed.
17408 * sysdeps/wordsize-64/tmpfile64.c: File removed.
17409 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
17410 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
17412 * stdio-common/vfscanf.c: Include <stdbool.h>.
17413 * nss/makedb.c: Likewise.
17414 * stdio-common/_i18n_number.h: Likewise.
17415 * argp/argp-help.c: Likewise.
17416 * posix/wordexp.c: Likewise.
17417 * sysdeps/posix/spawni.c: Likewise.
17418 * nss/nss_files/files-initgroups.c: Likewise.
17419 * stdio-common/reg-modifier.c: Include <stdlib.h>.
17420 * nss/nss_files/files-initgroups.c: Likewise.
17421 * nss/nss_db/db-netgrp.c: Likewise.
17422 * nss/nss_db/db-initgroups.c: Likewise.
17423 * io/fchmodat.c: Include <sys/stat.h>.
17425 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
17426 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
17428 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
17431 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
17432 Add multiple inclusion protection.
17434 2012-07-27 David S. Miller <davem@davemloft.net>
17436 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17438 2012-07-27 Gary Benson <gbenson@redhat.com>
17441 * elf/rtld.c: Include <stap-probe.h>.
17442 (dl_main): Added static probes "init_start" and "init_complete".
17443 * elf/dl-load.c: Include <stap-probe.h>.
17444 (lose): Take new parameter "nsid".
17445 Added static probe "map_failed".
17446 (_dl_map_object_from_fd): Pass namespace id to lose.
17447 Added static probe "map_start".
17448 (open_verify): Pass namespace id to lose.
17449 * elf/dl-open.c: Include <stap-probe.h>.
17450 (dl_open_worker) Added static probes "map_complete", "reloc_start"
17451 and "reloc_complete".
17452 * elf/dl-close.c: Include <stap-probe.h>.
17453 (_dl_close_worker): Added static probes "unmap_start" and
17455 * elf/rtld-debugger-interface.txt: New file documenting the above.
17457 2012-07-26 Roland McGrath <roland@hack.frob.com>
17459 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
17460 rather than a string variable.
17461 * sunrpc/rpc_main.c (h_output): Likewise.
17462 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
17464 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
17466 * inet/check_native.c: New file.
17468 2012-07-26 Joseph Myers <joseph@codesourcery.com>
17471 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
17472 if larger part has absolute value 1.0.
17473 * math/s_clog10.c (__clog10): Likewise.
17474 * math/s_clog10f.c (__clog10f): Likewise.
17475 * math/s_clog10l.c (__clog10l): Likewise.
17476 * math/s_clogf.c (__clogf): Likewise.
17477 * math/s_clogl.c (__clogl): Likewise.
17478 * math/libm-test.inc (clog_test): Add more tests.
17479 (clog10_test): Likewise.
17480 * sysdeps/i386/fpu/libm-test-ulps: Update.
17481 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17483 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
17484 (pltexit): Likewise.
17485 (La_regs): Likewise.
17486 (La_retval): Likewise.
17487 (int_retval): Likewise.
17488 Update #error for removed macros to refer only to definitions in
17490 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
17492 (pltexit): Likewise.
17493 (La_regs): Likewise.
17494 (La_retval): Likewise.
17495 (int_retval): Likewise.
17496 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
17498 (pltexit): Likewise.
17499 (La_regs): Likewise.
17500 (La_retval): Likewise.
17501 (int_retval): Likewise.
17502 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
17504 (pltexit): Likewise.
17505 (La_regs): Likewise.
17506 (La_retval): Likewise.
17507 (int_retval): Likewise.
17508 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
17510 (pltexit): Likewise.
17511 (La_regs): Likewise.
17512 (La_retval): Likewise.
17513 (int_retval): Likewise.
17514 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
17516 (pltexit): Likewise.
17517 (La_regs): Likewise.
17518 (La_retval): Likewise.
17519 (int_retval): Likewise.
17520 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
17522 (pltexit): Likewise.
17523 (La_regs): Likewise.
17524 (La_retval): Likewise.
17525 (int_retval): Likewise.
17526 * sysdeps/generic/tst-audit.h: Update comment to refer only to
17527 macro definitions in tst-audit.h.
17528 * sysdeps/i386/tst-audit.h: New file.
17529 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
17530 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
17531 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
17532 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
17533 * sysdeps/sh/tst-audit.h: Likewise.
17534 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
17535 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
17536 * sysdeps/x86_64/tst-audit.h: Likewise.
17538 2012-07-26 Andreas Jaeger <aj@suse.de>
17540 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
17543 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
17544 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
17545 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
17547 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
17548 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
17549 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
17551 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
17554 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
17556 (si_call_addr, si_syscall, si_arch): Define new macro.
17557 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
17559 (si_call_addr, si_syscall, si_arch): Define new marcro.
17560 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
17562 (si_call_addr, si_syscall, si_arch): Define new macro.
17563 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
17565 (si_call_addr, si_syscall, si_arch): Define new macro.
17567 2012-07-25 Joseph Myers <joseph@codesourcery.com>
17570 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
17571 Change to 2.4.21 where previously 2.4.1.
17572 * sysdeps/unix/sysv/linux/configure: Regenerated.
17573 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
17574 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
17575 Linux kernel version.
17576 (__ASSUME_STD_AUXV): Remove.
17577 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
17579 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
17580 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
17581 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
17582 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
17583 (__ASSUME_NETLINK_SUPPORT): Likewise.
17584 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
17585 (__no_netlink_support): Remove conditional definition.
17586 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
17588 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
17589 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
17590 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
17591 (if_nameindex_ioctl): Remove.
17592 (if_nameindex_netlink): Do not handle __no_netlink_support.
17593 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
17595 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
17596 Remove conditional code.
17597 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
17599 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
17601 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
17602 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
17603 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
17605 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
17606 [!__ASSUME_STD_AUXV]: Remove conditional code.
17607 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
17608 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
17609 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
17610 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
17611 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
17612 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
17614 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
17615 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
17616 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
17617 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
17619 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
17620 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
17621 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
17623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
17624 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
17626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
17627 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
17628 code unconditional.
17629 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17631 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
17633 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17635 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
17636 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
17638 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
17641 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
17642 code unconditional.
17643 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17645 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
17647 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17649 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
17650 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
17651 code unconditional.
17652 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17654 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
17656 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17659 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
17661 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
17662 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
17663 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
17664 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
17665 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
17666 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
17667 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
17668 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
17669 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
17670 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
17671 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
17672 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
17673 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
17674 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
17675 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
17676 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
17677 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
17678 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
17679 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
17680 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
17681 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
17682 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
17683 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
17685 2012-07-25 Florian Weimer <fweimer@redhat.com>
17687 * Versions.def: Add GLIBC_2.17.
17688 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
17689 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
17690 Introduce __libc_secure_getenv.
17691 * stdlib/Versions (2.17): Add secure_getenv
17692 (GLIBC_PRIVATE): Add __libc_secure_getenv.
17693 * stdlib/secure-getenv.c: Rename __secure_getenv to
17694 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
17695 symbol __secure_getenv for GLIBC_2.0.
17696 * stdlib/tst-secure-getenv.c: New.
17697 * stdlib/Makefile (tests): Add testcase.
17698 * manual/startup.texi (Environment Access): Document
17700 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
17701 __libc_secure_getenv.
17702 * inet/ruserpass.c (ruserpass): Likewise.
17703 * malloc/mtrace.c (mtrace): Likewise.
17704 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
17705 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
17706 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
17707 * sysdeps/posix/tempname.c: Likewise. Evaluate
17708 HAVE_SECURE_GETENV.
17709 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
17710 __secure_getenv to __libc_secure_getenv.
17711 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
17712 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17716 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
17717 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
17718 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
17719 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
17720 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
17721 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
17722 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
17724 2012-07-25 Joseph Myers <joseph@codesourcery.com>
17726 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
17727 (struct La_i86_retval): Likewise.
17728 (struct La_x86_64_regs): Likewise.
17729 (struct La_x86_64_retval): Likewise.
17730 (struct La_x32_regs): Likewise.
17731 (struct La_x32_retval): Likewise.
17732 (struct La_ppc32_regs): Likewise.
17733 (struct La_ppc32_retval): Likewise.
17734 (struct La_ppc64_regs): Likewise.
17735 (struct La_ppc64_retval): Likewise.
17736 (struct La_sh_regs): Likewise.
17737 (struct La_sh_retval): Likewise.
17738 (struct La_s390_32_regs): Likewise.
17739 (struct La_s390_32_retval): Likewise.
17740 (struct La_s390_64_regs): Likewise.
17741 (struct La_s390_64_retval): Likewise.
17742 (struct La_sparc32_regs): Likewise.
17743 (struct La_sparc32_retval): Likewise.
17744 (struct La_sparc64_regs): Likewise.
17745 (struct La_sparc64_retval): Likewise.
17746 (struct audit_ifaces): Remove architecture-specific pltenter and
17748 * sysdeps/i386/ldsodefs.h: New file.
17749 * sysdeps/powerpc/ldsodefs.h: Likewise.
17750 * sysdeps/s390/ldsodefs.h: Likewise.
17751 * sysdeps/sh/ldsodefs.h: Likewise.
17752 * sysdeps/sparc/ldsodefs.h: Likewise.
17753 * sysdeps/x86_64/ldsodefs.h: Likewise.
17755 2012-07-25 Marek Polacek <polacek@redhat.com>
17758 * math/libm-test.inc (yn_test): Add another test.
17759 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
17760 to ERANGE when the result is +-Inf.
17761 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
17762 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
17763 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
17764 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
17766 2012-07-24 Joseph Myers <joseph@codesourcery.com>
17768 * conform/data/time.h-data (NULL): Use macro-constant. Require
17770 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
17772 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
17774 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
17776 * configure.in <sysdeps resolving>: Correct printing
17778 * configure: Regenerate.
17780 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
17782 * math/w_ilogb.c: Include <limits.h>.
17783 * math/w_ilogbl.c: Likewise.
17785 2012-07-20 Joseph Myers <joseph@codesourcery.com>
17787 * manual/lang.texi (__va_copy): Document primarily as ISO C99
17788 va_copy. Document allowing for unavailable va_copy only as
17789 pre-C99 compatibility.
17790 * manual/string.texi (Copying and Concatenation): Use va_copy
17791 instead of __va_copy in concat example.
17793 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
17795 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
17796 (__sendto): Use create_address_port. Initialize APORT and deallocate
17799 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
17800 with O_NOLINK passed to __file_name_lookup.
17802 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
17803 with O_NOLINK passed to __file_name_lookup.
17805 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
17806 negative N or less than NGIDS.
17808 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
17809 type to string_t. Set ERANGE as errno and return it if NAME is not big
17810 enough. Use memcpy instead of strncpy.
17812 2012-07-20 Joseph Myers <joseph@codesourcery.com>
17814 * elf/Makefile (check-data): Remove.
17815 (localplt.data): New vpath directive.
17816 ($(objpfx)check-localplt.out): Use localplt.data from vpath
17817 instead of $(check-data).
17818 * scripts/data/localplt-generic.data: Move to ...
17819 * sysdeps/generic/localplt.data: ... here.
17820 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
17821 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
17822 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
17823 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
17825 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
17826 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
17828 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
17829 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
17831 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
17832 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
17834 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
17835 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
17837 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
17838 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
17841 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17843 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
17844 PPC32 and PPC64 files.
17845 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
17846 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
17848 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17850 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
17851 __makecontext_ret to ...
17852 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
17853 ... here and call exit if uc_link is NULL. New file.
17854 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
17855 __makecontext_ret.S.
17856 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
17857 __makecontext_ret to ...
17858 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
17859 ... here and call exit if uc_link is NULL. New file.
17860 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
17861 __makecontext_ret.S.
17863 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17865 * elf/elf.h (R_390_IRELATIVE): New definition.
17866 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
17867 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
17868 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
17869 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
17870 (elf_machine_lazy_rel): Likewise.
17871 * sysdeps/s390/dl-irel.h: New file.
17872 * sysdeps/s390/s390-64/memcpy.S: New asm code.
17873 * sysdeps/s390/s390-64/memset.S: New asm code.
17874 * sysdeps/s390/s390-64/memcmp.S: New asm code.
17875 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
17876 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
17877 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
17878 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
17879 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
17880 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
17881 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
17882 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
17883 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
17884 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
17885 * sysdeps/s390/s390-32/memcpy.S: New asm code.
17886 * sysdeps/s390/s390-32/memset.S: New asm code.
17887 * sysdeps/s390/s390-32/memcmp.S: New asm code.
17889 2012-07-17 Marek Polacek <polacek@redhat.com>
17892 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
17893 * sysdeps/s390/s390-64/configure.in: Likewise.
17894 * sysdeps/sparc/configure.in: Likewise.
17895 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
17896 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
17897 * sysdeps/i386/configure.in: Likewise.
17898 * sysdeps/x86_64/configure.in: Likewise.
17899 * sysdeps/sh/configure.in: Likewise.
17900 * sysdeps/s390/s390-32/configure: Regenerated.
17901 * sysdeps/s390/s390-64/configure: Likewise.
17902 * sysdeps/x86_64/configure: Likewise.
17903 * sysdeps/sh/configure: Likewise.
17904 * sysdeps/powerpc/powerpc64/configure: Likewise.
17905 * sysdeps/powerpc/powerpc32/configure: Likewise.
17906 * sysdeps/sparc/configure: Likwise.
17907 * sysdeps/i386/configure: Likewise.
17909 * elf/dl-open.c: Comment fixes.
17911 2012-07-17 Joseph Myers <joseph@codesourcery.com>
17913 * Makefile [CXX] (check-data): Remove.
17914 [CXX] (c++-types.data): New vpath directive.
17915 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
17916 vpath. Do not allow for C++ type data being missing.
17917 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
17918 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
17919 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
17920 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
17921 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
17922 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
17923 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
17924 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
17926 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
17927 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
17929 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
17930 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
17932 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
17933 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
17935 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
17936 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
17938 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
17939 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
17941 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
17942 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
17944 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
17945 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
17947 * elf/tls-macros.h (TLS_LE): Move architecture-specific
17948 definitions to architecture-specific files.
17949 (TLS_IE): Likewise.
17950 (TLS_LD): Likewise.
17951 (TLS_GD): Likewise.
17952 * sysdeps/i386/tls-macros.h: New file.
17953 * sysdeps/powerpc/tls-macros.h: Likewise.
17954 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
17955 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
17956 * sysdeps/sh/tls-macros.h: Likewise.
17957 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
17958 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
17959 * sysdeps/x86_64/tls-macros.h: Likewise.
17961 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
17963 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
17964 zero value for regular exit case.
17966 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
17967 (__start_context): Preserve zero value for regular exit case.
17969 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
17970 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17972 * manual/setjmp.texi (setcontext): Clarify normal process
17973 termination when uc_link is the null pointer.
17974 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
17977 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
17979 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
17980 preprocessor. Test for each exception mask separately.
17982 2012-07-16 Andreas Jaeger <aj@suse.de>
17984 * po/ru.po: Update from translation team.
17986 2012-07-15 Joseph Myers <joseph@codesourcery.com>
17988 * conform/data/string.h-data (NULL): Use macro-constant. Require
17990 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
17991 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
17992 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
17993 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
17994 [ISO || ISO99 || ISO11] (*_t): Do not allow.
17996 2012-07-13 Andreas Jaeger <aj@suse.de>
17998 * po/fr.po: Update from translation team.
18000 2012-07-12 Marek Polacek <polacek@redhat.com>
18003 * math/libm-test.inc (yn_test): Add test for BZ #14173.
18004 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
18007 2012-07-12 Joseph Myers <joseph@codesourcery.com>
18010 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
18011 Change to 2.4.1 where previously 2.4.0.
18012 * sysdeps/unix/sysv/linux/configure: Regenerated.
18013 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
18014 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
18016 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
18017 (__ASSUME_AT_CLKTCK): Remove.
18018 (__ASSUME_AT_PAGESIZE): Likewise.
18019 (__ASSUME_AT_XID): Likewise.
18020 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
18021 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
18022 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
18024 (HAVE_AUX_PAGESIZE): Likewise.
18025 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
18026 [__ASSUME_AT_CLKTCK]: Make code unconditional.
18027 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
18029 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
18032 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
18033 the temporary buffer used to invoke __gethostbyname2_r,
18034 __gethostbyaddr_r and gethostbyname4_r to make room for struct
18035 host_data / struct gaih_addrtuple.
18036 * resolv/nss_dns/dns-host.c (global scope): Move definition of
18037 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
18038 header file nss/nsswitch.h.
18039 * nss/nsswitch.h (global scope): Add definition of implementation
18040 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
18041 resolv/nss_dns/dns-host.c).
18043 2012-07-11 Andreas Jaeger <aj@suse.de>
18045 * po/fr.po: Update from translation team.
18047 * po/sv.po: Update from translation team
18048 * po/fr.po: Another update from translation team.
18050 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18052 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
18053 for subnormals or multiply small sinh result by itself.
18054 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
18055 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18057 2012-07-11 David S. Miller <davem@davemloft.net>
18059 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18061 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
18064 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
18065 (INTERNAL_MARK): Shift it here.
18067 2012-07-10 Marek Polacek <polacek@redhat.com>
18070 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
18071 libc_cv_asm_global_directive with .globl.
18072 * configure: Regenerated.
18073 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
18075 * sysdeps/i386/configure: Regenerated.
18076 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
18078 * sysdeps/x86_64/configure: Regenerated.
18079 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
18080 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
18081 * elf/tst-unique2mod2.c: Likewise.
18082 * elf/tst-unique2mod1.c: Likewise.
18083 * elf/tst-unique1mod2.c: Likewise.
18084 * elf/tst-unique1mod1.c: Likewise.
18085 * sysdeps/s390/s390-32/sysdep.h: Likewise.
18086 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
18087 * sysdeps/s390/s390-64/sysdep.h: Likewise.
18088 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
18089 * sysdeps/mach/sysdep.h: Likewise.
18090 * sysdeps/i386/sysdep.h: Likewise.
18091 * sysdeps/i386/i386-mcount.S: Likewise.
18092 * sysdeps/x86_64/_mcount.S: Likewise.
18093 * sysdeps/x86_64/sysdep.h: Likewise.
18094 * sysdeps/sh/_mcount.S: Likewise.
18095 * sysdeps/sh/sysdep.h: Likewise.
18096 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
18097 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
18098 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
18099 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
18100 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
18101 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
18102 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
18103 * locale/localeinfo.h: Likewise.
18104 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
18105 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
18107 2012-07-09 Roland McGrath <roland@hack.frob.com>
18110 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
18112 * manual/message.texi (The Uniforum approach): Likewise.
18113 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
18114 (glibc iconv Implementation): Likewise.
18116 2012-07-09 Joseph Myers <joseph@codesourcery.com>
18119 * math/s_clog.c (__clog): Avoid scaling a value down where that
18120 could result in underflow.
18121 * math/s_clog10.c (__clog10): Likewise.
18122 * math/s_clog10f.c (__clog10f): Likewise.
18123 * math/s_clog10l.c (__clog10l): Likewise.
18124 * math/s_clogf.c (__clogf): Likewise.
18125 * math/s_clogl.c (__clogl): Likewise.
18126 * math/libm-test.inc (clog_test): Add more tests.
18127 (clog10_test): Likewise.
18128 * sysdeps/i386/fpu/libm-test-ulps: Update.
18129 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18131 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
18134 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
18135 by 7 not 8 to examine high bit of fractional part.
18138 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
18139 for call to __mcount_internal.
18140 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
18141 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
18142 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
18144 2012-07-06 Joseph Myers <joseph@codesourcery.com>
18147 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
18148 approximation for values within 0x1p-13f of an odd multiple of
18150 * math/libm-test.inc (tan_test): Do not allow spurious underflow
18151 exception. Add more tests.
18152 * sysdeps/i386/fpu/libm-test-ulps: Update.
18155 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
18156 inputs and return -1 for them. Do not check for +Inf in case not
18157 reachable for +Inf.
18158 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
18159 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
18160 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
18161 and return -1 for them. Do not check for +Inf in case not
18162 reachable for +Inf.
18163 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
18165 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
18166 and return -1 for them. Do not check for +Inf in case not
18167 reachable for +Inf.
18168 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
18169 spurious underflow.
18170 * sysdeps/i386/fpu/libm-test-ulps: Update.
18171 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18173 2012-07-06 Mike Frysinger <vapier@gentoo.org>
18175 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
18177 2012-07-05 Joseph Myers <joseph@codesourcery.com>
18181 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
18182 could result in spurious underflow. Scale down values above
18183 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
18184 * math/s_csqrtf.c (__csqrtf): Likewise.
18185 * math/s_csqrtl.c (__csqrtl): Likewise.
18186 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
18187 spurious underflow.
18188 * sysdeps/i386/fpu/libm-test-ulps: Update.
18189 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18191 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
18193 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
18195 * catgets/xopen-msg.awk: New file.
18196 * catgets/xopen-msg.sed: Removed.
18198 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
18200 * intl/po2test.awk: New file.
18201 * intl/po2test.sed: Removed.
18203 2012-07-04 Joseph Myers <joseph@codesourcery.com>
18206 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
18207 or multiply small sinh result by itself.
18208 * math/s_ctanf.c (__ctanf): Likewise.
18209 * math/s_ctanh.c (__ctanh): Likewise.
18210 * math/s_ctanhf.c (__ctanhf): Likewise.
18211 * math/s_ctanhl.c (__ctanhl): Likewise.
18212 * math/s_ctanl.c (__ctanl): Likewise.
18213 * math/libm-test.inc (ctan_test_tonearest): New function.
18214 (ctan_test_towardzero): Likewise.
18215 (ctan_test_downward): Likewise.
18216 (ctan_test_upward): Likewise.
18217 (ctanh_test_tonearest): Likewise.
18218 (ctanh_test_towardzero): Likewise.
18219 (ctanh_test_downward): Likewise.
18220 (ctanh_test_upward): Likewise.
18221 (main): Call these new functions.
18222 * sysdeps/i386/fpu/libm-test-ulps: Update.
18223 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18225 2012-07-03 Mike Frysinger <vapier@gentoo.org>
18227 * .gitignore: Delete /ports entry.
18229 2012-07-03 Andreas Jaeger <aj@suse.de>
18231 * po/bg.po: Update from translation team.
18232 * po/cs.po: Likewise.
18233 * po/de.po: Likewise.
18234 * po/hr.po: Likewise.
18235 * po/nl.pl: Likewise.
18236 * po/pl.po: Likewise.
18237 * po/vi.po: Likewise.
18239 2012-07-03 Joseph Myers <joseph@codesourcery.com>
18241 * Makeconfig [!+link] (+link-before-libc): New variable.
18242 [!+link] (+link-after-libc): Likewise.
18243 [!+link] (+link-tests): Likewise.
18244 [!+link] (+link): Define in terms of $(+link-before-libc) and
18245 $(+link-after-libc).
18246 [!+link-static] (+link-static-before-libc): New variable.
18247 [!+link-static] (+link-static-after-libc): Likewise.
18248 [!+link-static] (+link-static-tests): Likewise.
18249 [!+link-static] (+link-static): Define in terms of
18250 $(+link-static-before-libc) and $(+link-static-after-libc).
18251 [build-shared] (link-libc-before-gnulib): New variable.
18252 [build-shared] (link-libc-tests): Likewise.
18253 [build-shared] (link-libc): Define in terms of
18254 $(link-libc-before-gnulib).
18255 [!build-shared] (link-libc-tests): New variable.
18256 (link-libc-static-tests): New variable.
18257 [!gnulib] (gnulib-arch): New variable.
18258 [!gnulib] (gnulib-tests): Likewise.
18259 [!gnulib] (static-gnulib-arch): Likewise.
18260 [!gnulib] (static-gnulib-tests): Likewise.
18261 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
18262 Define with "=" instead of ":=".
18263 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
18264 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
18265 * Rules (binaries-all-notests): New variable.
18266 (binaries-all-tests): Likewise.
18267 (binaries-static-notests): Likewise.
18268 (binaries-static-tests): Likewise.
18269 (binaries-all): Define using $(binaries-all-notests) and
18270 $(binaries-all-tests).
18271 (binaries-static): Define using $(binaries-static-notests) and
18272 $(binaries-static-tests).
18273 (binaries-shared-tests): New variable.
18274 (binaries-shared-notests): Likewise.
18275 (binaries-shared): Remove variable.
18276 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
18277 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
18278 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
18279 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
18280 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
18281 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
18282 * elf/Makefile (sln-modules): New variable.
18283 (extra-objs): Add $(sln-modules:=.o).
18284 (ldconfig-modules): Add static-stubs.
18285 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
18286 * elf/static-stubs.c: New file.
18289 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
18290 by 7 not 8 to examine high bit of fractional part. Use volatile
18291 variables when splitting into final array of floats if
18292 __FLT_EVAL_METHOD__ != 0.
18293 * math/libm-test.inc (cos_test): Add another test.
18294 (sin_test): Likewise.
18295 * sysdeps/i386/fpu/libm-test-ulps: Update.
18298 * math/libm-test.inc (cosh_test): Add more tests.
18300 * version.h (RELEASE): Set to "development".
18301 (VERSION): Set to "2.16.90".
18303 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
18305 * NEWS: Update copyright. Remove last-updated date.
18306 Mention math library bug fixes and timezone data changes.
18307 * README: Mention GNU/Hurd, x32, and HPPA support status.
18309 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
18311 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
18313 2012-06-27 Andreas Jaeger <aj@suse.de>
18315 * manual/contrib.texi (Contributors): Add Samuel Thibault.
18317 2012-06-25 Andreas Jaeger <aj@suse.de>
18319 * sysdeps/s390/fpu/libm-test-ulps: Update.
18321 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
18322 Thomas Schwinge <thomas@codesourcery.com>
18324 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
18325 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
18326 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
18329 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
18331 * sysdeps/mach/start.c: Remove file.
18332 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
18333 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
18334 * sysdeps/sh/init-first.c: Likewise.
18336 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
18337 registers for frame unwinding purposes, add CFI directives.
18338 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
18339 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
18340 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
18343 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
18344 __fortify_fail returning.
18345 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
18347 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
18348 sysdeps/sh/____longjmp_chk.S.
18349 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
18350 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
18351 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
18352 (gen-as-const-headers): Append sigaltstack-offsets.sym.
18354 * sysdeps/sh/abort-instr.h: New file.
18355 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
18356 process in case exit returns.
18358 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
18359 initialize the GOT register before use.
18361 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
18362 calculation of ARGC > 4.
18364 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
18365 meaningful names to some local labels.
18367 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
18368 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18370 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
18371 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
18372 (__arch_compare_and_exchange_val_16_acq): Likewise.
18373 (__arch_compare_and_exchange_val_32_acq): Likewise.
18374 (atomic_exchange_and_add): Fix gUSA sequence.
18375 (atomic_add): Likewise.
18376 (atomic_add_negative): Likewise.
18377 (atomic_add_zero): Likewise.
18378 (atomic_bit_test_set): Likewise.
18380 2012-06-22 Andreas Schwab <schwab@redhat.com>
18383 * include/link.h (struct link_map): Add l_free_initfini.
18384 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
18386 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
18387 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
18388 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
18391 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
18393 * configure.in: Use AC_LANG_SOURCE.
18394 * configure: Regenerate.
18396 2012-06-22 Roland McGrath <roland@hack.frob.com>
18398 * configure.in (libc_cv_localstatedir): New substituted variable.
18399 * configure: Regenerated.
18400 * config.make.in (localstatedir): New variable, substituted from
18401 libc_cv_localstatedir.
18402 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
18403 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
18404 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
18405 * sysdeps/gnu/configure: Regenerated.
18407 2012-06-21 Jeff Law <law@redhat.com>
18410 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
18411 free. Simplify list management for _LIBC case.
18413 2012-06-21 Joseph Myers <joseph@codesourcery.com>
18416 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
18417 Clear sign bit of 64-bit integer value before comparing against
18420 * sysdeps/mach/configure: Regenerated.
18422 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
18425 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
18427 2012-06-21 Jeff Law <law@redhat.com>
18430 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
18431 uint16_t for elements in the "seen" array to avoid char overflows.
18432 * elf/dl-fini.c (_dl_sort_fini): Likewise.
18433 * elf/dl-open.c (dl_open_worker): Likewise.
18435 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
18437 * scripts/list-sources.sh: Scan PORTS for translations.
18438 * po/libc.pot: Regenerated.
18440 2012-06-21 Andreas Jaeger <aj@suse.de>
18443 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
18445 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
18446 * bits/byteswap-16.h (__bswap_16): Likewise.
18447 * bits/byteswap.h (__bswap_constant_16): Likewise.
18449 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
18452 * sysdeps/i386/fpu_control.h: Removed.
18453 * sysdeps/x86_64/fpu_control.h: Moved to ...
18454 * sysdeps/x86/fpu_control.h: Here.
18456 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
18457 (_FPU_SETCW): Likewise.
18459 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
18462 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
18463 * sysdeps/x86/fpu/bits/mathinline.h: This.
18464 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
18468 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
18469 functions if __x86_64__ is defined.
18471 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
18473 * string/endian.h: Add !__ASSEMBLER__ condition for including
18474 conversion interfaces.
18476 2012-06-15 Joseph Myers <joseph@codesourcery.com>
18479 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
18480 of ABS(x) in calculating zero to negative powers other than odd
18482 * math/libm-test.inc (pow_test): Add more tests.
18484 2012-06-15 Andreas Jaeger <aj@suse.de>
18486 * manual/contrib.texi (Contributors): Update entry of Liubov
18487 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
18490 2012-06-15 Cyril Hrubis <metan@ucw.cz>
18492 * string/string.h: Add __wur to GNU version of strerror_r.
18494 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
18497 * string/Makefile (tests): Add tst-strtok_r.
18498 * string/tst-strtok_r.c: New file.
18499 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
18500 RAX_LP/RDX_LP on SAVE_PTR.
18502 2012-06-14 Roland McGrath <roland@hack.frob.com>
18504 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
18506 2012-06-14 Joseph Myers <joseph@codesourcery.com>
18508 * libm_test.inc (csqrt_test): Allow more spurious underflow
18510 (j0_test): Likewise.
18511 (j1_test): Likewise.
18512 (y0_test): Likewise.
18513 (y1_test): Likewise.
18515 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
18517 * po/Makefile (libc.pot): Use UTF-8 charset.
18519 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
18522 Suppress sign-conversion warning from FD_SET.
18523 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
18524 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
18525 not unsigned long int.
18526 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
18528 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
18532 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
18533 __extern_always_inline instead of __extern_inline.
18534 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
18535 (__signbit): Likewise.
18536 (__signbitl): Support C++ namespace.
18537 (lrintf): New inline function.
18539 (llrintf): Likewise.
18540 (llrint): Likewise.
18550 (floorf): Likewise.
18551 (nearbyint): Likewise.
18552 (nearbyintf): Likewise.
18554 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
18556 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
18557 non-default versions.
18559 2012-06-11 Roland McGrath <roland@hack.frob.com>
18562 * manual/argp.texi (Argp): Reword argp_parse description slightly.
18564 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
18566 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
18567 (FE_UPWARD, FE_DOWNWARD): Don't define.
18568 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
18569 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
18571 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
18573 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
18574 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
18576 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18578 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
18579 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
18580 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
18581 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
18583 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
18586 * sysdeps/i386/fpu/bits/fenv.h: Removed.
18587 * sysdeps/i386/fpu/Implies: New file.
18588 * sysdeps/x86_64/fpu/Implies: Likewise.
18589 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
18590 * sysdeps/x86/fpu/bits/fenv.h: This.
18592 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
18595 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
18598 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
18599 character 0xffff that matches the last element of the
18602 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18604 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
18607 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18609 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
18610 values higher than 25.6283.
18612 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18614 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
18615 subnormal exponent extraction and add some __builtin_expect.
18616 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
18617 Fix for subnormal mantissa calculation.
18619 2012-06-04 Mike Frysinger <vapier@gentoo.org>
18621 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
18622 cpu2 is -1 and errno is not ENOSYS.
18624 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
18627 * sysdeps/i386/i486/bits/string.h: Renamed to ...
18628 * sysdeps/x86/bits/string.h: This.
18629 * sysdeps/x86_64/bits/string.h: Removed.
18631 * sysdeps/i386/i486/bits/string.h: Define inline functions only
18632 if not compiling for x86-64, but compiling for >= i486.
18634 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
18635 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
18637 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
18638 New macro from Linux kernel 3.4.0.
18639 (FP_XSTATE_MAGIC2): Likewise.
18640 (FP_XSTATE_MAGIC2_SIZE): Likewise.
18641 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
18642 (struct _fpx_sw_bytes): New struct.
18643 (struct _xsave_hdr): Likewise.
18644 (struct _ymmh_state): Likewise.
18645 (struct _xstate): Likewise.
18647 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
18648 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
18649 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
18650 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
18651 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
18652 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
18654 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
18655 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
18656 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
18657 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
18658 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
18659 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
18661 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18664 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
18665 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
18666 (sysdep_headers): Include sys/platform/ppc.h.
18667 * sysdeps/powerpc/test-gettimebase.c: Test for
18668 __ppc_get_timebase() to catch future ISA opcode/insn changes.
18669 * manual/Makefile (appendices): Include platform.texi.
18670 * manual/contrib.texi (Contributors): Update @node pointers.
18671 * manual/maint.texi (Maintenance): Likewise.
18672 (Platform): New node.
18673 * manual/platform.texi: New file. Document the new features.
18675 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
18676 Jakub Jelinek <jakub@redhat.com>
18679 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
18680 where __builtin_expect is unavailable.
18682 2012-06-03 David S. Miller <davem@davemloft.net>
18684 * stdlib/longlong.h: Updated from GCC.
18686 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
18689 * sysdeps/powerpc/powerpc32/mcount.c: New file.
18690 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
18692 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
18693 (GLIBC_2.16): Likewise.
18695 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
18697 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
18699 2012-06-01 Joseph Myers <joseph@codesourcery.com>
18701 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
18702 (default-abi): New variable.
18703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
18704 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
18706 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
18708 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
18710 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
18713 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
18714 definition. Document in comment.
18716 2012-06-01 David S. Miller <davem@davemloft.net>
18718 * stdlib/longlong.h: Updated from GCC.
18720 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
18723 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
18724 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
18725 sys/debugreg.h sys/io.h here.
18726 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
18727 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
18729 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
18730 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
18731 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
18732 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
18733 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
18734 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
18736 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
18737 Define only if __x86_64__ is defined.
18739 2012-06-01 Joseph Myers <joseph@codesourcery.com>
18742 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
18743 Use int64_t for variable i.
18744 * math/libm-test.inc (fmod_test): Add more tests.
18746 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
18747 z computation is not scheduled after fetestexcept.
18748 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
18749 Use math_force_eval instead of asm to ensure calculation scheduled
18750 before exception test.
18751 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
18752 Ensure a1 + u.d computation is not scheduled after fetestexcept.
18754 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
18756 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
18757 computation is not scheduled after fetestexcept.
18759 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
18762 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
18763 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
18765 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18767 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
18768 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
18770 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
18773 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
18775 (__WCHAR_MIN): Support __WORDSIZE == 64.
18776 (__WCHAR_MAX): Likewise.
18778 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
18779 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
18782 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
18783 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
18786 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
18787 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
18789 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
18790 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
18792 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
18793 Defined to 1 if __x86_64__ isn't defined.
18794 (_STAT_VER_LINUX_OLD): New.
18795 (st_atime): Remove duplicate.
18796 (st_mtime): Likewise.
18797 (st_ctime): Likewise.
18799 2012-05-31 David S. Miller <davem@davemloft.net>
18801 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
18804 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
18806 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
18810 * elf/dl-reloc.c: Include <_itoa.h>.
18811 (_dl_reloc_bad_type): Remove use of INTUSE.
18812 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
18813 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
18814 * stdio-common/psiginfo.c (psiginfo): Likewise.
18815 * stdio-common/psignal.c (psignal): Likewise.
18816 * string/strsignal.c (strsignal): Likewise.
18817 * include/signal.h (_sys_siglist): Declare hidden proto.
18818 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
18819 INTVARDEF with libc_hidden_data_def.
18820 * stdio-common/itoa-udigits.c: Likewise.
18821 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
18822 (_itoa_lower_digits_internal): Remove declaration.
18823 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
18824 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
18825 (_sys_sigabbrev_internal): Remove aliases.
18826 (_sys_siglist): Define hidden alias.
18828 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
18830 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18833 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
18836 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
18837 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
18839 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
18840 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
18841 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
18842 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
18843 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
18844 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
18846 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
18847 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
18848 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
18850 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
18858 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
18859 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
18860 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
18862 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
18863 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
18864 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
18865 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
18866 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
18867 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
18869 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
18870 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
18872 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
18873 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
18875 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
18876 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
18877 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
18879 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
18880 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
18882 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
18884 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
18885 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
18886 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
18888 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
18890 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
18892 2012-05-31 Joseph Myers <joseph@codesourcery.com>
18894 * math/math.h (M_El): Use two more decimal places.
18895 (M_LOG2El): Likewise.
18896 (M_LOG10El): Likewise.
18897 (M_LN2l): Likewise.
18898 (M_LN10l): Likewise.
18900 (M_PI_2l): Likewise.
18901 (M_PI_4l): Likewise.
18902 (M_1_PIl): Likewise.
18903 (M_2_PIl): Likewise.
18904 (M_2_SQRTPIl): Likewise.
18905 (M_SQRT2l): Likewise.
18906 (M_SQRT1_2l): Likewise.
18908 2012-05-31 David S. Miller <davem@davemloft.net>
18910 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
18911 values between float registers.
18912 * sysdeps/sparc/sparc64/memset.S: Likewise.
18913 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
18915 2012-05-31 Mike Frysinger <vapier@gentoo.org>
18917 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
18918 -D_FORTIFY_SOURCE=1.
18919 (CPPFLAGS-tst-longjmp_chk.c): Define.
18920 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
18921 (CPPFLAGS-tst-longjmp_chk2.c): Define.
18922 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
18923 CFLAGS-tst-wchar-h.c.
18925 2012-05-31 Marek Polacek <polacek@redhat.com>
18928 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
18929 __endmntent_internal): Remove declaration.
18930 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
18931 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
18932 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
18934 2012-05-30 David S. Miller <davem@davemloft.net>
18936 * sysdeps/sparc/sparc32/soft-fp/q_util.c
18937 (___Q_simulate_exceptions): Use real FP ops rather than writing
18939 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
18942 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
18945 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
18946 * sysdeps/x86/bits/xtitypes.h: This.
18948 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
18949 * sysdeps/x86/bits/wordsize.h: This.
18951 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
18952 * sysdeps/x86/bits/huge_vall.h: This.
18954 * sysdeps/i386/bits/select.h: Removed.
18955 * sysdeps/x86_64/bits/select.h: Renamed to ...
18956 * sysdeps/x86/bits/select.h: This.
18958 * sysdeps/i386/bits/setjmp.h: Removed.
18959 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
18960 * sysdeps/x86/bits/setjmp.h: This.
18962 * sysdeps/i386/bits/mathdef.h: Removed.
18963 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
18964 * sysdeps/x86/bits/mathdef.h: This.
18966 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
18969 * include/sys/socket.h (__connect_internal)
18970 (__libc_sa_len_internal): Remove declaration.
18971 (__connect, __libc_sa_len): Declare hidden_proto.
18972 (SA_LEN): Remove use of INTUSE.
18973 * socket/connect.c: Add libc_hidden_def.
18974 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
18975 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
18976 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
18978 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
18979 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
18980 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
18981 of adding _internal alias.
18983 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
18986 * sysdeps/i386/bits/link.h: Removed.
18987 * sysdeps/i386/bits/linkmap.h: Likewise.
18988 * sysdeps/x86_64/bits/link.h: Renamed to ...
18989 * sysdeps/x86/bits/link.h: This.
18990 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
18991 * sysdeps/x86/bits/linkmap.h: This.
18993 * sysdeps/i386/bits/endian.h: Removed.
18994 * sysdeps/x86_64/bits/endian.h: Renamed to ...
18995 * sysdeps/x86/bits/endian.h: This.
18997 * sysdeps/i386/bits/byteswap.h: Removed.
18998 * sysdeps/i386/bits/byteswap-16.h: Likewise.
18999 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
19000 * sysdeps/x86/bits/byteswap.h: This.
19001 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
19002 * sysdeps/x86/bits/byteswap-16.h: This.
19003 * sysdeps/i386/Implies: Add x86.
19004 * sysdeps/x86_64/Implies: Likewise.
19006 2012-05-30 David S. Miller <davem@davemloft.net>
19008 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
19009 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
19010 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
19011 (FP_TRAPPING_EXCEPTIONS): Define.
19012 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
19013 (FP_TRAPPING_EXCEPTIONS): Define.
19014 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
19015 subnormals only when inexact has been signalled or underflow
19016 exceptions are enabled.
19017 (_FP_PACK_CANONICAL): Likewise.
19019 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
19022 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
19023 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
19025 2012-05-30 Richard Henderson <rth@twiddle.net>
19027 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
19028 with #ifndef NOT_IN_libc.
19030 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
19031 marked to avoid plt entry.
19033 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
19036 * Makeconfig (default-abi): New macro.
19037 (abi-includes): Likewise.
19038 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
19039 $(abi-$(default-abi)-lib-soname) for soname if defined.
19040 ($(common-objpfx)gnu/lib-names.stmp): Generate from
19042 * Makefile (installed-stubs): Likewise.
19043 * include/stubs-biarch.h: Removed.
19044 * scripts/lib-names.awk: Only handle one library at a time.
19045 * scripts/soversions.awk: Remove WORDSIZE support.
19046 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
19048 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
19050 (syscall-list-default-condition): Likewise.
19051 (syscall-list-default-condition): Likewise.
19052 (syscall-list-includes): Likewise.
19053 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
19054 syscall-list-* with abi-*. Handle undefined abi-variants.
19055 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
19056 * sysdeps/unix/sysv/linux/i386/Implies: New file.
19057 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
19058 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
19059 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
19060 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
19062 (syscall-list-32-options): Likewise.
19063 (syscall-list-32-condition): Likewise.
19064 (syscall-list-64-options): Likewise.
19065 (syscall-list-64-condition): Likewise.
19066 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
19068 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
19071 (abi-64-ld-soname): New macro.
19072 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
19073 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
19076 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
19077 * sysdeps/x86_64/x32/shlib-versions: Likewise.
19079 2012-05-30 Joseph Myers <joseph@codesourcery.com>
19081 * sysdeps/unix/sysv/linux/kernel-features.h
19082 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
19083 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
19084 include <kernel-features.h>.
19085 [!__NR_ftruncate64]: Remove conditional code.
19086 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19087 [__NR_ftruncate64]: Make code unconditional.
19088 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19089 * sysdeps/unix/sysv/linux/truncate64.c: Do not
19090 include <kernel-features.h>.
19091 [!__NR_ftruncate64]: Remove conditional code.
19092 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19093 [__NR_ftruncate64]: Make code unconditional.
19094 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19095 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
19096 include <kernel-features.h>.
19097 [!__NR_ftruncate64]: Remove conditional code.
19098 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19099 [__NR_ftruncate64]: Make code unconditional.
19100 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19101 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
19102 include <kernel-features.h>.
19103 [!__NR_ftruncate64]: Remove conditional code.
19104 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19105 [__NR_ftruncate64]: Make code unconditional.
19106 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19108 * configure.in (libc_cv_fpie): Weaken to a compile test using
19109 LIBC_TRY_CC_OPTION.
19110 * configure: Regenerated.
19112 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19114 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
19115 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
19116 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
19117 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
19119 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
19120 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
19121 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
19122 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
19123 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
19124 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
19127 2012-05-27 David S. Miller <davem@davemloft.net>
19129 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
19131 (__Q_simulate_exceptions): Return void. Change to simulate
19132 exceptions by writing into the %fsr.
19133 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
19134 (__Qp_handle_exceptions): Likewise.
19136 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
19137 __Qp_handle_exceptions.
19138 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
19139 __Qp_handle_exceptions.
19140 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
19141 as unused and give dummy FP_RND_NEAREST initializer.
19142 (FP_INHIBIT_RESULTS): Define.
19143 (___Q_simulate_exceptions): Update declaration.
19144 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
19146 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
19147 as unused and give dummy FP_RND_NEAREST initializer.
19148 (__Qp_handle_exceptions): Update declaration.
19149 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
19152 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
19154 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
19155 the temporary FPU control word.
19156 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
19157 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
19158 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
19159 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
19160 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
19161 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
19162 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
19163 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
19164 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
19165 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
19166 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
19168 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19170 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
19173 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
19175 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
19176 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
19177 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
19178 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
19180 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
19181 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
19184 2012-05-27 Ulrich Drepper <drepper@gmail.com>
19186 * po/h.po: Update from translation team.
19188 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
19190 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
19192 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
19193 handling of denormals.
19194 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
19195 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
19196 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
19197 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
19198 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
19199 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
19200 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
19203 2012-05-26 Marek Polacek <polacek@redhat.com>
19206 * math/libm-test.inc (fma_test): Don't always expect underflow
19209 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
19212 * elf/tst-execstack.c: Include stackinfo.h.
19213 (do_test): Adjust test case to ensure that pthread_getattr_np
19214 behaviour remains the same after marking stack executable.
19216 2012-05-25 Joseph Myers <joseph@codesourcery.com>
19218 * sysdeps/unix/sysv/linux/kernel-features.h
19219 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
19220 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
19222 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
19223 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
19224 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
19226 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
19227 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
19229 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
19231 * configure.in: Define the default includes to being none.
19232 * configure: Regenerated.
19234 2012-05-25 Roland McGrath <roland@hack.frob.com>
19236 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
19237 * sysdeps/x86_64/setjmp.S: Likewise.
19238 * sysdeps/i386/bsd-setjmp.S: Likewise.
19239 * sysdeps/i386/bsd-_setjmp.S: Likewise.
19240 * sysdeps/i386/setjmp.S: Likewise.
19241 * sysdeps/i386/__longjmp.S: Likewise.
19242 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
19243 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
19245 * include/stap-probe.h: New file.
19246 * configure.in: Handle --enable-systemtap.
19247 * configure: Regenerated.
19248 * config.h.in (USE_STAP_PROBE): New #undef.
19249 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
19250 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
19251 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
19253 2012-05-25 Joseph Myers <joseph@codesourcery.com>
19256 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
19257 to 2.4.0 where earlier.
19258 * sysdeps/unix/sysv/linux/configure: Regenerated.
19259 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
19260 <kernel-features.h>.
19261 [__ASSUME_32BITUIDS]: Make code unconditional.
19262 [!__ASSUME_32BITUIDS]: Remove conditional code.
19263 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
19264 <kernel-features.h>.
19265 [__ASSUME_32BITUIDS]: Make code unconditional.
19266 [!__ASSUME_32BITUIDS]: Remove conditional code.
19267 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
19268 [__ASSUME_32BITUIDS]: Make code unconditional.
19269 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
19270 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
19271 <kernel-features.h>.
19272 [__ASSUME_32BITUIDS]: Make code unconditional.
19273 [!__ASSUME_32BITUIDS]: Remove conditional code.
19274 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
19275 <kernel-features.h>.
19276 [__ASSUME_32BITUIDS]: Make code unconditional.
19277 [!__ASSUME_32BITUIDS]: Remove conditional code.
19278 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
19279 <kernel-features.h>.
19280 [__ASSUME_32BITUIDS]: Make code unconditional.
19281 [!__ASSUME_32BITUIDS]: Remove conditional code.
19282 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
19283 <kernel-features.h>.
19284 [__ASSUME_32BITUIDS]: Make code unconditional.
19285 [!__ASSUME_32BITUIDS]: Remove conditional code.
19286 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
19287 <kernel-features.h>.
19288 [__ASSUME_32BITUIDS]: Make code unconditional.
19289 [!__ASSUME_32BITUIDS]: Remove conditional code.
19290 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
19291 <kernel-features.h>.
19292 [__ASSUME_32BITUIDS]: Make code unconditional.
19293 [!__ASSUME_32BITUIDS]: Remove conditional code.
19294 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
19295 <kernel-features.h>.
19296 [__ASSUME_32BITUIDS]: Make code unconditional.
19297 [!__ASSUME_32BITUIDS]: Remove conditional code.
19298 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
19299 <kernel-features.h>.
19300 [__ASSUME_32BITUIDS]: Make code unconditional.
19301 [!__ASSUME_32BITUIDS]: Remove conditional code.
19302 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
19303 <kernel-features.h>.
19304 [__ASSUME_32BITUIDS]: Make code unconditional.
19305 [!__ASSUME_32BITUIDS]: Remove conditional code.
19306 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
19307 <kernel-features.h>.
19308 [__ASSUME_32BITUIDS]: Make code unconditional.
19309 [!__ASSUME_32BITUIDS]: Remove conditional code.
19310 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
19311 <kernel-features.h>.
19312 [__NR_setresgid] (__setresgid): Do not declare.
19313 [__ASSUME_32BITUIDS]: Make code unconditional.
19314 [!__ASSUME_32BITUIDS]: Remove conditional code.
19315 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
19316 <kernel-features.h>.
19317 [__NR_setresuid] (__setresuid): Do not declare.
19318 [__ASSUME_32BITUIDS]: Make code unconditional.
19319 [!__ASSUME_32BITUIDS]: Remove conditional code.
19320 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
19321 <kernel-features.h>.
19322 [__ASSUME_32BITUIDS]: Make code unconditional.
19323 [!__ASSUME_32BITUIDS]: Remove conditional code.
19324 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
19325 <kernel-features.h>.
19326 [__ASSUME_32BITUIDS]: Make code unconditional.
19327 [!__ASSUME_32BITUIDS]: Remove conditional code.
19328 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
19329 <kernel-features.h>.
19330 [__ASSUME_32BITUIDS]: Make code unconditional.
19331 [!__ASSUME_32BITUIDS]: Remove conditional code.
19332 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
19333 <kernel-features.h>.
19334 [__ASSUME_32BITUIDS]: Make code unconditional.
19335 [!__ASSUME_32BITUIDS]: Remove conditional code.
19336 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
19337 <kernel-features.h>.
19338 [__ASSUME_32BITUIDS]: Make code unconditional.
19339 [!__ASSUME_32BITUIDS]: Remove conditional code.
19340 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
19341 <kernel-features.h>.
19342 [__ASSUME_32BITUIDS]: Make code unconditional.
19343 [!__ASSUME_32BITUIDS]: Remove conditional code.
19344 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
19345 <kernel-features.h>.
19346 [__ASSUME_32BITUIDS]: Make code unconditional.
19347 [!__ASSUME_32BITUIDS]: Remove conditional code.
19348 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
19349 <kernel-features.h>.
19350 [__ASSUME_32BITUIDS]: Make code unconditional.
19351 [!__ASSUME_32BITUIDS]: Remove conditional code.
19352 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
19353 <kernel-features.h>.
19354 [__ASSUME_32BITUIDS]: Make code unconditional.
19355 [!__ASSUME_32BITUIDS]: Remove conditional code.
19356 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
19357 <kernel-features.h>.
19358 [__ASSUME_32BITUIDS]: Make code unconditional.
19359 [!__ASSUME_32BITUIDS]: Remove conditional code.
19360 * sysdeps/unix/sysv/linux/kernel-features.h
19361 (__ASSUME_SETRESUID_SYSCALL): Remove.
19362 (__ASSUME_SETRESGID_SYSCALL): Likewise.
19363 (__ASSUME_32BITUIDS): Likewise.
19364 (__ASSUME_LDT_WORKS): Likewise.
19365 (__ASSUME_O_DIRECTORY): Likewise.
19366 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
19367 architecture but not kernel version.
19368 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
19369 (__ASSUME_MMAP2_SYSCALL): Likewise.
19370 (__ASSUME_STAT64_SYSCALL): Likewise.
19371 (__ASSUME_IPC64): Likewise.
19372 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
19373 <kernel-features.h>.
19374 [__ASSUME_32BITUIDS]: Make code unconditional.
19375 [!__ASSUME_32BITUIDS]: Remove conditional code.
19376 * sysdeps/unix/sysv/linux/opendir.c: Do not include
19377 <kernel-features.h>.
19378 [__ASSUME_O_DIRECTORY]: Make code unconditional.
19379 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
19380 132096]: Remove conditional code.
19381 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
19382 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
19383 <kernel-features.h>.
19384 [__ASSUME_32BITUIDS]: Make code unconditional.
19385 [!__ASSUME_32BITUIDS]: Remove conditional code.
19386 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
19387 <kernel-features.h>.
19388 [__ASSUME_32BITUIDS]: Make code unconditional.
19389 [!__ASSUME_32BITUIDS]: Remove conditional code.
19390 * sysdeps/unix/sysv/linux/setegid.c: Do not include
19391 <kernel-features.h>.
19392 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
19394 (__setresgid): Do not declare.
19395 [__ASSUME_32BITUIDS]: Make code unconditional.
19396 [!__ASSUME_32BITUIDS]: Remove conditional code.
19397 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
19398 <kernel-features.h>.
19399 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
19401 (__setresuid): Do not declare.
19402 [__ASSUME_32BITUIDS]: Make code unconditional.
19403 [!__ASSUME_32BITUIDS]: Remove conditional code.
19404 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
19405 <kernel-features.h>.
19406 [__ASSUME_32BITUIDS]: Make code unconditional.
19407 [!__ASSUME_32BITUIDS]: Remove conditional code.
19408 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
19409 <kernel-features.h>.
19410 [__ASSUME_32BITUIDS]: Make code unconditional.
19411 [!__ASSUME_32BITUIDS]: Remove conditional code.
19413 2012-05-25 Richard Henderson <rth@twiddle.net>
19415 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
19416 dl_hwcap to ifunc resolver.
19417 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
19419 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
19420 dl_hwcap to ifunc resolver.
19421 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
19423 2012-05-24 Joseph Myers <joseph@codesourcery.com>
19426 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
19427 for |x| <= 2**-26, not 2**-57.
19428 * math/libm-test.inc (acos_test): Do not allow spurious underflow
19431 2012-05-24 Jeff Law <law@redhat.com>
19433 * stdio-common/Makefile (tests): Add bug25.
19434 * stdio-common/bug25.c: New test.
19436 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
19439 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
19440 multiple of MALLOC_ALIGNMENT in size.
19441 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
19443 2012-05-24 Joseph Myers <joseph@codesourcery.com>
19445 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
19447 (FILENAME_MAX): Use macro-int-constant.
19448 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
19449 (_IOFBF): Use macro-int-constant.
19450 (_IOLBF): Likewise.
19451 (_IONBF): Likewise.
19452 (SEEK_CUR): Likewise.
19453 (SEEK_END): Likewise.
19454 (SEEK_SET): Likewise.
19455 (TMP_MAX): Likewise.
19456 (EOF): Use macro-int-constant. Require < 0.
19457 (NULL): Use macro-constant. Require == 0.
19458 (stdin): Require type to be FILE *.
19459 (stdout): Likewise.
19460 (stderr): Likewise.
19461 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
19462 macro-int-constant.
19463 (EXIT_SUCCESS): Likewise.
19464 (NULL): Use macro-constant. Require == 0.
19465 (RAND_MAX): Use macro-int-constant.
19466 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
19467 [C99-based standards] (strtof): Require function.
19468 [C99-based standards] (strtold): Likewise.
19469 [C99-based standards] (strtoll): Likewise.
19470 [C99-based standards] (strtoull): Likewise.
19471 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
19472 [ISO || ISO99 || ISO11] (limits.h): Likewise.
19473 [ISO || ISO99 || ISO11] (math.h): Likewise.
19474 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
19475 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
19476 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19478 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
19481 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
19482 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
19483 * intl/dgettext.c (DCGETTEXT): Likewise.
19484 * intl/gettext.c (DCGETTEXT): Likewise.
19485 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
19486 * posix/regex_internal.h (gettext): Likewise.
19487 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
19488 Remove declaration.
19489 * include/argz.h (__argz_count_internal)
19490 (__argz_stringify_internal): Remove declaration.
19491 (__argz_count, __argz_stringify): Declare hidden proto.
19492 * intl/dcgettext.c: Remove use of INTDEF.
19493 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
19494 * string/argz-stringify.c: Likewise.
19495 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
19496 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
19497 Declare hidden proto.
19498 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
19499 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
19500 Declare hidden proto.
19501 * include/stdio.h (__asprintf_internal): Don't declare.
19502 (__asprintf): Don't define as macro. Declare hidden proto.
19503 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
19504 (__fsetlocking): Declare hidden proto.
19505 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
19506 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
19508 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
19509 (_IO_setlinebuf): Remove use of INTUSE.
19510 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
19511 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
19512 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
19513 Remove declaration.
19514 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
19515 (_IO_do_flush): Remove use of INTUSE.
19516 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
19517 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
19518 (_IO_adjust_column, _IO_least_wmarker)
19519 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
19520 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
19521 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
19522 (_IO_default_doallocate, _IO_wdefault_doallocate)
19523 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
19524 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
19525 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
19526 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
19527 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
19528 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
19529 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
19530 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
19531 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
19532 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
19533 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
19534 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
19535 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
19537 (_IO_flush_all_internal, _IO_adjust_column_internal)
19538 (_IO_default_uflow_internal, _IO_default_finish_internal)
19539 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
19540 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
19541 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
19542 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
19543 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
19544 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
19545 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
19546 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
19547 (_IO_file_close_internal, _IO_file_close_it_internal)
19548 (_IO_file_underflow_internal, _IO_file_overflow_internal)
19549 (_IO_file_init_internal, _IO_file_attach_internal)
19550 (_IO_file_fopen_internal, _IO_file_read_internal)
19551 (_IO_file_sync_internal, _IO_file_seek_internal)
19552 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
19553 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
19554 (_IO_str_underflow_internal, _IO_str_overflow_internal)
19555 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
19556 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
19557 (_IO_list_all_internal, _IO_link_in_internal)
19558 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
19559 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
19560 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
19561 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
19562 (_IO_do_write_internal, _IO_padn_internal)
19563 (_IO_getline_info_internal, _IO_getline_internal)
19564 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
19565 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
19566 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
19567 (_IO_vfscanf_internal, _IO_vfprintf_internal)
19568 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
19569 (_IO_init_internal, _IO_un_link_internal): Don't declare.
19570 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
19571 with libc_hidden_ver, remove use of INTUSE.
19572 * libio/genops.c: Likewise.
19573 * libio/freopen.c: Likewise.
19574 * libio/freopen64.c: Likewise.
19575 * libio/iofclose.c: Likewise.
19576 * libio/iofdopen.c: Likewise.
19577 * libio/iofflush.c: Likewise.
19578 * libio/iofflush_u.c: Likewise.
19579 * libio/iofgets.c: Likewise.
19580 * libio/iofgets_u.c: Likewise.
19581 * libio/iofopen.c: Likewise.
19582 * libio/iofopncook.c: Likewise.
19583 * libio/iofread.c: Likewise.
19584 * libio/iofread_u.c: Likewise.
19585 * libio/ioftell.c: Likewise.
19586 * libio/iofwrite.c: Likewise.
19587 * libio/iogetline.c: Likewise.
19588 * libio/iogets.c: Likewise.
19589 * libio/iogetwline.c: Likewise.
19590 * libio/iopadn.c: Likewise.
19591 * libio/iopopen.c: Likewise.
19592 * libio/ioseekoff.c: Likewise.
19593 * libio/ioseekpos.c: Likewise.
19594 * libio/iosetbuffer.c: Likewise.
19595 * libio/iosetvbuf.c: Likewise.
19596 * libio/ioungetc.c: Likewise.
19597 * libio/ioungetwc.c: Likewise.
19598 * libio/iovdprintf.c: Likewise.
19599 * libio/iovsprintf.c: Likewise.
19600 * libio/iovsscanf.c: Likewise.
19601 * libio/memstream.c: Likewise.
19602 * libio/obprintf.c: Likewise.
19603 * libio/oldfileops.c: Likewise.
19604 * libio/oldiofclose.c: Likewise.
19605 * libio/oldiofdopen.c: Likewise.
19606 * libio/oldiofopen.c: Likewise.
19607 * libio/oldiopopen.c: Likewise.
19608 * libio/oldstdfiles.c: Likewise.
19609 * libio/putc.c: Likewise.
19610 * libio/setbuf.c: Likewise.
19611 * libio/setlinebuf.c: Likewise.
19612 * libio/stdfiles.c: Likewise.
19613 * libio/strops.c: Likewise.
19614 * libio/vasprintf.c: Likewise.
19615 * libio/vscanf.c: Likewise.
19616 * libio/vsnprintf.c: Likewise.
19617 * libio/vswprintf.c: Likewise.
19618 * libio/wfiledoalloc.c: Likewise.
19619 * libio/wfileops.c: Likewise.
19620 * libio/wgenops.c: Likewise.
19621 * libio/wmemstream.c: Likewise.
19622 * libio/wstrops.c: Likewise.
19623 * libio/__fpurge.c: Likewise.
19624 * libio/__fsetlocking.c: Likewise.
19625 * assert/assert.c: Likewise.
19626 * debug/fgets_chk.c: Likewise.
19627 * debug/fgets_u_chk.c: Likewise.
19628 * debug/fread_chk.c: Likewise.
19629 * debug/fread_u_chk.c: Likewise.
19630 * debug/gets_chk.c: Likewise.
19631 * debug/obprintf_chk.c: Likewise.
19632 * debug/vasprintf_chk.c: Likewise.
19633 * debug/vdprintf_chk.c: Likewise.
19634 * debug/vsnprintf_chk.c: Likewise.
19635 * debug/vsprintf_chk.c: Likewise.
19636 * malloc/mtrace.c: Likewise.
19637 * misc/error.c: Likewise.
19638 * misc/syslog.c: Likewise.
19639 * stdio-common/asprintf.c: Likewise.
19640 * stdio-common/fxprintf.c: Likewise.
19641 * stdio-common/getw.c: Likewise.
19642 * stdio-common/isoc99_fscanf.c: Likewise.
19643 * stdio-common/isoc99_scanf.c: Likewise.
19644 * stdio-common/isoc99_vfscanf.c: Likewise.
19645 * stdio-common/isoc99_vscanf.c: Likewise.
19646 * stdio-common/isoc99_vsscanf.c: Likewise.
19647 * stdio-common/printf-prs.c: Likewise.
19648 * stdio-common/printf_fp.c: Likewise.
19649 * stdio-common/printf_fphex.c: Likewise.
19650 * stdio-common/printf_size.c: Likewise.
19651 * stdio-common/putw.c: Likewise.
19652 * stdio-common/scanf.c: Likewise.
19653 * stdio-common/sprintf.c: Likewise.
19654 * stdio-common/tmpfile.c: Likewise.
19655 * stdio-common/vfprintf.c: Likewise.
19656 * stdio-common/vfscanf.c: Likewise.
19657 * stdlib/strfmon_l.c: Likewise.
19658 * sunrpc/openchild.c: Likewise.
19659 * sunrpc/xdr_stdio.c: Likewise.
19660 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
19661 * sysdeps/mach/hurd/tmpfile.c: Likewise.
19663 2012-05-24 Roland McGrath <roland@hack.frob.com>
19665 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
19667 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
19668 in the third column, to generate for the shared library an IFUNC
19669 that uses _dl_vdso_vsym.
19670 * Makerules (COMPILE.c, compile-stdin.c): New variables.
19671 * Makeconfig (object-suffixes-noshared): New variable.
19673 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
19674 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
19675 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
19676 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
19679 * include/sys/time.h (__gettimeofday): Remove macro.
19680 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
19681 * time/gettimeofday.c (__gettimeofday): Remove #undef.
19683 (__gettimeofday): Add libc_hidden_def.
19684 (gettimeofday): Add libc_hidden_weak.
19685 * sysdeps/mach/gettimeofday.c: Likewise.
19686 * sysdeps/posix/gettimeofday.c: Likewise.
19687 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
19688 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
19689 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
19690 (__gettimeofday_internal): Remove strong_alias.
19691 (__gettimeofday): Add libc_hidden_def.
19692 (gettimeofday): Add libc_hidden_weak.
19693 * sysdeps/unix/syscalls.list (gettimeofday):
19694 Remove __gettimeofday_internal alias.
19696 2012-05-24 Daniel Jacobowitz <drow@false.org>
19697 H.J. Lu <hongjiu.lu@intel.com>
19700 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
19701 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
19702 (largebin_index_32_big): New.
19703 (largebin_index): Use it for 16-byte alignment.
19704 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
19705 correction with front_misalign.
19707 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
19709 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
19710 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
19712 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
19714 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
19716 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
19718 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
19720 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
19722 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
19724 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
19726 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
19728 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
19730 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
19732 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
19735 * scripts/data/c++-types-x32-linux-gnu.data: New file.
19736 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
19738 2012-05-24 Joseph Myers <joseph@codesourcery.com>
19742 * math/libm-test.inc (exp_test): Add test from bug 14036.
19743 (pow_test): Add test from bug 10846.
19745 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
19747 (special_function): Do not include flags in test name.
19748 (parse_args): Likewise.
19749 * sysdeps/i386/fpu/libm-test-ulps: Update.
19750 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19751 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
19752 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
19753 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19755 * math/gen-libm-test.pl (%beautify): Add entries for underflow
19757 * math/libm-test.inc ("Philosophy"): Update comment about
19759 (UNDERFLOW_EXCEPTION): New macro.
19760 (UNDERFLOW_EXCEPTION_OK): Likewise.
19761 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
19762 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
19763 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
19764 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
19765 (INVALID_EXCEPTION_OK): Update value.
19766 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
19767 (OVERFLOW_EXCEPTION_OK): Likewise.
19768 (IGNORE_ZERO_INF_SIGN): Likewise.
19769 (test_exceptions): Handle underflow exceptions.
19770 (acos_test): Update for underflow exception expectations.
19771 (cexp_test): Likewise.
19772 (clog_test): Likewise.
19773 (clog10_test): Likewise.
19774 (csqrt_test): Likewise.
19775 (ctan_test): Likewise.
19776 (ctanh_test): Likewise.
19777 (exp_test): Likewise.
19778 (exp10_test): Likewise.
19779 (exp2_test): Likewise.
19780 (expm1_test): Likewise.
19781 (fma_test): Likewise.
19782 (j0_test): Likewise.
19783 (jn_test): Likewise.
19784 (nexttoward_test): Likewise.
19785 (pow_test): Likewise.
19786 (scalbn_test): Likewise.
19787 (scalbln_test): Likewise.
19788 (tan_test): Likewise.
19789 (y1_test): Likewise.
19790 * sysdeps/i386/fpu/libm-test-ulps: Update.
19791 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19793 2012-05-23 David S. Miller <davem@davemloft.net>
19795 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
19796 (__libc_sigaction): Remove unused local variables.
19798 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
19800 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
19802 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
19804 mktime: avoid signed integer overflow
19805 * time/mktime.c (__mktime_internal): Do not mishandle the case
19806 where diff == INT_MIN.
19808 mktime: simplify computation of average
19809 * time/mktime.c (ranged_convert): Use new time_t_avg function
19810 instead of rolling our own (probably-slower) code.
19812 mktime: do not assume signed right shift propagates sign bit
19813 * time/mktime.c (isdst_differ): New static function.
19814 (__mktime_internal): No need to normalize tm_isdst now.
19815 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
19818 mktime: merge another wrapv change from gnulib
19819 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
19820 from some compilers.
19822 mktime: remove incorrect attempt at unusual arithmetics
19823 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
19824 The code didn't really work on such machines anyway.
19825 (TYPE_MINIMUM): Assume two's complement.
19826 (twos_complement_arithmetic): Verify that long_int and time_t
19827 are two's complement (or unsigned, in the latter case).
19829 mktime: check signed shifts on long_int and time_t, too
19830 * time/mktime.c (SHR): Check that shifts work as desired
19831 on the types long_int and time_t too, as SHR is used on
19834 mktime: do not assume 'long' is wide enough
19835 * time/mktime.c (verify): Move decl up.
19836 (long_int): New type.
19837 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
19838 to remove assumption in the code that 'long' is wide enough to
19839 store year values. This assumption is not true on x32 and on
19840 some non-glibc platforms.
19842 mktime: merge wrapv change from gnulib
19843 * time/mktime.c (WRAPV): New macro.
19844 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
19845 (guess_time_tm, __mktime_internal): Do not assume that signed
19846 integer overflow wraps around; modern compilers generate code
19847 where this assumption is no longer valid.
19849 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
19851 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
19852 Replace "jmp L(pseudo_end)" with "ret".
19853 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
19856 2012-05-23 Andreas Jaeger <aj@suse.de>
19858 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
19859 * sysdeps/unix/sysv/linux/poll.c: Remove file.
19861 2012-05-23 Andreas Jaeger <aj@suse.de>
19862 Maximilian Attems <max@stro.at>
19864 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
19867 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
19869 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
19870 code so that pseudo_end is just ret and the stack pointer is
19871 correct also for static library in error case.
19873 2012-05-23 Joseph Myers <joseph@codesourcery.com>
19875 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
19876 move to syscalls.list.
19877 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
19878 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
19879 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
19880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
19882 * manual/install.texi (Running make install): Do not mention Linux
19883 kernel version for which pt_chown is not needed.
19884 (Linux): Do not mention problems with nscd with 2.0 kernels.
19885 * INSTALL: Regenerated.
19887 2012-05-23 Andreas Jaeger <aj@suse.de>
19889 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
19890 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
19892 * sysdeps/unix/sysv/linux/s390/bits/mman.h
19893 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
19894 * sysdeps/unix/sysv/linux/sh/bits/mman.h
19895 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
19896 * sysdeps/unix/sysv/linux/i386/bits/mman.h
19897 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
19898 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
19899 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
19900 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
19901 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
19902 * sysdeps/unix/sysv/linux/bits/in.h
19903 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
19905 2012-05-22 Roland McGrath <roland@hack.frob.com>
19907 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
19908 (PREPARE_VERSION): Just use assert instead, it will be elided
19909 under [NDEBUG] anyway.
19911 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
19913 * sysdeps/unix/sysv/linux/Makefile: Include
19914 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
19915 (sysdep_routines): Remove sysctl.
19916 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
19917 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
19918 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
19919 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
19920 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
19922 2012-05-22 Andreas Jaeger <aj@suse.de>
19924 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
19925 that pseudo_end is just ret and the stack pointer is correct also
19926 for static library in error case.
19928 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
19931 * nss/nsswitch.c (defconfig_entries): New variable.
19932 (__nss_database_lookup): Don't leak defconfig entries.
19933 (nss_parse_service_list): Don't leak on error paths.
19934 (free_database_entries): New function.
19935 (free_defconfig): New function.
19936 (free_mem): Move common code to free_database_entries.
19938 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
19940 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
19942 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
19944 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
19945 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
19946 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
19948 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
19949 (INTERNAL_SYSCALL_TYPES): Likewise.
19950 (LOAD_ARGS_TYPES_[1-6]): Likewise.
19951 (LOAD_REGS_TYPES_[1-6]): Likewise.
19952 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
19953 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
19955 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19957 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
19958 copysignl for GLIBC_2_0.
19959 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
19960 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
19961 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
19962 logbl for GLIBC_2_0.
19963 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
19964 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
19966 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
19968 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
19969 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
19971 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
19974 * time/mktime.c: Update copyright years.
19976 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
19978 mktime: merge comment-quoting-style change from gnulib
19979 * time/mktime.c: Quote 'like this' in comments.
19980 The GNU coding standards suggest that we no longer quote `like this',
19981 as "`" and "'" are typically rendered asymmetrically nowadays.
19982 The typical gnulib style is to quote 'like this' when quoting
19983 code, and "like this" when quoting English.
19985 * time/mktime.c (compile-command): Add "-I.".
19987 mktime: merge mktime-internal.h change from gnulib
19988 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
19990 mktime: merge time_r change from gnulib
19991 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
19993 mktime: merge DEBUG change from gnulib
19994 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
19995 case system <time.h> has a #define.
19997 mktime: merge <sys/types.h> change from gnulib
19998 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
19999 since <time.t> is now guaranteed to define time_t.
20001 mktime: merge HAVE_CONFIG_H change from gnulib
20002 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
20004 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
20006 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
20009 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
20011 (struct rusage): Use anonymous union to pad each field to
20014 2012-05-21 David S. Miller <davem@davemloft.net>
20016 * Makefules (o-iterator): Remove .s cases.
20017 (compile-command.s): Delete.
20018 (COMPILE.s): Delete.
20019 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
20021 2012-05-21 Joseph Myers <joseph@codesourcery.com>
20023 * configure.in (libc_cv_predef_stack_protector): Only consider
20024 "foobar" and "__stack_chk_fail" lines in libc_undefs.
20025 * configure: Regenerated.
20027 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
20029 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
20030 New macro. Use R*LP on int and pointer.
20031 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
20032 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
20033 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
20034 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
20036 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
20037 [__WORDSIZE_TIME64_COMPAT32] instead of
20038 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
20039 (struct utmp): Likewise.
20040 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
20041 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
20043 (__WORDSIZE_TIME64_COMPAT32): This.
20044 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
20045 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
20046 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
20047 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
20048 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
20049 (__WORDSIZE_TIME64_COMPAT32): New macro.
20051 2012-05-21 Andreas Jaeger <aj@suse.de>
20053 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
20054 only if [SHARED]. Add prototype for __wcschr_ia32.
20056 2012-05-21 Roland McGrath <roland@hack.frob.com>
20058 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
20059 of %rbp unmolested in the jmp_buf while mangling the low bits.
20060 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
20061 unmolested high bits of %rbp while demangling the low bits.
20062 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
20064 2012-05-21 Andreas Jaeger <aj@suse.de>
20066 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
20067 * sunrpc/svc_simple.c: Use it for registerrpc.
20068 * sunrpc/xcrypt.c: Use it for passwd2des.
20070 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
20072 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
20074 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
20075 Don't define if [__SYSCALL_WORDSIZE != 32].
20076 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
20079 2012-05-21 Bruno Haible <bruno@clisp.org>
20080 Andreas Jaeger <aj@suse.de>
20082 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
20083 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
20084 inptr and inend for must_buffer_ch.
20085 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
20086 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
20087 * stdio-common/Makefile (tests): Remove bug15.
20088 (bug15-ENV): Remove macro.
20089 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
20092 2012-05-19 Andreas Jaeger <aj@suse.de>
20093 Roland McGrath <roland@hack.frob.com>
20095 * manual/contrib.texi: Completely rewritten. It contains now an
20096 alphabetical list of contributors and their contributions.
20098 2012-05-21 Richard Henderson <rth@twiddle.net>
20100 * misc/getauxval.c (__getauxval): Use unsigned long int.
20101 * misc/sys/auxv.h: Include <sys/cdefs.h>.
20102 (getauxval): Use unsigned long int.
20104 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
20106 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
20108 2012-05-21 Roland McGrath <roland@hack.frob.com>
20110 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
20111 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
20112 __alignof__ (long double).
20114 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20116 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20118 2012-05-20 Richard Henderson <rth@twiddle.net>
20120 * misc/getauxval.c: New file.
20121 * misc/sys/auxv.h: New file.
20122 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
20123 (routines): Add getauxval.
20124 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
20125 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
20126 * elf/dl-sysdep.c (_dl_auxv): Remove.
20127 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
20128 * elf/dl-support.c (_dl_auxv): New variable.
20129 (_dl_aux_init): Initialize it.
20130 * manual/startup.texi (Auxiliary Vector): New node.
20131 * sysdeps/generic/bits/hwcap.h: New file.
20132 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
20133 * sysdeps/powerpc/sysdep.h: ... here. Include it.
20134 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
20135 * sysdeps/sparc/sysdep.h: ... here. Include it.
20136 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
20137 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
20138 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
20140 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
20141 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
20142 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
20143 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
20144 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
20145 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
20146 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
20147 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
20149 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20151 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20153 2012-05-19 David S. Miller <davem@davemloft.net>
20155 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20157 2012-05-19 Joseph Myers <joseph@codesourcery.com>
20160 * math/s_ccosh.c: Include <float.h>
20161 (__ccosh): Avoid internal overflow calculating sinh and cosh
20162 values before multiplying by sin and cos values.
20163 * math/s_ccoshf.c: Likewise.
20164 * math/s_ccoshl.c: Likewise.
20165 * math/s_csin.c: Likewise.
20166 * math/s_csinf.c: Likewise.
20167 * math/s_csinl.c: Likewise.
20168 * math/s_csinh.c: Likewise.
20169 * math/s_csinhf.c: Likewise.
20170 * math/s_csinhl.c: Likewise.
20171 * math/libm-test.inc (ccos_test): Add more tests.
20172 (ccosh_test): Likewise.
20173 (csin_test): Likewise.
20174 (csinh_test): Likewise.
20175 * sysdeps/i386/fpu/libm-test-ulps: Update.
20176 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20178 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
20180 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
20181 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
20183 * sysdeps/x86_64/x32/_itoa.h: Add comment.
20185 2012-05-19 Joseph Myers <joseph@codesourcery.com>
20187 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
20188 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
20189 * sysdeps/powerpc/soft-fp/Versions: Likewise.
20190 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
20191 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
20192 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
20193 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
20194 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
20195 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
20196 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
20197 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
20198 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
20199 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
20200 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
20201 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
20202 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
20203 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
20204 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
20205 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
20206 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
20207 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
20208 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
20209 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
20210 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
20211 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
20212 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
20213 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
20214 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
20215 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
20216 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
20217 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
20219 2012-05-18 Andreas Jaeger <aj@suse.de>
20221 * csu/.gitignore: Delete.
20223 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
20225 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
20226 (timex): Use __syscall_slong_t.
20228 2012-05-18 Andreas Jaeger <aj@suse.de>
20229 Carlos O'Donell <carlos_odonell@mentor.com>
20231 * manual/install.texi (Configuring and compiling): Update
20232 description about files modified in the source directory.
20233 * INSTALL: Regenerated.
20235 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
20237 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
20238 value. Use "or" to set return value to -1.
20239 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
20240 negate return value.
20242 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20244 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
20245 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
20246 failure if the compiler has Graphite support disabled.
20247 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
20249 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
20250 CFLAGS-memmove.c): Likewise.
20251 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
20254 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
20256 * sysdeps/x86_64/x32/_itoa.h: New file.
20258 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
20259 getdents system call only if kernel and user dirents have the
20260 same d_ino and d_off.
20262 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
20263 LLONG_MAX != LONG_MAX.
20264 (_itoa_word): Use _ITOA_WORD_TYPE on value.
20265 (_fitoa_word): Likewise.
20267 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
20269 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
20270 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
20271 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
20273 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
20274 include <bits/wordsize.h>. Check __x86_64__ instead of
20276 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
20277 if __x86_64__ is defined. Use anonymous union on fpstate.
20279 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
20282 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
20284 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
20285 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
20286 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
20287 Refer to _rtld_local_ro instead of _rtld_global_ro.
20288 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
20290 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
20292 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
20294 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
20295 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
20296 of _rtld_global, and rtld_progname instead of _dl_argv[0].
20298 * sysdeps/powerpc/powerpc32/dl-machine.c
20299 (__elf_machine_runtime_setup) [PROF]: Don't reference
20302 2012-05-18 Andreas Jaeger <aj@suse.de>
20304 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
20305 function only available for GCCs before 3.4 since GCC 3.4
20306 introduced a builtin.
20308 (llrintf): Likewise.
20309 (llrint): Likewise.
20316 (nearbyint): Likewise.
20317 (nearbyintf): Likewise.
20321 (floorf): Likewise.
20323 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
20325 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
20326 on both fields and cast pointer to __syscall_ulong_t.
20328 * bits/types.h (__fsword_t): New type.
20329 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
20330 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
20331 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20332 (__FSWORD_T_TYPE): Likewise.
20333 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
20334 (__FSWORD_T_TYPE): Likewise.
20335 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20336 (__FSWORD_T_TYPE): Likewise.
20337 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
20338 (__FSWORD_T_TYPE): Likewise.
20339 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
20340 __SWORD_TYPE with __fsword_t.
20341 (statfs64): Likewise.
20343 2012-05-17 David S. Miller <davem@davemloft.net>
20345 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
20347 2012-05-17 Andreas Jaeger <aj@suse.de>
20349 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
20352 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
20354 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
20356 2012-05-17 Andreas Jaeger <aj@suse.de>
20358 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
20361 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
20363 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
20365 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
20367 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
20368 * sysdeps/x86_64/tst-mallocalign1.c: New file.
20370 2012-05-17 Andreas Jaeger <aj@suse.de>
20371 Carlos O'Donell <carlos_odonell@mentor.com>
20374 * sysdeps/x86_64/multiarch/init-arch.h
20375 (bit_YMM_Usable): Rename to...
20376 (bit_AVX_Usable): ... this.
20377 (bit_FMA4_Usable): New macro.
20378 (bit_XMM_state): New macro.
20379 (bit_YMM_state): New macro.
20380 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
20381 [__ASSEMBLER__] (index_AVX_Usable): ... this.
20382 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
20383 (CPUID_OSXSAVE): New macro.
20384 (CPUID_AVX): New macro.
20385 (CPUID_FMA4): New macro.
20386 (index_YMM_Usable): Rename to...
20387 (index_AVX_Usable): ... this.
20388 (HAS_AVX): Use HAS_ARCH_FEATURE.
20389 (HAS_FMA4): Likewise.
20390 (HAS_YMM_USABLE): Remove.
20391 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20392 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
20394 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
20395 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
20396 * sysdeps/x86_64/multiarch/Makefile: Likewise.
20397 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
20398 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
20400 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
20402 * math/libm-test.c: Support platforms without multiple rounding modes.
20403 * math/bug-nextafter.c: Support platforms without FP exceptions.
20404 * math/bug-nexttoward.c: Likewise.
20405 * math/test-fenv.c: Likewise.
20406 * math/test-misc.c: Likewise.
20407 * stdlib/bug-getcontext.c: Likewise.
20409 2012-05-17 Andreas Jaeger <aj@suse.de>
20411 * manual/examples/search.c (critter_cmp): Change signature to
20413 * manual/string.texi (Collation Functions): Likewise.
20415 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
20417 * bits/types.h: Fold copyright years.
20418 * bits/typesizes.h: Likewise.
20419 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
20420 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
20421 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
20422 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
20423 * time/time.h: Likewise.
20425 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
20428 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
20429 in instead of returning them. Return void.
20430 (__libc_mallinfo): Accumulate over all arenas.
20431 (__malloc_stats): Adjust for change in int_mallinfo interface.
20433 2012-05-16 Roland McGrath <roland@hack.frob.com>
20436 * configure.in (NM): Add AC_CHECK_TOOL for it.
20437 (libc_extra_cflags): New substituted variable.
20438 Check for -fstack-protector being used implicitly.
20439 * configure: Regenerated.
20440 * config.make.in (config-extra-cflags): New variable,
20441 gets @libc_extra_cflags@.
20442 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
20445 * configure.in: Check for _FORTIFY_SOURCE being predefined.
20446 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
20447 * configure: Regenerated.
20448 * config.make.in (CPPUNDEFS): New substituted variable.
20449 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
20450 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
20451 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
20453 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
20455 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
20456 (mq_attr): Use __syscall_slong_t.
20458 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
20460 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
20461 Check __x86_64__ instead of __WORDSIZE.
20462 (_STAT_VER_LINUX): Likewise.
20463 (stat): Check __x86_64__ instead of __WORDSIZE. Use
20464 __syscall_ulong_t and __syscall_slong_t.
20465 (stat64): Likewise.
20467 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
20469 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
20471 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
20473 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
20475 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
20477 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
20480 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
20481 include <bits/wordsize.h>. Check __x86_64__ instead of
20483 (greg_t): Use "__extension__ long long int" if __x86_64__ is
20485 (mcontext_t): Replace "unsigned long" with "unsigned long long".
20487 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
20488 include <bits/wordsize.h>. Check __x86_64__ instead of
20490 (user_regs_struct): Use "__extension__ unsigned long long"
20491 instead of "unsigned long" if __x86_64__ is defined.
20492 (user): Likewise. Pad after pointer field if __ILP32__ is
20495 2012-05-16 Joseph Myers <joseph@codesourcery.com>
20497 * configure.in (makeinfo): Require version 4.5 or later. Allow
20499 * configure: Regenerated.
20500 * manual/install.texi (texinfo): Increase version requirement to
20502 * INSTALL: Regenerated.
20504 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
20506 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
20508 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
20510 * sysdeps/x86_64/x32/ffs.c: New file.
20512 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
20514 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
20515 defined. Use __syscall_ulong_t.
20516 (shminfo): Use __syscall_ulong_t.
20517 (shm_info): Likewise.
20519 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
20522 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
20524 (msgqnum_t): Use __syscall_ulong_t.
20525 (msglen_t): Likewise.
20526 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
20529 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
20530 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
20532 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
20534 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
20535 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
20537 * sysvipc/sys/msg.h (msgbuf): Replace long int with
20540 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
20541 include <bits/wordsize.h>. Check __x86_64__ instead of
20544 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
20545 "unsigned long long int" if __x86_64__ is defined.
20546 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
20548 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
20549 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
20550 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
20552 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
20554 (GET_PC): Cast to uintptr_t first.
20555 (GET_FRAME): Likewise.
20556 (GET_STACK): Likewise.
20558 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
20559 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
20560 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
20561 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
20562 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
20563 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
20564 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
20565 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
20566 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
20567 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
20568 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
20569 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
20570 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
20571 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
20572 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
20573 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
20574 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
20575 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
20576 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
20577 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
20578 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
20579 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
20580 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
20581 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
20582 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
20583 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
20584 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
20585 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
20586 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
20588 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
20590 * Makerules (+depfiles): Also collect depfiles from .oS in
20592 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
20593 .oS, $(libnldbl-routines)).
20595 * Makerules (native-compile-mkdep-flags): Define.
20596 * sunrpc/Makefile (extra-objs): Add $(addprefix
20597 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
20598 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
20599 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
20600 calling $(make-target-directory).
20602 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20604 * bits/types.h (__snseconds_t): Removed.
20605 * time/time.h (struct timespec): Replace __snseconds_t with
20607 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
20608 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
20610 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20611 (__SNSECONDS_T_TYPE): Likewise.
20612 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
20613 (__SNSECONDS_T_TYPE): Likewise.
20614 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20615 (__SNSECONDS_T_TYPE): Likewise.
20617 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20619 * sysdeps/mach/hurd/bits/typesizes.h
20620 (__SYSCALL_SLONG_TYPE): New macro.
20621 (__SYSCALL_ULONG_TYPE): Likewise.
20623 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20625 * bits/types.h (__syscall_slong_t): New type.
20626 (__syscall_ulong_t): Likewise.
20628 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
20629 (__SYSCALL_ULONG_TYPE): Likewise.
20630 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20631 (__SYSCALL_SLONG_TYPE): Likewise.
20632 (__SYSCALL_ULONG_TYPE): Likewise.
20633 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
20634 (__SYSCALL_SLONG_TYPE): Likewise.
20635 (__SYSCALL_ULONG_TYPE): Likewise.
20636 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20637 (__SYSCALL_SLONG_TYPE): Likewise.
20638 (__SYSCALL_ULONG_TYPE): Likewise.
20640 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20642 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
20643 Add sigaltstack-offsets.sym.
20644 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
20645 <sigaltstack-offsets.h>.
20646 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
20647 longjmp_msg pointer.
20648 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
20649 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
20651 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
20653 2012-05-15 Joseph Myers <joseph@codesourcery.com>
20655 * elf/stackguard-macros.h: Remove file.
20656 * sysdeps/generic/stackguard-macros.h: New file.
20657 * sysdeps/i386/stackguard-macros.h: Likewise.
20658 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
20659 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
20660 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
20661 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
20662 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
20663 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
20664 * sysdeps/x86_64/stackguard-macros.h: Likewise.
20665 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
20666 <elf/stackguard-macros.h>.
20669 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
20670 __aligned__ in attribute.
20671 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
20672 (gregset_t): Likewise.
20674 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20676 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
20677 * sysdeps/x86_64/64/Implies-after: Here. New file.
20678 * sysdeps/x86_64/x32/Implies-after: New file.
20680 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20682 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
20683 and access return value for _dl_profile_fixup. Use R10_LP to
20686 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20688 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
20690 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20692 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
20693 * sysdeps/x86_64/x32/sysdep.h: New file.
20695 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20697 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
20698 * sysdeps/x86_64/setjmp.S: Likewise.
20700 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20702 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
20703 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
20704 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
20705 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
20706 remove unused global constant.
20708 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
20710 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
20711 include of <not-cancel.h>.
20713 2012-05-15 Roland McGrath <roland@hack.frob.com>
20715 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
20717 2012-05-15 Jeff Law <law@redhat.com>
20718 Andreas Jaeger <aj@suse.de>
20721 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
20723 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
20724 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
20725 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
20726 code changing __hst_map_handle.map.
20728 2012-05-15 Roland McGrath <roland@hack.frob.com>
20730 * configure.in (sysnames): Look for Implies-before and Implies-after
20732 * configure: Regenerated.
20734 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20736 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
20737 8-byte data alignment with LP_SIZE alignment.
20739 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20741 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
20744 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20746 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
20748 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20750 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
20751 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
20752 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
20754 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
20756 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20758 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
20759 (stackinfo_sub_sp): Likewise.
20761 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20763 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
20766 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20768 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
20771 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20773 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
20776 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20778 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
20780 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20782 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
20783 into R11_LP and load __x86_64_shared_cache_size_half into
20786 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20788 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
20791 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20793 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
20795 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
20797 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
20799 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
20800 powerpc32/power7/fpu/s_logb.c via #include.
20801 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
20802 powerpc32/power7/fpu/s_logbf.c via #include.
20803 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
20804 powerpc32/power7/fpu/s_logbl.c via #include.
20806 2012-05-15 Joseph Myers <joseph@codesourcery.com>
20808 * README.libm: Remove file.
20810 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20812 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
20813 count for x32. Use R*_LP and omit operand-size suffix.
20815 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20817 * shlib-versions: Move x86_64-.*-linux.* entries to ...
20818 * sysdeps/x86_64/64/shlib-versions: Here. New file.
20819 * sysdeps/x86_64/x32/shlib-versions: New file.
20821 2012-05-14 Roland McGrath <roland@hack.frob.com>
20823 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
20824 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
20825 Use _dl_fatal_printf instead.
20827 2012-05-14 Joseph Myers <joseph@codesourcery.com>
20829 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
20830 set if not set by the user. Do not allow for being unset.
20831 * sysdeps/unix/sysv/linux/configure: Regenerated.
20833 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20835 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
20836 the `q' suffix from lea and replace .quad with ASM_ADDR.
20838 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20840 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
20841 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
20843 (PTR_DEMANGLE): Likewise.
20845 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20847 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
20849 (ASM_ADDR): Likewise.
20850 (RAX_LP): Likewise.
20851 (RBP_LP): Likewise.
20852 (RBX_LP): Likewise.
20853 (RCX_LP): Likewise.
20854 (RDI_LP): Likewise.
20855 (RSI_LP): Likewise.
20856 (RSP_LP): Likewise.
20859 (R10_LP): Likewise.
20860 (R10_LP): Likewise.
20861 (R11_LP): Likewise.
20862 (R12_LP): Likewise.
20863 (R13_LP): Likewise.
20864 (R14_LP): Likewise.
20865 (R15_LP): Likewise.
20867 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20869 * sysdeps/x86_64/x32/dl-machine.h: New file.
20871 2012-05-14 Andreas Jaeger <aj@suse.de>
20873 * manual/Makefile (subdir): Remove export of subdir.
20874 (all): Remove target.
20875 (.PHONY): Remove all from list.
20876 (mkinstalldirs): Remove.
20877 (.PHONY): Remove installdirs from list.
20878 ($(inst_infodir)/libc.info): Use make-target-directory.
20879 (installdirs): Remove.
20880 (subdir_%): Remove.
20881 (glibc-targets): Remove.
20884 ($(objpfx)stubs ../po/manual.pot): Remove.
20885 ($(objpfx)stamp%): Remove.
20886 (make-target-directory): Remove.
20887 (subdir_install): Remove.
20888 (routines): Remove.
20895 * manual/.gitignore: Remove, it's not needed anymore.
20896 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
20898 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
20900 (texis): Renamed to $(objpfx)texis.
20901 (texis-path): New, contains path to generated files.
20902 (chapters.%): Use texis-path for complete path, add extra argument
20904 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
20905 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
20906 (summary,texi, stamp-summary): Use complete path of
20907 files. Generate files in build dir.
20908 (dir-add.texi): Build in build dir.
20909 (libm-err.texi,stamp-libm-err): Likewise.
20910 (version.texi, stamp-version): Likewise.
20911 (.%c.texi): Likewise.
20912 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
20913 (mostlyclean): Remove target.
20914 (realclean): Remove target.
20915 (generated): Add new variable with contents from mostlyclean and
20916 realclean, remove entries duplicated in common-mostlyclean, add
20917 stamp-libm-err and stamp-version.
20918 (generated-dirs): Add libc directory.
20919 ($(inst_infodir)/libc.info): Install files from build dir.
20921 * manual/install.texi (Configuring and compiling): Adjust since
20922 the info files are not part of the tar ball anymore.
20924 2012-05-14 Andreas Jaeger <aj@suse.de>
20926 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
20929 2012-05-14 Joseph Myers <joseph@codesourcery.com>
20932 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
20933 to 2.2.0 where earlier.
20934 * sysdeps/unix/sysv/linux/configure: Regenerated.
20935 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
20936 Remove conditional code.
20937 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
20938 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
20939 Remove conditional code.
20940 [!__NR_lchown]: Likewise.
20941 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
20942 [__NR_lchown]: Likewise.
20943 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
20944 comment referencing __ASSUME_LCHOWN_SYSCALL.
20945 * sysdeps/unix/sysv/linux/i386/sigaction.c
20946 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
20947 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
20948 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
20949 Remove conditional code.
20950 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
20951 (__protocol_available): Remove #if 0 code.
20952 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
20954 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
20955 * sysdeps/unix/sysv/linux/kernel-features.h
20956 (__ASSUME_GETCWD_SYSCALL): Don't define.
20957 (__ASSUME_REALTIME_SIGNALS): Likewise.
20958 (__ASSUME_PREAD_SYSCALL): Likewise.
20959 (__ASSUME_PWRITE_SYSCALL): Likewise.
20960 (__ASSUME_POLL_SYSCALL): Likewise.
20961 (__ASSUME_LCHOWN_SYSCALL): Likewise.
20962 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
20964 (__ASSUME_SIOCGIFNAME): Don't define.
20965 (__ASSUME_MSG_NOSIGNAL): Likewise.
20966 (__ASSUME_SENDFILE): Define unconditionally.
20967 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
20968 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
20970 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
20971 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
20972 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
20973 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
20974 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
20975 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
20976 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
20977 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
20978 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
20979 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20980 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
20981 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
20982 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20983 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
20984 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
20985 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20986 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
20987 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
20988 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20989 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
20990 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
20991 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20992 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
20993 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
20994 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20995 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
20996 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
20997 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20998 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
20999 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
21000 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21001 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
21002 Remove conditional code.
21003 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21004 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
21005 Remove conditional code.
21006 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21007 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
21008 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
21009 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
21010 Remove conditional code.
21011 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21012 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
21013 Remove conditional code.
21014 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21015 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
21016 Remove conditional code.
21017 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21018 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
21019 Remove conditional code.
21020 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21021 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
21022 Remove conditional code.
21023 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21024 * sysdeps/unix/sysv/linux/sh/pwrite64.c
21025 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
21026 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21027 * sysdeps/unix/sysv/linux/sigaction.c
21028 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
21029 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
21030 * sysdeps/unix/sysv/linux/sigpending.c
21031 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
21032 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
21033 * sysdeps/unix/sysv/linux/sigprocmask.c
21034 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
21035 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
21036 * sysdeps/unix/sysv/linux/sigsuspend.c
21037 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
21038 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
21039 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
21040 (__libc_missing_rt_sigs): Remove.
21041 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
21042 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
21043 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
21044 Remove conditional code.
21045 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
21046 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
21048 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
21049 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
21050 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
21051 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
21053 2012-05-14 Andreas Jaeger <aj@suse.de>
21055 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
21056 it's not used in glibc.
21057 (__coshm1): Likewise.
21058 (__acosh1p): Likewise.
21061 * manual/string.texi (Copying and Concatenation): Add missing
21062 variable in concat example.
21063 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
21065 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21068 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
21069 __builtin_clzl with __builtin_clzll.
21071 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21074 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
21077 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21079 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
21080 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
21081 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
21082 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
21084 2012-05-14 Mike Frysinger <vapier@gentoo.org>
21086 * NEWS: Update ia64 info.
21088 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
21090 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
21093 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
21095 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
21096 * sysdeps/unix/syscalls.list (dup3): Likewise.
21097 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
21098 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
21100 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
21102 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
21103 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
21105 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
21107 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
21109 (TLS_IE): Use mov/add instead of movq/addq to load thread
21111 (TLS_GD_PREFIX): New.
21114 2012-05-11 David S. Miller <davem@davemloft.net>
21116 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
21117 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
21118 (_FPU_SETCW): Likewise.
21120 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
21122 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
21123 is 32-byte aligned.
21125 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
21128 * iconvdata/gb18030.c: Update tables.
21129 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
21130 characters specially.
21131 (BODY for TO_LOOP): Add encoding of missing ranges.
21133 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
21136 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
21137 * sysdeps/mach/hurd/dup3.c: Likewise.
21138 * sysdeps/mach/hurd/readlinkat.c: Likewise.
21139 * sysdeps/powerpc/memmove.c:: Likewise.
21141 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
21143 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
21144 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
21146 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
21148 * elf/elf.h (R_X86_64_RELATIVE64): New.
21149 (R_X86_64_NUM): Updated.
21150 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
21151 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
21152 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
21153 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
21154 tst-quad1pie tst-quad2pie
21155 (modules-names): Add tst-quadmod1 tst-quadmod2.
21156 ($(objpfx)tst-quad1): New dependency.
21157 ($(objpfx)tst-quad2): Likewise.
21158 ($(objpfx)tst-quad1pie): Likewise.
21159 ($(objpfx)tst-quad2pie): Likewise.
21160 * sysdeps/x86_64/tst-quad1.c: New file.
21161 * sysdeps/x86_64/tst-quad1pie.c: New file.
21162 * sysdeps/x86_64/tst-quad2.c: Likewise.
21163 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
21164 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
21165 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
21166 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
21167 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
21169 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21171 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
21172 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
21173 * streams/stropts.h (t_scalar_t): Define type.
21175 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
21176 (_PATH_PRESERVE): Set to "/var/lib".
21177 (_PATH_RWHODIR): Set to "/var/spool/rwho".
21179 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
21182 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
21183 if __dir_mkfile succeeded.
21185 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
21186 checking for _hurd_dtablesize. Unlock it right after having
21187 finished _hurd_dtable allocation.
21189 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
21191 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
21192 * sysdeps/mach/hurd/configure: Regenerated.
21193 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
21194 special-casing to...
21195 * sysdeps/gnu/configure.in: ... this new file.
21196 * sysdeps/unix/sysv/linux/configure: Regenerated.
21197 * sysdeps/gnu/configure: New generated file.
21199 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
21200 for Linux: use nsec instead of usec, as well as:
21201 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
21202 members of type struct timespec.
21203 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
21205 (struct stat64): Likewise.
21206 (_STATBUF_ST_NSEC): New macro.
21207 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
21209 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
21210 __strtoul_internal rather than strtoul.
21212 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
21214 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
21217 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21219 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
21220 which preserves existing values.
21221 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
21223 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
21225 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
21226 TIMEOUT values. Return EINVAL for NFDS values either negative or
21227 greater than FD_SETSIZE.
21229 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21231 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
21232 allocated, call __vm_protect to finish enabling the existing space, and
21233 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
21234 allocate the remainder.
21236 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
21238 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
21239 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
21241 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21243 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
21244 sysdeps/mach/hurd/readlink.c.
21246 * posix/tst-sysconf.c (posix_options): Only use
21247 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
21248 _POSIX_SYNCHRONIZED_IO when they are defined
21249 * sysdeps/mach/hurd/bits/posix_opt.h:
21250 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
21251 (_XOPEN_REALTIME): Undefine macro.
21252 (_XOPEN_REALTIME_THREADS): Undefine macro.
21253 (_XOPEN_SHM): Undefine macro.
21254 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
21256 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
21258 (_POSIX_ASYNC_IO): Undefine macro.
21259 (_POSIX_PRIORITIZED_IO): Undefine macro.
21260 (_POSIX_SPIN_LOCKS): Define macro to -1.
21262 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
21263 SA_NODEFER, SA_RESETHAND.
21264 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
21265 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
21268 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
21270 * elf/Makefile (pldd-modules): Define unconditionally.
21272 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
21274 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
21276 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21278 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
21279 Return ENOENT when name is empty.
21280 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
21282 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
21284 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
21286 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
21288 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21290 Fix mlock in all cases except non-readable pages.
21291 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
21292 instead of VM_PROT_ALL as parameter to __vm_wire function.
21294 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
21295 (__mkdir): When path is `/', just fail with EEXIST.
21296 * sysdeps/mach/hurd/mkdirat.c: Likewise.
21298 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
21300 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
21301 <sys/uio.h> (for writev).
21302 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
21303 and <sys/param.h> (for MIN).
21305 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
21307 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
21308 REQUESTED_TIME. Properly set the remaining time and return EINTR
21311 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
21313 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
21314 Depend on against $(link-rpcuserlibs).
21316 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21318 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
21319 (__libc_stack_end): Do not use attribute_relro.
21320 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
21321 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
21322 to libthread-provided value.
21323 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
21326 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
21329 * bits/libc-lock.h (__libc_once_get): New macro.
21330 * sysdeps/mach/bits/libc-lock.h: Likewise.
21331 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
21332 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
21333 instead of using implementation details.
21335 * libio/fileops.c: Unconditionally include <kernel-features.h>.
21336 * libio/freopen.c: Likewise.
21337 * libio/freopen64.c: Likewise.
21338 * misc/syslog.c: Likewise.
21339 * nscd/connections.c: Likewise.
21340 * nscd/netgroupcache.c: Likewise.
21341 * sysdeps/posix/getcwd.c: Likewise.
21343 2012-05-10 Roland McGrath <roland@hack.frob.com>
21345 * math/w_ilogbf.c: Add #include <limits.h>.
21347 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21349 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
21350 path instead of returning without unlocking.
21352 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
21353 immediate-write ioctls.
21354 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
21356 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
21358 * sysdeps/mach/hurd/i386/init-first.c (init): Use
21359 __builtin_frame_address instead of making assumptions about the
21360 location of the return address relative to DATA. Force early load of
21361 the return address.
21362 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
21363 __builtin_frame_address.
21366 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
21367 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
21368 implement dup3 and do some further code clean-ups.
21369 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
21370 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
21372 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21374 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
21376 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
21377 HURD_CRITICAL_END around holding _hurd_dtable_lock.
21378 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
21379 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
21380 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
21383 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
21384 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
21385 when handler == SIG_ERR, not when handler != SIG_ERR.
21387 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
21389 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
21390 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
21393 accept4 for GNU Hurd.
21394 * include/sys/socket.h (__libc_accept4): New prototype.
21395 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
21396 to implement __libc_accept4.
21397 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
21399 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
21401 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
21402 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
21403 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
21404 signal-defines.sym.
21406 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21408 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
21410 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
21412 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
21413 assertion on O_CLOEXEC flag.
21414 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
21415 * hurd/intern-fd.c: Likewise.
21416 * hurd/port2fd.c: Likewise.
21418 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21421 * bits/in.h (IPV6_PKTINFO): Define new macro.
21422 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
21424 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21429 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
21430 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
21431 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
21432 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
21433 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
21434 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
21435 * math/libm-test.inc (logb_test) : Additional logb tests.
21437 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
21438 Andreas Jaeger <aj@suse.de>
21440 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
21441 * configure: Regenerated.
21442 * config.h.in (LINK_OBSOLETE_RPC): New macro.
21443 * config.make.in (link-obsolete-rpc): New substituted variable.
21444 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
21445 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
21446 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
21447 (shared-only-routines): Don't set it under [link-obsolete-rpc],
21448 so that libc.a contains the symbols.
21449 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
21450 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
21451 * sunrpc/auth_none.c: Likewise.
21452 * sunrpc/auth_unix.c: Likewise.
21453 * sunrpc/authdes_prot.c: Likewise.
21454 * sunrpc/authuxprot.c: Likewise.
21455 * sunrpc/clnt_gen.c: Likewise.
21456 * sunrpc/clnt_perr.c: Likewise.
21457 * sunrpc/clnt_raw.c: Likewise.
21458 * sunrpc/clnt_simp.c: Likewise.
21459 * sunrpc/clnt_tcp.c: Likewise.
21460 * sunrpc/clnt_udp.c: Likewise.
21461 * sunrpc/clnt_unix.c: Likewise.
21462 * sunrpc/des_crypt.c: Likewise.
21463 * sunrpc/des_soft.c: Likewise.
21464 * sunrpc/get_myaddr.c: Likewise.
21465 * sunrpc/key_call.c: Likewise.
21466 * sunrpc/key_prot.c: Likewise.
21467 * sunrpc/netname.c: Likewise.
21468 * sunrpc/pm_getmaps.c: Likewise.
21469 * sunrpc/pm_getport.c: Likewise.
21470 * sunrpc/pmap_clnt.c: Likewise.
21471 * sunrpc/pmap_prot.c: Likewise.
21472 * sunrpc/pmap_prot2.c: Likewise.
21473 * sunrpc/pmap_rmt.c: Likewise.
21474 * sunrpc/publickey.c: Likewise.
21475 * sunrpc/rpc_cmsg.c: Likewise.
21476 * sunrpc/rpc_common.c: Likewise.
21477 * sunrpc/rpc_dtable.c: Likewise.
21478 * sunrpc/rpc_prot.c: Likewise.
21479 * sunrpc/rpc_thread.c: Likewise.
21480 * sunrpc/rtime.c: Likewise.
21481 * sunrpc/svc.c: Likewise.
21482 * sunrpc/svc_auth.c: Likewise.
21483 * sunrpc/svc_raw.c: Likewise.
21484 * sunrpc/svc_run.c: Likewise.
21485 * sunrpc/svc_tcp.c: Likewise.
21486 * sunrpc/svc_udp.c: Likewise.
21487 * sunrpc/svc_unix.c: Likewise.
21488 * sunrpc/svcauth_des.c: Likewise.
21489 * sunrpc/xcrypt.c: Likewise.
21490 * sunrpc/xdr.c: Likewise.
21491 * sunrpc/xdr_array.c: Likewise.
21492 * sunrpc/xdr_float.c: Likewise.
21493 * sunrpc/xdr_intXX_t.c: Likewise.
21494 * sunrpc/xdr_mem.c: Likewise.
21495 * sunrpc/xdr_rec.c: Likewise.
21496 * sunrpc/xdr_ref.c: Likewise.
21497 * sunrpc/xdr_sizeof.c: Likewise.
21498 * sunrpc/xdr_stdio.c: Likewise.
21500 2012-05-10 Roland McGrath <roland@hack.frob.com>
21502 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
21503 change. Update copyright years.
21505 2012-05-10 Joseph Myers <joseph@codesourcery.com>
21507 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
21509 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
21510 Joseph Myers <joseph@codesourcery.com>
21511 Paul Pluzhnikov <ppluzhnikov@google.com>
21514 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
21516 [cross-compiling] (extra-libs): Likewise.
21517 [cross-compiling] (extra-libs-others): Likewise.
21518 [cross-compiling] (librpcsvc-routines): Likewise.
21519 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
21520 [cross-compiling] (omit-deps): Likewise.
21521 (sunrpc-CPPFLAGS): New variable.
21522 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
21523 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
21524 (cross-rpcgen-objs): New variable.
21525 (extra-objs): Append $(cross-rpcgen-objs).
21526 ($(cross-rpcgen-objs)): New rule.
21527 ($(objpfx)cross-rpcgen): Likewise.
21528 (rpcgen-cmd): Define to use $(built-program-file). Expand
21530 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
21531 ($(objpfx)x%.stmp): Likewise.
21532 * sunrpc/proto.h [IS_IN_build] (_): Define.
21533 [IS_IN_build] (_libc_intl_domainname): Likewise.
21535 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
21537 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
21538 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
21539 and R_X86_64_TPOFF64.
21541 2012-05-10 Joseph Myers <joseph@codesourcery.com>
21543 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
21544 sysdeps/unix/sysv/syscalls.list.
21547 * sysdeps/unix/sysv/syscalls.list: Remove file.
21549 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
21552 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
21553 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
21554 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
21555 (__LC_IDENTIFICATION): Make these macros useful in #if
21556 expressions, as required by C99.
21558 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
21560 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
21561 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
21564 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
21566 * stdlib/longlong.h: Updated from GCC.
21568 2012-05-09 Andreas Jaeger <aj@suse.de>
21570 * nscd/nscd.c (run_modes): Make named enum, reorder so that
21571 default is first entry.
21572 (run_mode): Set type.
21573 (main): Remove informal message about syslog.
21574 (options): Fix typo.
21577 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
21580 (llrintf): Likewise.
21581 (llrint): Likewise.
21584 (nearbyint): Likewise.
21585 (nearbyintf): Likewise.
21587 2012-05-09 Andreas Jaeger <aj@suse.de>
21588 Pedro Alves <palves@redhat.com>
21590 * nscd/nscd.c (run_mode): Use enum.
21591 (main): Cleanup coding style issue.
21593 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
21594 Andreas Jaeger <aj@suse.de>
21596 * nscd/nscd.c (go_background): Replaced with...
21597 (run_mode): ... this.
21598 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
21599 (options): Add -F --foreground.
21600 (main): Implement it.
21601 (parse_opt): Parse it.
21603 2012-05-09 Andreas Jaeger <aj@suse.de>
21606 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
21607 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
21608 -Wconversion warning.
21609 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
21612 2012-05-09 Joseph Myers <joseph@codesourcery.com>
21614 * conform/data/locale.h-data (NULL): Use macro-constant. Require
21616 (LC_ALL): Use macro-int-constant.
21617 (LC_COLLATE): Likewise.
21618 (LC_CTYPE): Likewise.
21619 (LC_MESSAGES): Likewise.
21620 (LC_MONETARY): Likewise.
21621 (LC_NUMERIC): Likewise.
21622 (LC_TIME): Likewise.
21623 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
21624 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
21625 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21626 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
21628 [C99-based standards] (float_t): Expect type.
21629 [C99-based standards] (double_t): Expect type.
21630 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
21632 [C99-based standards] (HUGE_VALL): Likewise.
21633 [C99-based standards] (INFINITY): Likewise.
21634 [C99-based standards] (NAN): Likewise.
21635 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
21636 [C99-based standards] (FP_NAN): Likewise.
21637 [C99-based standards] (FP_NORMAL): Likewise.
21638 [C99-based standards] (FP_SUBNORMAL): Likewise.
21639 [C99-based standards] (FP_ZERO): Likewise.
21640 [C99-based standards] (FP_FAST_FMA): Use
21641 optional-macro-int-constant. Specify type. Require == 1.
21642 [C99-based standards] (FP_FAST_FMAF): Likewise.
21643 [C99-based standards] (FP_FAST_FMAL): Likewise.
21644 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
21645 [C99-based standards] (FP_ILOGBNAN): Likewise.
21646 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
21648 [C99-based standards] (MATH_ERREXCEPT): Likewise.
21649 [C99-based standards] (math_errhandling): Specify type.
21650 [ISO99 || ISO11] (signgam): Do not allow.
21651 [non-C99-based standards] (copysignf): Do not allow.
21652 [non-C99-based standards] (exp2f): Likewise.
21653 [non-C99-based standards] (log2f): Likewise.
21654 [non-C99-based standards] (modff): Allow.
21655 [non-C99-based standards] (erff): Do not allow.
21656 [non-C99-based standards] (erfcf): Likewise.
21657 [non-C99-based standards] (gammaf): Likewise.
21658 [non-C99-based standards] (hypotf): Likewise.
21659 [non-C99-based standards] (j0f): Likewise.
21660 [non-C99-based standards] (j1f): Likewise.
21661 [non-C99-based standards] (jnf): Likewise.
21662 [non-C99-based standards] (lgammaf): Likewise.
21663 [non-C99-based standards] (tgammaf): Likewise.
21664 [non-C99-based standards] (y0f): Likewise.
21665 [non-C99-based standards] (y1f): Likewise.
21666 [non-C99-based standards] (ynf): Likewise.
21667 [non-C99-based standards] (isnanf): Likewise.
21668 [non-C99-based standards] (acoshf): Likewise.
21669 [non-C99-based standards] (asinhf): Likewise.
21670 [non-C99-based standards] (atanhf): Likewise.
21671 [non-C99-based standards] (cbrtf): Likewise.
21672 [non-C99-based standards] (expm1f): Likewise.
21673 [non-C99-based standards] (ilogbf): Likewise.
21674 [non-C99-based standards] (log1pf): Likewise.
21675 [non-C99-based standards] (logbf): Likewise.
21676 [non-C99-based standards] (nextafterf): Likewise.
21677 [non-C99-based standards] (remainderf): Likewise.
21678 [non-C99-based standards] (rintf): Likewise.
21679 [non-C99-based standards] (scalbf): Likewise.
21680 [non-C99-based standards] (copysignl): Likewise.
21681 [non-C99-based standards] (exp2l): Likewise.
21682 [non-C99-based standards] (log2l): Likewise.
21683 [non-C99-based standards] (modfl): Allow.
21684 [non-C99-based standards] (erfl): Do not allow.
21685 [non-C99-based standards] (erfcl): Likewise.
21686 [non-C99-based standards] (gammal): Likewise.
21687 [non-C99-based standards] (hypotl): Likewise.
21688 [non-C99-based standards] (j0l): Likewise.
21689 [non-C99-based standards] (j1l): Likewise.
21690 [non-C99-based standards] (jnl): Likewise.
21691 [non-C99-based standards] (lgammal): Likewise.
21692 [non-C99-based standards] (tgammal): Likewise.
21693 [non-C99-based standards] (y0l): Likewise.
21694 [non-C99-based standards] (y1l): Likewise.
21695 [non-C99-based standards] (ynl): Likewise.
21696 [non-C99-based standards] (isnanl): Likewise.
21697 [non-C99-based standards] (acoshl): Likewise.
21698 [non-C99-based standards] (asinhl): Likewise.
21699 [non-C99-based standards] (atanhl): Likewise.
21700 [non-C99-based standards] (cbrtl): Likewise.
21701 [non-C99-based standards] (expm1l): Likewise.
21702 [non-C99-based standards] (ilogbl): Likewise.
21703 [non-C99-based standards] (log1pl): Likewise.
21704 [non-C99-based standards] (logbl): Likewise.
21705 [non-C99-based standards] (nextafterl): Likewise.
21706 [non-C99-based standards] (remainderl): Likewise.
21707 [non-C99-based standards] (rintl): Likewise.
21708 [non-C99-based standards] (scalbl): Likewise.
21709 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21710 [non-C99-based standards] (FP_*): Do not allow.
21711 [C99-based standards] (FP_*): Change to
21712 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
21713 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
21715 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
21716 (SIG_ERR): Likewise.
21717 [X/Open-based standards] (SIG_HOLD): Likewise.
21718 (SIG_IGN): Likewise.
21719 (SIGABRT): Use macro-int-constant. Specify type. Require
21721 (SIGFPE): Likewise.
21722 (SIGILL): Likewise.
21723 (SIGINT): Likewise.
21724 (SIGSEGV): Likewise.
21725 (SIGTER): Likewise.
21726 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
21727 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
21728 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
21729 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
21730 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
21731 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
21732 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
21733 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
21734 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
21735 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
21736 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
21737 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
21738 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
21739 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
21740 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
21741 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
21742 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
21743 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
21744 [X/Open-based standards] (SIGTRAP): Likewise.
21745 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
21746 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
21747 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
21748 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
21749 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
21752 2012-05-08 Ian Wienand <ianw@vmware.com>
21755 * time/tzset.c (__tzset_parse_tz): Update default rules for
21756 daylight time changes in the Energy Policy Act of 2005.
21758 2012-05-09 Andreas Jaeger <aj@suse.de>
21761 * elf/ldconfig.c (parse_conf): Change string to make clear that
21762 ldconfig only issued a warning if ld.so.conf does not exist.
21764 2012-05-08 David S. Miller <davem@davemloft.net>
21766 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
21767 movxtod instead of popping the value on the stack.
21769 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21771 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
21773 * config.h.in: Add HAVE_ARM_PCS_VFP.
21775 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
21778 * include/features.h: Warn if user requests __FORTIFY_SOURCE
21779 checking but the checks are disabled for any reason.
21781 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
21783 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
21784 and ELF64_R_TYPE with ELFW(R_TYPE).
21786 2012-05-08 Joseph Myers <joseph@codesourcery.com>
21788 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
21789 (ulimit): Likewise.
21791 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
21792 (settimeofday): Likewise.
21794 2012-05-08 Mike Frysinger <vapier@gentoo.org>
21796 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
21797 a struct th_u2 inside the union, and move tu_block/tu_code into
21798 a new th_u3 union of tu_block/tu_code inside of that. Move
21799 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
21800 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
21801 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
21802 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
21803 (th_stuff): Change to th_u1.tu_stuff.
21805 (th_msg): Change to th_u1.th_u2.tu_data.
21807 2012-05-07 David S. Miller <davem@davemloft.net>
21809 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21812 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
21813 (SETUP_PIC_REG): Use it.
21814 (SETUP_PIC_REG_LEAF): Use it.
21816 2012-05-07 Joseph Myers <joseph@codesourcery.com>
21820 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
21822 (EXPL_FINITE): Likewise.
21823 (FLDLOG): Likewise.
21824 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
21825 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
21827 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
21829 (EXPL_FINITE): Likewise.
21830 (FLDLOG): Likewise.
21831 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
21832 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
21834 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
21835 test of -max_value argument for long double.
21836 * sysdeps/i386/fpu/libm-test-ulps: Update.
21837 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21839 2012-05-06 David S. Miller <davem@davemloft.net>
21841 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
21842 quad soft-float symbols whose references which are compiler
21844 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
21846 2012-05-06 Joseph Myers <joseph@codesourcery.com>
21850 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
21852 (EXPL_FINITE): Likewise.
21853 (FLDLOG): Likewise.
21856 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
21857 Adjust comments for base varying.
21858 (__expl_finite): Change alias to EXPL_FINITE.
21859 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
21861 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
21862 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
21863 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
21864 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
21865 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
21867 (EXPL_FINITE): Likewise.
21868 (FLDLOG): Likewise.
21871 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
21872 Adjust comments for base varying.
21873 (__expl_finite): Change alias to EXPL_FINITE.
21874 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
21876 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21879 * math/libm-test.inc (check_float_internal): Correct ulp
21880 calculation for subnormal expected results.
21882 2012-05-06 Andreas Jaeger <aj@suse.de>
21884 * Makeconfig (+math-flags): New, set to -frounding-math.
21885 (+cflags): Add +math-flags so that all of glibc gets compiled with
21888 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
21890 2012-05-05 Joseph Myers <joseph@codesourcery.com>
21892 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
21898 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
21899 (__ieee754_expl): Allow for and saturate large arguments.
21900 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
21901 (u_threshold): Likewise.
21902 (__exp): Call __ieee754_exp before checking for overflow and
21904 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
21905 (u_threshold): Likewise.
21906 (__expf): Call __ieee754_expf before checking for overflow and
21908 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
21909 (u_threshold): Likewise.
21910 (__expl): Call __ieee754_expl before checking for overflow and
21912 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
21913 (__ieee754_expl): Allow for and saturate large arguments.
21914 * math/libm-test.inc (exp_test): Add another test. Do not allow
21915 missing overflow exception on overflow.
21916 (expm1_test): Do not allow missing overflow exception on overflow.
21918 * sysdeps/i386/fpu/e_expl.c: Move to ...
21919 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
21920 rather than using inline asm.
21921 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
21922 * sysdeps/x86_64/fpu/e_expl.S: Copy from
21923 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
21925 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
21928 (signal): Likewise.
21932 2012-05-04 Joseph Myers <joseph@codesourcery.com>
21934 * sysdeps/unix/syscalls.list (adjtime): Add entry from
21935 sysdeps/unix/common/syscalls.list.
21936 (fchmod): Likewise.
21937 (fchown): Likewise.
21938 (ftruncate): Likewise.
21939 (getrusage): Likewise.
21940 (gettimeofday): Likewise.
21941 (setpgid): Likewise.
21942 (setregid): Likewise.
21943 (setreuid): Likewise.
21944 (sigaction): Likewise.
21945 (truncate): Likewise.
21946 (vhangup): Likewise.
21947 * sysdeps/unix/common/syscalls.list: Remove file.
21948 * sysdeps/unix/bsd/Implies: Don't include unix/common.
21949 * sysdeps/unix/sysv/linux/Implies: Likewise.
21951 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
21953 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
21954 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
21955 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
21957 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
21959 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
21961 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
21962 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
21964 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
21965 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
21967 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
21968 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
21970 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
21971 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
21973 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
21974 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
21976 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
21977 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
21979 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
21981 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
21983 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
21985 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
21987 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
21988 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
21990 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
21992 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
21994 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
21996 2012-05-04 Joseph Myers <joseph@codesourcery.com>
21998 * sysdeps/unix/common/bits/dirent.h: Remove file.
21999 * sysdeps/unix/common/bits/fcntl.h: Likewise.
22001 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
22002 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
22003 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
22004 * sysdeps/unix/bsd/isatty.c: Likewise.
22005 * sysdeps/unix/bsd/tcdrain.c: Likewise.
22006 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
22007 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
22009 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22012 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
22013 long double comparison inaccuracies.
22014 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
22015 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22017 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
22019 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
22020 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
22022 2012-05-04 Joseph Myers <joseph@codesourcery.com>
22025 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
22026 nonzero digits before rounding a hex value.
22027 * stdlib/tst-strtod.c (tests): Add another test.
22029 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22031 * sysdeps/s390/fpu/libm-test-ulps: Update.
22033 2012-05-03 Andreas Jaeger <aj@suse.de>
22035 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
22036 does not get optimized out.
22037 (malloc_opt_barrier): New.
22039 2012-05-03 Andreas Jaeger <aj@suse.de>
22040 Roland McGrath <roland@hack.frob.com>
22042 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
22043 intermediate file deletion.
22044 (generated): Add .symlist files.
22046 2012-05-03 Joseph Myers <joseph@codesourcery.com>
22049 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
22050 Redirect under this condition.
22051 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
22052 [__USE_GNU] (__dprintf_chk): Not under this condition.
22053 [__USE_GNU] (__vdprintf_chk): Likewise.
22054 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
22055 under this condition.
22056 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
22057 [__USE_XOPEN2K8] (dprintf): Define under this condition.
22058 [__USE_XOPEN2K8] (vdprintf): Likewise.
22059 [__USE_GNU] (__dprintf_chk): Not under this condition.
22060 [__USE_GNU] (__vdprintf_chk): Likewise.
22061 [__USE_GNU] (dprintf): Likewise.
22062 [__USE_GNU] (vdprintf): Likewise.
22064 2012-05-03 Roland McGrath <roland@hack.frob.com>
22066 * elf/Makefile (common-generated): Set this instead of generated for
22067 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
22068 $(all-built-dso)-derived lists.
22070 2012-05-03 Andreas Jaeger <aj@suse.de>
22072 * sysdeps/i386/fpu/libm-test-ulps: Update.
22075 * FAQ.in: Likewise.
22076 * scripts/gen-FAQ.pl: Likewise.
22077 * manual/install.texi (Installation): Point to online location of
22079 * Makefile (files-for-dist): Remove FAQ.
22082 2012-05-02 Allan McRae <allan@archlinux.org>
22084 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
22085 (LDFLAGS-reldepmod5.so): Likewise.
22086 (LDFLAGS-reldep6mod1.so): Likewise.
22087 (LDFLAGS-reldep6mod4.so): Likewise.
22088 (LDFLAGS-reldep8mod3.so): Likewise.
22089 (LDFLAGS-unload4mod1.so): Likewise.
22090 (LDFLAGS-unload4mod2.so): Likewise.
22091 (LDFLAGS-tst-initorder): Likewise.
22092 (LDFLAGS-tst-initordera2.so): Likewise.
22093 (LDFLAGS-tst-initordera3.so): Likewise.
22094 (LDFLAGS-tst-initordera4.so): Likewise.
22095 (LDFLAGS-tst-initorderb2.so): Likewise.
22096 (LDFLAGS-noload): Likewise.
22097 (LDFLAGS-next): Likewise.
22098 (LDFLAGS-order2mod1.so): Likewise.
22099 (LDFLAGS-order2mod2.so): Likewise.
22100 (LDFLAGS-tst-initorder2): Likewise.
22101 (LDFLAGS-tst-initorder2a.so): Likewise.
22102 (LDFLAGS-tst-initorder2b.so): Likewise.
22103 (LDFLAGS-tst-initorder2c.so): Likewise.
22104 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
22106 2012-05-02 David S. Miller <davem@davemloft.net>
22108 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22110 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
22113 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
22115 2012-05-02 Andreas Jaeger <aj@suse.de>
22117 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
22118 since we manipulate rounding mode.
22119 (CPPFLAGS-test-idouble.c): Likewise.
22120 (CPPFLAGS-test-ifloat.c): Likewise.
22121 (CFLAGS-test-ldouble.c): Likewise.
22122 (CFLAGS-test-double.c): Likewise.
22123 (CFLAGS-test-float.c): Likewise.
22124 (CFLAGS-test-misc.c): Likewise.
22125 (CFLAGS-test-test-fenv.c): Likewise.
22127 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22131 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
22132 comparisons to determine direction to adjust input.
22134 2012-05-01 Roland McGrath <roland@hack.frob.com>
22136 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
22137 output to the target.
22139 * scripts/localplt.awk: New file.
22140 * elf/Makefile ($(objpfx)check-localplt): Target removed.
22141 (check-localplt-CFLAGS): Variable removed.
22142 ($(all-built-dso:=.jmprel)): New static pattern rule.
22143 (generated): Add those targets.
22144 (localplt-built-dso): New variable.
22145 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
22147 * elf/check-localplt.c: File removed.
22149 * scripts/check-execstack.awk: New file.
22150 * elf/Makefile ($(objpfx)check-execstack): Target removed.
22151 (check-execstack-CFLAGS): Variable removed.
22152 ($(objpfx)check-execstack.h): Target removed.
22153 ($(objpfx)execstack-default): New target.
22154 (generated): Add that instead of check-execstack.h.
22155 ($(all-built-dso:=.phdr)): New static pattern rule.
22156 (generated): Add those targets.
22157 * elf/check-execstack.c: File removed.
22159 * scripts/check-textrel.awk: New file.
22160 * elf/Makefile ($(objpfx)check-textrel): Target removed.
22161 (check-textrel-CFLAGS): Variable removed.
22162 (all-built-dso): Use := to define.o
22163 ($(all-built-dso:=.dyn)): New static pattern rule.
22164 (generated): Add those targets.
22165 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
22166 * config.make.in (READELF): New substituted variable.
22167 * elf/check-textrel.c: File removed.
22169 2012-05-01 Joseph Myers <joseph@codesourcery.com>
22171 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
22173 * conform/data/ctype.h-data [C99-based standards] (isblank):
22175 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
22176 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
22177 [ISO || ISO99 || ISO11] (*_t): Do not allow.
22178 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
22179 Specify type. Require positive value.
22180 (EILSEQ): Likewise.
22181 (ERANGE): Likewise.
22182 [ISO || POSIX] (EILSEQ): Do not expect.
22183 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
22184 Specify type. Require positive value.
22185 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
22186 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
22187 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
22188 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
22189 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
22190 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
22191 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
22192 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
22193 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
22194 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
22195 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
22196 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
22197 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
22198 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
22199 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
22200 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
22201 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
22202 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
22203 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
22204 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
22205 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
22206 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
22207 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
22208 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
22209 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
22210 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
22211 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
22212 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
22213 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
22214 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
22215 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
22216 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
22217 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
22218 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
22219 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
22220 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
22221 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
22222 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
22223 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
22224 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
22225 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
22226 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
22227 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
22228 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
22229 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
22230 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
22231 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
22232 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
22233 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
22234 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
22235 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
22236 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
22237 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
22238 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
22239 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
22240 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
22241 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
22242 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
22243 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
22244 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
22245 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
22246 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
22247 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
22248 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
22249 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
22250 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
22251 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
22252 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
22253 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
22254 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
22255 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
22256 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
22257 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
22258 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
22259 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
22260 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
22261 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
22263 (FLT_ROUNDS): Expect as macro, not constant.
22264 (FLT_MANT_DIG): Use macro-int-constant.
22265 (DBL_MANT_DIG): Likewise.
22266 (LDBL_MANT_DIG): Likewise.
22267 (FLT_DIG): Likewise.
22268 (DBL_DIG): Likewise.
22269 (LDBL_DIG): Likewise.
22270 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
22271 (DBL_MIN_EXP): Likewise.
22272 (LDBL_MIN_EXP): Likewise.
22273 (FLT_MAX_EXP): Use macro-int-constant.
22274 (DBL_MAX_EXP): Likewise.
22275 (LDBL_MAX_EXP): Likewise.
22276 (FLT_MAX_10_EXP): Likewise.
22277 (DBL_MAX_10_EXP): Likewise.
22278 (LDBL_MAX_10_EXP): Likewise.
22279 (FLT_MAX): Use macro-constant.
22280 (DBL_MAX): Likewise.
22281 (LDBL_MAX): Likewise.
22282 (FLT_EPSILON): Use macro-constant. Give upper bound.
22283 (DBL_EPSILON): Likewise.
22284 (LDBL_EPSILON): Likewise.
22285 (FLT_MIN): Likewise.
22286 (DBL_MIN): Likewise.
22287 (LDBL_MIN): Likewise.
22288 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
22289 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
22290 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
22291 [ISO11] (FLT_HAS_SUBNORM): Likewise.
22292 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
22293 [ISO11] (DBL_DECIMAL_DIG): Likewise.
22294 [ISO11] (FLT_DECIMAL_DIG): Likewise.
22295 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
22296 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
22297 [ISO11] (FLT_TRUE_MIN): Likewise.
22298 [ISO11] (LDBL_TRUE_MIN): Likewise.
22299 [ISO || ISO99 || ISO11] (*_t): Do not allow.
22300 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
22301 (SCHAR_MIN): Use macro-int-constant. Specify type.
22302 (SCHAR_MAX): Likewise.
22303 (UCHAR_MAX): Likewise.
22304 (CHAR_MIN): Likewise.
22305 (CHAR_MAX): Likewise.
22306 (MB_LEN_MAX): Use macro-int-constant.
22307 (SHRT_MIN): Use macro-int-constant. Specify type.
22308 (SHRT_MAX): Likewise.
22309 (USHRT_MAX): Likewise.
22310 (INT_MAX): Likewise.
22311 (INT_MIN): Use macro-int-constant. Specify type. Make upper
22313 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
22315 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
22317 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
22318 bound negative. Suffix upper bound with "L".
22319 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
22321 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
22323 [C99-based standards] (LLONG_MAX): Likewise.
22324 [C99-based standards] (ULLONG_MAX): Likewise.
22325 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
22327 [ISO11] (max_align_t): Require type.
22328 [ISO || ISO99 || ISO11] (*_t): Do not allow.
22330 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
22331 from $CFLAGS, without defining away __attribute__ calls.
22332 (checknamespace): Use $CFLAGS_namespace.
22334 * conform/conformtest.pl (@keywords): Only include C99 keywords
22335 for standards based on C99 or C11.
22337 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
22339 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
22342 * conform/conformtest.pl: Handle "macro-int-constant" and test for
22343 usability of symbols in #if.
22345 * conform/conformtest.pl: If macro or constant types start
22346 "promoted:", expect the symbol to be of the following type
22347 promoted by the integer promotions.
22349 * conform/conformtest.pl: Parse all "constant" and "macro" lines
22350 in one place. Also handle "macro-constant".
22352 * conform/conformtest.pl: Only accept expected macro values with
22353 "==". Parse all "macro" lines in one place.
22354 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
22356 * conform/conformtest.pl: Handle braced types on "constant" lines
22357 instead of handling "typed-constant".
22358 * conform/data/signal.h-data: Use "constant" instead of
22361 * conform/conformtest.pl: Handle "optional-" at start of lines in
22362 one place rather than duplicating several cases. Handle each
22363 format of "macro" line with initial "optional-".
22365 * conform/conformtest.pl: Only accept expected constant or
22366 optional-constant values with "==". Parse all "constant" lines in
22367 one place. Parse all "optional-constant" lines in one place.
22368 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
22369 * conform/data/fmtmsg.h-data: Likewise.
22370 * conform/data/netinet/in.h-data: Likewise.
22371 * conform/data/tar.h-data: Likewise.
22372 * conform/data/limits.h-data: Use "==" form on "constant" and
22373 "optional-constant" lines.
22375 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
22376 Use -std=c99 for XOPEN2K.
22377 (@knownproblems): Remove.
22378 (newtoken): Don't check %isknown.
22380 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
22381 Do not expect macro.
22382 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
22383 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
22384 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
22385 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
22386 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
22387 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
22388 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
22389 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
22390 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
22391 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
22392 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
22393 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
22394 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
22395 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
22396 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
22397 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
22398 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
22399 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
22400 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
22401 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
22402 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
22403 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
22404 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
22405 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
22406 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
22407 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
22408 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
22409 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
22410 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
22411 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
22412 [XPG3] (acosh): Likewise.
22413 [XPG3] (asinh): Likewise.
22414 [XPG3] (atanh): Likewise.
22415 [XPG3] (cbrt): Likewise.
22416 [XPG3] (expm1): Likewise.
22417 [XPG3] (ilogb): Likewise.
22418 [XPG3] (log1p): Likewise.
22419 [XPG3] (logb): Likewise.
22420 [XPG3] (nextafter): Likewise.
22421 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
22422 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
22423 [XPG3] (remainder): Likewise.
22424 [XPG3] (rint): Likewise.
22425 [XPG3 || XPG4 || UNIX98] (round): Likewise.
22426 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
22427 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
22428 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
22429 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
22430 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
22431 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
22432 [UNIX98 || XOPEN2K] (scalb): Expect.
22433 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
22434 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
22435 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
22436 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
22437 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
22438 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
22439 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
22440 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
22441 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
22442 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
22443 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
22444 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
22445 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
22446 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
22447 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
22448 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
22449 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
22450 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
22451 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
22452 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
22453 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
22454 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
22455 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
22456 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
22457 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
22458 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
22459 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
22460 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
22461 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
22462 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
22463 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
22464 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
22465 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
22466 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
22467 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
22468 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
22469 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
22470 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
22471 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
22472 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
22473 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
22474 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
22475 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
22476 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
22477 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
22478 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
22479 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
22480 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
22481 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
22482 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
22483 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
22484 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
22485 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
22486 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
22487 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
22488 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
22489 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
22490 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
22491 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
22492 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
22493 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
22494 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
22495 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
22496 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
22497 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
22498 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
22499 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
22500 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
22501 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
22502 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
22503 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
22504 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
22505 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
22506 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
22507 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
22508 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
22509 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
22510 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
22511 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
22512 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
22513 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
22514 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
22515 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
22516 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
22517 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
22518 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
22519 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
22520 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
22521 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
22522 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
22523 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
22524 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
22525 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
22526 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
22527 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
22528 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
22529 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
22530 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
22531 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
22532 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
22533 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
22534 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
22535 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
22536 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
22537 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
22538 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
22539 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
22540 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
22541 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
22542 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
22543 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
22544 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
22545 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
22546 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
22547 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
22548 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
22549 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
22550 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
22551 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
22552 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
22553 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
22554 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
22555 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
22556 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
22557 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
22558 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
22559 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
22560 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
22561 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
22562 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
22563 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
22564 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
22565 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
22566 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
22567 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
22568 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
22569 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
22571 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
22572 _XOPEN_SOURCE_EXTENDED for XPG4.
22574 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
22576 * Makeconfig (localtime): Remove variable.
22577 (inst_localtime-file): Likewise.
22579 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
22581 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
22583 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22585 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
22587 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
22589 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
22591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
22593 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
22597 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
22600 2012-05-01 Joseph Myers <joseph@codesourcery.com>
22604 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
22605 comparisons to determine direction to adjust input.
22606 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
22607 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
22608 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
22610 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
22612 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
22614 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
22615 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
22617 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
22619 * math/libm-test.inc (nexttoward_test): Add more tests.
22621 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
22624 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
22625 in version GLIBC_2.1, not GLIBC_2.0.
22626 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
22629 2012-04-30 Joseph Myers <joseph@codesourcery.com>
22632 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
22634 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
22635 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
22636 * math/libm-test.inc (acos_test): Add more tests.
22637 (asin_test): Likewise.
22638 * sysdeps/i386/fpu/libm-test-ulps: Update.
22639 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22642 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
22644 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
22645 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
22646 * math/libm-test.inc (acos_test_tonearest): New function.
22647 (acos_test_towardzero): Likewise.
22648 (acos_test_downward): Likewise.
22649 (acos_test_upward): Likewise.
22650 (asin_test_tonearest): Likewise.
22651 (asin_test_towardzero): Likewise.
22652 (asin_test_downward): Likewise.
22653 (asin_test_upward): Likewise.
22654 (main): Call the new functions.
22655 * sysdeps/i386/fpu/libm-test-ulps: Update.
22656 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22660 * math/e_exp10.c: Include <float.h>.
22661 (__ieee754_exp10): Handle underflow here rather than multiplying
22662 large negative argument by M_LN10.
22663 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
22665 * math/e_exp10l.c: Include <float.h>.
22666 (__ieee754_exp10l): Handle underflow here rather than multiplying
22667 large negative argument by M_LN10l.
22668 * math/libm-test.inc (exp10_test): Add another test. Do not allow
22669 spurious overflow exception on underflow.
22671 2012-04-29 Marek Polacek <polacek@redhat.com>
22673 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
22674 (__fortify_function): New macro.
22675 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
22676 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
22677 __extern_always_inline.
22678 * libio/bits/stdio2.h: Likewise.
22679 * libio/bits/stdio.h: Likewise.
22680 * string/string.h: Likewise.
22681 * string/bits/string3.h: Likewise.
22682 * include/stdio.h: Likewise.
22683 * stdlib/bits/stdlib.h: Likewise.
22684 * stdlib/stdlib.h: Likewise.
22685 * rt/bits/mqueue2.h: Likewise.
22686 * rt/mqueue.h: Likewise.
22687 * posix/bits/unistd.h: Likewise.
22688 * posix/unistd.h: Likewise.
22689 * io/bits/poll2.h: Likewise.
22690 * io/bits/fcntl2.h: Likewise.
22691 * io/fcntl.h: Likewise.
22692 * io/sys/poll.h: Likewise.
22693 * misc/bits/syslog.h: Likewise.
22694 * misc/bits/syslog-ldbl.h: Likewise.
22695 * misc/sys/syslog.h: Likewise.
22696 * socket/bits/socket2.h: Likewise.
22697 * socket/sys/socket.h: Likewise.
22698 * debug/tst-chk1.c: Likewise.
22699 * wcsmbs/bits/wchar2.h: Likewise.
22700 * wcsmbs/bits/wchar-ldbl.h: Likewise.
22701 * wcsmbs/wchar.h: Likewise.
22703 2012-04-29 Andreas Jaeger <aj@suse.de>
22705 * Makerules (tests): Remove enable-check-abi protection.
22706 (check-abi-warn): Remove.
22707 (check-abi-%): Remove check-abi-warn usage.
22709 * configure.in: Remove check-abi configure option.
22710 * configure: Regenerated.
22711 * config.make.in (enable-check-abi): Remove.
22713 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
22716 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
22717 double functions to double *_finite functions.
22720 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
22721 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
22723 * stdio-common/Makefile (tests): Add tst-sprintf3.
22724 * stdio-common/tst-sprintf3.c: New file.
22726 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
22727 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
22729 2012-04-28 Joseph Myers <joseph@codesourcery.com>
22731 * conform/conformtest.pl: Remove duplicate typed-constant
22734 2012-04-28 David S. Miller <davem@davemloft.net>
22736 * Makerules (%.abilist): Add vpath on sysdep_dirs.
22737 (check-abi-%): Remove AWK script prerequisite and explicit
22739 (check-abi): Rewrite to just diff the symlist with the abilist.
22740 (config-tls, config-abi-config): Delete, no longer used.
22741 (update-abi-%): Remove AWK script and explicit abilist directory.
22742 (update-abi): Rewrite to simply compare and conditionally copy the
22743 symlist and the sysdep abilist file. Remove update-abi-config
22745 * abilist/ld.abilist: Remove.
22746 * abilist/libBrokenLocale.abilist: Remove.
22747 * abilist/libanl.abilist: Remove.
22748 * abilist/libcrypt.abilist: Remove.
22749 * abilist/libdl.abilist: Remove.
22750 * abilist/librt.abilist: Remove.
22751 * abilist/libthread_db.abilist: Remove.
22752 * abilist/libutil.abilist: Remove.
22753 * scripts/extract-abilist.awk: Remove.
22754 * scripts/merge-abilist.awk: Remove.
22755 * sysdeps/generic/libcidn.abilist: New file.
22756 * sysdeps/generic/libnss_compat.abilist: New file.
22757 * sysdeps/generic/libnss_db.abilist: New file.
22758 * sysdeps/generic/libnss_dns.abilist: New file.
22759 * sysdeps/generic/libnss_files.abilist: New file.
22760 * sysdeps/generic/libnss_hesiod.abilist: New file.
22761 * sysdeps/generic/libnss_nis.abilist: New file.
22762 * sysdeps/generic/libnss_nisplus.abilist: New file.
22763 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
22764 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
22765 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
22767 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
22768 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
22769 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
22770 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
22771 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
22772 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
22773 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
22774 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
22775 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
22777 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
22778 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
22779 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
22780 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
22782 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
22783 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
22784 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
22785 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
22786 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
22787 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
22789 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
22790 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
22791 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
22793 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
22794 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
22796 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
22798 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
22800 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
22802 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
22804 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
22806 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
22808 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
22810 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
22812 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
22814 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
22816 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
22818 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
22820 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
22822 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
22824 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
22826 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
22828 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
22830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
22832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
22834 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
22836 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
22838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
22840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
22842 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
22844 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
22846 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
22847 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
22849 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
22851 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
22853 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
22855 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
22857 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
22859 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
22861 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
22863 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
22865 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
22867 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
22869 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
22871 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
22872 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
22874 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
22876 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
22878 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
22880 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
22882 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
22884 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
22886 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
22888 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
22890 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
22892 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
22894 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
22896 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
22897 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
22898 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
22900 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
22901 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
22902 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
22903 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
22904 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
22905 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
22906 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
22907 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
22908 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
22909 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
22910 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
22911 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
22913 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
22915 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
22917 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
22919 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
22921 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
22923 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
22925 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
22927 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
22929 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
22931 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
22933 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
22935 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
22936 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
22938 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
22940 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
22942 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
22944 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
22946 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
22948 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
22950 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
22952 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
22954 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
22956 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
22958 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
22961 2012-04-28 Joseph Myers <joseph@codesourcery.com>
22963 * conform/conformtest.pl: Fix typo in handling typed-constant from
22966 2012-04-27 Joseph Myers <joseph@codesourcery.com>
22968 * README: Cut down references to pre-2.6 Linux kernels and
22969 Linuxthreads. Update lists of configurations in libc and ports
22970 and sort alphabetically. Say "or newer" with Linux kernel version
22973 * config.h.in [IS_IN_build]: Allow compiling without optimization.
22975 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
22978 * math/libm-test.inc (logb_test_downward): New test to expose
22979 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
22982 2012-04-27 Joseph Myers <joseph@codesourcery.com>
22985 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
22987 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
22988 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
22990 2012-04-26 Joseph Myers <joseph@codesourcery.com>
22992 * sysdeps/unix/i386/brk.S: Remove file.
22993 * sysdeps/unix/i386/dl-brk.S: Likewise.
22994 * sysdeps/unix/i386/pipe.S: Likewise.
22995 * sysdeps/unix/i386/sigreturn.S: Likewise.
22996 * sysdeps/unix/i386/syscall.S: Likewise.
22997 * sysdeps/unix/i386/vfork.S: Likewise.
22998 * sysdeps/unix/i386/wait.S: Likewise.
23000 * sysdeps/unix/common/tcsendbrk.c: Move to ...
23001 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
23003 * configure.in (arm*-none*): Do not allow without
23004 --enable-hacker-mode.
23005 (netbsd*): Remove case setting base_os.
23006 (386bsd*): Likewise.
23007 (freebsd*): Likewise.
23010 (sunos*): Likewise.
23011 (ultrix*): Likewise.
23012 (newsos*): Likewise.
23013 (dynix*): Likewise.
23019 (minix*): Likewise.
23020 (irix4*): Likewise.
23021 (irix6*): Likewise.
23022 (solaris[2-9]*): Likewise.
23024 * configure: Regenerated.
23026 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23029 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
23030 overflow or cancellation in calculating denominator.
23031 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
23032 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
23033 down expression to avoid unexpected rounding in newer GCCs.
23034 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
23036 2012-04-26 David S. Miller <davem@davemloft.net>
23038 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
23039 long-double compat symbols.
23040 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
23041 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
23042 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
23043 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
23044 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
23045 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
23046 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
23047 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
23048 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
23049 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
23050 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
23051 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
23052 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
23054 2012-04-25 David S. Miller <davem@davemloft.net>
23056 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
23057 HWCAP_* values only after the memory barriers have been defined.
23058 (atomic_full_barrier): Define.
23059 (atomic_read_barrier): Define.
23060 (atomic_write_barrier): Define.
23062 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
23064 * shlib-versions: Add libgcc_s version information.
23065 * sysdeps/generic/libgcc_s.h: Remove.
23066 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
23068 * sysdeps/gnu/unwind-resume.c: Likewise.
23069 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
23071 2012-04-25 David S. Miller <davem@davemloft.net>
23073 * sysdeps/unix/sparc/brk.S: Delete.
23074 * sysdeps/unix/sparc/dl-brk.S: Delete.
23075 * sysdeps/unix/sparc/pipe.S: Delete.
23076 * sysdeps/unix/sparc/sysdep.S: Delete.
23077 * sysdeps/unix/sparc/sysdep.h: Delete.
23078 * sysdeps/unix/sparc/vfork.S: Delete.
23079 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
23080 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
23081 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
23082 ret_ERRVAL, r0, r1, MOVE): Define.
23083 (JUMPTARGET): Remove.
23084 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
23085 sysdeps/unix/sparc/sysdep.h
23086 (ENTRY, END): Remove.
23087 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23089 2012-04-25 Joseph Myers <joseph@codesourcery.com>
23091 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
23092 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
23095 * timezone/README: Update upstream location and email address for
23097 * timezone/zdump.c: Update from tzcode 2012b.
23098 * timezone/zic.c: Likewise.
23100 * configure.in (libc_cv_as_needed): Remove test.
23101 * configure: Regenerated.
23102 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
23103 conditional definition.
23104 [$(have-as-needed) != yes] (no-as-needed): Likewise.
23105 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
23106 * config.make.in (have-as-needed): Remove variable.
23108 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
23109 Paul Pluzhnikov <ppluzhnikov@google.com>
23111 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
23114 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
23116 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
23117 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
23118 * sysdeps/sh/strlen.S: Likewise.
23120 2012-04-24 Joseph Myers <joseph@codesourcery.com>
23122 * sysdeps/unix/fork.S: Remove file.
23123 * sysdeps/unix/i386/fork.S: Likewise.
23124 * sysdeps/unix/sparc/fork.S: Likewise.
23126 * sysdeps/unix/system.c: Remove file.
23127 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
23129 * sysdeps/unix/getegid.S: Remove file.
23130 * sysdeps/unix/geteuid.S: Likewise.
23132 2012-04-24 Roland McGrath <roland@hack.frob.com>
23134 * scripts/check-localplt.awk: New file.
23135 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
23137 * scripts/data/localplt-generic.data: Add a comment.
23139 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
23140 NODE when __dir_mkfile failed.
23141 * sysdeps/mach/hurd/symlinkat.c: Likewise.
23142 Reported by Ludovic Courtès <ludo@gnu.org>.
23144 2012-04-24 Andreas Jaeger <aj@suse.de>
23146 * Makerules (common-clean): Also remove gen-as-const-headers
23149 2012-04-24 Joseph Myers <joseph@codesourcery.com>
23151 * Makerules (native-compile): Do not change working directory for
23152 build. Use $(OUTPUT_OPTION) in command.
23153 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
23155 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23158 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
23159 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
23160 * math/libm-test.inc (floor_test): Add more tests.
23161 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
23163 2012-04-24 Joseph Myers <joseph@codesourcery.com>
23165 * sysdeps/unix/getdents.c: Remove file.
23166 * sysdeps/unix/sysv/getdents.c: Likewise.
23167 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
23169 * sysdeps/unix/syscalls.list (madvise): Add syscall from
23170 sysdeps/unix/mman/syscalls.list.
23172 (mprotect): Likewise.
23174 (munmap): Likewise.
23175 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
23176 * sysdeps/unix/mman/syscalls.list: Remove.
23177 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
23179 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
23180 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
23181 * configure: Regenerated.
23182 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
23183 $(libgcc_s_suffix).
23184 * config.make.in (libgcc_s_suffix): Remove variable.
23186 2012-04-23 Joseph Myers <joseph@codesourcery.com>
23188 * sysdeps/unix/sysv/gethostname.c: Move to ...
23189 * sysdeps/posix/gethostname.c: ... here.
23191 * sysdeps/unix/execve.S: Remove file.
23193 * sysdeps/unix/_exit.S: Remove file.
23195 2012-04-23 Andreas Jaeger <aj@suse.de>
23198 * manual/Makefile: Remove make dist support, there's no
23199 need for a stand-alone documentation tar ball.
23200 (TEXI2DVI): Define always, it's not in Makeconfig.
23203 (edition): Removed.
23204 (glibc-doc-$(edition).tar): Removed
23208 (ETAGS): Remove, it's in Makeconfig.
23209 (move-if-change): Remove, it's in Makeconfig.
23211 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
23214 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
23215 (strtod, strtof, strtold, strtol, strtoul, strtoq)
23216 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
23217 (strtod_l, strtof_l, strtold_l): Remove __wur.
23218 It is not necessarily an error to ignore strtol's return value.
23219 One can reliably look at the stored endptr to decide whether
23220 the number had valid syntax.
23222 2012-04-21 Andreas Jaeger <aj@suse.de>
23225 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
23227 2012-04-21 Joseph Myers <joseph@codesourcery.com>
23229 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
23230 * sysdeps/unix/sysv/Versions: Remove file.
23232 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
23235 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23237 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
23240 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
23241 version from __vm86.
23243 2012-04-20 Joseph Myers <joseph@codesourcery.com>
23245 * sysdeps/unix/common/lxstat.c: Remove file.
23246 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
23248 * sysdeps/unix/sysv/Makefile: Remove file.
23250 * sysdeps/unix/sysv/direct.h: Remove file.
23252 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
23253 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
23254 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
23255 * sysdeps/unix/sysv/bits/signum.h: Likewise.
23256 * sysdeps/unix/sysv/bits/stat.h: Likewise.
23257 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
23258 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
23260 * sysdeps/unix/sysv/setrlimit.c: Remove file.
23262 * sysdeps/unix/xmknod.c: Remove file.
23263 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
23265 * sysdeps/unix/sysv/settimeofday.c: Remove file.
23267 * sysdeps/unix/sysv/i386/time.S: Remove file.
23269 * sysdeps/unix/fxstat.c: Remove file.
23270 * sysdeps/unix/xstat.c: Likewise.
23271 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
23273 * sysdeps/unix/sysv/sigaction.c: Remove file.
23275 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
23276 (sysdep_headers): Remove variable.
23277 [termio.h not in sysdep_headers] (generated): Likewise.
23278 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
23279 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
23280 * sysdeps/unix/sysv/tcdrain.c: Likewise.
23281 * sysdeps/unix/sysv/tcflow.c: Likewise.
23282 * sysdeps/unix/sysv/tcflush.c: Likewise.
23283 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
23284 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
23285 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
23286 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
23287 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
23289 * sysdeps/unix/siglist.c: Remove file.
23291 * sysdeps/unix/getppid.S: Remove file.
23293 * sysdeps/unix/mkdir.c: Remove file.
23294 * sysdeps/unix/rmdir.c: Likewise.
23296 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
23298 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
23300 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
23301 errlist-compat value.
23303 2012-04-18 David S. Miller <davem@davemloft.net>
23305 * sysdeps/generic/memcopy.h (reg_char): Delete.
23306 * debug/strcat_chk.c: Use char, not reg_char.
23307 * debug/strcpy_chk.c: Likewise.
23308 * debug/strncat_chk.c: Likewise.
23309 * debug/strncpy_chk.c: Likewise.
23310 * string/memchr.c: Likewise.
23311 * string/memrchr.c: Likewise.
23312 * string/rawmemchr.c: Likewise.
23313 * string/strcat.c: Likewise.
23314 * string/strchr.c: Likewise.
23315 * string/strchrnul.c: Likewise.
23316 * string/strcmp.c: Likewise.
23317 * string/strcpy.c: Likewise.
23318 * string/strncat.c: Likewise.
23319 * string/strncmp.c: Likewise.
23320 * string/strncpy.c: Likewise.
23322 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
23324 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
23325 __builtin_memcopy is called when src and dest ranges are known to not
23328 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
23330 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
23331 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
23332 fwd_align_merge macro call.
23333 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
23334 bwd_align_merge macro call.
23335 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
23337 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
23339 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
23340 bwd_align_merge macros.
23341 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
23342 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
23343 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
23345 2012-04-18 David S. Miller <davem@davemloft.net>
23347 * sysdeps/sparc/sparc64/memcopy.h: Delete.
23349 2012-04-18 Andreas Jaeger <aj@suse.de>
23352 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
23353 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
23354 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
23356 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
23357 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
23358 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
23360 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
23361 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
23362 Adjust for changed ldbl-128 files.
23364 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
23365 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
23366 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
23368 2012-04-17 David S. Miller <davem@davemloft.net>
23370 * sysdeps/sparc/sparc32/memcopy.h: Delete.
23372 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
23374 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
23375 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
23376 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
23377 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
23378 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
23379 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
23381 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23384 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
23385 * math/libm-test.inc: Add ilogb errno and exception tests.
23386 * math/w_ilogb.c: New file: ilogb wrapper.
23387 * math/w_ilogbf.c: New file: ilogbf wrapper.
23388 * math/w_ilogbl.c: New file: ilogbl wrapper.
23389 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
23390 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
23391 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
23392 exception being thrown with 0.0 as argument.
23393 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
23394 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
23395 exception being thrown with 0.0 as argument.
23396 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
23397 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
23398 exception being thrown with 0.0 as argument.
23399 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
23400 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
23401 exception being thrown with 0.0 as argument.
23402 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
23403 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
23404 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
23405 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
23406 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
23407 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
23408 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
23409 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
23410 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
23412 2012-04-17 Petr Baudis <pasky@ucw.cz>
23414 * include/sys/uio.h: Change __vector to __iovec to avoid clash
23417 2012-04-16 Marek Polacek <polacek@redhat.com>
23419 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
23421 2012-04-16 Marek Polacek <polacek@redhat.com>
23423 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
23424 operands of fdivp instruction.
23426 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
23428 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
23429 * elf/tst-auditmod3b.c: Likewise.
23430 * elf/tst-auditmod4b.c: Likewise.
23431 * elf/tst-auditmod5b.c: Likewise.
23432 * elf/tst-auditmod6b.c: Likewise.
23433 * elf/tst-auditmod6c.c: Likewise.
23434 * elf/tst-auditmod7b.c: Likewise.
23435 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
23436 * sysdeps/x86_64/preconfigure.in: Likewise.
23437 * sysdeps/x86_64/preconfigure: Regenerated.
23439 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
23441 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
23444 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
23446 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
23447 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
23449 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
23452 * locale/iso-639.def: Fix gl language name. Spotted by
23455 2012-04-12 Roland McGrath <roland@hack.frob.com>
23458 * libio/libio.h (__io_write_fn): Update comment.
23460 2012-04-12 Petr Baudis <pasky@ucw.cz>
23463 * stdio.texi (Hook Functions): The user provided writer function
23464 is not allowed to return -1.
23466 2012-04-11 David S. Miller <davem@davemloft.net>
23468 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23470 2012-04-11 Mike Frysinger <vapier@gentoo.org>
23472 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
23473 Add a leading slash to rtkaio.
23475 2012-04-11 Jim Meyering <meyering@redhat.com>
23478 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
23479 It is not necessarily an error to ignore fwrite's return
23480 value. One can reliably use ferror to test for errors after
23483 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
23485 * bits/types.h (__snseconds_t): New type.
23486 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
23488 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
23489 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23490 (__SNSECONDS_T_TYPE): Likewise.
23491 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23492 (__SNSECONDS_T_TYPE): Likewise.
23493 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23494 (__SNSECONDS_T_TYPE): Likewise.
23496 2012-04-10 Andreas Jaeger <aj@suse.de>
23499 * manual/time.texi (Processor Time): Return type of times is
23500 elapsed real time since an arbitrary point in the past.
23501 (CPU Time): Move CLK_TCK from here...
23502 (Processor Time): ...to here. Correct description.
23503 * manual/conf.texi (Constants for Sysconf): Correct description of
23506 2012-04-10 David S. Miller <davem@davemloft.net>
23509 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
23510 where the is a gap between DT_REL(A) and DT_JMPREL.
23512 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
23514 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
23515 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
23516 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
23518 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
23520 * elf/dl-support.c (_dl_inhibit_cache): New variable.
23521 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
23522 (dl_main): Handle --inhibit-cache.
23523 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
23525 * elf/dl-load.c (_dl_map_object): Use it.
23526 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
23528 2012-04-09 Joseph Myers <joseph@codesourcery.com>
23531 * sysdeps/i386/fpu/e_powl.S (p78): New object.
23532 (__ieee754_powl): Saturate large exponents rather than testing for
23533 overflow of y*log2(x).
23534 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
23535 * math/libm-test.inc (pow_test): Do not permit spurious overflow
23539 * math/s_ctan.c: Include <float.h>.
23540 (__ctan): Avoid internal overflow or cancellation in calculating
23542 * math/s_ctanf.c: Likewise.
23543 * math/s_ctanl.c: Likewise.
23544 * math/s_ctanh.c: Likewise.
23545 * math/s_ctanhf.c: Likewise.
23546 * math/s_ctanhl.c: Likewise.
23547 * math/libm-test.inc (ctan_test): Add more tests.
23548 (ctanh_test): Likewise.
23549 * sysdeps/i386/fpu/libm-test-ulps: Update.
23550 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23552 2012-04-09 Andreas Jaeger <aj@suse.de>
23555 * manual/filesys.texi (Directory Entries): Mention that d_namlen
23556 is an optional BSD extension.
23559 * manual/stdio.texi (Opening Streams): Document additional fopen
23562 2012-04-09 Roland McGrath <roland@hack.frob.com>
23564 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
23565 %eax without telling the compiler.
23567 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
23570 * manual/install.texi: Use sourceware.org.
23572 2012-04-09 Joseph Myers <joseph@codesourcery.com>
23575 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
23576 (__ieee754_pow): Generate overflow and underflow using huge*huge
23577 and tiny*tiny rather than just returning constant infinity or zero
23578 for large exponents.
23579 * math/libm-test.inc (pow_test): Require overflow exceptions for
23580 applicable cases of large exponents.
23583 * sysdeps/i386/fpu/e_pow.S (p10): New object.
23584 (__ieee754_pow): Use iterative multiplication algorithm only for
23585 integer exponents with absolute value below 1024. Check for odd
23586 integer exponents when using algorithm for real exponents.
23587 * math/libm-test.inc (pow_test): Add more tests.
23588 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23590 2012-04-08 Joseph Myers <joseph@codesourcery.com>
23593 * math/libm-test.inc (exp_test): Do not allow overflow exception
23596 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
23599 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
23600 instead of __kernel_standard_f.
23602 2012-04-08 Mike Frysinger <vapier@gentoo.org>
23604 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
23605 * sysdeps/x86_64/memset_chk.S: Likewise.
23607 2012-04-08 Andreas Jaeger <aj@suse.de>
23610 * manual/startup.texi (Environment Access): Describe return value
23611 for putenv and setenv.
23614 * manual/filesys.texi (Directory Entries): Add description for
23618 * manual/filesys.texi (Directory Entries): Clarify that it's file
23619 system not operating system in the description of DT_UNKNOWN.
23622 * manual/syslog.texi (closelog): Fix reference, it's openlog.
23624 2012-04-08 Stephen Compall <s11@member.fsf.org>
23627 * manual/llio.texi (Opening and Closing Files): Add cross
23628 reference to explain mode argument.
23630 2012-04-07 Mike Frysinger <vapier@gentoo.org>
23632 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
23633 * sysdeps/x86_64/memset_chk.S: Likewise.
23635 2012-04-07 David S. Miller <davem@davemloft.net>
23637 * elf/elf.h (R_SPARC_WDISP10): Define.
23638 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
23640 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
23641 R_SPARC_SIZE64 and R_SPARC_H34.
23643 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
23645 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
23646 conditions and remove no longer applicable assertion.
23648 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
23650 * bits/byteswap.h: Include <features.h>.
23651 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
23652 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
23654 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
23656 * bits/byteswap.h (__bswap_16): Removed.
23657 Include <bits/byteswap-16.h> to get __bswap_16.
23658 * sysdeps/i386/bits/byteswap.h: Likewise.
23659 * sysdeps/s390/bits/byteswap.h: Likewise.
23660 * sysdeps/x86_64/bits/byteswap.h: Likewise.
23661 * bits/byteswap-16.h: New file.
23662 * sysdeps/i386/bits/byteswap-16.h: Likewise.
23663 * sysdeps/s390/bits/byteswap-16.h: Likewise.
23664 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
23665 * string/Makefile (headers): Add bits/byteswap-16.h.
23667 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
23670 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
23672 * nss/Makefile (tests-static, tests): Add tst-nss-static.
23673 * nss/tst-nss-static.c: New.
23675 2012-04-06 Robert Millan <rmh@gnu.org>
23678 * manual/llio.texi (File Position Primitive): lseek
23679 refers to WHENCE when it really means OFFSET.
23681 2012-04-06 Andreas Jaeger <aj@suse.de>
23683 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
23684 strncmp declarations.
23686 * abilist/libc.abilist: Add __poll and __ppoll.
23688 2012-04-05 David S. Miller <davem@davemloft.net>
23690 * scripts/check-local-headers.sh: Accept a host triplet in the
23691 path matched by the exclude regexp.
23693 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
23695 * sysdeps/powerpc/powerpc32/dl-machine.h
23696 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
23697 * sysdeps/s390/s390-32/dl-machine.h
23698 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
23699 * sysdeps/sparc/sparc32/dl-machine.h
23700 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
23701 * sysdeps/sparc/sparc64/dl-machine.h
23702 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
23704 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
23706 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
23707 undefined symbol errors.
23709 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
23712 2012-04-05 Michael Matz <matz@suse.de>
23715 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
23717 2012-04-05 Andreas Jaeger <aj@suse.de>
23720 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
23723 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
23725 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
23726 which ROUND is no valid rounding mode.
23728 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
23730 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
23732 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
23734 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
23736 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
23737 an exception using FPU order intentionally.
23739 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
23741 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
23742 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
23743 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
23744 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
23746 2012-04-05 Simon Josefsson <simon@josefsson.org>
23749 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
23750 EINVAL when BUFLEN is too smal.
23752 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
23755 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
23756 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
23758 2012-04-03 Andreas Jaeger <aj@suse.de>
23761 * manual/setjmp.texi (System V contexts): Fix sentence.
23764 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
23765 New macro for this case.
23766 [!__GNUC__] (__bswap_64): New inline function for this case.
23767 * sysdeps/x86_64/bits/byteswap.h: Likewise.
23768 * bits/byteswap.h: Likewise.
23769 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
23770 ull, guard with __GLIBC_HAVE_LONG_LONG.
23772 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
23773 __GLIBC_HAVE_LONG_LONG.
23775 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
23776 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
23778 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23781 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
23782 inptr and inend, rather than using last_ch.
23784 2012-04-02 David S. Miller <davem@davemloft.net>
23786 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
23787 * stdio-common/printf-parse.h (read_int): Change return type to
23788 'int', return -1 on INT_MAX overflow.
23789 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
23790 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
23791 overflows INT_MAX. Check for overflow of in-format-string precision
23792 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
23793 SIZE_MAX not INT_MAX for integer overflow test.
23794 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
23795 skip the construct in the format string but do not record anything.
23796 * stdio-common/bug22.c: Adjust to test both width/prevision
23797 INT_MAX overflow as well as total length INT_MAX overflow. Check
23798 explicitly for proper errno values.
23800 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
23802 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
23804 * string/test-strcmp.c [! WIDE]: Likewise.
23805 * time/tst-mktime2.c: Likewise for INT_MAX.
23806 * string/test-string.h: #include <sys/param.h> for MIN.
23808 * csu/init-first.c (__libc_init_first): Call __ctype_init.
23809 * sysdeps/i386/init-first.c (init): Likewise.
23810 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
23811 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
23812 * sysdeps/sh/init-first.c (init): Likewise.
23814 2012-04-01 Ulrich Drepper <drepper@gmail.com>
23816 * po/ru.po: Update from translation team.
23817 * po/vi.po: Likewise.
23819 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
23821 * resolv/nss_dns/dns-host.c: Merge copyright years.
23823 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23825 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
23826 Optimize memcpy with prefetch if
23827 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
23828 src, dst pointers have unequal 16 byte alignments.
23830 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
23833 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
23834 from a CNAME entry and return the minimum ttl for the query.
23835 (gaih_getanswer_slice): Likewise.
23837 2012-03-30 Jeff Law <law@redhat.com>
23839 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
23841 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
23842 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
23844 * resolv/nss_dns/dns-host.c: Update copyright year.
23846 2012-03-30 Ulrich Drepper <drepper@gmail.com>
23848 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
23849 requests to save a system call. Fix check that all bytes are sent.
23851 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
23852 comments for sendmmsg.
23854 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23857 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
23858 with only 1 character between 0x0041 and 0x01b0.
23859 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
23860 * wcsmbs/tst-mbsnrtowcs.c: New file.
23862 2012-03-29 David S. Miller <davem@davemloft.net>
23864 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
23865 small copies by hand.
23867 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23870 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
23871 _nss_compat_initgroups_dyn): Fall back to malloc/free
23872 for large group memberships.
23874 2012-03-28 David S. Miller <davem@davemloft.net>
23876 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
23877 that branches into memcpy.
23878 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
23879 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
23880 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
23881 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
23882 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
23884 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
23885 implementation too.
23886 * sysdeps/sparc/mempcpy.S: New file.
23888 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
23889 the IFUNC routine in the libc case.
23890 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
23892 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
23893 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
23894 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
23895 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
23896 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
23897 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
23898 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
23899 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
23901 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
23902 loop to 256 bytes instead of 64 bytes and fix test signedness.
23904 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
23905 * sysdeps/sparc/sparc32/Makefile: rather than here...
23906 * sysdeps/sparc/sparc64/Makefile: and here.
23908 2012-03-28 Ulrich Drepper <drepper@gmail.com>
23910 * malloc/mallocbug.c: Avoid warnings about unused variables.
23912 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
23915 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
23916 in the right place. Discard and retry query if response is
23917 larger than input buffer size.
23919 2012-03-28 Joseph Myers <joseph@codesourcery.com>
23924 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
23925 x for large integer exponent.
23926 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
23927 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
23928 sign of result as needed afterwards.
23929 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
23930 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
23931 result for underflowing pow the same as for overflow.
23932 (__kernel_standard_l): Handle powl overflow and underflow here
23933 rather than calling __kernel_standard.
23934 * math/libm-test.inc (pow_test): Add more tests.
23949 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
23950 * sysdeps/ieee754/k_standard.c: Include <float.h>.
23951 (__kernel_standard_l): New function.
23952 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
23954 * math/w_acosl.c (__acosl): Likewise.
23955 * math/w_asinl.c (__asinl): Likewise.
23956 * math/w_atan2l.c (__atan2l): Likewise.
23957 * math/w_atanhl.c (__atanhl): Likewise.
23958 * math/w_coshl.c (__coshl): Likewise.
23959 * math/w_exp10l.c (__exp10l): Likewise.
23960 * math/w_exp2l.c (__exp2l): Likewise.
23961 * math/w_fmodl.c (__fmodl): Likewise.
23962 * math/w_hypotl.c (__hypotl): Likewise.
23963 * math/w_j0l.c (__j0l, __y0l): Likewise.
23964 * math/w_j1l.c (__j1l, __y1l): Likewise.
23965 * math/w_jnl.c (__jnl, __ynl): Likewise.
23966 * math/w_lgammal.c (__lgammal): Likewise.
23967 * math/w_log10l.c (__log10l): Likewise.
23968 * math/w_log2l.c (__log2l): Likewise.
23969 * math/w_logl.c (__logl): Likewise.
23970 * math/w_powl.c (__powl): Likewise.
23971 * math/w_remainderl.c (__remainderl): Likewise.
23972 * math/w_scalbl.c (sysv_scalbl): Likewise.
23973 * math/w_sinhl.c (__sinhl): Likewise.
23974 * math/w_sqrtl.c (__sqrtl): Likewise.
23975 * math/w_tgammal.c (__tgammal): Likewise.
23976 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
23977 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
23978 * math/libm-test.inc (acos_test): Add more tests.
23979 (acosh_test): Likewise.
23980 (asin_test): Likewise.
23981 (atanh_test): Likewise.
23982 (exp_test): Likewise.
23983 (exp10_test): Likewise.
23984 (exp2_test): Likewise.
23985 (expm1_test): Likewise.
23986 (lgamma_test): Likewise.
23987 (log_test): Likewise.
23988 (log10_test): Likewise.
23989 (log1p_test): Likewise.
23990 (log2_test): Likewise.
23991 (pow_test): Do not allow some spurious overflow exceptions.
23992 (sqrt_test): Add more tests.
23993 (tgamma_test): Likewise.
23994 (y0_test): Likewise.
23995 (y1_test): Likewise.
23996 (yn_test): Likewise.
23998 2012-03-27 Anton Blanchard <anton@samba.org>
24000 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
24002 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
24003 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
24004 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
24006 2012-03-27 David S. Miller <davem@davemloft.net>
24008 * conform/Makefile: Run run-conformtest.sh using $(BASH).
24010 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
24011 have-as-vis3 check.
24013 2012-03-27 Andreas Jaeger <aj@suse.de>
24015 * sysdeps/x86_64/elf/configure.in: Moved to ...
24016 * sysdeps/x86_64/configure.in: ... here.
24017 * sysdeps/x86_64/elf/start.S: Moved to ...
24018 * sysdeps/x86_64/start.S: ... here.
24019 * sysdeps/x86_64/elf/configure: Delete.
24021 * sysdeps/x86_64/configure.in: Merge contents from
24022 sysdeps/i386/configure.in (without i686 check).
24024 * sysdeps/i386/elf/Versions: Merge into ...
24025 * sysdeps/i386/Versions: ... this.
24026 * sysdeps/i386/elf/Versions: Delete file.
24027 * sysdeps/i386/elf/start.S: Moved to ...
24028 * sysdeps/i386/start.S: ...here.
24029 * sysdeps/i386/elf/configure.in: Merge into...
24030 * sysdeps/i386/configure.in: ...here.
24031 * sysdeps/i386/elf/configure.in: Delete file.
24032 * sysdeps/i386/elf/configure: Delete file.
24034 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
24035 * debug/backtracesyms.c: ... here.
24036 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
24037 * debug/backtracesymsfd.c: ... here.
24038 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
24039 * sysdeps/generic/ifunc-sel.h: ... here.
24041 * sysdeps/unix/i386/start.c: Delete file.
24042 * sysdeps/unix/sparc/start.c: Delete file.
24043 * sysdeps/unix/start.c: Delete file.
24045 * sysdeps/sh/elf/configure.in: Moved to ...
24046 * sysdeps/sh/configure.in: ... here.
24047 * sysdeps/sh/elf/start.S: Moved to ...
24048 * sysdeps/sh/start.S: ... here.
24049 * sysdeps/sh/elf/configure: Delete file.
24051 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
24052 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
24053 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
24054 * sysdeps/powerpc/powerpc64/entry.h: ... here.
24055 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
24056 * sysdeps/powerpc/powerpc64/start.S: here.
24057 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
24058 * sysdeps/powerpc/powerpc64/Makefile: ... this.
24059 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
24060 * sysdeps/powerpc/powerpc64/configure.in: ... this.
24061 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
24063 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
24064 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
24065 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
24066 * sysdeps/powerpc/powerpc32/start.S: ... here.
24067 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
24068 * sysdeps/powerpc/powerpc32/configure.in: ... this.
24069 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
24071 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
24072 * sysdeps/powerpc/ifunc-sel.h: ... here.
24073 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
24074 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
24076 * sysdeps/sparc/elf/configure.in: Moved to ...
24077 * sysdeps/sparc/configure.in: ... here.
24078 * sysdeps/sparc/elf/configure: Delete file.
24079 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
24080 * sysdeps/sparc/sparc32/start.S: ... here.
24081 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
24082 * sysdeps/sparc/sparc64/start.S: ... here.
24083 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
24084 * sysdeps/sparc/sparc32/Makefile: ... this.
24085 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
24086 * sysdeps/sparc/sparc64/Makefile: ... this.
24088 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
24089 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
24090 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
24091 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
24092 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
24093 * sysdeps/s390/s390-32/setjmp.S: ... here.
24094 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
24095 * sysdeps/s390/s390-32/configure.in: ... here.
24096 * sysdeps/s390/s390-32/elf/configure: Delete file.
24097 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
24098 * sysdeps/s390/s390-32/start.S: ... here.
24100 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
24101 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
24102 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
24103 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
24104 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
24105 * sysdeps/s390/s390-64/setjmp.S: ... here.
24106 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
24107 * sysdeps/s390/s390-64/configure.in: ... here
24108 * sysdeps/s390/s390-64/elf/configure: Delete file.
24109 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
24110 * sysdeps/s390/s390-64/start.S: ... here.
24111 * sysdeps/s390/s390-64/elf/configure: Delete.
24113 * configure.in: Remove support for elf directories in sysdeps.
24115 * configure: Regenerated.
24116 * sysdeps/i386/configure: Regenerated.
24117 * sysdeps/powerpc/powerpc32/configure: Regenerated.
24118 * sysdeps/powerpc/powerpc64/configure: Regenerated.
24119 * sysdeps/s390/s390-32/configure: Regenerated.
24120 * sysdeps/s390/s390-64/configure: Regenerated.
24121 * sysdeps/sh/configure: Regenerated.
24122 * sysdeps/sparc/configure: Regenerated.
24123 * sysdeps/x86_64/configure: Regenerated.
24125 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
24127 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24129 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
24130 denormal result into account.
24132 2012-03-25 Roland McGrath <roland@hack.frob.com>
24134 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
24135 Reported by Allan McRae <allan@archlinux.org>.
24137 2012-03-23 Jeff Law <law@redhat.com>
24139 * nss/getnssent.c (__nss_getent): Fix typo.
24141 2012-03-23 David S. Miller <davem@davemloft.net>
24143 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24145 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
24147 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
24148 to pad to uint64_t for each field.
24149 (dl_tls_index): Replace unsigned long with uint64_t.
24151 2012-03-23 Daniel Jacobowitz <dmj@google.com>
24152 Paul Pluzhnikov <ppluzhnikov@google.com>
24155 * grp/Makefile (otherlibs): Don't set it.
24156 * inet/Makefile (otherlibs): Likewise.
24157 * login/Makefile (otherlibs): Likewise.
24158 * nscd/Makefile (otherlibs): Likewise.
24159 * posix/Makefile (otherlibs): Likewise.
24160 * pwd/Makefile (otherlibs): Likewise.
24161 * rt/Makefile (otherlibs): Likewise.
24162 * sunrpc/Makefile (otherlibs): Likewise.
24163 * nss/Makefile (otherlibs): Likewise.
24164 Add libnss_files to routines and static-only-routines.
24165 ($(objpfx)getent): Remove rule.
24166 * resolv/Makefile: Add libnss_dns and libresolv to routines and
24167 static-only-routines.
24169 2012-03-22 Joseph Myers <joseph@codesourcery.com>
24172 * math/s_cexp.c: Include <float.h>.
24173 (__cexp): Handle exp result overflowing not necessarily
24174 overflowing both real and imaginary parts of result.
24175 * math/s_cexpf.c: Likewise.
24176 * math/s_cexpl.c: Likewise.
24177 * math/libm-test.inc (cexp_test): Add more tests.
24178 * sysdeps/i386/fpu/libm-test-ulps: Update.
24179 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24181 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
24183 * include/link.h (ELFW): New macro.
24184 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
24185 Replace ELF64_R_TYPE with ELFW(R_TYPE).
24187 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
24189 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
24192 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
24194 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
24196 (struct La_x32_retval): Likewise.
24198 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
24200 * sysdeps/x86_64/preconfigure.in: New file.
24201 * sysdeps/x86_64/preconfigure: New generated file.
24203 2012-03-22 Joseph Myers <joseph@codesourcery.com>
24206 * math/e_exp2l.c: Include <float.h>.
24207 (__ieee754_exp2l): Handle overflow and underflow cases
24208 separately. Only pass fractional part of argument to
24210 * math/libm-test.inc (exp2_test): Add more tests.
24212 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
24213 negating x to take absolute value.
24214 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
24216 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
24217 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
24219 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
24220 computing low part if x was negated.
24221 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
24223 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
24225 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
24226 la_x32_gnu_pltexit.
24227 (pltexit): Cast int_retval to ptrdiff_t.
24228 * elf/tst-auditmod3b.c: Likewise.
24229 * elf/tst-auditmod4b.c: Likewise.
24230 * elf/tst-auditmod5b.c: Likewise.
24231 * elf/tst-auditmod6b.c: Likewise.
24232 * elf/tst-auditmod6c.c: Likewise.
24233 * elf/tst-auditmod7b.c: Likewise.
24235 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
24236 and x32_gnu_pltexit.
24238 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
24239 __ELF_NATIVE_CLASS.
24240 (La_x32_regs): New macro.
24241 (La_x32_retval): Likewise.
24242 (la_x32_gnu_pltenter): New function prototype.
24243 (la_x32_gnu_pltexit): Likewise.
24245 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
24247 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
24250 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24252 * configure.in (libc_cv_cc_nofma): Check for option to disable
24253 generation of FMA instructions.
24254 * configure: Regenerate.
24255 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
24256 * sysdeps/ieee754/dbl-64/Makefile: New file.
24257 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
24258 Remove brandred-fma4.
24259 (CFLAGS-brandred-fma4.c): Remove.
24260 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
24261 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
24263 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
24266 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
24268 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
24269 LLONG_MAX != LONG_MAX.
24270 (_itoa_word): Use _ITOA_WORD_TYPE on value.
24271 (_fitoa_word): Likewise.
24272 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
24273 LLONG_MAX != LONG_MAX.
24274 * stdio-common/_itowa.h: Include <_itoa.h>.
24275 (_itowa_word): Use _ITOA_WORD_TYPE on value.
24276 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
24277 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
24278 only if not defined.
24279 (_ITOA_WORD_TYPE): Likewise.
24280 (_itoa_word): Use _ITOA_WORD_TYPE on value.
24281 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
24283 2012-03-21 David S. Miller <davem@davemloft.net>
24285 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24287 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
24289 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
24290 of x86_64 when setting libc_cv_slibdir, libdir and
24292 * sysdeps/unix/sysv/linux/configure: Regenerated.
24294 2012-03-21 Joseph Myers <joseph@codesourcery.com>
24296 * manual/lang.texi (Old Varargs): Remove section.
24297 (How Variadic): Update menu.
24298 (va_start): Do not mention varargs.h.
24300 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
24301 Joseph Myers <joseph@codesourcery.com>
24303 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
24305 * configure: Regenerated.
24307 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
24309 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
24310 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
24313 2012-03-21 Joseph Myers <joseph@codesourcery.com>
24316 * Makefile (files-for-dist): Remove NOTES.
24317 (NOTES): Remove rule.
24318 * README: Don't refer to NOTES.
24319 * manual/creature.texi: Don't include macros.texi.
24320 * manual/intro.texi (creature.texi): Remove comment referring to
24323 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
24324 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
24325 * configure: Regenerated.
24326 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
24327 LIBC_TRY_CC_OPTION.
24328 (libc_cv_as_i686): Likewise.
24329 (libc_cv_cc_avx): Likewise.
24330 (libc_cv_cc_sse2avx): Likewise.
24331 (libc_cv_cc_fma4): Likewise.
24332 (libc_cv_cc_novzeroupper): Likewise.
24333 * sysdeps/i386/configure: Regenerated.
24336 * sysdeps/i386/fpu/s_cexp.S: Remove.
24337 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
24338 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
24339 * math/libm-test.inc (cexp_test): Add more tests.
24340 * sysdeps/i386/fpu/libm-test-ulps: Update.
24341 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24343 2012-03-21 Allan McRae <allan@archlinux.org>
24345 * timezone/Makefile: Do not install iso3166.tab and zone.tab
24347 2012-03-21 Joseph Myers <joseph@codesourcery.com>
24350 * math/w_exp2.c: Do not include <float.h>.
24351 (o_threshold, u_threshold): Remove.
24352 (__exp2): Calculate result before checking finiteness and calling
24354 * math/w_exp2f.c: Likewise.
24355 * math/w_exp2l.c: Likewise.
24356 * math/libm-test.inc (exp2_test): Require overflow exception for
24360 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
24361 range of signed 64-bit integers before using fistpll. Remove
24362 checks for whether integers fit in mantissa bits.
24363 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
24364 the range of signed 32-bit integers before using fistpl. Remove
24365 checks for whether integers fit in mantissa bits.
24366 * sysdeps/i386/fpu/e_powl.S (p64): New object.
24367 (__ieee754_powl): Test for y outside the range of signed 64-bit
24368 integers before using fistpll. Reduce 64-bit values to 63-bit
24370 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
24371 divide-by-zero is raised for zero to large negative powers.
24372 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
24373 (__ieee754_powl): Test for y outside the range of signed 64-bit
24374 integers before using fistpll. Reduce 64-bit values to 63-bit
24376 * math/libm-test.inc (pow_test): Add more tests.
24378 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
24380 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
24381 <stdio-common/_itoa.h>.
24382 * debug/segfault.c: Likewise.
24383 * elf/dl-cache.c: Likewise.
24384 * elf/dl-minimal.c: Likewise.
24385 * elf/dl-misc.c: Likewise.
24386 * elf/dl-sysdep.c: Likewise.
24387 * elf/dl-version.c: Likewise.
24388 * elf/rtld.c: Likewise.
24389 * hurd/hurdsock.c: Likewise.
24390 * hurd/lookup-retry.c: Likewise.
24391 * malloc/malloc.c: Likewise.
24392 * malloc/mtrace.c: Likewise.
24393 * nscd/nscd_getgr_r.c: Likewise.
24394 * nscd/nscd_getpw_r.c: Likewise.
24395 * nscd/nscd_getserv_r.c: Likewise.
24396 * posix/getopt_init.c: Likewise.
24397 * posix/wordexp.c: Likewise.
24398 * stdio-common/_itoa.c: Likewise.
24399 * stdio-common/printf_fphex.c: Likewise.
24400 * stdio-common/vfprintf.c: Likewise.
24401 * string/_strerror.c: Likewise.
24402 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
24403 * sysdeps/i386/i686/hp-timing.h: Likewise.
24404 * sysdeps/mach/_strerror.c: Likewise.
24405 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
24406 * sysdeps/mach/hurd/sethostid.c: Likewise.
24407 * sysdeps/mach/hurd/xmknodat.c: Likewise.
24408 * sysdeps/mach/xpg-strerror.c: Likewise.
24409 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
24410 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
24411 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
24412 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
24413 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
24414 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
24415 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
24416 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
24417 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
24418 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
24419 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
24420 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
24421 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
24422 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
24423 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
24424 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
24425 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
24426 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
24427 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
24428 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
24429 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
24431 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
24433 * stdio-common/_itoa.h: Moved to ...
24434 * sysdeps/generic/_itoa.h: Here.
24436 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
24438 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
24439 instead of "_itoa.h" and "_itowa.h".
24440 * stdio-common/vfprintf.: Likewise.
24442 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
24444 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
24446 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
24447 (__signbit): Likwise.
24448 (llrintf): Likwise.
24451 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
24453 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
24456 2012-03-20 Joseph Myers <joseph@codesourcery.com>
24458 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
24459 OVERFLOW_EXCEPTION_OK.
24460 * math/libm-test.inc ("Philosophy"): Update comment about
24462 (OVERFLOW_EXCEPTION): Define.
24463 (OVERFLOW_EXCEPTION_OK): Likewise.
24464 (INVALID_EXCEPTION_OK): Renumber.
24465 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
24466 (IGNORE_ZERO_INF_SIGN): Likewise.
24467 (test_exceptions): Handle FE_OVERFLOW.
24468 (exp10_test): Expect overflow exceptions.
24469 (exp2_test): Likewise.
24470 (expm1_test): Likewise.
24471 (nextafter_test): Likewise.
24472 (pow_test): Likewise.
24473 (scalbn_test): Likewise.
24474 (scalbln_test): Likewise.
24476 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
24478 * sysdeps/x86_64/bits/atomic.h
24479 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
24481 (atomic_exchange_acq): Likewise.
24482 (__arch_exchange_and_add_body): Likewise.
24483 (__arch_add_body): Likewise.
24484 (atomic_add_negative): Likewise.
24485 (atomic_add_zero): Likewise.
24487 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
24489 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
24490 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
24492 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
24494 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
24495 Check __x86_64__ instead of __WORDSIZE.
24497 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
24499 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
24501 2012-03-19 David S. Miller <davem@davemloft.net>
24503 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24505 * sysdeps/sparc/fpu/fenv_private.h: New file.
24506 * sysdeps/sparc/fpu/math_private.h: Use it.
24507 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
24509 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
24510 (libc_feholdexcept_setroundl): Remove.
24511 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
24513 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
24514 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
24516 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
24518 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
24519 int64_t instead of long int.
24520 (INSERT_WORDS64): Likwise.
24522 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
24524 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
24525 _Unwind_GetCFA return to _Unwind_Ptr first.
24527 2012-03-19 Joseph Myers <joseph@codesourcery.com>
24530 * math/s_clog.c: Include <float.h>.
24531 (__clog): Scale large or subnormal inputs.
24532 * math/s_clogf.c: Likewise.
24533 * math/s_clogl.c: Likewise.
24534 * math/s_clog10.c: Include <float.h>.
24535 (M_LOG10_2): Define.
24536 (__clog10): Scale large or subnormal inputs.
24537 * math/s_clog10f.c: Likewise.
24538 * math/s_clog10l.c: Likewise.
24539 * math/libm-test.inc (clog_test): Add more tests.
24540 (clog10_test): Likewise.
24541 * sysdeps/i386/fpu/libm-test-ulps: Update.
24542 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24545 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
24547 * math/libm-test.inc (atan2_test): Add another test.
24549 * Makerules (common-objdir-compile): Remove.
24550 * sysdeps/unix/Makefile (config-generated): Do not add
24551 $(unix-generated) to variable.
24552 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
24553 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
24555 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
24557 [generic bits/local_lim.h] (before-compile): Do not append to
24559 [generic bits/local_lim.h] (common-generated): Likewise.
24560 [generic sys/param.h] (before-compile): Do not append to variable.
24561 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
24562 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
24563 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
24564 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
24566 [generic sys/param.h] (sys/param.h-includes): Remove variable.
24567 [generic sys/param.h] (sys/param.h-includes): Remove rule.
24568 [generic sys/param.h] ($(addprefix
24569 $(common-objpfx),$(sys/param.h-includes))): Likewise.
24570 [generic sys/param.h] (common-generated): Do not append to
24572 [generic sys/param.h] (sysdep_headers): Likewise.
24573 [generic bits/errno.h] (before-compile): Do not append to
24575 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
24577 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
24578 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
24579 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
24580 [generic bits/errno.h] (common-generated): Do not append to
24582 [generic bits/ioctls.h] (before-compile): Do not append to
24584 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
24586 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
24587 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
24588 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
24590 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
24591 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
24592 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
24593 [generic bits/ioctls.h] (common-generated): Do not append to
24595 [generic sys/syscall.h] (syscall.h): Remove variable.
24596 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
24598 [generic sys/syscall.h] (before-compile): Do not append to
24600 [generic sys/syscall.h] (common-generated): Likewise.
24601 * sysdeps/unix/errnos-tmpl.c: Remove file.
24602 * sysdeps/unix/errnos.awk: Likewise.
24603 * sysdeps/unix/ioctls-tmpl.c: Likewise.
24604 * sysdeps/unix/ioctls.awk: Likewise.
24605 * sysdeps/unix/mk-local_lim.c: Likewise.
24606 * sysdeps/unix/snarf-ioctls: Likewise.
24608 2012-03-19 Richard Henderson <rth@twiddle.net>
24610 * sysdeps/i386/fpu/fenv_private.h: New file.
24611 * sysdeps/i386/fpu/math_private.h: Use it.
24612 (math_opt_barrier, math_force_eval): Remove.
24613 (libc_feholdexcept_setround_53bit): Remove.
24614 (libc_feupdateenv_53bit): Remove.
24615 * sysdeps/x86_64/fpu/math_private.h: Likewise.
24616 (math_opt_barrier, math_force_eval): Remove.
24617 (libc_feholdexcept): Remove.
24618 (libc_feholdexcept_setround): Remove.
24619 (libc_fetestexcept, libc_fesetenv): Remove.
24620 (libc_feupdateenv_test): Remove.
24621 (libc_feupdateenv, libc_feholdsetround): Remove.
24622 (libc_feresetround): Remove.
24624 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
24625 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
24627 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
24628 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
24629 (libc_feupdateenv_testl): New.
24630 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
24631 (libc_feupdateenv_testf): New.
24632 (libc_feupdateenv): Use libc_feupdateenv_test.
24633 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
24634 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
24636 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
24637 (libc_feholdsetroundf, libc_feholdsetroundl): New.
24638 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
24639 (libc_feresetround_noex): New.
24640 (libc_feresetround_noexf): New.
24641 (libc_feresetround_noexl): New.
24642 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
24643 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
24644 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
24645 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
24647 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
24648 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
24650 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
24651 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
24652 SET_RESTORE_ROUND_NOEX.
24653 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
24654 SET_RESTORE_ROUND_NOEXF.
24655 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
24656 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
24657 (libc_feholdsetroundf): New.
24658 (libc_feresetround, libc_feresetroundf): New.
24660 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
24661 (libc_feholdexcept_setround_53bit): Convert from macro to function.
24662 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
24664 * sysdeps/generic/math_private.h: Include <fenv.h>.
24665 (default_libc_feholdexcept): New.
24666 (default_libc_feholdexcept_setround): New.
24667 (default_libc_fesetenv, default_libc_feupdateenv): New.
24668 (libc_feholdexcept): Only define if undefined.
24669 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
24670 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
24671 (libc_feholdexcept_setroundl): Likewise.
24672 (libc_feholdexcept_setround_53bit): Likewise.
24673 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
24674 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
24675 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
24676 (libc_feupdateenv_53bit): Likewise.
24677 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
24678 (libc_feholdexcept): Convert from macro to inline function.
24679 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
24680 (libc_fesetenv, libc_feupdateenv): Likewise.
24682 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
24683 not previously defined.
24684 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
24685 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
24686 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
24687 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
24688 * sysdeps/ieee754/flt-32/math_private.h: New file.
24689 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
24690 math_private.h below SET_FLOAT_WORD.
24691 (__isnan, __isinf_ns, __finite): Remove.
24692 (__isnanf, __isinf_nsf, __finitef): Remove.
24694 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
24696 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24698 2012-03-17 David S. Miller <davem@davemloft.net>
24701 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
24704 2012-03-16 David S. Miller <davem@davemloft.net>
24706 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
24710 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
24712 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
24713 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
24714 sysdep_routines when subdir is sysvipc.
24715 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
24716 __getshmlba helper.
24718 * sysdeps/sparc/fpu/libm-test/ulps: Update.
24720 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
24722 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
24725 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
24727 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
24728 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
24729 (__lround): Renamed to ...
24730 (__llround): This. Replace long int with long long int.
24731 Define lround functions as aliases of llround functions.
24732 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
24734 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
24736 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
24737 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
24738 adresses to uintptr_t. Replace "long int" and "unsigned long
24739 int" with "greg_t" on va_arg.
24741 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
24743 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
24744 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
24746 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
24747 Move e_machine check before EI_CLASS check. Handle x32
24748 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
24749 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
24750 SKIP_EM_IA_64 and include
24751 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
24753 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
24754 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
24755 (add_system_dir): New macro.
24757 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
24758 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
24760 2012-03-16 Joseph Myers <joseph@codesourcery.com>
24771 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
24773 * math/w_j0f.c (j0f): Likewise.
24775 * math/w_j0l.c (__j0l): Likewise.
24777 * math/w_j1.c (j1): Likewise.
24779 * math/w_j1f.c (j1f): Likewise.
24781 * math/w_j1l.c (__j1l): Likewise.
24783 * math/w_jn.c (jn): Likewise.
24785 * math/w_jnf.c (jnf): Likewise.
24787 * math/w_jnl.c (__jnl): Likewise.
24789 * math/libm-test.inc (j0_test): Add more tests.
24790 (j1_test): Likewise.
24791 (jn_test): Likewise. Add trailing semicolon to existing test.
24792 (y0_test): Likewise.
24793 (y1_test): Likewise.
24794 * sysdeps/i386/fpu/libm-test-ulps: Update.
24795 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24799 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
24800 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
24801 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
24802 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
24803 (__tanl): Set errno for infinite argument.
24804 * sysdeps/i386/fpu/mptan.c: Remove.
24805 * sysdeps/i386/fpu/s_tan.S: Likewise.
24806 * sysdeps/i386/fpu/s_tanl.S: Likewise.
24807 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
24808 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
24809 * math/libm-test.inc (tan_test): Add more tests and enable more
24810 tests for double and long double.
24811 * sysdeps/i386/fpu/libm-test-ulps: Update.
24812 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24814 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
24816 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
24817 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
24819 2012-03-16 Roland McGrath <roland@hack.frob.com>
24821 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
24822 * configure.in: Use it for both main tree and add-ons.
24823 * configure: Regenerated.
24825 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
24827 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
24829 2012-03-16 Joseph Myers <joseph@codesourcery.com>
24831 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
24835 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
24836 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
24837 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
24838 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
24839 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
24841 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
24842 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
24843 != 0 for prec == 2.
24844 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
24845 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
24846 * sysdeps/i386/fpu/s_cosl.S: Likewise.
24847 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
24848 * sysdeps/i386/fpu/s_sinl.S: Likewise.
24849 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
24850 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
24851 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
24852 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
24853 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
24854 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
24855 * math/libm-test.inc (cos_test): Add more tests and enable more
24856 tests for long double.
24857 (sin_test): Likewise.
24858 (sincos_test): Likewise.
24859 * sysdeps/i386/fpu/libm-test-ulps: Update.
24860 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24862 2012-03-16 David S. Miller <davem@davemloft.net>
24864 * sysdeps/sparc/fpu/math_private.h: New file.
24866 2012-03-15 David S. Miller <davem@davemloft.net>
24868 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
24870 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
24871 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
24873 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
24874 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
24875 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
24876 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
24877 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
24878 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
24880 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
24882 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
24883 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
24885 * sysdeps/sparc/sparc-ifunc.h: New file.
24886 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
24888 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
24889 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
24891 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
24893 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
24894 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
24895 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
24896 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
24898 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
24899 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
24900 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
24901 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
24902 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
24904 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
24906 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
24907 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
24908 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
24909 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
24910 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
24911 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
24912 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
24913 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
24914 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
24915 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
24916 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
24917 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
24918 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
24919 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
24920 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
24921 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
24922 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
24923 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
24924 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
24925 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
24926 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
24927 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
24928 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
24929 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
24931 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
24933 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
24935 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24937 2012-03-15 Andreas Jaeger <aj@suse.de>
24940 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
24941 ieee754/flt-32 implementation for sin, cos and sincos.
24942 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
24943 * sysdeps/i386/fpu/s_cosf.S: Likewise.
24944 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
24945 * sysdeps/i386/fpu/s_sinf.S: Likewise.
24946 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
24947 ieee754/flt-32 implementation for tan.
24949 * math/libm-test.inc (cos_test): Enable some large input tests for
24951 (sin_test): Likewise.
24952 (sincos_test): Likewise.
24953 (tan_test): Add tests for large input.
24955 * sysdeps/i386/fpu/libm-test-ulps: Update.
24957 2012-03-15 Andreas Jaeger <aj@suse.de>
24960 * math/libm-test.inc (cos_test): Add more test cases.
24961 (sin_test): Likewise.
24962 (sincos_test): Likewise.
24964 2012-03-15 Andreas Jaeger <aj@suse.de>
24967 * math/libm-test.inc (cos_test): Add a test case for large input
24969 (sin_test): Likewise.
24970 (sincos_test): Likewise.
24972 2012-03-15 Andreas Jaeger <aj@suse.de>,
24973 Joseph Myers <joseph@codesourcery.com>
24976 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
24977 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
24978 * sysdeps/i386/fpu/branred.c: Likewise.
24979 * sysdeps/i386/fpu/dosincos.c: Likewise.
24980 * sysdeps/i386/fpu/mpa.c: Likewise.
24981 * sysdeps/i386/fpu/s_cos.S: Likewise.
24982 * sysdeps/i386/fpu/s_sin.S: Likewise.
24983 * sysdeps/i386/fpu/s_sincos.S: Likewise.
24984 * sysdeps/i386/fpu/sincos32.c: Likewise.
24986 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
24988 (libc_feupdateenv_53bit): Define.
24989 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
24991 (libc_feupdateenv_53bit): Define.
24993 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
24994 53 bit (without extend i386 double precision).
24996 * math/libm-test.inc (sincos_test): Add tests for large input.
25000 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
25002 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
25004 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25006 2012-03-15 David S. Miller <davem@davemloft.net>
25008 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
25009 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
25010 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
25011 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
25012 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
25013 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
25014 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
25015 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
25016 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
25017 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
25018 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
25019 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
25020 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
25021 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
25022 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
25023 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
25025 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
25026 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
25028 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
25029 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
25031 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
25032 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
25034 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
25035 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
25036 fmin/fmax sysdep routines.
25037 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
25039 2012-03-14 David S. Miller <davem@davemloft.net>
25041 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
25042 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
25043 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
25044 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
25045 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
25046 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
25047 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
25048 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
25049 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
25050 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
25051 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
25052 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
25053 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
25054 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
25055 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
25056 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
25057 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
25058 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
25059 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
25060 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
25061 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
25062 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
25063 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
25064 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
25065 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
25066 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
25067 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
25068 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
25069 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
25071 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
25073 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
25074 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
25076 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
25077 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
25079 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
25080 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
25082 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
25083 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
25085 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
25086 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
25088 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
25090 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
25092 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
25094 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
25096 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
25098 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
25100 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
25101 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
25103 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
25104 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
25106 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
25107 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
25109 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
25110 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
25113 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
25116 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25118 * sysdeps/sparc/configure.in: New file.
25119 * sysdeps/sparc/configure: Generate.
25120 * configure.in (libc_cv_sparc_as_vis3): Substitute.
25121 * configure: Regenerate.
25122 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
25123 * config.make.in (have-as-vis3): New.
25124 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
25125 available use -Av9d instead of -Av9a.
25126 * sysdeps/sparc/sparc64/Makefile: Likewise.
25127 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
25128 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
25130 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
25132 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
25134 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
25136 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
25137 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
25138 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
25139 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
25140 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
25142 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
25143 fzeros/fnegs to load 0x80000000 into a float register instead of
25145 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
25147 2012-03-14 Joseph Myers <joseph@codesourcery.com>
25149 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25151 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
25152 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
25153 ($(inst_includedir)/bits/syscall.h): Remove rule.
25154 ($(objpfx)bits/syscall.d): Include instead of
25155 $(objpfx)syscall-list.d.
25156 (generated): Change syscall-list.h and syscall-list.d to
25157 bits/syscall.h and bits/syscall.d.
25159 2012-03-14 Roland McGrath <roland@hack.frob.com>
25162 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
25164 2012-03-14 Joseph Myers <joseph@codesourcery.com>
25167 * math/s_csqrt.c: Include <float.h>.
25168 (__csqrt): Scale large or subnormal inputs.
25169 * math/s_csqrtf.c: Likewise.
25170 * math/s_csqrtl.c: Likewise.
25171 * math/libm-test.inc (csqrt_test): Add more tests.
25172 * sysdeps/i386/fpu/libm-test-ulps: Update.
25173 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25176 * math/libm-test.inc (hypot_test): Add more tests.
25178 2012-03-13 David S. Miller <davem@davemloft.net>
25181 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
25182 double-precision for the calculation instead of scaling.
25184 2012-03-13 Joseph Myers <joseph@codesourcery.com>
25186 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
25187 manipulate bits before adding and subtracting TWO52[sx].
25188 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
25189 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
25191 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
25193 2012-03-13 David S. Miller <davem@davemloft.net>
25195 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
25196 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
25197 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
25198 rtld-global-offsets.h
25199 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
25201 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
25204 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
25206 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
25207 'err' in the ifdef scope in which it is actually used.
25209 * nss/nss_db/db-init.c: Include string.h
25211 2012-03-12 David S. Miller <davem@davemloft.net>
25213 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
25214 masking out of the most significant byte of random value used.
25215 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25216 Fix coding style in previous change.
25218 * sysdeps/unix/sysv/linux/kernel-features.h
25219 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
25220 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
25222 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
25225 2012-03-11 David S. Miller <davem@davemloft.net>
25227 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
25228 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
25229 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
25230 for 'resultvar' otherwise things get truncated on 64-bit.
25232 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25233 Fix masking out of the most significant byte of random value used.
25235 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25237 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
25239 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25241 2012-03-09 David S. Miller <davem@davemloft.net>
25243 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
25244 variables with appropriate CPP guards.
25245 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
25246 frame pointer, not the stack pointer. Correct layout comments. Fix test
25247 on resulting framesize and the management of the outregs buffer for pltexit.
25248 Preserve floating point return values across _dl_call_pltexit call.
25249 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
25250 framesize and the management of the outregs buffer for pltexit.
25251 Preserve floating point return values across _dl_call_pltexit
25253 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
25254 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
25255 (print_exit): Fix format string for return register value.
25257 2012-03-10 Joseph Myers <joseph@codesourcery.com>
25259 * sunrpc/Makefile (others): Add rpcgen.
25260 ($(objpfx)rpcgen): Remove special build rule and dependency on
25262 * sunrpc/rpcgen.c: New file.
25264 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
25267 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
25268 * stdio-common/bug-vfprintf-nargs.c: Likewise.
25269 * sysdeps/i386/crti.S: Likewise.
25270 * sysdeps/i386/crtn.S: Likewise.
25271 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
25272 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
25273 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
25274 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
25275 * sysdeps/sh/crti.S: Likewise.
25276 * sysdeps/sh/crtn.S: Likewise.
25277 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
25280 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
25282 * locale/programs/locfile-kw.gperf: Likewise.
25283 * locale/programs/charmap-kw.h: Regenerated.
25284 * locale/programs/locfile-kw.h: Likewise.
25287 * intl/plural.y: Replace FSF snail mail address with URL.
25288 * intl/plural.c: Regenerated.
25290 2012-03-09 Richard Henderson <rth@twiddle.net>
25292 * include/math_private.h: Remove file.
25293 * math/math_private.h: Move file ...
25294 * sysdeps/generic/math_private.h: ... here.
25296 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
25297 * sysdeps/powerpc/fpu/math_private.h: Likewise.
25298 * sysdeps/x86_64/fpu/math_private.h: Likewise.
25300 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
25301 and <math_private.h>.
25302 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
25303 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
25304 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
25305 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
25306 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
25307 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
25308 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
25309 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25310 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
25311 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
25312 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25313 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
25314 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
25315 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
25316 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
25317 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
25318 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
25319 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
25320 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
25321 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
25322 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25323 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
25324 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
25325 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25326 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
25327 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
25328 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
25329 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
25330 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25331 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
25332 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
25333 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
25334 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
25335 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
25336 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
25337 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
25338 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
25339 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
25340 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
25341 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
25342 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
25343 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
25344 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
25345 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
25346 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
25347 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
25348 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
25349 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
25350 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
25351 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
25352 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
25353 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
25354 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
25355 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
25356 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
25357 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
25358 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
25359 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
25360 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
25361 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
25362 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
25363 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
25364 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25365 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
25366 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
25367 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
25368 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
25369 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
25370 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
25371 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
25372 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
25373 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
25374 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
25375 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
25376 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
25377 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
25378 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
25379 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
25380 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
25381 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
25382 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
25383 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
25384 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
25385 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
25386 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
25387 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
25388 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
25389 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
25390 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
25391 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
25392 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
25393 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
25394 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
25395 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
25396 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
25397 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
25398 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
25399 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
25400 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
25401 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
25402 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
25403 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
25404 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
25405 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
25406 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
25407 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
25408 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
25409 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
25410 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
25411 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
25412 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
25413 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
25414 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
25415 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
25416 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
25417 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
25418 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
25419 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
25420 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
25421 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
25422 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
25423 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
25424 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
25425 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
25426 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
25427 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
25428 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
25429 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
25430 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
25431 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
25432 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
25433 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
25434 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
25435 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
25436 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
25437 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
25438 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
25439 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
25440 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
25441 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
25442 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
25443 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
25444 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
25445 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
25446 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
25447 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
25448 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
25449 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
25450 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
25451 * sysdeps/ieee754/k_standard.c: Likewise.
25452 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
25453 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
25454 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
25455 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
25456 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
25457 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
25458 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
25459 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
25460 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
25461 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
25462 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
25463 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
25464 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
25465 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
25466 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
25467 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
25468 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
25469 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
25470 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
25471 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
25472 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
25473 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
25474 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
25475 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
25476 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
25477 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
25478 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
25479 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
25480 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
25481 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
25482 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
25483 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
25484 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
25485 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
25486 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
25487 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
25488 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
25489 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
25490 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
25491 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
25492 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
25493 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
25494 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
25495 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
25496 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
25497 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
25498 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
25499 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
25500 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
25501 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
25502 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
25503 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
25504 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
25505 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
25506 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
25507 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
25508 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
25509 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
25510 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
25511 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
25512 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
25513 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
25514 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
25515 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
25516 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
25517 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
25518 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
25519 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
25520 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
25521 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
25522 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
25523 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
25524 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
25525 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
25526 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
25527 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
25528 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
25529 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
25530 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
25531 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
25532 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
25533 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
25534 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
25535 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
25536 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
25537 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
25538 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
25539 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
25540 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
25541 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
25542 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
25543 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
25544 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
25545 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
25546 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
25547 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
25548 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
25549 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
25550 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
25551 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
25552 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
25553 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
25554 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
25555 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
25556 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
25557 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
25558 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
25559 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
25560 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
25561 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
25562 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
25563 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
25564 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
25565 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
25566 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
25567 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
25568 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
25569 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
25570 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
25571 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
25572 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
25573 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
25574 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
25575 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
25576 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
25577 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
25578 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
25579 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
25580 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
25581 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
25582 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
25583 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
25584 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
25585 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
25586 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
25587 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
25588 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
25589 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
25590 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
25591 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
25592 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
25593 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
25594 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
25595 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
25596 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
25597 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
25598 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
25599 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
25600 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
25601 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
25602 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
25603 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
25604 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
25605 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
25606 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
25607 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
25608 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
25609 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
25610 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
25611 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
25612 * sysdeps/ieee754/s_lib_version.c: Likewise.
25613 * sysdeps/ieee754/s_matherr.c: Likewise.
25614 * sysdeps/ieee754/s_signgam.c: Likewise.
25615 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
25616 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
25617 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
25618 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
25619 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
25620 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
25621 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
25622 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
25623 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
25624 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
25625 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
25626 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
25627 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
25628 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
25629 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
25630 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
25631 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
25632 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
25633 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
25634 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
25635 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
25637 2012-03-09 Joseph Myers <joseph@codesourcery.com>
25639 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
25640 * sunrpc/rpc_main.c: Likewise.
25641 * sunrpc/rpc_svcout.c: Likewise.
25643 2012-03-09 David S. Miller <davem@davemloft.net>
25645 * include/math_private.h: New file.
25647 2012-03-09 Joseph Myers <joseph@codesourcery.com>
25649 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
25650 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
25651 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
25652 from <bits/socket_type.h>.
25653 (enum __socket_type): Don't define here.
25654 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
25655 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25656 bits/socket_type.h.
25659 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
25660 checking __USE_GNU.
25662 * Makerules ($(inst_includedir)/%.h): New rule.
25663 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
25664 (install-others): Remove variable setting.
25665 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
25667 2012-03-08 Richard Henderson <rth@twiddle.net>
25669 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
25670 from macro to inline function; merge with the
25671 !__LIBC_INTERNAL_MATH_INLINES version.
25672 (__ieee754_sqrtf): Likewise.
25674 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
25675 to inline function.
25676 (__rintf, __floor, __floorf): Likewise.
25678 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
25679 macro to inline function.
25680 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
25682 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
25683 not <math/math_private.h>.
25685 2012-03-08 David S. Miller <davem@davemloft.net>
25687 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
25689 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
25691 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
25693 * resolv/gai_misc.c (handle_requests): Fix struct timespec
25695 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
25696 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
25698 2012-03-08 Ulrich Drepper <drepper@gmail.com>
25700 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
25701 be defined individually, they must be defined as a block. Define
25702 S for printing a string instead of hidint the different by using a
25703 macro for adding the 'l'.
25704 * stdio-common/tst-fphex-wide.c: Adjust.
25706 2012-03-07 Marek Polacek <polacek@redhat.com>
25708 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
25710 2012-03-08 Marek Polacek <polacek@redhat.com>
25713 * stdio-common/Makefile (tests): Add tst-fphex-wide.
25714 * stdio-common/tst-fphex.c: Define a few macros to make the
25715 test reusable. Use them.
25716 * stdio-common/tst-fphex-wide.c: New file.
25718 2012-03-08 Joseph Myers <joseph@codesourcery.com>
25721 * manual/macros.texi (gnusystems): New macro.
25722 (nongnusystems): Likewise.
25723 (gnulinuxhurdsystems): Likewise.
25724 (gnuhurdsystems): Likewise..
25725 (gnulinuxsystems): Likewise.
25726 * manual/charset.texi: Use new macros or @theglibc{} to refer to
25727 variants of the GNU system, not "GNU system".
25728 * manual/conf.texi: Likewise.
25729 * manual/errno.texi: Likewise. Update example of errno macro
25731 * manual/filesys.texi: Likewise.
25732 (getumask): Document as specific to GNU/Hurd.
25733 * manual/install.texi: Likewise. Reword some references to
25735 * manual/intro.texi: Likewise.
25736 * manual/io.texi: Likewise.
25737 (File Name Portability): Detail which constraints are inapplicable
25738 to all GNU systems and which are only inapplicable to GNU/Hurd.
25739 * manual/job.texi: Likewise.
25740 * manual/llio.texi: Likewise.
25741 (O_NOCTTY): Document as present on GNU/Linux.
25742 * manual/maint.texi: Likewise.
25743 * manual/memory.texi: Likewise.
25744 * manual/pattern.texi: Likewise.
25745 * manual/pipe.texi: Likewise.
25746 * manual/process.texi: Likewise.
25747 * manual/resource.texi: Likewise.
25748 (RUSAGE_CHILDREN): Remove statement about specifying a particular
25750 * manual/setjmp.texi: Likewise.
25751 * manual/signal.texi: Likewise.
25752 * manual/startup.texi: Likewise.
25753 * manual/stdio.texi: Likewise.
25754 * manual/terminal.texi: Likewise.
25755 (ONLCR): Document as POSIX.
25756 (OXTABS): Document availability on GNU/Linux as XTABS.
25757 (ONOEOT): Document availability separately from other bits.
25758 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
25759 * manual/time.texi: Likewise.
25760 * manual/users.texi: Likewise.
25761 * INSTALL: Regenerated.
25762 * sysdeps/gnu/errlist.c: Regenerated.
25764 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
25765 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
25766 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
25768 * configure: Regenerated.
25770 2012-03-07 Joseph Myers <joseph@codesourcery.com>
25772 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
25773 default includes instead of AC_HEADER_CHECK.
25774 * sysdeps/i386/configure: Regenerated.
25777 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
25778 * math/s_cacoshf.c (__cacoshf): Likewise.
25779 * math/s_cacoshl.c (__cacoshl): Likewise.
25780 * math/s_casinh.c (__casinh): Set signs of result from argument.
25781 * math/s_casinhf.c (__casinhf): Likewise.
25782 * math/s_casinhl.c (__casinhl): Likewise.
25783 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
25784 (casinh_test): Add more tests.
25785 * sysdeps/i386/fpu/libm-test-ulps: Update.
25786 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25788 2012-03-07 Ulrich Drepper <drepper@gmail.com>
25790 * po/zh_TW.po: Update from translation team.
25792 * login/Makefile (distribute): Remove variable.
25793 * catgets/Makefile: Likewise.
25794 * mach/Makefile: Likewise.
25795 * malloc/Makefile: Likewise.
25796 * misc/Makefile: Likewise.
25797 * iconv/Makefile: Likewise.
25798 * nscd/Makefile: Likewise.
25799 * hurd/Makefile: Likewise.
25800 * manual/Makefile: Likewise.
25801 * locale/Makefile: Likewise.
25802 * intl/Makefile: Likewise.
25803 * conform/Makefile: Likewise.
25804 * nss/Makefile: Likewise.
25805 * time/Makefile: Likewise.
25806 * soft-fp/Makefile: Likewise.
25807 * dirent/Makefile: Likewise.
25808 * gmon/Makefile: Likewise.
25809 * po/Makefile: Likewise.
25810 * rt/Makefile: Likewise.
25811 * socket/Makefile: Likewise.
25812 * math/Makefile: Likewise.
25813 * signal/Makefile: Likewise.
25814 * debug/Makefile: Likewise.
25815 * elf/Makefile: Likewise.
25816 * timezone/Makefile: Likewise.
25817 * stdlib/Makefile: Likewise.
25818 * iconvdata/Makefile: Likewise.
25819 * sunrpc/Makefile: Likewise.
25820 * io/Makefile: Likewise.
25821 * argp/Makefile: Likewise.
25822 * inet/Makefile: Likewise.
25823 * hesiod/Makefile: Likewise.
25824 * grp/Makefile: Likewise.
25825 * csu/Makefile: Likewise.
25826 * wctype/Makefile: Likewise.
25827 * crypt/Makefile: Likewise.
25828 * libio/Makefile: Likewise.
25829 * string/Makefile: Likewise.
25830 * nis/Makefile: Likewise.
25831 * resolv/Makefile: Likewise.
25832 * stdio-common/Makefile: Likewise.
25833 * wcsmbs/Makefile: Likewise.
25834 * dlfcn/Makefile: Likewise.
25835 * posix/Makefile: Likewise.
25838 * timezone/Makefile: Don't install timezone files, just the programs
25841 2012-03-06 Ulrich Drepper <drepper@gmail.com>
25843 * nss/databases.def: Add missing gshadow entry.
25845 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
25847 2012-03-06 Marek Polacek <polacek@redhat.com>
25850 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
25851 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
25852 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
25853 * stdio-common/tst-long-dbl-fphex.c: New file.
25855 2012-03-06 David S. Miller <davem@davemloft.net>
25857 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
25858 (set_obp_int): New function.
25859 (get_obp_int): New function.
25860 (__get_clockfreq_via_dev_openprom): Likewise.
25861 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
25862 Avoid unused variable warnings on 'val' and use builtin_expect.
25863 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
25865 (INLINE_CLONE_SYSCALL): Likewise.
25867 2012-03-05 David S. Miller <davem@davemloft.net>
25869 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25871 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
25873 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25875 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
25876 only for |x| >= 40.
25877 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
25879 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
25881 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
25882 Replace gettimeofday with __vdso_gettimeofday.
25884 * sysdeps/unix/sysv/linux/x86_64/init-first.c
25885 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
25886 __vdso_clock_gettime and __vdso_getcpu.
25888 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
25889 time with __vdso_time.
25891 2012-03-05 Joseph Myers <joseph@codesourcery.com>
25893 * manual/lang.texi (size_t): Note types to which size_t may be
25894 equivalent with the GNU C Library, but do not describe when
25895 differences between them are significant.
25897 2012-03-05 Andreas Jaeger <aj@suse.de>
25899 * sysdeps/i386/fpu/libm-test-ulps: Update.
25901 2012-03-05 Joseph Myers <joseph@codesourcery.com>
25904 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
25905 (__ieee754_pow): Save and restore rounding mode and use
25906 round-to-nearest for main computations.
25907 * math/libm-test.inc (pow_test_tonearest): New function.
25908 (pow_test_towardzero): Likewise.
25909 (pow_test_downward): Likewise.
25910 (pow_test_upward): Likewise.
25911 (main): Call the new functions.
25912 * sysdeps/i386/fpu/libm-test-ulps: Update.
25913 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25916 * math/libm-test.inc (cosh_test_tonearest): New function.
25917 (cosh_test_towardzero): Likewise.
25918 (cosh_test_downward): Likewise.
25919 (cosh_test_upward): Likewise.
25920 (sinh_test_tonearest): Likewise.
25921 (sinh_test_towardzero): Likewise.
25922 (sinh_test_downward): Likewise.
25923 (sinh_test_upward): Likewise.
25924 (main): Call the new functions.
25925 * sysdeps/i386/fpu/libm-test-ulps: Update.
25926 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25928 2012-03-05 Tom de Vries <tom@codesourcery.com>
25930 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
25931 default stack guard is set in last bytes.
25932 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
25934 2012-03-05 Kees Cook <keescook@chromium.org>
25936 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
25939 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
25940 possibly allocate from heap instead of stack.
25941 * stdio-common/bug-vfprintf-nargs.c: New file.
25942 * stdio-common/Makefile (tests): Add nargs overflow test.
25944 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
25946 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25948 2012-03-03 Marek Polacek <polacek@redhat.com>
25950 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
25951 * math/math_private.h: Likewise.
25952 * stdlib/tst-strtod.c: Likewise.
25953 * sysdeps/i386/i486/bits/atomic.h: Likewise.
25954 * sysdeps/x86_64/bits/atomic.h: Likewise.
25956 2012-03-02 David S. Miller <davem@davemloft.net>
25958 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
25959 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
25960 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
25961 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
25962 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
25963 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
25964 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
25965 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
25967 2012-03-02 Roland McGrath <roland@hack.frob.com>
25970 * manual/examples/README: New file, says the example source files
25971 can be used under GPL>=2.
25972 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
25973 line containing just "*/".
25974 * manual/examples/add.c: Add copyright header (GPL>=2).
25975 * manual/examples/argp-ex1.c: Likewise.
25976 * manual/examples/argp-ex2.c: Likewise.
25977 * manual/examples/argp-ex3.c: Likewise.
25978 * manual/examples/argp-ex4.c: Likewise.
25979 * manual/examples/atexit.c: Likewise.
25980 * manual/examples/db.c: Likewise.
25981 * manual/examples/dir.c: Likewise.
25982 * manual/examples/dir2.c: Likewise.
25983 * manual/examples/execinfo.c: Likewise.
25984 * manual/examples/filecli.c: Likewise.
25985 * manual/examples/filesrv.c: Likewise.
25986 * manual/examples/fmtmsgexpl.c: Likewise.
25987 * manual/examples/genpass.c: Likewise.
25988 * manual/examples/inetcli.c: Likewise.
25989 * manual/examples/inetsrv.c: Likewise.
25990 * manual/examples/isockad.c: Likewise.
25991 * manual/examples/longopt.c: Likewise.
25992 * manual/examples/memopen.c: Likewise.
25993 * manual/examples/memstrm.c: Likewise.
25994 * manual/examples/mkfsock.c: Likewise.
25995 * manual/examples/mkisock.c: Likewise.
25996 * manual/examples/mygetpass.c: Likewise.
25997 * manual/examples/pipe.c: Likewise.
25998 * manual/examples/popen.c: Likewise.
25999 * manual/examples/rprintf.c: Likewise.
26000 * manual/examples/search.c: Likewise.
26001 * manual/examples/select.c: Likewise.
26002 * manual/examples/setjmp.c: Likewise.
26003 * manual/examples/sigh1.c: Likewise.
26004 * manual/examples/sigusr.c: Likewise.
26005 * manual/examples/stpcpy.c: Likewise.
26006 * manual/examples/strdupa.c: Likewise.
26007 * manual/examples/strftim.c: Likewise.
26008 * manual/examples/strncat.c: Likewise.
26009 * manual/examples/subopt.c: Likewise.
26010 * manual/examples/swapcontext.c: Likewise.
26011 * manual/examples/termios.c: Likewise.
26012 * manual/examples/testopt.c: Likewise.
26013 * manual/examples/testpass.c: Likewise.
26014 * manual/examples/timeval_subtract.c: Likewise.
26017 * manual/time.texi (Elapsed Time): Move timeval_subtract example
26019 * manual/timeval_subtract.c.texi: ... here, new file.
26021 2012-03-02 David S. Miller <davem@davemloft.net>
26023 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
26025 2012-03-02 Joseph Myers <joseph@codesourcery.com>
26028 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
26029 (__sin): Save and restore rounding mode and use round-to-nearest
26030 for all computations.
26031 (__cos): Save and restore rounding mode and use round-to-nearest
26032 for all computations.
26033 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
26035 (tan): Save and restore rounding mode and use round-to-nearest for
26037 * math/libm-test.inc (cos_test_tonearest): New function.
26038 (cos_test_towardzero): Likewise.
26039 (cos_test_downward): Likewise.
26040 (cos_test_upward): Likewise.
26041 (sin_test_tonearest): Likewise.
26042 (sin_test_towardzero): Likewise.
26043 (sin_test_downward): Likewise.
26044 (sin_test_upward): Likewise.
26045 (tan_test_tonearest): Likewise.
26046 (tan_test_towardzero): Likewise.
26047 (tan_test_downward): Likewise.
26048 (tan_test_upward): Likewise.
26049 (main): Call the new functions.
26050 * sysdeps/i386/fpu/libm-test-ulps: Update.
26051 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26054 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
26055 small n, then large n, before computing and testing k+n.
26056 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
26057 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
26059 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
26061 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
26062 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
26063 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
26064 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
26065 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
26066 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
26067 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
26068 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
26069 * math/libm-test.inc (scalbn_test): Add more tests.
26070 (scalbln_test): Likewise.
26072 * manual/filesys.texi (mode_t): Describe constraints on size and
26073 signedness, not exact equivalence to a particular type.
26075 (ino64_t): Likewise.
26077 (nlink_t): Likewise.
26078 (blkcnt_t): Likewise.
26079 (blkcnt64_t): Likewise.
26080 * manual/llio.texi (off_t): Likewise.
26083 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
26084 (__ieee754_exp): Save and restore rounding mode and use
26085 round-to-nearest for all computations.
26086 * math/libm-test.inc (exp_test_tonearest): New function.
26087 (exp_test_towardzero): Likewise.
26088 (exp_test_downward): Likewise.
26089 (exp_test_upward): Likewise.
26090 (main): Call the new functions.
26091 * sysdeps/i386/fpu/libm-test-ulps: Update.
26092 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26094 2012-03-01 Chris Demetriou <cgd@google.com>
26096 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
26097 have predictable order.
26099 2012-03-01 David S. Miller <davem@davemloft.net>
26101 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
26103 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
26104 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
26105 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
26106 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
26108 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
26109 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
26110 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
26111 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
26112 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
26113 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
26114 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
26115 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
26116 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
26118 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26120 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
26121 * sysdeps/sparc/fpu/libm-test-ulps: to here.
26122 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
26124 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
26125 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
26126 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
26127 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
26128 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
26129 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
26130 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
26131 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
26132 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
26133 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
26134 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
26135 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
26136 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
26137 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
26138 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
26139 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26140 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
26141 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
26142 * sysdeps/sparc/elf/configure: Regenerated.
26144 2012-03-01 Joseph Myers <joseph@codesourcery.com>
26146 * configure.in (AS, LD): Require binutils 2.20 or later.
26147 * configure: Regenerated.
26148 * manual/install.texi (Tools for Compilation): Give binutils 2.20
26149 as required minimum version.
26150 * INSTALL: Regenerated.
26154 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
26155 before squaring exponent.
26156 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
26157 bottom long double and 27 bits of top long double before squaring
26159 * math/libm-test.inc (erfc_test): Add more tests.
26160 * sysdeps/i386/fpu/libm-test-ulps: Update.
26161 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
26162 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26164 2012-03-01 Kai Tietz <ktietz@redhat.com>
26166 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
26167 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
26168 containing bit-fields.
26169 * soft-fp/extended.h (_FP_UNION_E): Likewise.
26170 * soft-fp/single.h (_FP_UNION_S): Likewise.
26171 * soft-fp/double.h (_FP_UNION_D): Likewise.
26173 2012-02-29 Joseph Myers <joseph@codesourcery.com>
26176 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
26177 not include ../strcmp.S.
26178 [USE_AS_STRNCASECMP_L]: Likewise.
26179 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
26180 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
26181 * sysdeps/i386/i686/multiarch/strncase_l-c.c
26182 (__strncasecmp_l_ia32): Define as alias to
26183 __strncasecmp_l_nonascii.
26186 * math/libm-test.inc (expm1_test): Add test for bug 5794.
26187 * sysdeps/i386/fpu/libm-test-ulps: Update.
26188 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26190 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
26191 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26193 2012-02-29 Jeff Law <law@redhat.com>
26195 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
26196 out of bounds read.
26198 2012-02-29 Marek Polacek <polacek@redhat.com>
26201 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
26202 * elf/Makefile: Add rules to run tst-unused-dep.out.
26204 2012-02-28 David S. Miller <davem@davemloft.net>
26206 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
26207 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
26208 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
26209 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
26210 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
26211 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
26213 2012-02-29 Joseph Myers <joseph@codesourcery.com>
26215 * math/libm-test.inc (llround_test): Move one test from
26216 lround_test. Use TEST_f_L in moved test.
26217 (lround_test): Move misplaced test to llround_test. Add testcase
26220 2012-02-28 Ulrich Drepper <drepper@gmail.com>
26222 * sysdeps/x86_64/fpu/e_expf.S: New file.
26223 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
26225 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
26228 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
26229 of remain_len that may cause incomplete multi-byte character and
26231 * posix/bug-regex33.c: New file.
26232 * posix/Makefile (tests): Add bug-regex33.
26234 2012-02-28 Joseph Myers <joseph@codesourcery.com>
26236 * manual/macros.texi: New file.
26237 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
26238 * manual/libc.texinfo: Include macros.texi.
26239 * manual/creatute.texi: Likewise.
26240 * manual/install.texi: Likewise.
26241 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
26242 @glibcadj{} in references to the GNU C Library.
26243 * manual/charset.texi: Likewise.
26244 * manual/conf.texi: Likewise.
26245 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
26246 when not using those macros.
26247 * manual/creature.texi: Likewise.
26248 * manual/crypt.texi: Likewise.
26249 * manual/errno.texi: Likewise.
26250 * manual/filesys.texi: Likewise.
26251 * manual/header.texi: Likewise.
26252 * manual/install.texi: Likewise.
26253 * manual/intro.texi: Likewise.
26254 * manual/io.texi: Likewise.
26255 * manual/job.texi: Likewise.
26256 * manual/lang.texi: Likewise.
26257 * manual/libc.texiinfo: Likewise.
26258 * manual/llio.texi: Likewise.
26259 * manual/locale.texi: Likewise.
26260 * manual/maint.texi: Likewise.
26261 * manual/math.texi: Likewise.
26262 * manual/memory.texi: Likewise.
26263 * manual/message.texi: Likewise.
26264 * manual/nss.texi: Likewise.
26265 * manual/pattern.texi: Likewise.
26266 * manual/process.texi: Likewise.
26267 * manual/resource.texi: Likewise.
26268 * manual/search.texi: Likewise.
26269 * manual/setjmp.texi: Likewise.
26270 * manual/signal.texi: Likewise.
26271 * manual/socket.texi: Likewise.
26272 * manual/startup.texi: Likewise.
26273 * manual/stdio.texi: Likewise.
26274 * manual/string.texi: Likewise.
26275 * manual/sysinfo.texi: Likewise.
26276 * manual/syslog.texi: Likewise.
26277 * manual/terminal.texi: Likewise.
26278 * manual/time.texi: Likewise.
26279 * manual/users.texi: Likewise.
26280 * INSTALL: Regenerated.
26281 * NOTES: Regenerated.
26282 * sysdeps/gnu/errlist.c: Regenerated.
26284 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
26286 * include/dirent.h: Include <dirstream.h> before
26289 2012-02-28 David S. Miller <davem@davemloft.net>
26291 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
26292 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
26293 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
26294 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
26296 2012-02-27 David S. Miller <davem@davemloft.net>
26298 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
26299 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
26300 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
26301 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
26303 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
26304 frame pointer instead of stack pointer relative arg slot.
26305 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
26306 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
26307 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
26309 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
26312 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
26314 2012-02-27 David S. Miller <davem@davemloft.net>
26316 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
26317 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
26318 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
26319 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
26320 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
26321 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
26322 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
26323 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
26325 2012-02-27 Joseph Myers <joseph@codesourcery.com>
26327 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
26328 later. Allow versions 5-9.
26329 * configure: Regenerated.
26330 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
26331 required minimum version and 4.6 as recommended version. Do not
26332 mention bugs in GCC 2.7 and 2.8.
26333 * INSTALL: Regenerated.
26335 2012-02-27 David S. Miller <davem@davemloft.net>
26337 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
26338 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
26339 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
26340 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
26341 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
26342 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
26343 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
26344 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
26346 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
26347 manipulate bits before adding and subtracting TWO112[sx].
26348 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
26350 2012-02-27 Roland McGrath <roland@hack.frob.com>
26353 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
26354 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
26355 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
26356 being in POSIX, because they are in 1003.1-2008.
26358 * rt/tst-aio.c: Include <fcntl.h>.
26359 * rt/tst-aio7.c: Likewise.
26360 * rt/tst-aio64.c: Likewise.
26362 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
26364 2012-02-27 Joseph Myers <joseph@codesourcery.com>
26366 * manual/install.texi (--with-headers): Describe headers as
26367 interface headers, not private headers.
26368 (Specific advice for GNU/Linux systems): Describe use of headers
26369 from "make headers_install", not private headers from older
26371 * INSTALL: Regenerated.
26372 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
26374 * sysdeps/unix/sysv/linux/configure: Regenerated.
26376 * manual/llio.texi (fclean): Remove documentation.
26378 * manual/Makefile (libc-texi-generated): New variable. Include
26380 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
26381 $(libc-texi-generated), not duplicated list of files.
26382 (version.texi, stamp-version): New rules.
26383 (realclean): Remove $(libc-texi-generated), not individual files
26384 from that list. Do not remove dir-add.texinfo.
26385 * manual/libc.texinfo: Comment out uses of edition numbers and
26386 references to printed manual. Remove last-updated dates.
26387 (EDITION): Comment out.
26389 (VERSION, UPDATED): Remove.
26390 (version.texi): Include.
26392 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
26394 * sysdeps/posix/spawni.c: Include <signal.h>.
26395 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
26396 * sysdeps/pthread/aio_fsync.c: Likewise.
26398 2012-02-26 Ulrich Drepper <drepper@gmail.com>
26400 * conform/Makefile (tests): Run only when not cross-compiling and
26401 when fast-check is not defined.
26403 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
26404 * conform/data/limits.h-data: Fixes for POSIX2008.
26405 * conform/run-conformtest.sh: Run all tests.
26406 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
26408 * include/bits/dlfcn.h: Likewise.
26409 * include/langinfo.h: Likewise.
26410 * include/monetary.h: Likewise.
26411 * include/sys/poll.h: Likewise.
26413 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
26415 * posix/spawn.h: Define __need_sigset_t.
26416 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
26417 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
26418 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
26419 to get sigevent_t only.
26420 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
26421 only for __USE_GNU.
26422 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
26423 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
26424 process_vm_writev only for __USE_GNU.
26425 * termios/termios.h: Declare tcgetsid also for POSIX2008.
26427 * conform/Makefile: For now ignore errors from run-conformtest.
26428 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
26429 POSIX to avoid namespace pollution. Don't prepend headers.
26430 * conform/data/aio.h-data: Fixes for POSIX testing.
26431 * conform/data/fcntl.h-data: Likewise.
26432 * conform/data/glob.h-data: Likewise.
26433 * conform/data/grp.h-data: Likewise.
26434 * conform/data/pthread.h-data: Likewise.
26435 * conform/data/pwd.h-data: Likewise.
26436 * conform/data/signal.h-data: Likewise.
26437 * conform/data/spawn.h-data: Likewise.
26438 * conform/data/stdio.h-data: Likewise.
26439 * conform/data/stdlib.h-data: Likewise.
26440 * conform/data/stropts.h-data: Likewise.
26441 * conform/data/sys/mman.h-data: Likewise.
26442 * conform/data/sys/stat.h-data: Likewise.
26443 * conform/data/sys/types.h-data: Likewise.
26444 * conform/data/sys/wait.h-data: Likewise.
26445 * conform/data/time.h-data: Likewise.
26446 * conform/data/unistd.h-data: Likewise.
26447 * conform/data/utime.h-data: Likewise.
26449 * io/sys/stat.h: fchmod was always in POSIX.
26450 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
26451 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
26452 * rt/aio.h: Define __need_timespec before including <time.h>.
26453 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
26454 struct. Add forward declaration of pthread_attr_t and use it in
26456 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
26457 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
26458 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
26459 always remove CLK_TCK definition.
26461 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
26463 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
26465 2012-02-25 Ulrich Drepper <drepper@gmail.com>
26467 * conform/run-conformtest.sh: New file.
26468 * conform/Makefile: Run run-conformtest for tests.
26469 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
26472 * conform/data/uchar.h-data: New file.
26473 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
26474 * conform/data/arpa/inet.h-data: Likewise.
26475 * conform/data/assert.h-data: Likewise.
26476 * conform/data/complex.h-data: Likewise.
26477 * conform/data/cpio.h-data: Likewise.
26478 * conform/data/ctype.h-data: Likewise.
26479 * conform/data/dirent.h-data: Likewise.
26480 * conform/data/dlfcn.h-data: Likewise.
26481 * conform/data/errno.h-data: Likewise.
26482 * conform/data/fcntl.h-data: Likewise.
26483 * conform/data/float.h-data: Likewise.
26484 * conform/data/fmtmsg.h-data: Likewise.
26485 * conform/data/fnmatch.h-data: Likewise.
26486 * conform/data/ftw.h-data: Likewise.
26487 * conform/data/glob.h-data: Likewise.
26488 * conform/data/grp.h-data: Likewise.
26489 * conform/data/iconv.h-data: Likewise.
26490 * conform/data/inttypes.h-data: Likewise.
26491 * conform/data/langinfo.h-data: Likewise.
26492 * conform/data/libgen.h-data: Likewise.
26493 * conform/data/limits.h-data: Likewise.
26494 * conform/data/locale.h-data: Likewise.
26495 * conform/data/math.h-data: Likewise.
26496 * conform/data/monetary.h-data: Likewise.
26497 * conform/data/mqueue.h-data: Likewise.
26498 * conform/data/ndbm.h-data: Likewise.
26499 * conform/data/net/if.h-data: Likewise.
26500 * conform/data/netdb.h-data: Likewise.
26501 * conform/data/netinet/in.h-data: Likewise.
26502 * conform/data/nl_types.h-data: Likewise.
26503 * conform/data/poll.h-data: Likewise.
26504 * conform/data/pthread.h-data: Likewise.
26505 * conform/data/pwd.h-data: Likewise.
26506 * conform/data/regex.h-data: Likewise.
26507 * conform/data/sched.h-data: Likewise.
26508 * conform/data/search.h-data: Likewise.
26509 * conform/data/semaphore.h-data: Likewise.
26510 * conform/data/setjmp.h-data: Likewise.
26511 * conform/data/signal.h-data: Likewise.
26512 * conform/data/spawn.h-data: Likewise.
26513 * conform/data/stdarg.h-data: Likewise.
26514 * conform/data/stdio.h-data: Likewise.
26515 * conform/data/stdlib.h-data: Likewise.
26516 * conform/data/string.h-data: Likewise.
26517 * conform/data/strings.h-data: Likewise.
26518 * conform/data/stropts.h-data: Likewise.
26519 * conform/data/sys/ipc.h-data: Likewise.
26520 * conform/data/sys/mman.h-data: Likewise.
26521 * conform/data/sys/msg.h-data: Likewise.
26522 * conform/data/sys/resource.h-data: Likewise.
26523 * conform/data/sys/select.h-data: Likewise.
26524 * conform/data/sys/sem.h-data: Likewise.
26525 * conform/data/sys/shm.h-data: Likewise.
26526 * conform/data/sys/socket.h-data: Likewise.
26527 * conform/data/sys/stat.h-data: Likewise.
26528 * conform/data/sys/statvfs.h-data: Likewise.
26529 * conform/data/sys/time.h-data: Likewise.
26530 * conform/data/sys/timeb.h-data: Likewise.
26531 * conform/data/sys/times.h-data: Likewise.
26532 * conform/data/sys/types.h-data: Likewise.
26533 * conform/data/sys/uio.h-data: Likewise.
26534 * conform/data/sys/un.h-data: Likewise.
26535 * conform/data/sys/utsname.h-data: Likewise.
26536 * conform/data/sys/wait.h-data: Likewise.
26537 * conform/data/syslog.h-data: Likewise.
26538 * conform/data/tar.h-data: Likewise.
26539 * conform/data/termios.h-data: Likewise.
26540 * conform/data/utime.h-data: Likewise.
26541 * conform/data/utmpx.h-data: Likewise.
26542 * conform/data/varargs.h-data: Likewise.
26543 * conform/data/wchar.h-data: Likewise.
26544 * conform/data/wctype.h-data: Likewise.
26545 * conform/data/wordexp.h-data: Likewise.
26547 * include/stropts.h: New file.
26548 * include/uchar.h: New file.
26549 * include/aio.h: Changes to allow conformtest.pl to use the headers.
26550 * include/assert.h: Likewise.
26551 * include/ctype.h: Likewise.
26552 * include/dirent.h: Likewise.
26553 * include/dlfcn.h: Likewise.
26554 * include/fcntl.h: Likewise.
26555 * include/fnmatch.h: Likewise.
26556 * include/glob.h: Likewise.
26557 * include/grp.h: Likewise.
26558 * include/libio.h: Likewise.
26559 * include/locale.h: Likewise.
26560 * include/math.h: Likewise.
26561 * include/net/if.h: Likewise.
26562 * include/netdb.h: Likewise.
26563 * include/netinet/in.h: Likewise.
26564 * include/pthread.h: Likewise.
26565 * include/pwd.h: Likewise.
26566 * include/regex.h: Likewise.
26567 * include/sched.h: Likewise.
26568 * include/search.h: Likewise.
26569 * include/setjmp.h: Likewise.
26570 * include/signal.h: Likewise.
26571 * include/stdio.h: Likewise.
26572 * include/stdlib.h: Likewise.
26573 * include/string.h: Likewise.
26574 * include/sys/cdefs.h: Likewise.
26575 * include/sys/mman.h: Likewise.
26576 * include/sys/msg.h: Likewise.
26577 * include/sys/resource.h: Likewise.
26578 * include/sys/select.h: Likewise.
26579 * include/sys/socket.h: Likewise.
26580 * include/sys/stat.h: Likewise.
26581 * include/sys/statvfs.h: Likewise.
26582 * include/sys/time.h: Likewise.
26583 * include/sys/times.h: Likewise.
26584 * include/sys/uio.h: Likewise.
26585 * include/sys/utsname.h: Likewise.
26586 * include/sys/wait.h: Likewise.
26587 * include/termios.h: Likewise.
26588 * include/time.h: Likewise.
26589 * include/ulimit.h: Likewise.
26590 * include/unistd.h: Likewise.
26591 * include/utime.h: Likewise.
26592 * include/wchar.h: Likewise.
26593 * include/wctype.h: Likewise.
26594 * include/wordexp.h: Likewise.
26596 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
26598 * time/time.h: TIME_UTC must be a macro.
26599 Make timespec_get available for ISO C11 only as well.
26601 2012-02-24 Ulrich Drepper <drepper@gmail.com>
26603 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
26604 Reported by Peng Haitao <penght@cn.fujitsu.com>.
26606 2012-02-24 Joseph Myers <joseph@codesourcery.com>
26608 * configure.in: Use -o not -a in test for unsupported multi-arch.
26610 2012-02-24 Joseph Myers <joseph@codesourcery.com>
26612 * manual/texinfo.tex: Update to version 2012-01-19.16.
26614 2012-02-24 Joseph Myers <joseph@codesourcery.com>
26616 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
26618 2012-02-24 Roland McGrath <roland@hack.frob.com>
26621 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
26622 * manual/fdl-1.3.texi: New file.
26623 * manual/fdl-1.1.texi: File removed.
26626 * manual/libc.texinfo (FDL_VERSION): New @set.
26627 Use it for mention of FDL in cover text.
26628 (Documentation License): Use it in @include file name.
26630 2012-02-22 Joseph Myers <joseph@codesourcery.com>
26631 Roland McGrath <roland@hack.frob.com>
26634 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
26635 not LONG_LONG_MAX and LONG_LONG_MIN.
26636 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
26637 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
26639 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
26641 2012-02-22 Joseph Myers <joseph@codesourcery.com>
26645 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
26646 manipulate bits before adding and subtracting TWO23[sx].
26647 * math/libm-test.inc (nearbyint_test): Add more tests.
26649 2012-02-22 Joseph Myers <joseph@codesourcery.com>
26652 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
26653 bits before adding and subtracting TWO23[sx].
26654 * math/libm-test.inc (rint_test): Add more tests.
26655 (rint_test_tonearest): Likewise.
26656 (rint_test_towardzero): Likewise.
26657 (rint_test_downward): Likewise.
26658 (rint_test_upward: Likewise.
26660 2012-02-22 Joseph Myers <joseph@codesourcery.com>
26663 * include/stdc-predef.h: New file. Extracted from features.h.
26664 * include/features.h: Include stdc-predef.h.
26665 * Makefile (headers): Add stdc-predef.h.
26666 * CONFORMANCE (Compiler limitations): Update.
26668 2012-02-22 Joseph Myers <joseph@codesourcery.com>
26670 * manual/libc.texinfo (VERSION, UPDATED): Revert.
26672 2012-02-21 David S. Miller <davem@davemloft.net>
26674 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
26675 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
26677 2012-02-20 David S. Miller <davem@davemloft.net>
26679 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
26680 using a normal save/restore sequence, rather than allocating a
26681 dummy stack frame just to store a frame pointer and restore.
26682 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
26684 2012-02-21 Joseph Myers <joseph@codesourcery.com>
26686 * manual/install.texi: Fix stray word in line-wrapped comment.
26688 2012-02-20 David S. Miller <davem@davemloft.net>
26690 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
26691 both binutils and gcc support GOTDATA.
26693 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
26694 "rd %pc" in the PIC register setup sequences.
26696 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
26697 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
26698 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
26699 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
26700 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
26701 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
26702 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
26703 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
26704 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
26705 (SYSCALL_ERROR_HANDLER): Likewise.
26706 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
26707 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
26708 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
26709 (SYSCALL_ERROR_HANDLER): Likewise.
26711 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
26712 (HAVE_GCC_GOTDATA): New.
26713 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
26714 relocation support in both binutils and gcc.
26715 * sysdeps/sparc/elf/configure: Regenerate.
26717 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
26718 * sysdeps/sparc/sparc32/elf/configure: Delete.
26719 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
26720 * sysdeps/sparc/sparc64/elf/configure: Delete.
26721 * sysdeps/sparc/elf/configure.in: New file.
26722 * sysdeps/sparc/elf/configure: Generate.
26724 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
26725 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
26726 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
26727 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
26728 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
26730 2012-02-21 Joseph Myers <joseph@codesourcery.com>
26732 * manual/install.texi: Do not mention specific glibc version
26734 * manual/libc.texinfo (VERSION, UPDATED): Update.
26735 (@copying): Use @copyright{} and range of years.
26737 2012-02-21 Joseph Myers <joseph@codesourcery.com>
26740 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
26741 [crti.S not in sysdirs] (generated): Do not append.
26742 [crti.S not in sysdirs] (omit-deps): Likewise.
26743 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
26744 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
26745 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
26746 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
26747 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
26749 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
26750 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
26751 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
26752 * csu/defs.awk: Remove file.
26753 * sysdeps/generic/initfini.c: Likewise.
26754 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
26756 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
26759 2012-02-20 Joseph Myers <joseph@codesourcery.com>
26761 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
26762 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
26763 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
26764 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
26765 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
26766 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
26768 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
26769 (__EPOLL_PACKED): Define to empty if not defined by
26771 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
26772 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26775 2012-02-20 Joseph Myers <joseph@codesourcery.com>
26777 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
26778 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
26779 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
26780 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
26782 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
26783 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26786 2012-02-20 Joseph Myers <joseph@codesourcery.com>
26788 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
26790 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
26791 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
26792 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
26793 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26795 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
26797 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
26798 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
26800 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
26802 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
26803 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
26805 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
26807 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
26810 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
26812 * math/w_acos.c: Use non-signaling floating-point comparisons.
26813 * math/w_acosf.c: Likewise.
26814 * math/w_acosh.c: Likewise.
26815 * math/w_acoshf.c: Likewise.
26816 * math/w_acoshl.c: Likewise.
26817 * math/w_acosl.c: Likewise.
26818 * math/w_asin.c: Likewise.
26819 * math/w_asinf.c: Likewise.
26820 * math/w_asinl.c: Likewise.
26821 * math/w_atanh.c: Likewise.
26822 * math/w_atanhf.c: Likewise.
26823 * math/w_atanhl.c: Likewise.
26824 * math/w_exp2.c: Likewise.
26825 * math/w_exp2f.c: Likewise.
26826 * math/w_exp2l.c: Likewise.
26827 * math/w_j0.c: Likewise.
26828 * math/w_j0f.c: Likewise.
26829 * math/w_j0l.c: Likewise.
26830 * math/w_j1.c: Likewise.
26831 * math/w_j1f.c: Likewise.
26832 * math/w_j1l.c: Likewise.
26833 * math/w_jn.c: Likewise.
26834 * math/w_jnf.c: Likewise.
26835 * math/w_log.c: Likewise.
26836 * math/w_log10.c: Likewise.
26837 * math/w_log10f.c: Likewise.
26838 * math/w_log10l.c: Likewise.
26839 * math/w_log2.c: Likewise.
26840 * math/w_log2f.c: Likewise.
26841 * math/w_log2l.c: Likewise.
26842 * math/w_logf.c: Likewise.
26843 * math/w_logl.c: Likewise.
26844 * math/w_sqrt.c: Likewise.
26845 * math/w_sqrtf.c: Likewise.
26846 * math/w_sqrtl.c: Likewise.
26847 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
26848 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
26849 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
26850 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
26851 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
26853 2012-02-19 Joseph Myers <joseph@codesourcery.com>
26856 * manual/string.texi (strnlen): Use correct parameter name in
26857 equivalent expression.
26859 2012-02-19 Joseph Myers <joseph@codesourcery.com>
26862 * manual/users.texi (seteuid): Consistently use neweuid for
26865 2012-02-19 Joseph Myers <joseph@codesourcery.com>
26868 * manual/nss.texi (Services in the NSS configuration): Correct
26869 list of services in example configuration file.
26871 2012-02-19 Nick Bowler <nbowler@draconx.ca>
26874 * manual/arith.texi: Remove statements about negative zero
26875 behaving identically to zero.
26877 2012-02-18 Joseph Myers <joseph@codesourcery.com>
26880 * manual/install.texi: Do not document upgrading from libc5.
26882 2012-02-18 Joseph Myers <joseph@codesourcery.com>
26885 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
26887 2012-02-18 David S. Miller <davem@davemloft.net>
26889 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
26890 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
26891 %o7 across the call.
26892 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
26894 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
26895 SETUP_PIC_REG_LEAF.
26896 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26897 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
26898 * sysdeps/sparc/crtn.S: Likewise.
26900 2012-02-17 Ulrich Drepper <drepper@gmail.com>
26902 * aout/Makefile: Remove.
26904 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
26907 * manual/examples/argp-ex1.c (main): Format definition in GNU
26909 * manual/examples/argp-ex2.c (main): Likewise.
26910 * manual/examples/argp-ex3.c (main): Likewise.
26911 * manual/examples/argp-ex4.c (main): Likewise.
26912 * manual/examples/longopt.c (main): Use new-style prototype
26914 * manual/examples/strncat.c (main): Specify return type and use
26915 (void) for arguments.
26916 * manual/examples/subopt.c (main): Use char **argv argument.
26918 2012-02-17 Joseph Myers <joseph@codesourcery.com>
26921 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
26924 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
26927 * manual/string.texi (strchr): Change when strchrnul is
26930 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
26933 * manual/locale.texi (setlocale): Document LOCPATH.
26935 2012-02-17 Joseph Myers <joseph@codesourcery.com>
26938 * manual/process.texi (execle): Move @dots{} before last argument.
26940 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
26943 * manual/charset.texi (Generic Charset Conversion): Fix typo
26944 (LC_TYPE -> LC_CTYPE).
26946 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
26949 * manual/arith.texi (scalbn): Use @var{} on parameter names.
26950 (scalbnf): Likewise.
26951 (scalbnl): Likewise.
26952 (scalbln): Likewise.
26953 (scalblnf): Likewise.
26954 (scalblnl): Likewise.
26955 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
26956 (vwarnx): Likewise.
26959 * manual/filesys.texi (telldir): Use braces around return type.
26960 * manual/llio.texi (mmap): Add space after comma.
26961 (mmap64): Likewise.
26962 * manual/math.texi (jn): Use @var{} on parameter names.
26968 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
26970 * manual/resource.texi (ulimit): Use @dots{} instead of literal
26972 (sched_get_priority_min): Remove semicolon on @deftypefun line.
26973 (sched_get_priority_max): Likewise.
26974 * manual/signal.texi (sigvec): Add space after comma.
26975 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
26977 (if_indextoname): Likewise.
26978 (if_freenameindex): Likewise.
26979 (sendto): Use ',' instead of '.' in prototype.
26980 * manual/startup.texi (syscall): Use @dots{} instead of literal
26982 * manual/stdio.texi (__fpending): Separate initial words of
26983 paragraph from @deftypefun line.
26984 * manual/syslog.texi (syslog): Use @dots{} instead of literal
26986 (vsyslog): Use @var{} on parameter names.
26987 * manual/terminal.texi (stty): Use @var{} on parameter names.
26988 * manual/users.texi (getutmp): Use @var{} on parameter names.
26989 (getutmpx): Likewise.
26991 2012-02-17 Joseph Myers <joseph@codesourcery.com>
26994 * manual/stdio.texi (fopen): Fix typos in description of
26997 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
27000 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
27001 get clock_id definition.
27003 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
27006 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
27007 (madvise): Cast every argument to void on its own.
27009 2012-02-17 Joseph Myers <joseph@codesourcery.com>
27012 * manual/startup.texi (Exit Status): Fix typo.
27014 2012-02-17 Joseph Myers <joseph@codesourcery.com>
27017 * manual/examples/argp-ex1.c: Include <stdlib.h>.
27018 * manual/examples/argp-ex2.c: Likewise.
27019 * manual/examples/argp-ex3.c: Likewise.
27021 2012-02-16 Richard Henderson <rth@redhat.com>
27023 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
27024 * sysdeps/s390/s390-32/initfini.c: Remove.
27025 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
27026 * sysdeps/s390/s390-64/initfini.c: Remove.
27028 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27030 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
27031 compiler output for sysdeps/generic/initfini.c.
27032 * sysdeps/sh/elf/initfini.c: Remove file.
27034 2012-02-16 David S. Miller <davem@davemloft.net>
27037 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
27039 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
27040 * sysdeps/sparc/crti.S: New file.
27041 * sysdeps/sparc/crtn.S: New file.
27042 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
27043 * sysdeps/sparc/sparc64/Makefile: Likewise.
27045 2012-02-15 Mike Frysinger <vapier@gentoo.org>
27048 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
27050 2012-02-15 Roland McGrath <roland@hack.frob.com>
27053 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
27055 * mach/devstream.c (cookie_io_functions_t): Macro removed.
27056 (write, read, close): Likewise.
27057 Patch by Aurelien Jarno <aurelien@aurel32.net>.
27059 2012-02-15 Joseph Myers <joseph@codesourcery.com>
27061 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
27062 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
27063 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
27064 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
27066 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
27067 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27070 2012-02-14 Marek Polacek <polacek@redhat.com>
27072 * sysdeps/x86_64/crti.S: New file.
27073 * sysdeps/x86_64/crtn.S: New file.
27074 * sysdeps/x86_64/elf/initfini.c: Remove file.
27076 2012-02-13 Joseph Myers <joseph@codesourcery.com>
27078 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
27079 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
27080 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
27081 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
27083 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
27084 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27087 2012-02-13 Joseph Myers <joseph@codesourcery.com>
27089 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
27090 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
27091 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
27092 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
27094 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
27095 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27098 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
27100 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
27101 __feraiseexcept instead of feraiseexcept.
27103 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
27104 nanosleep invocations.
27105 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
27106 strings, and add error checking for a nanosleep invocations.
27108 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
27110 Replace FSF snail mail address with URLs, as per GNU coding standards.
27111 Most of the snail mail addresses were wrong anyway, and omitting
27112 them makes the source code easier to maintain. Almost all of the
27113 changes are to license notices and to locale LC_IDENTIFICATION
27114 addresses, except for this one:
27115 * manual/libc.texinfo: In "Published by", give the FSF's URL,
27116 not its snail mail address.
27118 2012-02-09 Richard Henderson <rth@twiddle.net>
27120 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
27121 of kernel-features.h.
27123 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
27125 2012-02-08 Marek Polacek <polacek@redhat.com>
27127 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
27128 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
27129 * sysdeps/gnu/_G_config.h: Likewise.
27130 * sysdeps/generic/_G_config.h: Likewise.
27132 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
27134 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
27136 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27138 * sysdeps/powerpc/powerpc32/crti.S: New file.
27139 * sysdeps/powerpc/powerpc32/crtn.S: New file.
27140 * sysdeps/powerpc/powerpc64/crti.S: New file.
27141 * sysdeps/powerpc/powerpc64/crtn.S: New file.
27143 * Makeconfig (have-initfini): Don't set.
27144 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
27145 * configure.in (nopic_initfini): Don't substitute.
27146 * config.h.in (HAVE_INITFINI): Don't #undef.
27147 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
27148 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
27150 2012-02-08 Joseph Myers <joseph@codesourcery.com>
27152 Support crti.S and crtn.S provided directly by architectures.
27153 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
27154 [crti.S in sysdirs] (omit-deps): Likewise.
27155 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
27156 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
27157 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
27158 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
27159 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
27160 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
27161 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
27162 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
27163 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
27164 compiler output for sysdeps/generic/initfini.c.
27165 * sysdeps/i386/elf/Makefile: Remove file.
27166 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
27168 2012-02-07 Marek Polacek <polacek@redhat.com>
27170 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
27171 * sysdeps/gnu/_G_config.h: Likewise.
27172 * sysdeps/mach/hurd/_G_config.h: Likewise.
27174 2012-02-07 Marek Polacek <polacek@redhat.com>
27176 * math/Makefile (tests): Add tst-CMPLX2.
27177 * math/tst-CMPLX2.c: New file.
27179 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
27181 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27183 * math/libm-test.inc (jn_test): Add missing L suffix.
27185 2012-02-06 Marek Polacek <polacek@redhat.com>
27187 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
27188 * sysdeps/i386/fpu/e_powf.S: Likewise.
27189 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
27190 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
27191 * sysdeps/i386/fpu/e_acosh.S: Likewise.
27192 * sysdeps/i386/fpu/e_pow.S: Likewise.
27193 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
27194 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
27195 * sysdeps/i386/fpu/s_expm1.S: Likewise.
27196 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
27197 * sysdeps/i386/fpu/e_log2.S: Likewise.
27198 * sysdeps/i386/fpu/e_log2l.S: Likewise.
27199 * sysdeps/i386/fpu/e_scalb.S: Likewise.
27200 * sysdeps/i386/fpu/e_powl.S: Likewise.
27201 * sysdeps/i386/fpu/s_log1p.S: Likewise.
27202 * sysdeps/i386/fpu/e_log10f.S: Likewise.
27203 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
27204 * sysdeps/i386/fpu/e_logl.S: Likewise.
27205 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
27206 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
27207 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
27208 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
27209 * sysdeps/i386/fpu/e_log2f.S: Likewise.
27210 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
27211 * sysdeps/i386/fpu/e_log.S: Likewise.
27212 * sysdeps/i386/fpu/s_cexp.S: Likewise.
27213 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
27214 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
27215 * sysdeps/i386/fpu/e_logf.S: Likewise.
27216 * sysdeps/i386/fpu/e_log10l.S: Likewise.
27217 * sysdeps/i386/fpu/e_atanh.S: Likewise.
27218 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
27219 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
27220 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
27221 * sysdeps/i386/fpu/e_log10.S: Likewise.
27222 * sysdeps/i386/fpu/s_frexp.S: Likewise.
27223 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
27224 * sysdeps/i386/fpu/s_asinh.S: Likewise.
27225 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
27226 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
27227 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
27228 * sysdeps/i386/asm-syntax.h: Likewise.
27229 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
27230 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
27231 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
27232 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
27233 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
27234 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
27235 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
27236 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
27237 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
27238 * sysdeps/powerpc/sysdep.h: Likewise.
27239 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
27240 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
27242 2012-02-06 Joseph Myers <joseph@codesourcery.com>
27245 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
27247 2012-02-06 Joseph Myers <joseph@codesourcery.com>
27249 * sysdeps/i386/sysdep.h: Include <features.h>.
27250 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
27253 2012-02-05 Joseph Myers <joseph@codesourcery.com>
27255 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
27257 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
27260 2012-02-03 Joseph Myers <joseph@codesourcery.com>
27262 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
27263 (SETUP_PIC_REG): Use GET_PC_THUNK.
27264 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
27267 2012-02-03 Joseph Myers <joseph@codesourcery.com>
27269 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
27270 for non-PIC compilation.
27271 (SETUP_PIC_REG): Add .p2align directive.
27272 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
27273 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
27274 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
27275 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
27276 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
27277 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
27278 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
27279 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
27280 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
27281 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
27282 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
27283 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
27284 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
27285 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
27286 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
27287 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
27288 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
27289 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
27290 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
27291 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
27292 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
27293 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
27294 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
27295 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
27296 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
27297 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
27298 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
27299 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
27300 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
27301 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
27302 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
27303 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
27304 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
27305 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
27306 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
27307 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
27308 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
27309 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
27310 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
27311 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
27312 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
27314 2012-02-03 Joseph Myers <joseph@codesourcery.com>
27316 * math/tst-CMPLX.c: Include <stdio.h>.
27318 2012-01-31 Joseph Myers <joseph@codesourcery.com>
27320 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
27322 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
27323 * sysdeps/sparc/bits/mathdef.h: Likewise.
27325 2012-01-31 Marek Polacek <polacek@redhat.com>
27327 * libio/libio.h: Don't define _PARAMS.
27328 * locale/programs/config.h: Don't define PARAMS.
27329 * stdlib/strtol_l.c: Likewise.
27330 (__strtol_l): Remove PARAMS from the prototype.
27332 2012-01-31 Ulrich Drepper <drepper@gmail.com>
27334 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
27335 names. Just use the correct names. Remove unnecessary wrapper
27337 * malloc/arena.c: Likewise.
27338 * malloc/hooks.c: Likewise.
27340 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
27341 ARENA_TEST says not to. Simplify test for creation of a new arena.
27342 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
27344 2012-01-30 Ulrich Drepper <drepper@gmail.com>
27346 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
27348 (update_get_addr): New function.
27349 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
27350 GET_ADDR_MODULE parameter.
27352 2012-01-30 Joseph Myers <joseph@codesourcery.com>
27354 * crypt/cert.c: Remove __STDC__ conditionals.
27355 * crypt/crypt-entry.c: Likewise.
27356 * crypt/crypt_util.c: Likewise.
27357 * libio/filedoalloc.c: Likewise.
27358 * libio/fileops.c: Likewise.
27359 * libio/genops.c: Likewise.
27360 * libio/iofclose.c: Likewise.
27361 * libio/iofdopen.c: Likewise.
27362 * libio/iofopen.c: Likewise.
27363 * libio/iofopen64.c: Likewise.
27364 * libio/iogetdelim.c: Likewise.
27365 * libio/iopopen.c: Likewise.
27366 * libio/obprintf.c: Likewise.
27367 * libio/oldfileops.c: Likewise.
27368 * libio/oldiofclose.c: Likewise.
27369 * libio/oldiofdopen.c: Likewise.
27370 * libio/oldiofopen.c: Likewise.
27371 * libio/oldiopopen.c: Likewise.
27372 * libio/wfiledoalloc.c: Likewise.
27373 * libio/wgenops.c: Likewise.
27374 * locale/programs/xmalloc.c: Likewise.
27375 * misc/syslog.c: Likewise.
27376 * stdio-common/xbug.c: Likewise.
27377 * string/memchr.c: Likewise.
27378 * string/memcmp.c: Likewise.
27379 * string/memrchr.c: Likewise.
27380 * string/rawmemchr.c: Likewise.
27381 * sysdeps/posix/getcwd.c: Likewise.
27382 * time/strftime_l.c: Likewise.
27384 2012-01-30 Joseph Myers <joseph@codesourcery.com>
27386 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
27387 * config.make.in (config-cflags-sse2avx): Define.
27388 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
27391 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
27393 * scripts/config.guess: Update from upstream config git repository.
27394 * scripts/config.sub: Likewise.
27396 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
27398 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
27400 (R_TILEPRO_*, R_TILEGX_*): New macros.
27402 * scripts/firstversions.awk: Fix bug in version range handling.
27404 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
27406 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
27408 * include/sys/epoll.h: New file.
27409 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
27412 2012-01-28 Ulrich Drepper <drepper@gmail.com>
27414 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
27415 Avoid unnecessary __WORDSIZE == 64 test.
27416 (fmaxf): Use VEX format if possible.
27421 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
27422 * math/math_private.h: Remove libc_fegetround* and
27424 * sysdeps/i386/configure.in: Check for -msse2avx.
27425 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
27426 also if SSE2AVX is defined.
27427 Remove libc_fegetround* and libc_fesetround*.
27428 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
27429 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
27430 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
27432 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
27433 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
27434 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
27435 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
27436 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
27438 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
27440 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27442 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
27444 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
27446 2012-01-27 Ulrich Drepper <drepper@gmail.com>
27449 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
27451 * Makeconfig (libm): Define.
27452 * elf/Makefile: Add rules to build and run tst-relsort1.
27453 * elf/tst-relsort1.c: New file.
27454 * elf/tst-relsort1mod1.c: New file.
27455 * elf/tst-relsort1mod2.c: New file.
27457 2012-01-27 Joseph Myers <joseph@codesourcery.com>
27459 * math/s_ldexp.c: Remove __STDC__ conditionals.
27460 * math/s_ldexpf.c: Likewise.
27461 * math/s_ldexpl.c: Likewise.
27462 * math/s_nextafter.c: Likewise.
27463 * math/s_nexttowardf.c: Likewise.
27464 * math/s_significand.c: Likewise.
27465 * math/s_significandf.c: Likewise.
27466 * math/s_significandl.c: Likewise.
27467 * math/w_jnl.c: Likewise.
27468 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
27469 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
27470 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
27471 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
27472 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
27473 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
27474 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
27475 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
27476 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
27477 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
27478 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
27479 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
27480 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
27481 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
27482 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
27483 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
27484 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
27485 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
27486 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
27487 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
27488 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
27489 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
27490 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
27491 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
27492 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
27493 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
27494 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
27495 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
27496 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
27497 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
27498 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
27499 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
27500 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
27501 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
27502 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
27503 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
27504 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
27505 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
27506 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
27507 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
27508 * sysdeps/ieee754/k_standard.c: Likewise.
27509 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
27510 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
27511 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
27512 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
27513 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
27514 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
27515 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
27516 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
27517 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
27518 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
27519 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
27520 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
27521 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
27522 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
27523 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
27524 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
27525 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
27526 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
27527 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
27528 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
27529 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
27530 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
27531 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
27532 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
27533 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
27534 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
27535 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
27536 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
27537 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
27538 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
27539 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
27540 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
27541 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
27542 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
27543 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
27544 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
27545 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
27546 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
27547 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
27548 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
27549 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
27550 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
27551 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
27552 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
27553 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
27554 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
27555 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
27556 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
27557 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
27558 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
27559 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
27560 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
27561 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
27562 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
27563 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
27564 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
27565 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
27566 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
27567 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
27568 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
27569 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
27570 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
27571 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
27572 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
27573 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
27574 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
27575 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
27576 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
27577 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
27578 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
27579 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
27580 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
27581 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
27582 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
27583 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
27584 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
27585 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
27586 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
27587 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
27588 * sysdeps/ieee754/s_matherr.c: Likewise.
27589 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
27590 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
27591 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
27592 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
27594 2012-01-26 Joseph Myers <joseph@codesourcery.com>
27596 * crypt/md5.h: Remove __STDC__ conditionals.
27597 * libio/libioP.h: Likewise.
27598 * locale/programs/config.h: Likewise.
27599 * sysdeps/generic/sysdep.h: Likewise.
27600 * sysdeps/i386/asm-syntax.h: Likewise.
27601 * sysdeps/s390/asm-syntax.h: Likewise.
27602 * sysdeps/unix/sysdep.h: Likewise.
27603 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
27604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
27606 2012-01-26 Joseph Myers <joseph@codesourcery.com>
27608 * libio/libio.h: Remove __STDC__ conditionals.
27609 * malloc/obstack.h: Likewise.
27610 * math/complex.h: Likewise.
27611 * math/math.h: Likewise.
27612 * sysdeps/generic/_G_config.h: Likewise.
27613 * sysdeps/gnu/_G_config.h: Likewise.
27614 * sysdeps/mach/hurd/_G_config.h: Likewise.
27615 * sysdeps/powerpc/bits/mathdef.h: Likewise.
27616 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
27617 * sysdeps/sparc/bits/mathdef.h: Likewise.
27619 2012-01-26 Ulrich Drepper <drepper@gmail.com>
27622 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
27623 Clean up HAS_* macros.
27624 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
27625 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
27627 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
27629 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
27630 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
27631 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
27632 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
27633 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
27635 2012-01-25 Joseph Myers <joseph@codesourcery.com>
27637 * elf/tst-unique3.cc (gets): Remove declaration.
27638 * elf/tst-unique3lib.cc (gets): Likewise.
27639 * elf/tst-unique3lib2.cc (gets): Likewise.
27640 * elf/tst-unique4.cc (gets): Likewise.
27642 2012-01-24 Ulrich Drepper <drepper@gmail.com>
27644 * include/stdio.h: Add C++ protection. Add gets declarations and
27646 * debug/tst-chk1.c: Don't declare gets here.
27647 * stdio-common/tst-gets.c: Likewise.
27649 2012-01-24 Joseph Myers <joseph@codesourcery.com>
27651 * posix/glob: Remove directory.
27653 2012-01-24 Joseph Myers <joseph@codesourcery.com>
27655 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
27657 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
27659 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
27660 of the non-standard EPFNOSUPPORT.
27662 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
27664 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
27665 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
27666 ANYWHERE set to 1 only on KERN_NO_SPACE error.
27668 2012-01-21 Ulrich Drepper <drepper@gmail.com>
27670 * wcsmbs/uchar.h: Test __STDC_VERSION__.
27672 2012-01-20 Ulrich Drepper <drepper@gmail.com>
27674 * nscd/aicache.c (addhstaiX): Do not cache negative results of
27676 * nscd/grpcache.c (cache_addgr): Likewise.
27677 * nscd/hstcache.c (cache_addhst): Likewise.
27678 * nscd/initgrcache.c (addinitgroupsX): Likewise.
27679 * nscd/pwdcache.c (cache_addpw): Likewise.
27680 * nscd/servicescache.c (cache_addserv): Likewise.
27682 2012-01-16 Ulrich Drepper <drepper@gmail.com>
27684 * malloc/malloc.c: Various cleanups.
27685 * malloc/hooks.c: Likewise.
27687 * stdlib/Makefile (tests): Add bug-fmtmsg1.
27688 * stdlib/bug-fmtmsg1.c: New file.
27690 * stdlib/fmtmsg.c (init): Add missing unlock.
27691 Patch by Peng Haitao <penght@cn.fujitsu.com>.
27693 2012-01-12 Marek Polacek <polacek@redhat.com>
27695 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
27698 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
27700 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
27701 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
27702 macro to ensure uniqueness of label name.
27703 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
27704 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
27706 2012-01-11 Ulrich Drepper <drepper@gmail.com>
27708 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
27710 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
27711 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
27712 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
27713 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
27715 2012-01-10 Ulrich Drepper <drepper@gmail.com>
27717 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
27719 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
27720 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
27721 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
27723 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
27725 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
27726 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
27727 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
27728 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
27730 * math/bits/math-finite.h: Add ldexp support.
27732 2012-01-10 Marek Polacek <polacek@redhat.com>
27734 * locale/programs/localedef.h (show_archive_content): Add noreturn
27737 2012-01-09 Ulrich Drepper <drepper@gmail.com>
27739 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
27741 2012-01-08 Ulrich Drepper <drepper@gmail.com>
27743 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
27745 * io/Makefile (headers): Add bits/poll2.h.
27747 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
27749 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
27750 typo #include statement.
27752 2012-01-08 Ulrich Drepper <drepper@gmail.com>
27754 * include/sys/cdefs.h: Define __attribute_alloc_size.
27755 * catgets/gencat.c: Add alloc_size attribute and apply consistently
27756 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
27757 * elf/pldd.c: Likewise.
27758 * iconv/iconv_charmap.c: Likewise.
27759 * iconv/iconvconfig.c: Likewise.
27760 * iconv/strtab.c: Likewise.
27761 * locale/programs/locale.c: Likewise.
27762 * locale/programs/localedef.h: Likewise.
27763 * locale/programs/simple-hash.c: Likewise.
27764 * nscd/nscd.h: Likewise.
27765 * nss/makedb.c: Likewise.
27766 * sysdeps/generic/ldconfig.h: Likewise.
27767 * locale/programs/localedef.c: Remove xmalloc prototype.
27768 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
27770 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
27772 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
27775 2012-01-08 Ulrich Drepper <drepper@gmail.com>
27777 * math/Makefile (tests): Add tst-CMPLX.
27778 * math/tst-CMPLX.c: New file.
27780 * math/complex.h (CMPLXL): Fix typo.
27782 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
27783 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
27785 * debug/tst-chk1.c: Add poll and ppoll tests.
27786 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
27787 * include/sys/poll.h: Add hidden proto for ppoll.
27788 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
27789 * sysdeps/mach/hurd/ppoll.c: Likewise.
27790 * io/ppoll.c: Likewise.
27791 * debug/poll_chk.c: New file.
27792 * debug/ppoll_chk.c: New file.
27793 * include/bits/poll2.h: New file.
27794 * io/bits/poll2.h: New file.
27797 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
27799 * configure.in: static is always set to yes. Remove.
27800 * config.make.in: Don't set build-static.
27801 * Makeconfig: Remove use of build-static.
27802 * dlfcn/Makefile: Likewise.
27803 * elf/Makefile: Likewise.
27804 * math/Makefile: Likewise.
27805 * misc/Makefile: Likewise.
27806 * nptl/Makefile: Likewise.
27807 * sysdeps/mach/hurd/Makefile: Likewise.
27809 * configure.in: PWD_P is not used anymore.
27810 * config.make.in: Remove PWD_P entry.
27812 * configure.in: Remove last remnants of RANLIB.
27813 No need to check for signed size_t anymore.
27814 Don't set libc_commonpagesize and libc_relro_required here for Alpha
27816 Remove __builtin_expect test because we require at least gcc 3.4.
27817 * aclocal.m4: Likewise.
27819 * wcsmbs/mbrtoc16.c: Implement using towc function.
27820 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
27821 * wcsmbs/wcsmbsload.c: Likewise.
27822 * iconv/gconv_simple.c: Likewise.
27823 * iconv/gconv_int.h: Likewise.
27824 * iconv/gconv_builtin.h: Likewise.
27825 * iconv/iconv_prog.c: Remove CHAR16 handling.
27827 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
27829 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
27831 * configure.in: Remove --with-elf and --enable-bounded options.
27832 Dont set base_machine for ia64. More non-ELF conditions removed.
27833 Remove testing and setting of leading underscore information.
27834 * config.make.in (build-bounded): Set to no.
27835 * config.h.in: Remove NO_UNDERSCORES entry.
27836 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
27838 * csu/start.c: Remove !NO_UNDERSCORE code.
27839 * locale/localeinfo.h: Likewise.
27840 * sysdeps/generic/machine-gmon.h: Likewise.
27841 * sysdeps/generic/sysdep.h: Likewise.
27842 * sysdeps/i386/sysdep.h: Likewise.
27843 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
27844 * sysdeps/mach/sysdep.h: Likewise.
27845 * sysdeps/s390/s390-32/sysdep.h: Likewise.
27846 * sysdeps/s390/s390-64/sysdep.h: Likewise.
27847 * sysdeps/sh/sysdep.h: Likewise.
27848 * sysdeps/sparc/sparc32/alloca.S: Likewise.
27849 * sysdeps/unix/i386/sysdep.S: Likewise.
27850 * sysdeps/unix/sparc/start.c: Likewise.
27851 * sysdeps/unix/sparc/sysdep.S: Likewise.
27852 * sysdeps/unix/sparc/sysdep.h: Likewise.
27853 * sysdeps/unix/start.c: Likewise.
27854 * sysdeps/unix/x86_64/sysdep.S: Likewise.
27855 * sysdeps/x86_64/sysdep.h: Likewise.
27857 2012-01-07 Ulrich Drepper <drepper@gmail.com>
27860 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
27862 * argp/argp-fmtstream.h: Use const instead __const.
27863 * argp/argp.h: Likewise.
27864 * assert/assert.h: Likewise.
27865 * bits/fenv.h: Likewise.
27866 * bits/sched.h: Likewise.
27867 * bits/sigset.h: Likewise.
27868 * bits/sigthread.h: Likewise.
27869 * catgets/nl_types.h: Likewise.
27870 * conform/data/pthread.h-data: Likewise.
27871 * crypt/crypt-private.h: Likewise.
27872 * crypt/crypt.h: Likewise.
27873 * crypt/crypt_util.c: Likewise.
27874 * ctype/ctype.h: Likewise.
27875 * debug/execinfo.h: Likewise.
27876 * debug/mbsnrtowcs_chk.c: Likewise.
27877 * debug/mbsrtowcs_chk.c: Likewise.
27878 * debug/wcsnrtombs_chk.c: Likewise.
27879 * debug/wcsrtombs_chk.c: Likewise.
27880 * debug/wcstombs_chk.c: Likewise.
27881 * dirent/dirent.h: Likewise.
27882 * dlfcn/dlfcn.h: Likewise.
27883 * elf/neededtest4.c: Likewise.
27884 * grp/grp.h: Likewise.
27885 * gshadow/gshadow.h: Likewise.
27886 * iconv/gconv.h: Likewise.
27887 * iconv/gconv_int.h: Likewise.
27888 * iconv/gconv_simple.c: Likewise.
27889 * iconv/iconv.h: Likewise.
27890 * iconv/loop.c: Likewise.
27891 * iconv/skeleton.c: Likewise.
27892 * include/aio.h: Likewise.
27893 * include/aliases.h: Likewise.
27894 * include/argz.h: Likewise.
27895 * include/arpa/inet.h: Likewise.
27896 * include/assert.h: Likewise.
27897 * include/dirent.h: Likewise.
27898 * include/dlfcn.h: Likewise.
27899 * include/execinfo.h: Likewise.
27900 * include/fcntl.h: Likewise.
27901 * include/fenv.h: Likewise.
27902 * include/glob.h: Likewise.
27903 * include/grp.h: Likewise.
27904 * include/libintl.h: Likewise.
27905 * include/mntent.h: Likewise.
27906 * include/netdb.h: Likewise.
27907 * include/pwd.h: Likewise.
27908 * include/rpc/netdb.h: Likewise.
27909 * include/sched.h: Likewise.
27910 * include/search.h: Likewise.
27911 * include/shadow.h: Likewise.
27912 * include/signal.h: Likewise.
27913 * include/stdio.h: Likewise.
27914 * include/stdlib.h: Likewise.
27915 * include/string.h: Likewise.
27916 * include/sys/socket.h: Likewise.
27917 * include/sys/stat.h: Likewise.
27918 * include/sys/statfs.h: Likewise.
27919 * include/sys/statvfs.h: Likewise.
27920 * include/sys/syslog.h: Likewise.
27921 * include/sys/time.h: Likewise.
27922 * include/sys/uio.h: Likewise.
27923 * include/time.h: Likewise.
27924 * include/unistd.h: Likewise.
27925 * include/utmp.h: Likewise.
27926 * include/wchar.h: Likewise.
27927 * include/wctype.h: Likewise.
27928 * inet/aliases.h: Likewise.
27929 * inet/arpa/inet.h: Likewise.
27930 * inet/netinet/ether.h: Likewise.
27931 * inet/netinet/in.h: Likewise.
27932 * intl/libintl.h: Likewise.
27933 * io/bits/fcntl2.h: Likewise.
27934 * io/fcntl.h: Likewise.
27935 * io/ftw.h: Likewise.
27936 * io/sys/poll.h: Likewise.
27937 * io/sys/stat.h: Likewise.
27938 * io/sys/statfs.h: Likewise.
27939 * io/sys/statvfs.h: Likewise.
27940 * io/utime.h: Likewise.
27941 * libio/bits/stdio.h: Likewise.
27942 * libio/bits/stdio2.h: Likewise.
27943 * libio/libio.h: Likewise.
27944 * libio/libioP.h: Likewise.
27945 * libio/stdio.h: Likewise.
27946 * locale/lc-ctype.c: Likewise.
27947 * locale/locale.h: Likewise.
27948 * login/utmp.h: Likewise.
27949 * malloc/arena.c: Likewise.
27950 * malloc/malloc.c: Likewise.
27951 * malloc/malloc.h: Likewise.
27952 * malloc/mcheck.c: Likewise.
27953 * malloc/mtrace.c: Likewise.
27954 * math/bits/mathcalls.h: Likewise.
27955 * math/fenv.h: Likewise.
27956 * math/math_private.h: Likewise.
27957 * misc/bits/error.h: Likewise.
27958 * misc/bits/syslog.h: Likewise.
27959 * misc/err.h: Likewise.
27960 * misc/error.h: Likewise.
27961 * misc/fstab.h: Likewise.
27962 * misc/mntent.h: Likewise.
27963 * misc/regexp.h: Likewise.
27964 * misc/search.h: Likewise.
27965 * misc/sgtty.h: Likewise.
27966 * misc/sys/mman.h: Likewise.
27967 * misc/sys/syslog.h: Likewise.
27968 * misc/sys/uio.h: Likewise.
27969 * misc/sys/xattr.h: Likewise.
27970 * misc/ttyent.h: Likewise.
27971 * nis/rpcsvc/ypclnt.h: Likewise.
27972 * nss/nss.h: Likewise.
27973 * posix/bits/unistd.h: Likewise.
27974 * posix/fnmatch.h: Likewise.
27975 * posix/glob.h: Likewise.
27976 * posix/sched.h: Likewise.
27977 * posix/spawn.h: Likewise.
27978 * posix/sys/wait.h: Likewise.
27979 * posix/unistd.h: Likewise.
27980 * posix/wordexp.h: Likewise.
27981 * pwd/pwd.h: Likewise.
27982 * resolv/netdb.h: Likewise.
27983 * resource/sys/resource.h: Likewise.
27984 * rt/aio.h: Likewise.
27985 * rt/bits/mqueue2.h: Likewise.
27986 * rt/mqueue.h: Likewise.
27987 * shadow/shadow.h: Likewise.
27988 * signal/signal.h: Likewise.
27989 * socket/send.c: Likewise.
27990 * socket/sendto.c: Likewise.
27991 * socket/sys/socket.h: Likewise.
27992 * stdio-common/printf.h: Likewise.
27993 * stdlib/bits/stdlib.h: Likewise.
27994 * stdlib/fmtmsg.h: Likewise.
27995 * stdlib/monetary.h: Likewise.
27996 * stdlib/stdlib.h: Likewise.
27997 * stdlib/ucontext.h: Likewise.
27998 * streams/stropts.h: Likewise.
27999 * string/argz.h: Likewise.
28000 * string/bits/string2.h: Likewise.
28001 * string/string.h: Likewise.
28002 * string/strings.h: Likewise.
28003 * sunrpc/rpc/auth.h: Likewise.
28004 * sunrpc/rpc/auth_des.h: Likewise.
28005 * sunrpc/rpc/clnt.h: Likewise.
28006 * sunrpc/rpc/netdb.h: Likewise.
28007 * sunrpc/rpc/pmap_clnt.h: Likewise.
28008 * sunrpc/rpc/xdr.h: Likewise.
28009 * sysdeps/generic/inttypes.h: Likewise.
28010 * sysdeps/generic/net/if.h: Likewise.
28011 * sysdeps/generic/sys/swap.h: Likewise.
28012 * sysdeps/gnu/net/if.h: Likewise.
28013 * sysdeps/gnu/utmpx.h: Likewise.
28014 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
28015 * sysdeps/i386/i486/bits/string.h: Likewise.
28016 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
28017 * sysdeps/s390/bits/string.h: Likewise.
28018 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
28019 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
28020 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
28021 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
28022 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
28023 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
28024 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
28025 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
28026 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
28027 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
28028 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
28029 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
28030 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
28031 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
28032 * sysdeps/unix/sysv/linux/readv.c: Likewise.
28033 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
28034 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
28035 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
28036 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
28037 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
28038 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
28039 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
28040 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
28041 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
28042 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
28043 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
28044 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
28045 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
28046 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
28047 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
28048 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
28049 * sysvipc/sys/ipc.h: Likewise.
28050 * sysvipc/sys/msg.h: Likewise.
28051 * sysvipc/sys/sem.h: Likewise.
28052 * sysvipc/sys/shm.h: Likewise.
28053 * termios/termios.h: Likewise.
28054 * time/sys/time.h: Likewise.
28055 * time/time.h: Likewise.
28056 * wcsmbs/bits/wchar2.h: Likewise.
28057 * wcsmbs/uchar.h: Likewise.
28058 * wcsmbs/wchar.h: Likewise.
28059 * wctype/wctype.h: Likewise.
28062 * Makeconfig: Remove all but ELF support including AIX support.
28063 * Makerules: Likewise.
28064 * config.h.in: Likewise.
28065 * config.make.in: Likewise.
28066 * configure: Likewise.
28067 * configure.in: Likewise.
28068 * csu/Makefile: Likewise.
28069 * csu/version.c: Likewise.
28070 * debug/Makefile: Likewise.
28071 * dlfcn/Makefile: Likewise.
28072 * elf/Makefile: Likewise.
28073 * extra-lib.mk: Likewise.
28074 * iconv/Makefile: Likewise.
28075 * include/libc-symbols.h: Likewise.
28076 * include/shlib-compat.h: Likewise.
28077 * resolv/Makefile: Likewise.
28078 * resolv/res_libc.c: Likewise.
28079 * rt/Makefile: Likewise.
28080 * sysdeps/i386/asm-syntax.h: Likewise.
28081 * sysdeps/i386/sysdep.h: Likewise.
28082 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
28083 * sysdeps/mach/sysdep.h: Likewise.
28084 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
28085 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
28086 * sysdeps/s390/asm-syntax.h: Likewise.
28087 * sysdeps/s390/s390-32/sysdep.h: Likewise.
28088 * sysdeps/s390/s390-64/sysdep.h: Likewise.
28089 * sysdeps/sh/sysdep.h: Likewise.
28090 * sysdeps/unix/sparc/sysdep.h: Likewise.
28091 * sysdeps/wordsize-32/divdi3.c: Likewise.
28092 * sysdeps/x86_64/sysdep.h: Likewise.
28094 * argp/Versions: Remove _argp_unlock_xxx.
28097 * abilist/ld.abilist: Update. Adjust for removal of tls option.
28098 * abilist/libBrokenLocale.abilist: Likewise.
28099 * abilist/libanl.abilist: Likewise.
28100 * abilist/libc.abilist: Likewise.
28101 * abilist/libcrypt.abilist: Likewise.
28102 * abilist/libdl.abilist: Likewise.
28103 * abilist/libm.abilist: Likewise.
28104 * abilist/libnsl.abilist: Likewise.
28105 * abilist/libpthread.abilist: Likewise.
28106 * abilist/libresolv.abilist: Likewise.
28107 * abilist/librt.abilist: Likewise.
28108 * abilist/libthread_db.abilist: Likewise.
28109 * abilist/libutil.abilist: Likewise.
28110 * abilist/libnss_db.abilist: New file.
28112 * scripts/abilist.awk: Add support for indirect functions.
28114 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
28116 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
28118 * shlib-versions: Remove entries for ports architectures.
28120 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
28122 * elf/stackguard-macros.h: Remove support for IA-64.
28123 * elf/tst-auditmod1.c: Likewise.
28124 * sysdeps/generic/ldsodefs.h: Likewise.
28126 * sysdeps/unix/sysv/linux/configure.in: Ports should define
28127 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
28131 * configure.in: Remove --enable-omitfp support.
28133 * config.make.in: Likewise.
28134 * Makeconfig: Likewise.
28135 * manual/install.texi: Likewise.
28137 In case anyone cares, the IA-64 architecture could move to ports.
28138 * sysdeps/ia64/*: Removed.
28139 * sysdeps/unix/sysv/linux/ia64/*: Removed.
28140 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
28143 * configure.in: Remove entries for unsupported architectures.
28146 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
28147 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
28149 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
28150 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
28151 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
28152 fall back to using wcrtomb.
28153 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
28154 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
28156 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
28157 * wcsmbs/tst-c16c32-1.c: New file.
28159 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
28162 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
28164 * elf/tst-unique3.cc: Add explicit declaration of gets.
28165 * elf/tst-unique3lib.cc: Likewise.
28166 * elf/tst-unique3lib2.cc: Likewise.
28167 * elf/tst-unique4.cc: Likewise.
28169 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
28171 2012-01-06 Joseph Myers <joseph@codesourcery.com>
28174 * assert/assert.h (static_assert): Don't define for C++.
28175 * libio/stdio.h (gets): Do declare for C++ <= C++11.
28176 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
28178 2012-01-03 Ulrich Drepper <drepper@gmail.com>
28180 * iconv/loop.c (single loop): Fix assertion in storing of
28183 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
28185 2012-01-01 Ulrich Drepper <drepper@gmail.com>
28187 * posix/getconf.c: Update copyright year.
28188 * nss/getent.c: Likewise.
28189 * nss/makedb.c: Likewise.
28190 * iconv/iconvconfig.c: Likewise.
28191 * iconv/iconv_prog.c: Likewise.
28192 * elf/ldconfig.c: Likewise.
28193 * elf/pldd.c: Likewise.
28194 * elf/sotruss.ksh: Likewise.
28195 * catgets/gencat.c: Likewise.
28196 * csu/version.c: Likewise.
28197 * elf/ldd.bash.in: Likewise.
28198 * elf/sprof.c (print_version): Likewise.
28199 * locale/programs/locale.c: Likewise.
28200 * locale/programs/localedef.c: Likewise.
28201 * login/programs/pt_chown.c: Likewise.
28202 * nscd/nscd.c (print_version): Likewise.
28203 * debug/xtrace.sh: Likewise.
28204 * malloc/memusage.sh: Likewise.
28205 * malloc/mtrace.pl: Likewise.
28206 * debug/catchsegv.sh: Likewise.
28208 2011-12-30 Jakub Jelinek <jakub@redhat.com>
28210 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
28213 2011-12-24 Ulrich Drepper <drepper@gmail.com>
28216 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
28217 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
28219 * iconv/gconv_int.h: Likewise.
28220 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
28221 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
28222 from libc for GLIBC_2.16.
28223 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
28224 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
28225 * wcsmbs/uchar.h: Really define mbstate_t.
28226 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
28227 * wcsmbs/c16rtomb.c: New file.
28228 * wcsmbs/mbrtoc16.c: New file.
28229 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
28230 for C/POSIX locale.
28231 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
28232 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
28234 * wcsmbs/wchar.h: Add missing __restrict.
28236 2011-12-23 Ulrich Drepper <drepper@gmail.com>
28239 * time/Makefile (routines): Add timespec_get.
28240 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
28241 * time/time.h: Define TIME_UTC and declare timespec_get. Define
28242 timespec for ISO C11.
28243 * time/timespec_get.c: New file.
28244 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
28245 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
28248 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
28249 * stdlib/stdlib.h: Declare aligned_alloc.
28250 * Versions.def: Add GLIBC_2.16 for libc.
28251 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
28254 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
28257 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
28261 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
28264 * assert/assert.h (static_assert): Define.
28266 * version.h: Update for 2.16 development version.
28269 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
28272 * version.h (RELEASE): Bump for 2.15 release.
28273 * include/features.h (__GLIBC_MINOR__): Bump to 15.
28275 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
28276 Patch by Marek Polacek <mpolacek@redhat.com>.
28278 * bits/byteswap.h: Protect long long constants with __extension__.
28279 * sysdeps/i386/bits/byteswap.h: Likewise.
28280 * sysdeps/ia64/bits/byteswap.h: Likewise.
28281 * sysdeps/s390/bits/byteswap.h: Likewise.
28282 * sysdeps/x86_64/bits/byteswap.h: Likewise.
28284 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28287 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
28288 destination buffer.
28289 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
28291 2011-12-23 Marek Polacek <polacek@redhat.com>
28293 * elf/dl-addr.c (determine_info): Add inline keyword.
28294 * elf/tst-auditmod4b.c (check_avx): Likewise.
28295 * elf/tst-auditmod6b.c (check_avx): Likewise.
28296 * elf/tst-auditmod6c.c (check_avx): Likewise.
28297 * elf/tst-auditmod7b.c (check_avx): Likewise.
28299 2011-12-23 Ulrich Drepper <drepper@gmail.com>
28301 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
28304 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28307 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
28308 processing for last bytes.
28310 2011-08-06 Bruno Haible <bruno@clisp.org>
28313 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
28314 U+0385, not to U+1FEE.
28317 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
28318 entry for U+00A5 U+0301.
28320 2011-12-22 Ulrich Drepper <drepper@gmail.com>
28323 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
28324 buffer for the output is too small.
28326 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
28330 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
28331 SSE flags if possible.
28333 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28336 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
28337 processing for last bytes.
28339 2011-12-22 Joseph Myers <joseph@codesourcery.com>
28341 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
28342 (syscall-list-default-options, syscall-list-default-condition)
28343 (syscall-list-includes): Define.
28344 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
28345 list of ABIs and options and #if conditions for each ABI. Do not
28346 handle common syscalls between ABIs specially.
28347 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
28349 (syscall-list-variants, syscall-list-32bit-options)
28350 (syscall-list-32bit-condition, syscall-list-64bit-options)
28351 (syscall-list-64bit-condition): Define.
28352 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
28353 (syscall-list-variants, syscall-list-32bit-options)
28354 (syscall-list-32bit-condition, syscall-list-64bit-options)
28355 (syscall-list-64bit-condition): Define.
28356 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
28358 (syscall-list-variants, syscall-list-32bit-options)
28359 (syscall-list-32bit-condition, syscall-list-64bit-options)
28360 (syscall-list-64bit-condition): Define.
28361 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
28363 (syscall-list-variants, syscall-list-32bit-options)
28364 (syscall-list-32bit-condition, syscall-list-64bit-options)
28365 (syscall-list-64bit-condition): Define.
28367 2011-12-22 Ulrich Drepper <drepper@gmail.com>
28369 * locale/iso-639.def: Add brx entry.
28372 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
28373 Proposed by Mariusz_Cukr <marcukr@op.pl>.
28375 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
28376 __feraiseexcept_renamed.
28378 2011-12-21 Ulrich Drepper <drepper@gmail.com>
28381 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
28382 EPOLLET with unsigned values.
28383 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
28384 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
28386 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
28387 to large cancellation.
28388 * math/s_cacoshf.c: Likewise.
28389 * math/s_cacoshl.c: Likewise.
28391 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
28395 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
28396 * math/s_cacoshf.c: Likewise.
28397 * math/s_cacoshl.c: Likewise.
28399 2011-12-21 Ulrich Drepper <drepper@gmail.com>
28402 * iconv/gconv.h: Define __GCONV_SWAP.
28403 * iconvdata/unicode.c: The swap bit must be stored in __flags.
28404 * iconvdata/utf-16.c: Likewise.
28405 * iconvdata/utf-32.c: Likewise.
28407 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
28410 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
28411 numerator after shifting it by one limb.
28413 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
28415 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
28416 under [__USE_EXTERN_INLINES].
28418 2011-12-17 Ulrich Drepper <drepper@gmail.com>
28421 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
28423 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28425 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
28426 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
28428 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
28429 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
28430 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
28431 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
28432 for strncasecmp/strncasecmp_l compilation.
28433 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
28434 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
28436 2011-12-08 Marek Polacek <mpolacek@redhat.com>
28439 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
28442 2011-12-17 Ulrich Drepper <drepper@gmail.com>
28445 * time/tzfile.c (__tzfile_read): Check values from file header.
28447 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
28449 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
28450 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
28451 * powerpc/powerpc32/dl-start.S: Likewise.
28452 * powerpc/powerpc32/elf/start.S: Likewise.
28453 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
28454 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
28455 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
28456 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
28457 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
28458 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
28459 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
28460 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
28461 * powerpc/powerpc32/fpu/s_round.S: Likewise.
28462 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
28463 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
28464 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
28465 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
28466 * powerpc/powerpc32/memset.S: Likewise.
28467 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
28468 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
28469 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
28470 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
28471 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
28472 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
28473 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
28474 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
28475 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
28476 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
28477 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
28478 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
28479 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
28481 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28483 * math/libm-test.inc: Added more nearbyint tests.
28484 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
28485 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
28486 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
28487 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
28489 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
28491 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
28494 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28496 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
28497 Add wcscpy-ssse3 wcscpy-c.
28498 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
28499 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
28500 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
28501 * sysdeps/x86_64/wcschr.S: New file.
28502 * sysdeps/x86_64/wcsrchr.S: New file.
28503 * string/test-strcmp.c: Remove checking of wcscmp function for
28505 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
28506 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
28507 wcsrchr-sse2 wcsrchr-c.
28508 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
28509 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
28510 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
28511 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
28512 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
28513 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
28514 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
28515 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
28516 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
28517 * wcsmbc/wcschr.c (WCSCHR): New macro.
28519 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28521 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
28522 * wcsmbs/test-wcsrchr.c: New file.
28523 * string/test-strrchr.c: Add wcsrchr support.
28525 * wcsmbs/test-wcscpy.c: New file.
28526 * string/test-strcpy.c: Add wcscpy support.
28529 2011-12-10 Ulrich Drepper <drepper@gmail.com>
28531 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
28534 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
28537 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
28539 2011-12-04 Ulrich Drepper <drepper@gmail.com>
28541 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
28542 Minor optimizations.
28544 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
28545 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
28546 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
28548 2011-12-03 Ulrich Drepper <drepper@gmail.com>
28550 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
28551 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
28552 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
28553 for gcc to avoid warnings.
28554 * inet/Makefile (tests): Add tst-checks.
28555 * inet/tst-checks.c: New file.
28557 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
28560 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
28563 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
28564 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
28566 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
28568 2011-12-02 Ulrich Drepper <drepper@gmail.com>
28570 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
28573 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
28575 2011-11-29 Joseph Myers <joseph@codesourcery.com>
28577 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
28578 conditional on GCC version.
28579 (__arch_compare_and_exchange_val_8_acq)
28580 (__arch_compare_and_exchange_val_16_acq)
28581 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
28582 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
28583 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
28585 2011-12-02 Joseph Myers <joseph@codesourcery.com>
28587 * sysdeps/sh/backtrace.c: New file.
28589 2011-12-02 Andreas Schwab <schwab@redhat.com>
28591 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
28594 2011-12-01 Andreas Schwab <schwab@redhat.com>
28596 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
28597 falling back to utime.
28599 2011-11-30 Andreas Schwab <schwab@redhat.com>
28601 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
28602 expectations for float.
28604 2011-11-29 Andreas Schwab <schwab@redhat.com>
28606 * locale/weight.h (findidx): Add parameter len.
28607 * locale/weightwc.h (findidx): Likewise.
28608 * posix/fnmatch_loop.c (FCT): Adjust caller.
28609 * posix/regcomp.c (build_equiv_class): Likewise.
28610 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
28611 * posix/regexec.c (check_node_accept_bytes): Likewise.
28612 * string/strcoll_l.c (STRCOLL): Likewise.
28613 * string/strxfrm_l.c (STRXFRM): Likewise.
28615 2011-11-17 Ulrich Drepper <drepper@gmail.com>
28617 * Makefile.in: Remove CVSOPT handling.
28618 * configure.in: Remove use of AC_REVISION.
28619 * iconvdata/Makefile (distribute): No need to filter out CVS.
28620 * scripts/list-sources.sh: Remove CVS, subversion and monotone
28623 2011-11-16 Andreas Schwab <schwab@redhat.com>
28625 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
28626 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
28627 [USE_AS_STRNCASECMP_L]: Likewise.
28628 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
28629 NO_TLS_DIRECT_SEG_REFS.
28630 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
28631 Fix argument offsets for non-PIC.
28632 [USE_AS_STRNCASECMP_L]: Likewise.
28633 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
28634 NO_TLS_DIRECT_SEG_REFS.
28636 2011-11-15 Ulrich Drepper <drepper@gmail.com>
28638 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
28640 * locale/loadlocale.c (_nl_load_locale): Likewise.
28642 2011-11-15 Andreas Schwab <schwab@redhat.com>
28644 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
28645 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
28646 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
28647 (SYSCALL_GETTIME): Set errno on error.
28649 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
28650 count references to noai6ai_cached.
28652 2011-11-15 Ulrich Drepper <drepper@gmail.com>
28654 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
28656 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
28657 FD_CLOEXEC for /proc/self/maps.
28659 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
28660 FD_CLOEXEC for /proc/meminfo.
28662 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
28665 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
28666 FD_CLOEXEC for given file.
28668 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
28670 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
28671 FD_CLOEXEC for /etc/hosts.
28672 (_gethtent): Likewise.
28674 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
28676 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
28677 cancellation and set FD_CLOEXEC for /etc/netgroup.
28679 * nss/nss_files/files-key.c (search): Don't allow cancellation when
28680 reading /etc/publickey.
28682 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
28683 allow cancellation when reading /etc/group.
28685 * nss/nss_files/files-alias.c (internal_setent): Don't allow
28687 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
28689 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
28690 when using data file.
28692 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
28694 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
28695 (write_nis_obj): Use "c" and "e" in fopen.
28697 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
28699 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
28701 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
28703 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
28705 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
28708 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
28710 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
28712 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
28714 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
28715 file parsing and set FD_CLOEXEC.
28717 2011-11-14 Ulrich Drepper <drepper@gmail.com>
28719 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
28721 2011-11-14 Andreas Schwab <schwab@redhat.com>
28723 * malloc/arena.c (arena_get2): Don't call reused_arena when
28724 _int_new_arena failed.
28726 2011-11-14 Ulrich Drepper <drepper@gmail.com>
28728 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
28729 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
28730 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
28731 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
28732 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
28733 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
28734 to compile strcasecmp and strncasecmp.
28735 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
28736 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
28738 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
28740 2011-11-13 Ulrich Drepper <drepper@gmail.com>
28742 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
28743 locale-defines.sym to gen-as-const-headers.
28744 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
28745 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
28746 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
28747 to compile strcasecmp and strncasecmp.
28748 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
28749 strcasecmp_l and strncasecmp_l.
28750 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
28751 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
28752 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
28753 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
28754 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
28755 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
28756 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
28757 * sysdeps/i386/i686/multiarch/strncase.S: New file.
28758 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
28759 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
28760 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
28762 2011-11-12 Ulrich Drepper <drepper@gmail.com>
28764 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
28765 result of SYSDEP_GETTIME_CPU to retval.
28766 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
28767 parameter list to macro. Remove trailing semicolon. Adjust users.
28769 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
28772 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
28774 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
28776 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
28777 from unused variable.
28779 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
28781 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
28784 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
28787 * sunrpc/rpc_prot.c (rejected): Fix case value.
28789 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
28790 unsigned long long int to avoid warnings in shift.
28792 * posix/regex_internal.c (re_string_reconstruct): Actually use result
28794 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
28797 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
28798 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
28799 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
28801 * nis/nis_table.c (nis_list): Use variable of correct type for
28802 result of __follow_path call.
28804 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28806 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
28807 of math functions ceil, trunc, floor, round, and sqrt, when
28808 avaliable on the platform.
28809 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
28811 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
28812 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
28813 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
28815 2011-10-30 Marek Polacek <mpolacek@redhat.com>
28817 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
28818 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
28820 2011-11-11 Roland McGrath <roland@hack.frob.com>
28822 * include/unistd.h: Fix __readlink return type.
28823 Reported by Chris Metcalf <cmetcalf@tilera.com>.
28825 2011-11-11 Ulrich Drepper <drepper@gmail.com>
28827 * stdlib/ucontext.h: Undo last change for makecontext.
28829 2011-11-11 Andreas Schwab <schwab@redhat.com>
28831 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
28833 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
28834 * setjmp/setjmp.h: Mark functions as non-leaf.
28835 * setjmp/bits/setjmp2.h: Likewise.
28836 * stdlib/ucontext.h: Likewise.
28838 2011-11-10 Andreas Schwab <schwab@redhat.com>
28840 * malloc/arena.c (_int_new_arena): Don't increment narenas.
28841 (reused_arena): Don't check arena limit.
28842 (arena_get2): Atomically check arena limit.
28844 2011-11-08 Ulrich Drepper <drepper@gmail.com>
28846 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
28847 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
28849 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
28852 2011-11-07 Andreas Schwab <schwab@redhat.com>
28854 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
28855 handler when locking.
28857 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
28858 Fix size of allocated buffer.
28860 2011-11-04 Andreas Schwab <schwab@redhat.com>
28863 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
28864 declarations for long double functions.
28865 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
28867 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
28869 2011-11-03 Andreas Schwab <schwab@redhat.com>
28871 * nscd/nscd.c (main): Don't start AVC thread until credentials are
28874 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
28877 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
28879 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
28881 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
28883 * include/alloca.h (stackinfo_alloca_round): Define.
28884 (extend_alloca): Use it.
28885 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
28886 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
28889 * scripts/check-local-headers.sh: Ignore libaudit.h.
28891 * nscd/Makefile (extra-objs): Make recursively expanded.
28893 2011-11-01 Ulrich Drepper <drepper@gmail.com>
28895 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
28896 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
28898 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
28899 * posix/tst-rfc3484-2.c: Likewise.
28900 * posix/tst-rfc3484-3.c: Likewise.
28902 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
28904 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
28906 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
28907 process_vm_writev from libc using GLIBC_2.15 version.
28909 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
28911 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
28913 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
28916 2011-10-31 Ulrich Drepper <drepper@gmail.com>
28919 * nss/getent.c (initgroups_keys): Show error message in case no group
28922 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
28923 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
28924 __bump_nl_timestamp.
28925 * nscd/connections (nscd_init): When host database is served open
28926 netlink socket and request notification about configuration changes.
28927 (main_loop_poll): Track netlink file descriptor and bump timestamp
28928 in case data becomes available.
28929 (main_loop_epoll): Likewise.
28930 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
28931 (database_pers_head): Add extra_data fileds.
28932 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
28933 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
28934 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
28936 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
28937 in6ai data, call __free_in6ai.
28938 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
28939 Add -DHAVE_NETLINK.
28940 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
28941 interface information. Reuse previous data if netlink timestamp
28943 (__bump_nl_timestamp): New function.
28944 (__free_in6ai): New function.
28946 2011-10-30 Ulrich Drepper <drepper@gmail.com>
28948 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
28949 close_not_cancel_no_status here.
28950 (__check_pf): Reorganize code a bit to not call close twice if OOM.
28952 2011-10-29 Ulrich Drepper <drepper@gmail.com>
28955 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
28958 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
28959 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
28960 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
28962 2011-07-03 Andreas Jaeger <aj@suse.de>
28965 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
28966 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
28967 * math/libm-test.inc (sin_test): Add test case.
28969 2011-10-29 Ulrich Drepper <drepper@gmail.com>
28972 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
28973 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
28975 * elf/chroot_canon.c (chroot_canon): Cleanups.
28977 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
28980 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
28981 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
28983 * string/test-strchr.c: Make usable for strchrnul testing.
28984 * string/test-strchrnul.c: New file.
28985 * string/Makefile (strop-tests): Add strchrnul.
28987 * po/it.po: Update from translation team.
28988 * po/es.po: Likewise.
28990 2011-10-28 Ulrich Drepper <drepper@gmail.com>
28992 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
28993 the three constants needed as parameters. Drop the others.
28994 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
28995 __m128i_strloadu_tolower.
28996 Create and initialize variable zero and use it in all the places
28997 where _mm_setzero_si128 was used.
28999 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
29000 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
29001 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
29002 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
29004 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
29005 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
29006 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
29007 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
29008 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
29009 __mpranred, __mptan.
29010 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
29011 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
29012 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
29013 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
29014 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
29015 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
29016 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
29017 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
29018 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
29020 2011-10-28 Andreas Schwab <schwab@redhat.com>
29022 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
29023 redefine if SHARED.
29024 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
29026 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
29027 wide char related routines to wcsmbs subdir.
29029 2011-10-27 Andreas Schwab <schwab@redhat.com>
29032 * misc/sys/cdefs.h (__THROWNL): Define.
29033 * posix/unistd.h: Use __THREADNL instead of __THREAD
29034 for memory synchronization functions.
29036 2011-10-26 Roland McGrath <roland@hack.frob.com>
29039 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
29041 * manual/stdio.texi (Obstack Streams): Node removed.
29043 2011-10-26 Andreas Schwab <schwab@redhat.com>
29045 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
29046 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
29047 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
29049 * math/math_private.h (math_force_eval): Allow non-addressable
29051 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
29053 2011-10-25 Ulrich Drepper <drepper@gmail.com>
29055 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
29056 file is not needed.
29058 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
29059 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
29060 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
29061 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
29062 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
29063 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
29064 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
29065 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
29067 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
29068 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
29069 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
29070 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
29071 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
29072 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
29073 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
29074 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
29075 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
29076 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
29077 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
29078 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
29079 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
29080 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
29081 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
29082 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
29083 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
29084 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
29085 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
29087 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
29088 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
29090 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
29091 place. Use VEX encoding when compiling for AVX.
29093 2011-10-25 Andreas Schwab <schwab@redhat.com>
29095 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
29096 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
29098 * string/test-strchr.c (do_test): Don't generate NUL bytes.
29100 2011-10-25 Ulrich Drepper <drepper@gmail.com>
29102 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
29103 useless if() expression.
29104 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
29105 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
29106 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
29107 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
29108 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
29109 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
29110 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
29111 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
29112 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
29113 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
29114 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
29115 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
29116 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
29117 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
29118 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
29119 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
29120 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
29121 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
29122 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
29124 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
29126 2011-10-25 Andreas Schwab <schwab@redhat.com>
29128 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
29130 * elf/dl-fini.c (_dl_sort_fini): Likewise.
29132 2011-10-25 Ulrich Drepper <drepper@gmail.com>
29134 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
29135 .text section. Avoid duplicate constants.
29136 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
29137 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29138 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
29139 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29140 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
29141 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29142 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29143 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29144 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
29145 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
29146 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
29147 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
29148 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
29149 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
29150 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
29151 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
29152 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
29153 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
29154 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
29155 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29156 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
29157 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
29158 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
29159 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
29160 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
29161 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
29162 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
29163 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
29164 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
29165 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
29166 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
29167 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
29168 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
29169 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
29170 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
29171 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
29172 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
29173 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
29174 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
29175 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
29176 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
29177 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
29178 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
29179 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
29180 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
29182 2011-10-24 Ulrich Drepper <drepper@gmail.com>
29184 * sysdeps/x86_64/dla.h: Move to ...
29185 * sysdeps/x86_64/fpu/dla.h: ...here.
29186 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
29187 situations. Use __builtin_fma only for gcc 4.6 and up.
29189 * config.make.in: Add have-mfma4 entry.
29190 * configure.in: Substitute libc_cv_cc_fma4.
29191 * math/Makefile (dbl-only-routines): Add sincostab.
29192 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
29193 Use __sincostab not sincos.
29194 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
29196 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
29197 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29198 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29199 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
29201 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
29202 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
29203 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
29204 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
29206 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
29207 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
29209 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
29210 define aliases when function name is a macro.
29211 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
29212 sysdeps/ieee754/dbl-64/sincos.tbl.
29213 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
29214 fma4-enabled routines.
29215 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
29216 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
29217 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
29218 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
29219 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
29220 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
29221 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
29222 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
29223 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
29224 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
29225 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
29226 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
29227 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
29228 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
29229 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
29230 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
29231 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
29232 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
29233 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
29234 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
29235 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
29236 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
29237 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
29238 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
29239 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
29240 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
29241 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
29242 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
29243 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
29244 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
29246 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
29248 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29249 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29250 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29251 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29252 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29253 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29254 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29255 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29257 2011-10-24 Andreas Schwab <schwab@redhat.com>
29259 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
29261 2011-10-23 Ulrich Drepper <drepper@gmail.com>
29263 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
29265 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
29267 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
29269 * string/strnlen.c: Don't define STRNLEN, reverse logic.
29270 Remove unused variable magic_bits.
29271 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
29273 * string/strnlen.c: Define and use STRNLEN macro.
29274 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
29275 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
29276 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
29277 * wcsmbs/wcslen.c: Define and use WCSLEN.
29278 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
29279 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
29280 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
29281 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
29282 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
29283 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
29284 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
29286 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29288 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29289 strnlen-sse2-no-bsf.
29290 Rename strlen-no-bsf to strlen-sse2-no-bsf.
29291 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
29292 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
29293 Add strnlen support.
29294 (USE_AS_STRNLEN): New macro.
29295 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
29296 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
29297 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
29298 * sysdeps/x86_64/wcslen.S: New file.
29300 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
29302 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
29303 XMM-moves are used for copying on small sizes.
29305 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29307 * wcsmbs/Makefile (strop-tests): Add wcschr.
29308 * wcsmbs/test-wcschr.c: New file.
29309 * string/test-strchr.c: Update.
29310 Add wcschr support.
29313 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29315 * wcsmbs/Makefile (strop-tests): Add wcslen.
29316 * wcsmbs/test-wcslen.c: New file.
29317 * string/test-strlen.c: Update.
29318 Add wcslen support.
29321 2011-10-23 Ulrich Drepper <drepper@gmail.com>
29323 * po/it.po: Update from translation team.
29325 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29327 * sysdeps/x86_64/wcscmp.S: Update.
29328 Fix wrong comparison semantics.
29329 wcscmp shall use signed comparison not unsigned.
29330 Don't use substraction to avoid overflow bug.
29331 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
29332 * wcsmbc/wcscmp.c: Likewise.
29333 * string/test-strcmp.c: Likewise.
29334 Add new tests to check cases with negative values.
29336 2011-10-23 Ulrich Drepper <drepper@gmail.com>
29338 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
29339 * sysdeps/x86_64/dla.h: ...here. New file.
29340 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
29341 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29342 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29343 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29344 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29345 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
29346 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29347 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29348 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29350 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
29352 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
29353 __ynl_finite aliases.
29355 2011-10-22 Ulrich Drepper <drepper@gmail.com>
29357 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29359 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
29361 [DLA_FMA] (EMULV): Use DLA_FMA.
29362 [DLA_FMA] (MUL12): Use EMULV.
29363 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
29364 that are not needed.
29365 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29366 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29367 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29368 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29369 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29370 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29371 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29373 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
29375 * math/s_nan.c: Undef __nan.
29376 * math/s_nanf.c: Undef __nanf.
29377 * math/s_nanl.c: Undef __nanl.
29378 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
29381 2011-10-22 Ulrich Drepper <drepper@gmail.com>
29383 * math/s_catan.c: Add branch predictions.
29384 * math/s_catanf.c: Likewise.
29385 * math/s_catanh.c: Likewise.
29386 * math/s_catanhf.c: Likewise.
29387 * math/s_catanhl.c: Likewise.
29388 * math/s_catanl.c: Likewise.
29389 * math/s_cexp.c: Likewise.
29390 * math/s_cexpf.c: Likewise.
29391 * math/s_cexpl.c: Likewise.
29392 * math/s_clog.c: Likewise.
29393 * math/s_clog10.c: Likewise.
29394 * math/s_clog10f.c: Likewise.
29395 * math/s_clog10l.c: Likewise.
29396 * math/s_clogf.c: Likewise.
29397 * math/s_clogl.c: Likewise.
29398 * math/s_csqrt.c: Likewise.
29399 * math/s_csqrtf.c: Likewise.
29400 * math/s_csqrtl.c: Likewise.
29401 * math/s_ctanf.c: Likewise.
29402 * math/s_ctanh.c: Likewise.
29403 * math/s_ctanhf.c: Likewise.
29404 * math/s_ctanhl.c: Likewise.
29405 * math/s_ctanl.c: Likewise.
29407 * math/math_private.h: Define __nan, __nanf, __nanl.
29408 * math/s_cacosh.c: Include <math_private.h>.
29409 * math/s_cacoshl.c: Likewise.
29410 * math/s_casinh.c: Likewise.
29411 * math/s_casinhf.c: Likewise.
29412 * math/s_casinhl.c: Likewise.
29413 * math/s_ccos.c: Rely entire on ccosh.
29414 * math/s_ccosf.c: Rely entire on ccoshf.
29415 * math/s_ccosl.c: Rely entirely on ccoshl.
29416 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
29417 Remove tests for FE_INVALID.
29418 * math/s_ccoshf.c: Likewise.
29419 * math/s_ccoshl.c: Likewise.
29420 * math/s_csin.c: Likewise.
29421 * math/s_csinf.c: Likewise.
29422 * math/s_csinh.c Likewise.
29423 * math/s_csinhf.c: Likewise.
29424 * math/s_csinhl.c: Likewise.
29425 * math/s_csinl.c: Likewise.
29426 * math/s_ctan.c: Likewise.
29427 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
29428 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
29429 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
29431 2011-10-21 Ulrich Drepper <drepper@gmail.com>
29433 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
29434 compilation problems.
29436 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
29439 2011-10-20 Ulrich Drepper <drepper@gmail.com>
29441 * sysdeps/i386/configure.in: Test for -mfma4 option.
29442 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
29443 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
29444 COMMON_CPUID_INDEX_80000001.
29445 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
29446 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
29447 use it if FMA3 is not supported.
29448 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
29450 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
29451 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
29453 2011-10-20 Andreas Schwab <schwab@redhat.com>
29456 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
29457 it would create a cycle with a link time dependency.
29459 2011-10-19 Ulrich Drepper <drepper@gmail.com>
29461 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
29463 * string/Makefile (strop-tests): Add rawmemchr.
29464 * string/test-rawmemchr.c: New file.
29466 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
29467 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
29468 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
29469 when compiling str{,n}casecmp and when AVX is available. Hook up
29470 new optimized code in initializers.
29472 2011-10-19 Andreas Schwab <schwab@redhat.com>
29474 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
29475 __feraiseexcept instead of feraiseexcept.
29477 2011-10-18 Ulrich Drepper <drepper@gmail.com>
29479 * math/math_private.h: Define defaults for libc_fetestexcept and
29481 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
29482 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
29483 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
29484 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
29485 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
29486 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
29487 libc_fetestexcept and libc_feupdateenv.
29489 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
29490 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
29491 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
29492 * sysdeps/x86_64/fpu/math_private.h: Define special version of
29493 libc_feholdexcept_setround.
29495 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
29496 Add s_nearbyint-c and s_nearbyintf-c.
29497 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
29498 nearbyintf inlines.
29499 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
29500 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
29501 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
29502 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
29504 * math/math_private.h: Define defaults for libc_fegetround,
29505 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
29506 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
29507 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
29508 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
29509 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
29510 standard functions.
29511 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
29512 Remove comments and hacks for old compiler versions.
29513 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
29514 libc_fegetround, libc_fesetround, libc_feholdexcept, and
29515 libc_feholdexceptl.
29517 2011-10-18 Andreas Schwab <schwab@redhat.com>
29519 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
29520 (__feraiseexcept_renamed): Add __NTH.
29521 (feraiseexcept): Add __NTH. Rename local variables to fix
29522 namespace violations.
29524 2011-10-17 Ulrich Drepper <drepper@gmail.com>
29526 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
29528 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
29530 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
29531 recently added interfaces.
29532 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
29534 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
29535 about macro parameter expansion.
29537 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
29538 __NO_MATH_INLINES is defined. Cleanups.
29540 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
29541 and __floorf is target has SSE4.1.
29542 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
29543 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
29544 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
29545 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
29547 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
29549 (floorf): Likewise.
29551 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
29553 2011-10-17 Andreas Schwab <schwab@redhat.com>
29555 * misc/sys/cdefs.h: Fix last change.
29557 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
29560 2011-10-16 Ulrich Drepper <drepper@gmail.com>
29562 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
29564 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
29565 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
29566 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
29567 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
29568 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
29569 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
29570 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
29571 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
29572 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
29573 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
29574 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
29575 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
29576 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
29577 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
29578 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
29579 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
29580 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
29581 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
29582 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
29583 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
29584 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
29585 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
29587 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
29588 ceil, ceilf, floor, floorf.
29590 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
29591 Perform IRELATIVE relocations last.
29593 * elf/do-rel.h: Add another parameter nrelative, replacing the
29594 local variable with the same name. Change name of the function
29595 to end in Rel or Rela (uppercase).
29596 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
29597 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
29598 elf_dynamic_do_##reloc function.
29600 2011-10-15 Ulrich Drepper <drepper@gmail.com>
29602 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
29603 is sufficient, at least on modern CPUs.
29605 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
29607 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
29608 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
29610 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
29612 * math/bits/math-finite.h: Add entries for exp.
29613 * math/e_expl.c: Add __*_finite alias.
29614 * sysdeps/i386/fpu/e_exp.S: Likewise.
29615 * sysdeps/i386/fpu/e_expf.S: Likewise.
29616 * sysdeps/i386/fpu/e_expl.c: Likewise.
29617 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
29618 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
29619 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
29620 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
29621 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
29622 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
29623 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
29625 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
29626 is sufficient, at least on modern CPUs.
29628 * ctype/ctype-info.c (__ctype_init): Define.
29629 * include/ctype.h (__ctype_init): Declare.
29630 (__ctype_b_loc): The variable is always initialized.
29631 (__ctype_toupper_loc): Likewise.
29632 (__ctype_tolower_loc): Likewise.
29633 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
29634 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
29636 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
29638 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
29640 * configure.in: Also look in $cxxmachine/include for C++ system
29643 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29645 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
29646 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
29647 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
29648 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
29649 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
29650 (USE_AS_WMEMCMP): New macro.
29652 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
29653 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
29654 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
29655 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
29656 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29657 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
29658 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
29659 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
29660 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
29661 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
29662 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
29663 (USE_AS_WMEMCMP): New macro.
29664 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
29665 * sysdeps/string/test-memcmp.c: Update.
29666 Fix simple_wmemcmp.
29668 * wcsmbs/wmemcmp.c: Update.
29669 (WMEMCMP): New macro.
29672 2011-10-12 Andreas Jaeger <aj@suse.de>
29675 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
29677 2011-10-15 Ulrich Drepper <drepper@gmail.com>
29679 * libio/iofwide.c (do_length): Avoid warning.
29681 * ctype/ctype.h (__isctype_f): Add missing __THROW.
29683 2011-10-14 Ulrich Drepper <drepper@gmail.com>
29685 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
29687 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
29688 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
29689 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
29690 * sysdeps/i386/i686/fpu/e_log.S: New file.
29691 * sysdeps/i386/i686/fpu/e_logf.S: New file.
29692 * sysdeps/i386/i686/fpu/e_logl.S: New file.
29694 * ctype/ctype.h: Add support for inlined isXXX functions when
29695 compiling C++ code.
29697 2011-10-14 Andreas Schwab <schwab@redhat.com>
29699 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
29701 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
29703 2011-10-13 Roland McGrath <roland@hack.frob.com>
29706 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
29708 2011-10-13 Andreas Schwab <schwab@redhat.com>
29710 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
29711 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
29714 * sysdeps/x86_64/memrchr.S: Check for zero size.
29716 * string/stratcliff.c: Add memrchr tests.
29718 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29720 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29721 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
29722 rawmemchr-sse2 rawmemchr-sse2-bsf.
29723 * sysdeps/i386/i686/multiarch/memchr.S: New file.
29724 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
29725 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
29726 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
29727 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
29728 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
29729 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
29730 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
29731 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
29732 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
29733 * string/memrchr.c (MEMRCHR): New macro.
29735 2011-10-12 Ulrich Drepper <drepper@gmail.com>
29737 Add integration with gcc's -ffinite-math-only and optimize wrapper
29739 * Versions.def: Define GLIBC_2.15 version for libm.
29740 * math/Makefile (headers): Add bits/math-finite.h.
29741 * math/bits/math-finite.h: New file.
29742 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
29743 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
29744 * math/e_acoshl.c: Add __*_finite alias.
29745 * math/e_acosl.c: Likewise.
29746 * math/e_asinl.c: Likewise.
29747 * math/e_atan2l.c: Likewise.
29748 * math/e_atanhl.c: Likewise.
29749 * math/e_coshl.c: Likewise.
29750 * math/e_exp10.c: Likewise.
29751 * math/e_exp10f.c: Likewise.
29752 * math/e_exp10l.c: Likewise.
29753 * math/e_exp2l.c: Likewise.
29754 * math/e_fmodl.c: Likewise.
29755 * math/e_gammal_r.c: Likewise.
29756 * math/e_hypotl.c: Likewise.
29757 * math/e_j0l.c: Likewise.
29758 * math/e_j1l.c: Likewise.
29759 * math/e_jnl.c: Likewise.
29760 * math/e_lgammal_r.c: Likewise.
29761 * math/e_log10l.c: Likewise.
29762 * math/e_log2l.c: Likewise.
29763 * math/e_logl.c: Likewise.
29764 * math/e_powl.c: Likewise.
29765 * math/e_sinhl.c: Likewise.
29766 * math/e_sqrtl.c: Likewise.
29767 * math/e_scalb.c: Completely rewritten and optimized.
29768 * math/e_scalbf.c: Likewise.
29769 * math/e_scalbl.c: Likewise.
29770 * math/w_acos.c: Likewise.
29771 * math/w_acosf.c: Likewise.
29772 * math/w_acosl.c: Likewise.
29773 * math/w_acosh.c: Likewise.
29774 * math/w_acoshf.c: Likewise.
29775 * math/w_acoshl.c: Likewise.
29776 * math/w_asin.c: Likewise.
29777 * math/w_asinf.c: Likewise.
29778 * math/w_asinl.c: Likewise.
29779 * math/w_atan2.c: Likewise.
29780 * math/w_atan2f.c: Likewise.
29781 * math/w_atan2l.c: Likewise.
29782 * math/w_atanh.c: Likewise.
29783 * math/w_atanhf.c: Likewise.
29784 * math/w_atanhl.c: Likewise.
29785 * math/w_exp10.c: Likewise.
29786 * math/w_exp10f.c: Likewise.
29787 * math/w_exp10l.c: Likewise.
29788 * math/w_fmod.c: Likewise.
29789 * math/w_fmodf.c: Likewise.
29790 * math/w_fmodl.c: Likewise.
29791 * math/w_j0.c: Likewise.
29792 * math/w_j0f.c: Likewise.
29793 * math/w_j0l.c: Likewise.
29794 * math/w_j1.c: Likewise.
29795 * math/w_j1f.c: Likewise.
29796 * math/w_j1l.c: Likewise.
29797 * math/w_jn.c: Likewise.
29798 * math/w_jnf.c: Likewise.
29799 * math/w_log.c: Likewise.
29800 * math/w_logf.c: Likewise.
29801 * math/w_logl.c: Likewise.
29802 * math/w_log10.c: Likewise.
29803 * math/w_log10f.c: Likewise.
29804 * math/w_log10l.c: Likewise.
29805 * math/w_log2.c: Likewise.
29806 * math/w_log2f.c: Likewise.
29807 * math/w_log2l.c: Likewise.
29808 * math/w_pow.c: Likewise.
29809 * math/w_powf.c: Likewise.
29810 * math/w_powl.c: Likewise.
29811 * math/w_remainder.c: Likewise.
29812 * math/w_remainderf.c: Likewise.
29813 * math/w_remainderl.c: Likewise.
29814 * math/w_scalb.c: Likewise.
29815 * math/w_scalbf.c: Likewise.
29816 * math/w_scalbl.c: Likewise.
29817 * math/w_sqrt.c: Likewise.
29818 * math/w_sqrtf.c: Likewise.
29819 * math/w_sqrtl.c: Likewise.
29820 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
29821 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
29823 * math/math_private.h: Declare __kernel_standard_f.
29824 * math/w_cosh.c: Remove cruft and optimize a bit.
29825 * math/w_coshf.c: Likewise.
29826 * math/w_coshl.c: Likewise.
29827 * math/w_exp2.c: Likewise.
29828 * math/w_exp2f.c: Likewise.
29829 * math/w_exp2l.c: Likewise.
29830 * math/w_hypot.c: Likewise.
29831 * math/w_hypotf.c: Likewise.
29832 * math/w_hypotl.c: Likewise.
29833 * math/w_lgamma.c: Likewise.
29834 * math/w_lgamma_r.c: Likewise.
29835 * math/w_lgammaf.c: Likewise.
29836 * math/w_lgammaf_r.c: Likewise.
29837 * math/w_lgammal.c: Likewise.
29838 * math/w_lgammal_r.c: Likewise.
29839 * math/w_sinh.c: Likewise.
29840 * math/w_sinhf.c: Likewise.
29841 * math/w_sinhl.c: Likewise.
29842 * math/w_tgamma.c: Likewise.
29843 * math/w_tgammaf.c: Likewise.
29844 * math/w_tgammal.c: Likewise.
29845 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
29846 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
29847 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
29848 Minor optimizations. Pretty printing. Remove cruft.
29849 * sysdeps/i386/fpu/e_acosf.S: Likewise.
29850 * sysdeps/i386/fpu/e_acosh.S: Likewise.
29851 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
29852 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
29853 * sysdeps/i386/fpu/e_acosl.c: Likewise.
29854 * sysdeps/i386/fpu/e_asin.S: Likewise.
29855 * sysdeps/i386/fpu/e_asinf.S: Likewise.
29856 * sysdeps/i386/fpu/e_atan2.S: Likewise.
29857 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
29858 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
29859 * sysdeps/i386/fpu/e_atanh.S: Likewise.
29860 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
29861 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
29862 * sysdeps/i386/fpu/e_exp10.S: Likewise.
29863 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
29864 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
29865 * sysdeps/i386/fpu/e_exp2.S: Likewise.
29866 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
29867 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
29868 * sysdeps/i386/fpu/e_fmod.S: Likewise.
29869 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
29870 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
29871 * sysdeps/i386/fpu/e_hypot.S: Likewise.
29872 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
29873 * sysdeps/i386/fpu/e_log.S: Likewise.
29874 * sysdeps/i386/fpu/e_log10.S: Likewise.
29875 * sysdeps/i386/fpu/e_log10f.S: Likewise.
29876 * sysdeps/i386/fpu/e_log10l.S: Likewise.
29877 * sysdeps/i386/fpu/e_log2.S: Likewise.
29878 * sysdeps/i386/fpu/e_log2f.S: Likewise.
29879 * sysdeps/i386/fpu/e_log2l.S: Likewise.
29880 * sysdeps/i386/fpu/e_logf.S: Likewise.
29881 * sysdeps/i386/fpu/e_logl.S: Likewise.
29882 * sysdeps/i386/fpu/e_pow.S: Likewise.
29883 * sysdeps/i386/fpu/e_powf.S: Likewise.
29884 * sysdeps/i386/fpu/e_powl.S: Likewise.
29885 * sysdeps/i386/fpu/e_remainder.S: Likewise.
29886 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
29887 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
29888 * sysdeps/i386/fpu/e_scalb.S: Likewise.
29889 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
29890 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
29891 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
29892 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
29893 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
29894 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
29895 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
29896 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29897 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
29898 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
29899 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
29900 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
29901 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
29902 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
29903 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
29904 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
29905 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
29906 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29907 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
29908 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
29909 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29910 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
29911 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
29912 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
29913 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29914 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
29915 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
29916 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
29917 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
29918 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
29919 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
29920 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
29921 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
29922 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
29923 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
29924 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
29925 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
29926 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
29927 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
29928 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
29929 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
29930 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
29931 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
29932 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
29933 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
29934 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
29935 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
29936 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
29937 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
29938 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
29939 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
29940 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
29941 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
29942 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
29943 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
29944 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
29945 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
29946 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
29947 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
29948 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
29949 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
29950 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
29951 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
29952 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
29953 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
29954 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
29955 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
29956 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
29957 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
29958 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
29959 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
29960 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
29961 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
29962 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
29963 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
29964 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
29965 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
29966 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
29967 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
29968 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
29969 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
29970 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
29971 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
29972 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
29973 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
29974 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
29975 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
29976 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
29977 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
29978 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
29979 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
29980 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
29981 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
29982 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
29983 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
29984 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
29985 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
29986 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
29987 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
29988 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
29989 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
29990 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
29991 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
29992 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
29993 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
29994 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
29995 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
29996 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
29997 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
29998 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
29999 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
30000 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
30001 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
30002 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
30003 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
30004 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
30005 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
30006 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
30007 (__isnanf): Likewise.
30008 (__isinf_ns): Likewise.
30009 (__isinf_nsf): Likewise.
30010 (__finite): Likewise.
30011 (__finitef): Likewise.
30012 (__ieee754_sqrt): Define as macro.
30013 (__ieee754_sqrtf): Define as macro.
30014 (__ieee754_sqrtl): Define as macro.
30015 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
30017 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
30018 __FINITE_MATH_ONLY__ consistent.
30019 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
30021 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
30023 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
30026 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
30028 2011-10-09 Ulrich Drepper <drepper@gmail.com>
30030 * po/ja.po: Update from translation team.
30032 2011-10-08 Roland McGrath <roland@hack.frob.com>
30034 * locale/programs/locarchive.c (prepare_address_space): New function.
30035 (create_archive, enlarge_archive, open_archive): Use it.
30037 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
30038 inside [SHARED], where it is used.
30040 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
30042 * nss/getent.c (netgroup_keys): Remove unused variable.
30043 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
30045 2011-10-08 Ulrich Drepper <drepper@gmail.com>
30047 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
30048 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
30049 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
30050 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
30051 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
30052 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
30053 * math/Makefile (libm-calls): Add s_isinf_ns.
30054 * math/divtc3.c: Use __isinf_nsl instead of isinf.
30055 * math/multc3.c: Likewise.
30056 * math/s_casin.c: Likewise.
30057 * math/s_casinf.c: Likewise.
30058 * math/s_casinl.c: Likewise.
30059 * math/s_ccos.c: Likewise.
30060 * math/s_ccosf.c: Likewise.
30061 * math/s_ccosl.c: Likewise.
30062 * math/s_ctan.c: Likewise.
30063 * math/s_ctanf.c: Likewise.
30064 * math/s_ctanh.c: Likewise.
30065 * math/s_ctanhf.c: Likewise.
30066 * math/s_ctanhl.c: Likewise.
30067 * math/s_ctanl.c: Likewise.
30068 * math/w_fmod.c: Likewise.
30069 * math/w_fmodf.c: Likewise.
30070 * math/w_fmodl.c: Likewise.
30071 * math/w_remainder.c: Likewise.
30072 * math/w_remainderf.c: Likewise.
30073 * math/w_remainderl.c: Likewise.
30074 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
30075 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
30076 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
30077 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
30078 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
30079 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
30080 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
30081 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
30083 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
30085 * stdio-common/printf_fphex.c: Likewise.
30086 * stdio-common/printf_size.c: Likewise.
30088 * math/e_exp10.c: Include math_private.h using <...> not "...".
30089 * math/e_exp10f.c: Likewise.
30090 * math/e_exp10l.c: Likewise.
30091 * math/e_exp2l.c: Likewise.
30092 * math/e_j0l.c: Likewise.
30093 * math/e_j1l.c: Likewise.
30094 * math/e_jnl.c: Likewise.
30095 * math/e_lgammal_r.c: Likewise.
30096 * math/e_rem_pio2l.c: Likewise.
30097 * math/e_scalb.c: Likewise.
30098 * math/e_scalbf.c: Likewise.
30099 * math/e_scalbl.c: Likewise.
30100 * math/k_cosl.c: Likewise.
30101 * math/k_sinl.c: Likewise.
30102 * math/k_tanl.c: Likewise.
30103 * math/s_cacoshf.c: Likewise.
30104 * math/s_catan.c: Likewise.
30105 * math/s_catanf.c: Likewise.
30106 * math/s_catanh.c: Likewise.
30107 * math/s_catanhf.c: Likewise.
30108 * math/s_catanhl.c: Likewise.
30109 * math/s_catanl.c: Likewise.
30110 * math/s_ccosh.c: Likewise.
30111 * math/s_ccoshf.c: Likewise.
30112 * math/s_ccoshl.c: Likewise.
30113 * math/s_cexp.c: Likewise.
30114 * math/s_cexpf.c: Likewise.
30115 * math/s_cexpl.c: Likewise.
30116 * math/s_clog.c: Likewise.
30117 * math/s_clog10.c: Likewise.
30118 * math/s_clog10f.c: Likewise.
30119 * math/s_clog10l.c: Likewise.
30120 * math/s_clogf.c: Likewise.
30121 * math/s_clogl.c: Likewise.
30122 * math/s_csin.c: Likewise.
30123 * math/s_csinf.c: Likewise.
30124 * math/s_csinh.c: Likewise.
30125 * math/s_csinhf.c: Likewise.
30126 * math/s_csinhl.c: Likewise.
30127 * math/s_csinl.c: Likewise.
30128 * math/s_csqrt.c: Likewise.
30129 * math/s_csqrtf.c: Likewise.
30130 * math/s_csqrtl.c: Likewise.
30131 * math/s_ctan.c: Likewise.
30132 * math/s_ctanf.c: Likewise.
30133 * math/s_ctanh.c: Likewise.
30134 * math/s_ctanhf.c: Likewise.
30135 * math/s_ctanhl.c: Likewise.
30136 * math/s_ctanl.c: Likewise.
30137 * math/s_ldexp.c: Likewise.
30138 * math/s_ldexpf.c: Likewise.
30139 * math/s_ldexpl.c: Likewise.
30140 * math/s_significand.c: Likewise.
30141 * math/s_significandf.c: Likewise.
30142 * math/s_significandl.c: Likewise.
30143 * math/w_acos.c: Likewise.
30144 * math/w_acosf.c: Likewise.
30145 * math/w_acosh.c: Likewise.
30146 * math/w_acoshf.c: Likewise.
30147 * math/w_acoshl.c: Likewise.
30148 * math/w_acosl.c: Likewise.
30149 * math/w_asin.c: Likewise.
30150 * math/w_asinf.c: Likewise.
30151 * math/w_asinl.c: Likewise.
30152 * math/w_atan2.c: Likewise.
30153 * math/w_atan2f.c: Likewise.
30154 * math/w_atan2l.c: Likewise.
30155 * math/w_atanh.c: Likewise.
30156 * math/w_atanhf.c: Likewise.
30157 * math/w_atanhl.c: Likewise.
30158 * math/w_cosh.c: Likewise.
30159 * math/w_coshf.c: Likewise.
30160 * math/w_coshl.c: Likewise.
30161 * math/w_dremf.c: Likewise.
30162 * math/w_exp10.c: Likewise.
30163 * math/w_exp10f.c: Likewise.
30164 * math/w_exp10l.c: Likewise.
30165 * math/w_exp2.c: Likewise.
30166 * math/w_exp2f.c: Likewise.
30167 * math/w_fmod.c: Likewise.
30168 * math/w_fmodf.c: Likewise.
30169 * math/w_fmodl.c: Likewise.
30170 * math/w_hypot.c: Likewise.
30171 * math/w_hypotf.c: Likewise.
30172 * math/w_hypotl.c: Likewise.
30173 * math/w_j0.c: Likewise.
30174 * math/w_j0f.c: Likewise.
30175 * math/w_j0l.c: Likewise.
30176 * math/w_j1.c: Likewise.
30177 * math/w_j1f.c: Likewise.
30178 * math/w_j1l.c: Likewise.
30179 * math/w_jn.c: Likewise.
30180 * math/w_jnf.c: Likewise.
30181 * math/w_jnl.c: Likewise.
30182 * math/w_lgamma.c: Likewise.
30183 * math/w_lgamma_r.c: Likewise.
30184 * math/w_lgammaf.c: Likewise.
30185 * math/w_lgammaf_r.c: Likewise.
30186 * math/w_lgammal.c: Likewise.
30187 * math/w_lgammal_r.c: Likewise.
30188 * math/w_log.c: Likewise.
30189 * math/w_log10.c: Likewise.
30190 * math/w_log10f.c: Likewise.
30191 * math/w_log10l.c: Likewise.
30192 * math/w_log2.c: Likewise.
30193 * math/w_log2f.c: Likewise.
30194 * math/w_log2l.c: Likewise.
30195 * math/w_logf.c: Likewise.
30196 * math/w_logl.c: Likewise.
30197 * math/w_pow.c: Likewise.
30198 * math/w_powf.c: Likewise.
30199 * math/w_powl.c: Likewise.
30200 * math/w_remainder.c: Likewise.
30201 * math/w_remainderf.c: Likewise.
30202 * math/w_remainderl.c: Likewise.
30203 * math/w_scalb.c: Likewise.
30204 * math/w_scalbf.c: Likewise.
30205 * math/w_scalbl.c: Likewise.
30206 * math/w_sinh.c: Likewise.
30207 * math/w_sinhf.c: Likewise.
30208 * math/w_sinhl.c: Likewise.
30209 * math/w_sqrt.c: Likewise.
30210 * math/w_sqrtf.c: Likewise.
30211 * math/w_sqrtl.c: Likewise.
30212 * math/w_tgamma.c: Likewise.
30213 * math/w_tgammaf.c: Likewise.
30214 * math/w_tgammal.c: Likewise.
30216 * po/ja.po: Update from translation team.
30218 2011-09-29 Andreas Jaeger <aj@suse.de>
30221 * sunrpc/netname.c (netname2host): Fix logic.
30225 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
30227 * math/w_remainder.c (__remainder): Likewise.
30228 * math/w_remainderf.c (__remainderf): Likewise.
30229 * math/libm-test.inc (remainder_test): Add test cases.
30231 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30233 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
30236 2011-10-07 Ulrich Drepper <drepper@gmail.com>
30238 * string/test-memcmp.c: Avoid unncessary #defines.
30239 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
30241 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30243 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
30244 Use new sse2 version for core i3 - i7 as it's faster
30245 than sse42 version.
30246 (bit_Prefer_PMINUB_for_stringop): New.
30247 * sysdeps/x86_64/rawmemchr.S: Update.
30248 Replace with faster SSE2 version.
30249 * sysdeps/x86_64/memrchr.S: New file.
30250 * sysdeps/x86_64/memchr.S: Update.
30251 Replace with faster SSE2 version.
30253 2011-09-12 Marek Polacek <mpolacek@redhat.com>
30255 * elf/dl-load.c (lose): Add cast to avoid warning.
30257 2011-10-07 Ulrich Drepper <drepper@gmail.com>
30259 * po/ca.po: Update from translation team.
30261 * inet/getnetgrent_r.c: Hook up nscd.
30262 * nscd/Makefile (routines): Add nscd_netgroup.
30263 (nscd-modules): Add netgroupcache.
30264 (CFLAGS-netgroupcache.c): Define.
30265 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
30266 (cache_search): Add const to second parameter.
30267 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
30269 (dbs): Add netgrdb entry.
30270 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
30271 (verify_persistent_db): Handle netgrdb.
30272 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
30273 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
30275 (netgroup_response_header): Define.
30276 (innetgroup_response_header): Define.
30277 (datahead): Add netgroup_response_header and innetgroup_response_header
30279 * nscd/nscd.conf: Add entries for netgroup cache.
30280 * nscd/nscd.h (dbtype): Add netgrdb.
30281 (_PATH_NSCD_NETGROUP_DB): Define.
30282 (netgroup_iov_disabled): Declare.
30283 (xmalloc, xcalloc, xrealloc): Move declarations here.
30284 (cache_search): Adjust prototype.
30285 Add netgroup-related prototypes.
30286 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
30287 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
30288 (__nscd_innetgr): Declare.
30289 * nscd/selinux.c (perms): Use access_vector_t as element type and
30290 add netgroup-related initializers.
30291 * nscd/netgroupcache.c: New file.
30292 * nscd/nscd_netgroup.c: New file.
30293 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
30294 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
30295 For four parameters use innetgr.
30296 * nss/nss_files/files-init.c: Add definition and callback for netgr.
30297 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
30298 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
30299 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
30301 * nscd/connections.c (register_traced_file): Don't register file
30302 for disabled databases.
30304 2011-10-06 Ulrich Drepper <drepper@gmail.com>
30306 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
30308 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
30309 from tree and freeing node.
30311 2011-09-25 Jiri Olsa <jolsa@redhat.com>
30313 * nss/nsswitch.c (__nss_database_lookup): Handle
30314 nss_parse_service_list out of memory case.
30316 2011-09-15 Jiri Olsa <jolsa@redhat.com>
30318 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
30319 out of memory case.
30321 2011-10-04 Andreas Schwab <schwab@redhat.com>
30323 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
30324 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
30326 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
30327 elf_machine_rela, elf_machine_lazy_rel.
30328 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
30329 (ELF_DYNAMIC_DO_REL): Likewise.
30330 (ELF_DYNAMIC_DO_RELA): Likewise.
30331 (ELF_DYNAMIC_RELOCATE): Likewise.
30332 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
30333 to ELF_DYNAMIC_DO_REL.
30334 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
30335 (dl_main): In trace mode always set __RTLD_NOIFUNC.
30336 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
30338 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
30339 skip_ifunc, don't call ifunc function if non-zero.
30340 (elf_machine_rela): Likewise.
30341 (elf_machine_lazy_rel): Likewise.
30342 (elf_machine_lazy_rela): Likewise.
30343 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
30344 (elf_machine_lazy_rel): Likewise.
30345 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
30347 (elf_machine_lazy_rel): Likewise.
30348 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
30350 (elf_machine_lazy_rel): Likewise.
30351 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
30352 (elf_machine_lazy_rel): Likewise.
30353 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
30354 (elf_machine_lazy_rel): Likewise.
30355 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
30356 (elf_machine_lazy_rel): Likewise.
30357 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
30358 (elf_machine_lazy_rel): Likewise.
30359 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
30360 (elf_machine_lazy_rel): Likewise.
30361 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
30362 (elf_machine_lazy_rel): Likewise.
30364 2011-09-28 Ulrich Drepper <drepper@gmail.com>
30366 * nss/nss_files/files-init.c (_nss_files_init): Use static
30367 initialization for all the *_traced_file variables.
30369 2011-09-28 Andreas Schwab <schwab@redhat.com>
30371 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30373 2011-09-27 Roland McGrath <roland@hack.frob.com>
30376 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
30378 2011-09-27 Andreas Schwab <schwab@redhat.com>
30380 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
30381 Reread the line before reparsing it.
30383 2011-09-26 Andreas Schwab <schwab@redhat.com>
30385 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
30387 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
30388 Maxim Kuvyrkov <maxim@codesourcery.com>
30389 Joseph Myers <joseph@codesourcery.com>
30391 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
30392 if needed for __stack_chk_guard.
30394 2011-09-19 Roland McGrath <roland@hack.frob.com>
30396 * sysdeps/posix/spawni.c (script_execute): Always define it.
30397 It will be optimized away if unused.
30398 (maybe_script_execute): New function.
30399 (__spawni): Call it.
30401 * Makerules: Don't include tls.make.
30402 (config-tls): Always set to thread.
30403 * tls.make.c: File removed.
30405 2011-09-19 Mike Frysinger <vapier@gentoo.org>
30407 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
30408 * config.make.in (CPPFLAGS-config): New substituted variable.
30410 2011-09-15 Ulrich Drepper <drepper@gmail.com>
30412 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
30415 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
30416 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
30418 2011-09-15 Roland McGrath <roland@hack.frob.com>
30420 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
30421 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
30422 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
30423 (CALL_FAIL): Likewise.
30424 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
30425 (CALL_FAIL): Macro removed.
30426 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
30428 2011-09-15 Ulrich Drepper <drepper@gmail.com>
30430 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
30431 for __FINITE_MATH_ONLY__ == 1.
30433 2011-09-15 Andreas Schwab <schwab@redhat.com>
30435 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
30436 __ieee754_sqrt instead of sqrt.
30437 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
30438 __ieee754_sqrtf instead of sqrtf.
30439 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
30440 __floorf instead of floorf.
30441 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
30442 __floorf, __truncf instead of floorf, truncf.
30444 2011-09-14 Ulrich Drepper <drepper@gmail.com>
30446 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
30448 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
30449 __extern_always_inline.
30450 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
30453 2011-09-14 Andreas Schwab <schwab@redhat.com>
30455 * elf/rtld.c (dl_main): Also relocate in dependency order when
30456 doing symbol dependency testing.
30458 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
30460 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
30461 Always define `refsym'.
30463 2011-09-13 Andreas Schwab <schwab@redhat.com>
30465 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
30466 (__FD_ELT): Renamed from __FDELT.
30467 * misc/bits/select2.h (__FD_ELT): Likewise.
30468 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
30469 __FD_MASK instead of __FDELT, __FDMASK.
30470 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
30472 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
30475 * elf/Makefile (gen-ldd): Fix pattern.
30477 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
30478 (init_tls): Likewise.
30480 2011-09-12 Ulrich Drepper <drepper@gmail.com>
30482 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
30484 2011-09-12 Andreas Schwab <schwab@redhat.com>
30486 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
30487 `struct cmsghdr *' instead of `void *'.
30488 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
30491 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
30493 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
30495 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
30496 ldd_rewrite_script.
30498 2011-09-11 Ulrich Drepper <drepper@gmail.com>
30500 * configure.in: Remove --with-tls option.
30501 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
30502 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
30503 out in case it is missing.
30504 * sysdeps/ia64/elf/configure.in: Likewise.
30505 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
30506 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
30507 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
30508 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
30509 * sysdeps/sh/elf/configure.in: Likewise.
30510 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
30511 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
30512 * sysdeps/x86_64/elf/configure.in: Likewise.
30513 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
30514 * sysdeps/mach/hurd/tls.h: Likewise.
30517 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
30520 * configure.in: Fix use of AC_INIT.
30522 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
30524 2011-09-10 Ulrich Drepper <drepper@gmail.com>
30526 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
30528 * malloc/hooks.c: Likewise.
30531 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
30532 variables statically.
30533 (narenas): Initialize.
30534 (list_lock): Initialize.
30535 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
30536 initializtion of main_arena and list_lock. Small cleanups.
30537 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
30538 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
30539 Add initializers to main_arena and mp_.
30540 (malloc_state): Remove pagesize member. Change all users to use
30543 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
30544 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
30545 is always initialized.
30547 * malloc/malloc.c: Removed unused configurations and dead code.
30548 * malloc/arena.c: Likewise.
30549 * malloc/hooks.c: Likewise.
30550 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
30552 * include/tls.h: Removed. USE___THREAD must always be defined.
30553 * bits/libc-tsd.h: Don't handle !USE___THREAD.
30554 * elf/dl-libc.c: Likewise.
30555 * elf/dl-tsd.c: Likewise.
30556 * include/errno.h: Likewise.
30557 * include/netdb.h: Likewise.
30558 * include/resolv.h: Likewise.
30559 * inet/herrno-loc.c: Likewise.
30560 * inet/herrno.c: Likewise.
30561 * malloc/arena.c: Likewise.
30562 * malloc/hooks.c: Likewise.
30563 * malloc/malloc.c: Likewise.
30564 * resolv/res-state.c: Likewise.
30565 * resolv/res_libc.c: Likewise.
30566 * sysdeps/i386/dl-machine.h: Likewise.
30567 * sysdeps/ia64/dl-machine.h: Likewise.
30568 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
30569 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
30570 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
30571 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
30572 * sysdeps/sh/dl-machine.h: Likewise.
30573 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
30574 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
30575 * sysdeps/unix/i386/sysdep.S: Likewise.
30576 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
30577 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
30578 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
30579 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
30580 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
30581 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
30582 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
30583 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
30584 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30585 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
30586 * sysdeps/unix/x86_64/sysdep.S: Likewise.
30587 * sysdeps/x86_64/dl-machine.h: Likewise.
30588 * tls.make.c: Likewise.
30590 * configure.in: Remove --with-__thread option. Make tests for
30591 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
30592 tls_model attribute fail if no support is available. Remove
30594 * Makeconfig: Adjust for dropped configure option. All features are
30596 * Makerules: Likewise.
30597 * Versions.def: Likewise.
30598 * argp/argp-fmtstream.c: Likewise.
30599 * argp/argp-fmtstream.h: Likewise.
30600 * argp/argp-help.c: Likewise.
30601 * assert/assert.c: Likewise.
30602 * config.h.in: Likewise.
30603 * config.make.in: Likewise.
30604 * configure: Likewise.
30605 * configure.in: Likewise.
30606 * csu/Versions: Likewise.
30607 * csu/init.c: Likewise.
30608 * elf/tst-audit2.c: Likewise.
30609 * elf/tst-tls10.c: Likewise.
30610 * elf/tst-tls10.h: Likewise.
30611 * elf/tst-tls11.c: Likewise.
30612 * elf/tst-tls12.c: Likewise.
30613 * elf/tst-tls14.c: Likewise.
30614 * elf/tst-tlsmod11.c: Likewise.
30615 * elf/tst-tlsmod12.c: Likewise.
30616 * elf/tst-tlsmod13.c: Likewise.
30617 * elf/tst-tlsmod13a.c: Likewise.
30618 * elf/tst-tlsmod14a.c: Likewise.
30619 * elf/tst-tlsmod15b.c: Likewise.
30620 * elf/tst-tlsmod16a.c: Likewise.
30621 * elf/tst-tlsmod16b.c: Likewise.
30622 * elf/tst-tlsmod7.c: Likewise.
30623 * elf/tst-tlsmod8.c: Likewise.
30624 * elf/tst-tlsmod9.c: Likewise.
30625 * gmon/gmon.c: Likewise.
30626 * grp/fgetgrent_r.c: Likewise.
30627 * grp/putgrent.c: Likewise.
30628 * hurd/fopenport.c: Likewise.
30629 * include/libc-symbols.h: Likewise.
30630 * include/tls.h: Likewise.
30631 * intl/gettextP.h: Likewise.
30632 * intl/loadinfo.h: Likewise.
30633 * locale/global-locale.c: Likewise.
30634 * locale/localeinfo.h: Likewise.
30635 * mach/devstream.c: Likewise.
30636 * malloc/arena.c: Likewise.
30637 * malloc/set-freeres.c: Likewise.
30638 * misc/err.c: Likewise.
30639 * misc/getttyent.c: Likewise.
30640 * misc/mntent_r.c: Likewise.
30641 * posix/getopt.c: Likewise.
30642 * posix/wordexp.c: Likewise.
30643 * pwd/fgetpwent_r.c: Likewise.
30644 * resolv/Versions: Likewise.
30645 * resolv/res_hconf.c: Likewise.
30646 * shadow/fgetspent_r.c: Likewise.
30647 * shadow/putspent.c: Likewise.
30648 * stdio-common/printf_fphex.c: Likewise.
30649 * stdio-common/tmpfile.c: Likewise.
30650 * stdlib/abort.c: Likewise.
30651 * stdlib/fmtmsg.c: Likewise.
30652 * sunrpc/auth_unix.c: Likewise.
30653 * sunrpc/clnt_perr.c: Likewise.
30654 * sunrpc/clnt_tcp.c: Likewise.
30655 * sunrpc/clnt_udp.c: Likewise.
30656 * sunrpc/clnt_unix.c: Likewise.
30657 * sunrpc/openchild.c: Likewise.
30658 * sunrpc/svc_simple.c: Likewise.
30659 * sunrpc/svc_tcp.c: Likewise.
30660 * sunrpc/svc_udp.c: Likewise.
30661 * sunrpc/svc_unix.c: Likewise.
30662 * sunrpc/xdr.c: Likewise.
30663 * sunrpc/xdr_array.c: Likewise.
30664 * sunrpc/xdr_rec.c: Likewise.
30665 * sunrpc/xdr_ref.c: Likewise.
30666 * sunrpc/xdr_stdio.c: Likewise.
30668 2011-09-09 Ulrich Drepper <drepper@gmail.com>
30670 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30672 2011-07-03 Andreas Jaeger <aj@suse.de>
30674 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
30675 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
30676 regenerate with gen-libm-tests.pl.
30678 2010-05-12 Petr Baudis <pasky@suse.cz>
30681 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
30682 around j0() zero points by switching to j1().
30683 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
30684 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
30685 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
30686 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
30688 2011-09-09 Ulrich Drepper <drepper@gmail.com>
30690 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
30692 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
30694 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
30695 Patch in part by Pavel Roskin <proski@gnu.org>.
30698 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
30700 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
30701 Free memory block if necessary.
30704 * libio/genops.c (INTDEF): For string streams the _lock pointer can
30705 be NULL. Don't lock in this case.
30707 2011-09-09 Roland McGrath <roland@hack.frob.com>
30709 * elf/elf.h (ELFOSABI_GNU): New macro.
30710 (ELFOSABI_LINUX): Define to that.
30712 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
30714 * string/strncat.c (strncat): Undef the symbol in case it has been
30715 defined in bits/string.h.
30717 2011-09-09 Ulrich Drepper <drepper@gmail.com>
30719 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
30721 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
30724 2011-08-17 Andreas Jaeger <aj@suse.de>
30726 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
30728 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
30729 Ian Lance Taylor <iant@google.com>
30731 * math/libm-test.inc (lround_test): New testcase.
30732 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
30734 2011-09-08 Ulrich Drepper <drepper@gmail.com>
30736 * Makefile: Remove support for automatic cvs check-ins.
30737 * Makerules: Likewise.
30738 * config.make.in: Likewise.
30739 * configure.in: Likewise.
30740 * intl/Makefile: Likewise.
30741 * locale/Makefile: Likewise.
30742 * po/Makefile: Likewise.
30743 * posix/Makefile: Likewise.
30744 * sysdeps/gnu/Makefile: Likewise.
30745 * sysdeps/mach/hurd/Makefile: Likewise.
30746 * sysdeps/sparc/sparc32/Makefile: Likewise.
30749 * posix/Makefile (bug-regex32-ENV): Define.
30750 Patch by John Stanley <jpsinthemix@verizon.net>.
30752 * misc/Makefile (headers): Add bits/select2.h.
30753 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
30754 * misc/bits/select2.h: New file.
30755 * include/bits/select2.h: New file.
30756 * debug/Makefile (routines): Add fdelt_chk.
30757 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
30758 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
30760 * debug/fdelt_chk.c: New file.
30762 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
30763 * wcsmbs/test-wmemcmp.c: Likewise.
30764 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
30765 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
30767 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30769 * string/Makefile (strop-tests): Add memcmp.
30770 * string/test-wmemcmp.c: New file.
30771 * string/test-memcmp.c: Add wmemcmp support.
30773 2011-09-08 Roland McGrath <roland@hack.frob.com>
30776 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
30779 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
30780 garbage value in a __mach_port_mod_refs call in the cases of the
30781 task-self and thread-self ports.
30783 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
30785 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
30787 2011-09-08 Andreas Schwab <schwab@redhat.com>
30789 * elf/dl-load.c (lose): Check for non-null L.
30791 2011-09-07 Ulrich Drepper <drepper@gmail.com>
30793 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
30795 * elf/dl-libc.c (dlerror_run): Pass back error code from
30799 * elf/dl-load.c (lose): Free l_origin if it is valid.
30801 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
30803 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
30804 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
30805 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
30806 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
30807 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
30808 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
30810 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30812 * sysdeps/powerpc/fpu/e_hypot.c: New file.
30813 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
30814 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
30815 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
30816 * sysdeps/powerpc/fpu/k_cosf.c: New file.
30817 * sysdeps/powerpc/fpu/k_sinf.c: New file.
30818 * sysdeps/powerpc/fpu/s_cosf.c: New file.
30819 * sysdeps/powerpc/fpu/s_sinf.c: New file.
30820 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
30821 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
30823 2011-08-15 Alan Modra <amodra@gmail.com>
30826 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
30827 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
30828 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
30829 ppc_mcount to static-only-routines.
30830 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
30832 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
30833 __mcount_internal with usual JUMPTARGET. Remove useless nop.
30835 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
30837 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
30838 for finite and infinity parameters.
30840 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
30842 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
30843 and add nop instructions for throughput optimization.
30844 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
30846 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
30848 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
30849 aligned copy for power7 with vector-scalar instructions.
30850 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
30852 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
30854 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
30857 2011-09-07 Andreas Schwab <schwab@redhat.com>
30860 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
30863 2011-09-07 Ulrich Drepper <drepper@gmail.com>
30865 * sysdeps/unix/sysv/linux/x86_64/init-first.c
30866 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
30867 syscall wrapper around clock_gettime in __vdso_clock_gettime.
30868 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
30871 2011-09-06 Ulrich Drepper <drepper@gmail.com>
30873 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
30874 Forgot to demangle the pointer.
30876 * sysdeps/i386/sysdep.h: Define atom_text_section.
30877 * sysdeps/x86_64/sysdep.h: Likewise.
30878 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
30879 section with atom_text_section.
30880 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
30881 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
30882 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
30883 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
30884 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
30886 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
30887 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
30888 already be defined. Change to take two parameters and don't assign
30889 result to variable. Adjust all users.
30890 Define INTERNAL_GETTIME if not already defined.
30891 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
30893 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
30894 HAVE_CLOCK_GETTIME_VSYSCALL.
30895 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
30897 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
30898 gettimeofday vsyscall, just use time.
30900 2011-09-06 Andreas Schwab <schwab@redhat.com>
30902 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
30905 2011-09-06 Ulrich Drepper <drepper@gmail.com>
30907 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
30909 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
30911 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
30912 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
30913 syscall if possible.
30915 2011-09-05 Ulrich Drepper <drepper@gmail.com>
30917 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
30918 e_ident. Don't pass to find_mapsXX.
30919 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
30921 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
30923 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30924 strchr-sse2-no-bsf strrchr-sse2-no-bsf
30925 * sysdeps/x86_64/multiarch/strchr.S: Update.
30926 Check bit_slow_BSF bit.
30927 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
30928 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
30929 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
30931 2011-09-05 Ulrich Drepper <drepper@gmail.com>
30934 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
30936 (tryshell): Define.
30937 (__spawni): Change last parameter to be flag. Test
30938 SPAWN_XFLAGS_USE_PATH flag to use path or not.
30939 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
30940 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
30941 * posix/spawni.c: Likewise.
30942 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
30943 * posix/spawnp.c: Likewise. Change normal version to use
30944 SPAWN_XFLAGS_USE_PATH.
30945 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
30946 SPAWN_XFLAGS_TRY_SHELL.
30949 * posix/glob.h: Remove gcc 1.x support.
30952 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
30954 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
30956 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30957 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
30959 * sysdeps/i386/i686/multiarch/strchr.S: New file.
30960 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
30961 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
30962 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
30963 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
30964 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
30966 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30968 * sysdeps/x86_64/wcscmp.S: New file.
30970 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
30971 wcscmp-c wcscmp-sse2
30972 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
30973 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
30974 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
30975 * wcsmbs/wcscmp.c: Allow renaming.
30977 2011-09-05 David S. Miller <davem@davemloft.net>
30979 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
30980 stack slot, rather than the struct return pointer slot.
30981 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
30982 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
30983 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
30984 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
30986 2011-09-05 Ulrich Drepper <drepper@gmail.com>
30988 * po/ja.po: Update from translation team.
30991 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
30992 kernel in 64-bit binaries.
30994 2011-09-01 David S. Miller <davem@davemloft.net>
30996 * elf/elf.h (HWCAP_SPARC_*): Move to..
30997 * sysdeps/sparc/sysdep.h: this new file and add new values.
30998 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
30999 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
31000 _DL_HWCAP_COUNT to 24.
31001 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
31003 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
31004 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
31005 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
31006 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
31007 instead of magic constants.
31008 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
31010 2011-08-31 David S. Miller <davem@davemloft.net>
31012 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
31013 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
31014 Reimplement to do errno handling inline.
31015 (SYSCALL_ERROR_HANDLER): New macro.
31016 (__SYSCALL_STRING): Do not do errno handling in asm.
31017 (__CLONE_SYSCALL_STRING): Delete.
31018 (__INTERNAL_SYSCALL_STRING): Delete.
31019 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
31020 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
31021 (PSEUDO): Reimplement to do errno handling inline.
31022 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
31023 (SYSCALL_ERROR_HANDLER): New macro.
31024 (__SYSCALL_STRING): Do not do errno handling in asm.
31025 (__CLONE_SYSCALL_STRING): Delete.
31026 (__INTERNAL_SYSCALL_STRING): Delete.
31027 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
31028 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
31030 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
31031 (inline_syscall*): Add 'err' argument.
31032 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
31033 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
31034 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
31035 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
31037 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
31038 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
31040 2011-08-30 Andreas Schwab <schwab@redhat.com>
31042 * elf/rtld.c (dl_main): Relocate objects in dependency order.
31044 2011-08-29 Jiri Olsa <jolsa@redhat.com>
31046 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
31049 2011-08-24 David S. Miller <davem@davemloft.net>
31051 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
31053 2011-08-24 Andreas Schwab <schwab@redhat.com>
31055 * elf/Makefile: Add rules to build and run unload8 test.
31056 * elf/unload8.c: New file.
31057 * elf/unload8mod1.c: New file.
31058 * elf/unload8mod1x.c: New file.
31059 * elf/unload8mod2.c: New file.
31060 * elf/unload8mod3.c: New file.
31062 * elf/dl-close.c (_dl_close_worker): Reset private search list if
31065 2011-08-23 David S. Miller <davem@davemloft.net>
31067 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
31068 subtract stack bias.
31069 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
31070 %sp not %fp in calculations.
31071 (_JMPBUF_UNWINDS_ADJ): Likewise.
31073 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
31074 (aio_suspend): Call it to force an exception region around the
31075 AIO_MISC_WAIT() invocation.
31077 2011-08-23 Andreas Schwab <schwab@redhat.com>
31079 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
31082 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
31084 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
31086 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
31087 and <dl-machine.h>.
31088 (Elf64_FuncDesc): Remove.
31090 2011-08-22 David S. Miller <davem@davemloft.net>
31092 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
31093 sigaltstack check, add missing cfi directives.
31094 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
31095 missing cfi directives, and sigaltstack handling.
31097 2011-08-16 Andreas Schwab <schwab@redhat.com>
31100 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
31101 object is seen twice.
31102 * elf/dl-fini.c (_dl_sort_fini): Likewise.
31104 * elf/Makefile (distribute): Add tst-initorder2.c.
31105 (tests): Add tst-initorder2.
31106 (modules-names): Add tst-initorder2a tst-initorder2b
31107 tst-initorder2c tst-initorder2d. Add rules to build them.
31108 ($(objpfx)tst-initorder2.out): New rule.
31109 * elf/tst-initorder2.c: New file.
31110 * elf/tst-initorder2.exp: New file.
31112 2011-08-22 Andreas Schwab <schwab@redhat.com>
31114 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
31116 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
31117 dependencies back to end of function.
31119 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
31120 $(elfobjdir)/ld.so.
31122 2011-08-21 Ulrich Drepper <drepper@gmail.com>
31124 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
31125 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
31126 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
31127 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
31128 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
31129 of __vdso_gettimeofday.
31130 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
31131 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
31133 (_libc_vdso_platform_setup): Remove initialization of
31134 __vdso_gettimeofday and __vdso_time.
31136 2011-08-20 Ulrich Drepper <drepper@gmail.com>
31138 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
31139 and fgetc_unlocked.
31140 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
31143 * elf/dl-open.c (add_to_global): Report additions to the global scope
31144 for LD_DEBUG=scopes.
31145 (dl_open_worker): Also print scope of newly loaded dependencies.
31146 (_dl_show_scope): Indicate if there is no scope.
31149 * stdio-common/Makefile (tests): Add bug24.
31150 * stdio-common/bug24.c: New file.
31152 2011-08-19 Andreas Jaeger <aj@suse.de>
31155 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
31156 non-existant file when using close-on-exec mode.
31158 2011-08-20 Ulrich Drepper <drepper@gmail.com>
31160 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
31161 the very first instruction.
31163 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
31164 the CFI state in the end.
31165 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
31166 inclusion of dl-trampoline.h.
31167 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
31169 2011-08-19 Andreas Schwab <schwab@redhat.com>
31171 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
31172 expectations for long double.
31174 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
31175 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
31177 2011-08-14 David S. Miller <davem@davemloft.net>
31179 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
31180 artificual limit depends upon the system page size.
31182 2011-08-17 Ulrich Drepper <drepper@gmail.com>
31184 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
31185 * resolv/Makefile: Define CFLAGS-libresolv.
31187 2011-08-17 Andreas Schwab <schwab@redhat.com>
31189 * nss/makedb.c (compute_tables): Make variables used in nested
31192 2011-08-17 Ulrich Drepper <drepper@gmail.com>
31194 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
31195 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
31196 if buffer was too small.
31198 * elf/pldd.c (main): Attach to all threads in the process.
31199 Rewrite /proc handling to use *at functions.
31201 2011-08-16 Ulrich Drepper <drepper@gmail.com>
31203 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
31204 specifies first scope to show.
31205 (dl_open_worker): Update callers. Move printing scope of new
31206 object to before the relocation.
31207 * elf/rtld.c (dl_main): Update _dl_show_scope call.
31208 * sysdeps/generic/ldsodefs.h: Update declaration.
31210 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
31211 string for the scope number.
31213 2011-08-14 Ulrich Drepper <drepper@gmail.com>
31215 * nscd/servicescache.c (cache_addserv): Make sure written is always
31218 2011-08-14 Roland McGrath <roland@hack.frob.com>
31220 * sysdeps/i386/i486/bits/atomic.h
31221 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
31222 statement expression, so as to suppress "set but not used" warning.
31223 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
31225 * string/strncat.c (STRNCAT): Use prototype definition.
31227 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
31228 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
31230 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
31231 (localedef-modules): Add localedef.
31232 (locale-modules): Add locale.
31234 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
31235 * elf/rtld.c (dl_main): Invert order of assignment in last change,
31236 to avoid a warning.
31238 2011-08-14 David S. Miller <davem@davemloft.net>
31240 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
31241 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
31243 2011-08-13 Ulrich Drepper <drepper@gmail.com>
31245 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
31246 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
31247 * elf/rtld.c (dl_main): Set l_name of vDSO.
31248 Call _dl_show_scope when DL_DEBUG_SCOPES.
31249 (process_dl_debug): Recognize scopes flag and also set it for all.
31250 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
31251 Declare _dl_show_scope.
31253 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
31254 (do_dlopen): Pass caller_dlopen to dl_open.
31255 (__libc_dlopen_mode): Initialize caller_dlopen.
31257 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
31258 of libc. Make tolower call locale-independent. Optimize a bit by
31259 using isdigit instead of isalnum.
31260 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
31262 2011-08-12 Ulrich Drepper <drepper@gmail.com>
31264 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
31265 was a dependency or dynamically loaded.
31267 2011-08-11 Ulrich Drepper <drepper@gmail.com>
31269 * intl/l10nflist.c: Allow architecture-specific pop function.
31270 * sysdeps/x86_64/l10nflist.c: New file.
31272 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
31275 2011-08-10 Andreas Schwab <schwab@redhat.com>
31277 * include/dirent.h: Add libc_hidden_proto for scandirat and
31278 scandirat64. Don't declare __scandirat64.
31279 * dirent/scandirat.c: Add libc_hidden_def.
31280 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
31281 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
31283 2011-08-10 David S. Miller <davem@davemloft.net>
31285 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
31287 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
31288 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
31289 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
31291 2011-08-09 Ulrich Drepper <drepper@gmail.com>
31293 * Versions.def [libc]: Add GLIBC_2.15.
31294 * dirent/Makefile (routines): Add scandirat and scandirat64.
31295 * dirent/Versions [libc]: Export scandirat and scandirat64 for
31297 * dirent/dirent.h: Declare scandirat and scandirat64.
31298 * dirent/scandirat.c: New file.
31299 * dirent/scandirat64.c: New file.
31300 * sysdeps/wordsize-64/scandirat.c: New file.
31301 * sysdeps/wordsize-64/scandirat64.c: New file.
31302 * dirent/opendir.c: Define opendirat.
31303 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
31305 * dirent/scandir64.c: Adjust for scandir.c change.
31306 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
31307 __scandirat64, and __scandir_cancel_handler.
31308 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
31309 additional parameter and use openat instead of open (outside of ld.so).
31310 Add new __opendir as wrapper around __opendirat.
31311 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
31312 here without requiring old scandirat implementation.
31314 2011-08-08 Ulrich Drepper <drepper@gmail.com>
31316 * dirent/scandir.c (cancel_handler): Renamed to
31317 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
31318 defined. Adjust users.
31319 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
31320 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
31322 2011-08-04 Ulrich Drepper <drepper@gmail.com>
31324 * string/test-string.h (IMPL): Use __STRING to expand name and then
31327 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
31330 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31332 * string/Makefile: Update.
31333 (strop-tests): Append strncat.
31334 * string/test-wcscmp.c: New file.
31335 New comprehensive test for wcscmp.
31336 * string/test-strcmp.c: Update.
31337 (WIDE): New define.
31339 2011-07-22 Andreas Schwab <schwab@redhat.com>
31341 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
31344 2011-07-26 Andreas Schwab <schwab@redhat.com>
31346 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
31347 encoding to ACE if AI_IDN.
31349 2011-08-01 Jakub Jelinek <jakub@redhat.com>
31351 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
31352 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
31354 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
31356 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
31357 Fix overflow bug in strncat.
31358 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
31360 * string/test-strncat.c: Update.
31361 Add new tests for checking overflow bugs.
31363 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
31365 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31366 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
31367 * sysdeps/i386/i686/multiarch/strcat.S: New file.
31368 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
31369 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
31370 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
31371 * sysdeps/i386/i686/multiarch/strncat.S: New file.
31372 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
31373 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
31375 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
31376 (USE_AS_STRCAT): Define.
31377 Add strcat and strncat support.
31378 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
31380 2011-07-25 Andreas Schwab <schwab@redhat.com>
31382 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
31383 __n bigger than INT_MAX+1.
31384 (__strncmp_g): Likewise.
31386 2011-07-23 Ulrich Drepper <drepper@gmail.com>
31388 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
31389 * libio/stido.h: Likewise.
31391 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
31393 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
31396 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
31397 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
31398 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
31399 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
31400 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
31403 * scripts/test-installation.pl: Don't expect libnss_test1 to be
31406 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
31408 (_dl_x86_64_save_sse): Likewise.
31410 2011-07-22 Ulrich Drepper <drepper@gmail.com>
31412 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
31414 (_dl_x86_64_save_sse): Likewise.
31416 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
31418 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
31420 2011-07-21 Andreas Schwab <schwab@redhat.com>
31422 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
31424 (_dl_x86_64_save_sse): Use correct AVX check.
31426 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31428 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
31429 bug in strncpy/strncat.
31430 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
31432 2011-07-21 Ulrich Drepper <drepper@gmail.com>
31434 * string/tester.c (test_strcat): Add tests for different alignments
31435 of source and destination.
31436 (test_strncat): Likewise.
31438 2011-07-20 Ulrich Drepper <drepper@gmail.com>
31441 * posix/glob.c (glob): Check passed in values before using them in
31442 expressions to avoid some overflows.
31443 (glob_in_dir): Likewise.
31446 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
31447 check for AVX enablement so that we don't crash with old kernels and
31449 * elf/tst-audit4.c: Add same checks here.
31450 * elf/tst-audit6.c: Likewise.
31452 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
31454 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
31456 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
31458 2011-07-20 Ulrich Drepper <drepper@gmail.com>
31460 * po/cs.po: Update from translation team.
31461 * po/bg.po: Likewise.
31463 2011-07-12 Marek Polacek <mpolacek@redhat.com>
31465 * misc/sys/cdefs.h: Add support for const attribute.
31466 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
31467 to gnu_dev_{major,minor,makedev} functions.
31469 2011-07-20 Marek Polacek <mpolacek@redhat.com>
31471 * intl/dcigettext.c (get_output_charset): Add missing bracket.
31473 2011-07-20 Andreas Schwab <schwab@redhat.com>
31475 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
31478 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31480 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
31481 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
31482 register in order to avoid conflicts with the soft frame pointer
31483 being held in r11 when necessary.
31484 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
31485 (INTERNAL_VSYSCALL_NCS): Likewise.
31487 2011-07-14 Marek Polacek <mpolacek@redhat.com>
31489 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
31490 * elf/dl-fini.c (_dl_fini): Adjust caller.
31491 * elf/dl-close.c (_dl_close_worker): Likewise.
31492 * sysdeps/generic/ldsodefs.h: Adjust declaration.
31494 2011-07-15 Marek Polacek <mpolacek@redhat.com>
31496 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
31497 "aux_cache->nlibs < 0".
31499 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
31500 in the reload-count case.
31502 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
31504 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31505 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
31506 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
31507 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
31508 * sysdeps/x86_64/multiarch/strcat.S: New file.
31509 * sysdeps/x86_64/multiarch/strncat.S: New file.
31510 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
31511 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
31512 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
31513 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
31514 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
31515 (USE_AS_STRCAT): Define.
31516 Add strcat and strncat support.
31517 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
31518 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
31519 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
31520 * string/strncat.c: Update.
31521 (USE_AS_STRNCAT): Define.
31522 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31523 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
31525 * sysdeps/x86_64/multiarch/init-arch.h
31526 (bit_Prefer_PMINUB_for_stringop): New.
31527 (index_Prefer_PMINUB_for_stringop): Likewise.
31528 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
31529 bit_Prefer_PMINUB_for_stringop.
31531 2011-07-19 Ulrich Drepper <drepper@gmail.com>
31533 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
31535 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
31536 of casting of buffer.
31537 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
31538 buffer32 and buffer64.
31539 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
31540 writes instead of casting of buffer.
31541 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
31543 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
31546 2011-07-19 Andreas Schwab <schwab@redhat.com>
31548 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
31550 2011-07-19 Ulrich Drepper <drepper@gmail.com>
31552 * nscd/nscd.c (termination_handler): Don't do anything for a database
31553 if it has not yet been initialized.
31555 2011-07-18 Ulrich Drepper <drepper@gmail.com>
31557 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
31559 2011-07-15 Marek Polacek <mpolacek@redhat.com>
31561 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
31563 2011-07-18 Ulrich Drepper <drepper@gmail.com>
31565 * po/nl.po: Update from translation team.
31566 * po/sv.po: Likewise.
31568 2011-07-16 Roland McGrath <roland@hack.frob.com>
31570 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
31571 now disallowed by GCC.
31573 * configure.in (use-default-link): Default to yes if a test -shared
31574 link meets our qualifications.
31575 * configure: Regenerated.
31577 * config.make.in (output-format): New variable.
31578 * configure.in: Check for ld --print-output-format support.
31579 * configure: Regenerated.
31580 * Makerules ($(common-objpfx)format.lds)
31581 [$(output-format) != unknown]: Just use $(output-format),
31582 instead of the linker-script munging.
31584 2011-07-14 Roland McGrath <roland@hack.frob.com>
31586 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
31587 of $(common-objpfx)shlib.lds.
31588 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
31590 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
31591 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
31593 * configure.in (-z relro check): Adjust test code to add a large
31594 writable data section after it.
31595 * configure: Regenerated.
31597 2011-07-11 Roland McGrath <roland@hack.frob.com>
31599 * configure.in (-z relro check): Fix test code to make the variable
31601 * configure: Regenerated.
31603 2011-07-11 Ulrich Drepper <drepper@gmail.com>
31605 * nscd/nscd.h (struct traced_file): Define.
31606 (struct database_dyn): Remove inotify_descr, reset_res, and filename
31607 elements. Add traced_files.
31608 (inotify_fd): Declare.
31609 (register_traced_file): Declare.
31610 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
31611 (inotify_fd): Export.
31612 (resolv_conf_descr): Remove.
31613 (nscd_init): Move inotify descriptor creation to main.
31614 Don't register files for notification here.
31615 (register_traced_file): New function.
31616 (invalidate_cache): Don't use reset_res to determine whether to call
31617 res_init, go through the list of registered files.
31618 (main_loop_poll): The inotify descriptors are now stored in the
31619 structures for the traced files.
31620 (main_loop_epoll): Likewise
31621 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
31622 to __nss_disable_nscd.
31623 * nscd/cache.c (prune_cache): There is no single inotify descriptor
31624 for a database anymore. Check the records for all the registered
31626 * nss/Makefile (libnss_files-routines): Add files-init.
31627 (libnss_db-routines): Add db-init.
31628 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
31629 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
31630 * nss/nss_db/db-init.c: New file.
31631 * nss/nss_files/files-init.c: New file.
31632 * nss/nsswitch.c (nss_load_library): New function. Broken out of
31633 __nss_lookup_function.
31634 (__nss_lookup_function): Call nss_load_library.
31635 (nss_load_all_libraries): New function.
31636 (__nss_disable_nscd): Take parameter with callback function for files
31637 to register. Set is_nscd. Load all the DSOs for the NSS modules
31638 used for the cached services.
31639 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
31640 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
31641 options for features to all the files in nscd.
31643 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
31645 2011-07-10 Roland McGrath <roland@hack.frob.com>
31647 * csu/elf-init.c (__libc_csu_init): Comment typo.
31649 2011-07-09 Ulrich Drepper <drepper@gmail.com>
31651 * po/pl.po: Update from translation team.
31652 * po/ja.po: Likewise.
31653 * po/ru.po: Likewise.
31654 * po/ko.po: Likewise.
31655 * po/fr.po: Likewise.
31657 2011-07-09 Roland McGrath <roland@hack.frob.com>
31659 * configure.in (.ctors/.dtors header and trailer check):
31660 Use an empirical test on a built program.
31661 * configure: Regenerated.
31663 * configure.in (-z relro check): Use an empirical test on a built DSO.
31664 Detect, but do not require, on ia64.
31665 * configure: Regenerated.
31667 * configure.in (READELF): Find it with AC_CHECK_TOOL.
31668 Update tests that use readelf to use $READELF instead.
31669 * configure: Regenerated.
31671 2011-07-08 Ulrich Drepper <drepper@gmail.com>
31673 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
31674 if the result is not used.
31676 2011-07-05 Andreas Jaeger <aj@suse.de>
31679 * stdlib/tst-strtod.c: Add testcase.
31681 2011-07-07 Ulrich Drepper <drepper@gmail.com>
31683 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
31684 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
31685 The latter has a higher limit. Take additional parameter to pass to
31687 (__pathconf): Pass file to __statfs_link_max.
31688 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
31690 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
31694 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
31695 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
31697 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
31698 (__statfs_filesize_max): Likewise.
31699 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
31701 2011-07-05 Andreas Jaeger <aj@suse.de>
31703 * resolv/res_comp.c (dn_skipname): Remove unused variable.
31705 2011-07-06 Marek Polacek <mpolacek@redhat.com>
31707 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
31709 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
31712 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
31714 * Makefile (strop-tests): Add strncat.
31715 * string/test-strncat.c: New file.
31717 2011-06-30 Marek Polacek <mpolacek@redhat.com>
31719 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
31721 2011-06-21 Andreas Jaeger <aj@suse.de>
31723 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
31724 Copy rule from iconvdata/Makefile.
31726 2011-07-06 Ulrich Drepper <drepper@gmail.com>
31729 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
31730 but no long options are defined, just return 'W'.
31732 2011-06-22 Marek Polacek <mpolacek@redhat.com>
31735 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
31737 2011-07-06 Ulrich Drepper <drepper@gmail.com>
31739 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
31741 (innetgr): Likewise.
31743 2011-07-05 Roland McGrath <roland@hack.frob.com>
31745 * config.make.in (install_root): Default to $(DESTDIR).
31747 2011-07-05 Ulrich Drepper <drepper@gmail.com>
31749 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
31751 2011-07-02 Roland McGrath <roland@hack.frob.com>
31753 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
31755 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
31756 containing directory rather than embedding absolute directory names.
31758 * scripts/check-local-headers.sh: Rewritten using awk.
31759 Match by word, not by line. Print error messages for matches.
31760 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
31762 * Makerules [shlib-lds-flags empty]:
31763 ($(common-objpfx)libc_pic.opts): New target.
31764 ($(common-objpfx)libc_pic.os.clean): New target.
31765 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
31767 * config.make.in (OBJCOPY): New variable.
31768 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
31769 * configure: Regenerated.
31771 * config.make.in (use-default-link): New variable.
31772 * configure.in (use_default_link): Grok --with-default-link to set it.
31773 * configure: Regenerated.
31774 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
31775 (shlib-lds, shlib-lds-flags): Define to empty.
31777 * Makerules (shlib-lds): New variable.
31778 (shlib-lds-flags): New variable.
31779 (build-shlib, build-moduile, build-module-asneeded): Use it.
31780 ($(common-objpfx)libc.so): Use $(shlib-lds).
31781 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
31782 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
31784 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
31785 DT_FLAGS/DT_FLAGS_1 with zero flags.
31787 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
31788 linker script munging.
31790 2011-07-02 Ulrich Drepper <drepper@gmail.com>
31792 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
31794 * crypt/sha512.c (sha512_process_block): Perform total addition using
31795 128-bit if possible.
31796 (__sha512_finish_ctx): Likewise.
31797 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
31799 * crypt/sha256.c (SWAP64): Define.
31800 (sha256_process_block): Perform total addition using 64-bit if
31802 (__sha256_finish_ctx): Likewise.
31804 2011-07-01 Ulrich Drepper <drepper@gmail.com>
31806 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
31807 * nscd/initgrcache.c (addinitgroupsX): Likewise.
31808 * nscd/hstcache.c (cache_addhst): Likewise.
31809 * nscd/grpcache.c (cache_addgr): Likewise.
31810 * nscd/aicache.c (addhstaiX): Likewise
31811 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
31813 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
31815 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
31816 * nscd/initgrcache.c (addinitgroupsX): Likewise.
31817 * nscd/hstcache.c (cache_addhst): Likewise.
31818 * nscd/grpcache.c (cache_addgr): Likewise.
31819 * nscd/aicache.c (addhstaiX): Likewise
31821 2011-07-01 Andreas Schwab <schwab@redhat.com>
31823 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
31824 domain only when needed.
31826 2011-06-30 Andreas Schwab <schwab@redhat.com>
31828 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
31829 is always restored.
31831 2011-06-29 Ulrich Drepper <drepper@gmail.com>
31833 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
31834 are re-adding the entry.
31835 * nscd/servicescache.c (cache_addserv): Likewise.
31837 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
31839 * sysdeps/generic/dl-irel.h: fix protection against multiple
31841 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
31843 2011-06-28 Ulrich Drepper <drepper@gmail.com>
31846 * malloc/memusage.sh: Fix quoting in message.
31847 * debug/xtrace.sh: Likewise.
31849 * configure.in: Remove support for --experimental-malloc option, make
31851 * config.make.in: Likewise.
31852 * malloc/Makefile: Likewise.
31854 2011-06-27 Andreas Schwab <schwab@redhat.com>
31856 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
31857 two-byte characters.
31859 2011-06-27 Roland McGrath <roland@hack.frob.com>
31861 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
31862 AC_CACHE_CHECK invocation.
31863 * configure: Regenerated.
31865 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
31867 2011-06-27 Ulrich Drepper <drepper@gmail.com>
31870 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
31871 bit from old_res_options.
31873 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
31875 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
31876 value type for setfct.
31878 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
31880 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
31881 __gettimeofday instead of gettimeofday.
31883 2011-06-26 Ulrich Drepper <drepper@gmail.com>
31885 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
31887 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
31889 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
31891 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
31894 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
31896 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31897 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
31898 strcpy-sse2-unaligned strncpy-sse2-unaligned
31899 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
31900 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
31901 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
31902 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
31903 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
31904 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
31905 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
31906 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
31907 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
31908 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
31909 (STRCPY): Support SSE2 and SSSE3 versions.
31911 2011-06-24 Ulrich Drepper <drepper@gmail.com>
31914 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
31915 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
31916 kernels which artificially limit size of requests.
31918 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
31920 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31921 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
31922 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
31923 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
31924 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
31925 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
31926 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
31927 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
31928 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
31929 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
31930 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
31931 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
31932 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
31933 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
31934 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
31935 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31936 Enable unaligned load optimization for Intel Core i3, i5 and i7
31938 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
31940 (index_Fast_Unaligned_Load): Define.
31941 (HAS_FAST_UNALIGNED_LOAD): Define.
31943 2011-06-23 Marek Polacek <mpolacek@redhat.com>
31945 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
31947 2011-06-22 Ulrich Drepper <drepper@gmail.com>
31950 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
31951 until it is clear that the information is realy needed.
31952 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
31954 2011-06-22 Andreas Schwab <schwab@redhat.com>
31956 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
31958 2011-06-22 Ulrich Drepper <drepper@gmail.com>
31960 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
31961 /sys/devices/system/cpu/online if it is usable.
31963 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
31964 reading the information from the /proc filesystem to once a second.
31966 2011-06-21 Andreas Jaeger <aj@suse.de>
31968 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
31969 NULL after inclusion of kernel headers.
31971 2011-06-21 Ulrich Drepper <drepper@gmail.com>
31973 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
31974 calls to internal_setent.
31977 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
31978 addresses using gethostbyname4_r ignore IPv4 addresses.
31980 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
31981 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
31983 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
31985 2011-06-20 David S. Miller <davem@davemloft.net>
31987 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
31989 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
31991 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
31992 (elf_irel): Use it.
31993 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
31994 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
31995 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
31996 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
31997 * sysdeps/x86_64/dl-irel.h: Likewise.
31999 * elf/dl-runtime.c: Use elf_ifunc_invoke.
32000 * elf/dl-sym.c: Likewise.
32002 2011-06-15 Ulrich Drepper <drepper@gmail.com>
32004 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
32005 need to dereference resplen2.
32007 2011-06-14 Andreas Schwab <schwab@redhat.com>
32009 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
32011 2011-06-15 Ulrich Drepper <drepper@gmail.com>
32013 * Makeconfig: Define vardbdir and inst_vardbdir.
32014 * nss/Makefile: Add rules to install db-Makefile.
32016 * nss/nss_db/db-XXX.c: Cleanup.
32018 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
32019 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
32021 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
32022 * nss/makedb.c: Implement -g option to specify that value strings
32023 are generated and should not be added to table iterated over for
32025 * nss/nss_db/db-initgroups.c: New file.
32027 * nss/getent.c: Add support for initgroups lookups through getgrouplist
32030 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
32031 (internal_getgrouplist): Adjust to name change.
32032 Update use_initgroups_entry if this is not the first call.
32033 * nss/databases.def: Add initgroups entry.
32035 * nss/makedb.c (compute_tables): Check result of multiple hash table
32036 sizes to minimize maximum chain length.
32038 2011-06-14 Ulrich Drepper <drepper@gmail.com>
32040 * Versions.def: Add entry for libnss_db.
32041 * shlib-versions: Likewise.
32042 * nss/Makefile: Add rules to build libnss_db.
32043 * nss/Versions: Add libnss_db information. Organize libnss_files
32045 * nss/db-Makefile: Add gshadow support. Change rules for the new
32046 makedb progra. Some minor improvements to generate smaller files.
32047 * nss/nss_db/nss_db.h: Move NSS database header data structures to
32049 * nss/makedb.c: ...here.
32050 Improve database format to be smaller and require less memory at
32052 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
32054 * nss/nss_db/db-netgrp.c: Likewise.
32055 * nss/nss_db/db-open.c: Likewise.
32056 * nss/nss_files/flies-XXX.x: Adjust comments.
32057 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
32058 * nss/nss_files/files-grp.c: Likewise.
32059 * nss/nss_files/files-hosts.c: Likewise.
32060 * nss/nss_files/files-network.c: Likewise.
32061 * nss/nss_files/files-proto.c: Likewise.
32062 * nss/nss_files/files-pwd.c: Likewise.
32063 * nss/nss_files/files-rpc.c: Likewise.
32064 * nss/nss_files/files-service.c: Likewise.
32065 * nss/nss_files/files-sgrp.c: Likewise.
32066 * nss/nss_files/files-spwd.c: Likewise.
32067 * nss/nss_db/db-alias.c: Removed.
32068 * nss/nss_db/dummy-db.h: Removed.
32070 2011-06-02 Ulrich Drepper <drepper@gmail.com>
32072 * nss/makedb.c: Rewritten to not use database library.
32073 * nss/Makefile: Update to build new makedb program.
32075 2011-06-14 Andreas Jaeger <aj@suse.de>
32077 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
32078 memset declaration.
32080 2011-06-10 Andreas Schwab <schwab@redhat.com>
32082 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
32085 2011-06-10 Roland McGrath <roland@hack.frob.com>
32087 * Makerules (shlib.lds): Fail if the linker script comes out empty.
32088 * elf/Makefile ($(objpfx)ld.so): Likewise.
32090 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
32091 Don't list ld.so twice in dependencies.
32093 * posix/bug-regex31.c: Include <stdlib.h>.
32095 * nscd/hstcache.c (cache_addhst): Remove unused variable.
32097 * nis/nss_compat/compat-spwd.c
32098 (getspent_next_nss_netgr): Remove unused variable.
32099 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
32101 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
32102 nonmembers" output to use the right array.
32104 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
32106 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
32108 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
32109 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
32110 * catgets/gencat.c (read_input_file): Likewise.
32111 * locale/programs/locarchive.c (enlarge_archive): Likewise.
32113 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
32114 variable definition inside #if's controlling its use.
32116 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
32118 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
32120 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
32122 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
32125 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
32127 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
32128 * configure: Regenerated.
32130 * Makerules: Revert last change.
32131 * elf/Makefile: Likewise.
32133 2011-06-09 Roland McGrath <roland@hack.frob.com>
32135 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
32136 * elf/Makefile ($(objpfx)librtld.os): Likewise.
32137 (reloc-link): Likewise.
32139 2011-06-09 Ulrich Drepper <drepper@gmail.com>
32141 * elf/Makefile: Add rules to build pldd.
32142 * elf/pldd.c: New file.
32143 * elf/pldd-xx.c: New file.
32145 2011-06-07 Ulrich Drepper <drepper@gmail.com>
32147 * version.h: Update for 2.15 development version.
32149 2011-06-07 David S. Miller <davem@davemloft.net>
32151 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
32153 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
32154 elf_machine_lazy_rel): Likewise.
32155 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
32156 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
32157 elf_machine_lazy_rel): Likewise.
32158 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
32159 dl_hwcap via passed in argument.
32160 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
32163 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32165 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
32167 2011-06-06 Roland McGrath <roland@hack.frob.com>
32170 * manual/fdl-1.1.texi: New file, verbatim from:
32171 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
32172 * manual/lgpl-2.1.texi: New file, verbatim from:
32173 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
32174 * manual/Makefile (licenses): New variable, list those new file names.
32176 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
32178 * manual/fdl.texi: File removed.
32179 * manual/lesser.texi: File removed.
32180 * manual/libc.texinfo (Copying, Documentation License):
32181 Use new @include file names, put @appendix directive before @include.
32183 2011-06-04 Jakub Jelinek <jakub@redhat.com>
32186 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
32187 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
32188 (mq_open): Add __NTH.
32190 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
32192 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32193 Assume Intel Core i3/i5/i7 processor if AVX is available.
32195 2011-05-31 Ulrich Drepper <drepper@gmail.com>
32197 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
32200 2011-05-31 Andreas Schwab <schwab@redhat.com>
32202 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
32203 memory. Use alloca_account. Fix memory leak when retrying.
32205 2011-05-31 Ulrich Drepper <drepper@gmail.com>
32207 * version.h (RELEASE): Bump for 2.14 release.
32208 * include/features.h (__GLIBC_MINOR__): Bump to 14.
32210 * config.make.in (RANLIB): Remove entry.
32212 2011-05-30 Ulrich Drepper <drepper@gmail.com>
32214 * po/Makefile (po-sed-cmd): Add ksh to extensions.
32215 (libc.pot): Work around missing support for .ksh extension in xgettext.
32218 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
32219 if both request failed.
32220 (send_dg): In case of server errors clear resplen or *resplen2.
32223 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
32224 when there are multiple maps.
32225 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
32226 (_dl_fini): Remove test here.
32228 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
32230 2011-05-29 Ulrich Drepper <drepper@gmail.com>
32233 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
32234 bit from old_res_options.
32235 (gaih_inet): Likewise.
32238 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
32241 * resolv/res_init.c (res_setoptions): Make the code more compact.
32244 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
32248 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
32250 * malloc/malloc.h: Mark malloc hook variables as deprecated.
32253 * malloc/malloc.h: Declare malloc hook variables as volatile.
32255 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
32259 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
32260 raise in the comment.
32261 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
32262 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
32263 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
32265 2011-05-28 Ulrich Drepper <drepper@gmail.com>
32268 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
32269 grow the buffers more if it already has to be sufficient.
32270 (build_wcs_upper_buffer): Likewise.
32271 * posix/regexec.c (check_matching): Likewise.
32272 (clean_state_log_if_needed): Likewise.
32273 (extend_buffers): Don't enlarge buffers beyond size of the input
32275 Patches mostly by Emil Wojak <emil@wojak.eu>.
32276 * posix/bug-regex32.c: New file.
32277 * posix/Makefile (tests): Add bug-regex32.
32279 * locale/findlocale.c (_nl_find_locale): Return right away if
32280 _nl_explode_name failed.
32281 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
32283 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
32285 * debug/xtrace.sh: Unify messages.
32286 * malloc/memusage.sh: Likewise.
32289 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
32290 time symbol from vDSO. Substitute with vsyscall if not available.
32291 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
32294 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
32295 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
32296 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
32297 Add sendmmsg and internal_sendmmsg.
32298 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
32299 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
32300 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
32302 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
32303 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
32304 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
32306 2011-05-27 Ulrich Drepper <drepper@gmail.com>
32309 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
32310 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
32312 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
32316 * iconvdata/Makefile (tests): Add bug-iconv9.
32317 * iconvdata/bug-iconv9.c: New file.
32319 2011-05-27 Andreas Schwab <schwab@redhat.com>
32322 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
32324 2011-05-25 Jakub Jelinek <jakub@redhat.com>
32326 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
32327 (struct user_regs_struct): Change intcs field back to cs.
32329 2011-05-25 Ulrich Drepper <drepper@gmail.com>
32331 * po/ja.po: Update from translation team.
32333 2011-05-23 Ulrich Drepper <drepper@gmail.com>
32336 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
32337 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
32339 2011-05-20 Andreas Schwab <schwab@redhat.com>
32341 * stdlib/longlong.h: Update from GCC.
32343 2011-05-23 Andreas Schwab <schwab@redhat.com>
32345 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
32347 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
32348 Add parameter name.
32349 (__sysconf): Pass it down.
32351 2011-05-22 Ulrich Drepper <drepper@gmail.com>
32354 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
32356 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
32357 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
32358 add in in __libc_use_alloca calls. Adjust callers.
32359 (glob): Use malloc in some situations.
32361 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
32362 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
32365 2011-05-21 Ulrich Drepper <drepper@gmail.com>
32367 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
32368 and CLOCK_BOOTTIME_ALARM.
32371 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
32374 * string/_strerror.c (__strerror_r): Print negative errors as signed
32378 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
32379 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
32380 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
32382 * configure.in: Fix typo in redirection and correct removal of test
32383 files in two cases.
32386 * locale/setlocale.c (new_composite_name): Fix test to check for
32387 identical name of all categories.
32390 * libio/filedoalloc.c (local_isatty): New function.
32391 (_IO_file_doallocate): Use local_isatty.
32392 * stdio-common/perror.c (perror): In case a new stream is used
32393 forward the stream error.
32394 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
32397 2011-05-20 Ulrich Drepper <drepper@gmail.com>
32400 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
32402 * include/alloca.h (extend_alloca_account): Define.
32405 * posix/regex.h: Fix comments with documentation of user-accessible
32406 fields after compilation and describe correct free'ing of pattern
32407 after re_compile_pattern.
32408 Patch by Reuben Thomas <rrt@sc3d.org>.
32410 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
32412 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
32413 and -mno-altivec to prevent the compiler from using Altivec and/or
32414 VSX instructions when the corresponding registers are not available.
32416 2011-05-19 Andreas Schwab <schwab@redhat.com>
32418 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
32420 2011-05-19 Ulrich Drepper <drepper@gmail.com>
32422 * libio/freopen.c (freopen): Use __dup2, not dup2.
32423 * libio/freopen64.c (freopen64): Likewise.
32425 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
32428 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
32429 * math/Makefile (tests): Add test-powl.
32430 (CFLAGS-test-powl.c): Define.
32431 * math/test-powl.c: New file.
32433 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
32435 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
32437 2011-05-17 Ulrich Drepper <drepper@gmail.com>
32440 * iconvdata/gb18030.c: Update to GB18020-2005.
32442 2011-05-16 Ulrich Drepper <drepper@gmail.com>
32444 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
32445 RE_SYNTAX_POSIX_AWK): Update to match recent development.
32446 Patch by Aharon Robbins <arnold@skeeve.com>.
32449 * stdlib/putenv.c (putenv): Don't always create copy of the variable
32453 * misc/pselect.c (__pselect): Handle timeout value errors hidden
32454 through underflows.
32457 * misc/error.c (error_at_line): Ensure file_name and old_file_name
32458 point to strings before performing equality test for error_one_per_line
32462 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
32465 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
32466 (struct user_fpregs_struct): Avoid __uint*_t types.
32469 * malloc/mtrace.c (tr_where): Add additional parameter to point to
32470 symbol info. Use it instead of calling _dl_addr locally.
32471 (lock_and_info): New function.
32472 (tr_freehook): Call lock_and_info and pass symbol info as additional
32473 parameter to tr_where.
32474 (tr_mallochook): Likewise.
32475 (tr_reallochook): Likewise.
32476 (tr_memalignhook): Likewise.
32478 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
32479 used and couldn't be at all thread-safe.
32481 2011-05-15 Ulrich Drepper <drepper@gmail.com>
32483 * libio/freopen.c (freopen): Don't close old file descriptor
32484 before the new one is opened. Instead dup the new file descriptor
32485 to the old one after the new stream is created.
32486 * libio/freopen64.c (freopen64): Likewise.
32487 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
32488 * libio/fileops.c (_IO_new_file_close_it): Handle new
32489 _IO_FLAGS2_NOCLOSE flag.
32490 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
32491 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
32492 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
32493 _IO_FLAGS2_NOCLOSE flag.
32494 * include/unistd.h: Add hidden_proto for dup3.
32495 Define __have_dup3.
32496 * io/dup3.c: Define hidden symbol.
32497 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
32500 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
32501 when an incomplete long option is used.
32502 * posix/tst-getopt_long1.c: New file.
32503 * posix/Makefile (tests): Add tst-getopt_long1.
32506 * scripts/config.guess: Update from autoconf-2.68.
32507 * scripts/config.sub: Likewise.
32510 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
32512 (has_cpuclock): ...this. New function.
32513 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
32514 macro here based on has_cpuclock code.
32517 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
32518 First byte (not low byte) is now always NUL.
32519 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
32521 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
32522 Use non-cancelable interfaces.
32525 * locale/iso-639.def: Add entry for Sorani.
32528 * include/stdlib.h: Move include protection to the right place.
32529 Define abort_msg_s. Declare __abort_msg with it.
32530 * stdlib/abort.c (__abort_msg): Adjust type.
32531 * assert/assert.c (__assert_fail_base): New function. Majority
32532 of code from __assert_fail. Allocate memory for __abort_msg with
32534 (__assert_fail): Now call __assert_fail_base.
32535 * assert/assert-perr.c: Remove bulk of implementation. Use
32536 __assert_fail_base.
32537 * include/assert.hL Declare __assert_fail_base.
32538 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
32540 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
32542 2011-05-14 Ulrich Drepper <drepper@gmail.com>
32546 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
32547 until all modules are registered in the DTV.
32548 * elf/Makefile: Add rules to build and run tst-tls19.
32549 * elf/tst-tls19.c: New file.
32550 * elf/tst-tls19mod1.c: New file.
32551 * elf/tst-tls19mod2.c: New file.
32552 * elf/tst-tls19mod3.c: New file.
32553 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
32556 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
32560 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
32561 two-byte sequence errors.
32562 * iconvdata/Makefile (tests): Add bug-iconv8.
32563 * iconvdata/bug-iconv8.c: New file.
32566 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
32569 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
32572 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
32573 (dummy_getcfa): New function.
32574 (init): Get _Unwind_GetCFA address, use dummy if not found.
32575 (backtrace_helper): In recursion check, also check whether CFA changes.
32576 (__backtrace): Completely initialize arg.
32578 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
32579 storing incomplete byte sequence in state object. Avoid testing for
32580 guaranteed too small input if we know there is enough data available.
32582 2011-05-11 Andreas Schwab <schwab@redhat.com>
32584 * Makeconfig (+link-pie): Indent.
32585 * Rules (binaries-pie): Define if $(have-fpie) and
32587 (binaries-shared): Also filter out $(binaries-pie).
32588 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
32589 * nscd/Makefile (others-pie): Add nscd.
32590 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
32591 ($(objpfx)nscd): Remove command override.
32592 * login/Makefile (others-pie): Add pt_chown.
32593 ($(objpfx)pt_chown): Remove command override.
32594 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
32595 remove command overrides.
32597 2011-05-13 Ulrich Drepper <drepper@gmail.com>
32599 * libio/tst_putwc.c: Fix error messages.
32602 * libio/fileops.c (_IO_new_file_close_it): Always flush when
32603 currently writing and seek to current position when not.
32604 * libio/Makefile (tests): Add bug-fclose1.
32605 * libio/bug-fclose1.c: New file.
32607 2011-05-12 Ulrich Drepper <drepper@gmail.com>
32610 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
32611 don't set DF_1_NODELETE here.
32612 (do_lookup_x): When entering new entry test for copy relocation
32613 and if necessary set DF_1_NODELETE flag.
32614 * elf/tst-unique4.cc: New file.
32615 * elf/tst-unique4.h: New file.
32616 * elf/tst-unique4lib.cc: New file.
32617 * elf/Makefile: Add rules to build and run tst-unique4.
32618 Patch by Piotr Bury <pbury@goahead.com>.
32620 2011-05-11 Ulrich Drepper <drepper@gmail.com>
32623 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
32626 * misc/mntent_r.c (addmntent): Flush the stream after the output
32629 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
32630 (is_trusted_path_normalize): Skip initial colon. Append slash
32631 to empty buffer. Duplicate is_trusted_path code but allow
32632 constructed patch to be prefix.
32633 (is_dst): Allow $ORIGIN followed by /.
32634 (_dl_dst_substitute): Correct clearing of check_for_trusted.
32635 Correct testing of result of is_trusted_path_normalize
32636 (decompose_rpath): Fix warning.
32638 2011-05-10 Ulrich Drepper <drepper@gmail.com>
32641 * grp/initgroups.c (internal_getgrouplist): When we found the service
32642 list through the initgroups entry in nsswitch.conf do not always
32643 continue on a successful lookup. Don't always use the
32644 __nss_group_database value if it is set.
32645 * nss/nsswitch.conf (initgroups): Change action for successful db
32646 lookup to continue for compatibility.
32648 2011-05-09 Ulrich Drepper <drepper@gmail.com>
32651 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
32653 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
32655 * iconvdata/tst-tables.sh: Likewise.
32656 * iconvdata/cp770.c: New file.
32657 * iconvdata/cp771.c: New file.
32658 * iconvdata/cp772.c: New file.
32659 * iconvdata/cp773.c: New file.
32660 * iconvdata/cp774.c: New file.
32661 * iconvdata/testdata/CP770: New file.
32662 * iconvdata/testdata/CP770..UTF8: New file.
32663 * iconvdata/testdata/CP771: New file.
32664 * iconvdata/testdata/CP771..UTF8: New file.
32665 * iconvdata/testdata/CP772: New file.
32666 * iconvdata/testdata/CP772..UTF8: New file.
32667 * iconvdata/testdata/CP773: New file.
32668 * iconvdata/testdata/CP773..UTF8: New file.
32669 * iconvdata/testdata/CP774: New file.
32670 * iconvdata/testdata/CP774..UTF8: New file.
32672 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
32674 * iconvdata/gen-8bit-gap.sh: Likewise.
32675 * iconvdata/gen-8bit.sh: Likewise.
32677 * locale/iso-639.def: Add ary entry.
32680 * locale/C-translit.h.in: Add U20A1 transliteration.
32683 * locale/iso-639.def: Add wae entry.
32684 Patch by Kevin Bortis <bortis@translate-wae.ch>.
32687 * locale/programs/localedef.c (construct_output_path): Use ssize_t
32691 * locale/C-translit.h.in: Add entry for U20B9.
32692 Patch by pravin.d.s@gmail.com.
32694 2011-05-08 Ulrich Drepper <drepper@gmail.com>
32697 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
32698 ENAMETOOLONG use generic getcwd.
32699 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
32700 in rtld. Use *stat64.
32701 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
32702 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
32703 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
32704 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
32705 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
32706 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
32707 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
32708 __fstatat64 macros.
32709 * include/dirent.h: Add libc_hidden_proto for rewinddir.
32710 * dirent/rewinddir.c: Add libc_hidden_def.
32711 * sysdeps/mach/hurd/rewinddir.c: Likewise.
32712 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
32714 * include/dirent.h (__alloc_dir): Add flags parameter.
32715 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
32716 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
32718 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
32719 from fdopendir if O_CLOEXEC is already set.
32721 2011-03-15 Alan Modra <amodra@gmail.com>
32723 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
32724 l_tls_firstbyte_offset non-zero. Save padding offset in
32725 l_tls_firstbyte_offset for later use.
32726 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
32727 freeing static tls block.
32729 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
32731 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
32732 where #ifdef was intended. The intent is to prevent ARG_MAX from
32733 being defined by the kernel headers.
32735 2011-05-07 Ulrich Drepper <drepper@gmail.com>
32738 * resolv/resolv.h: Define RES_NOTLDQUERY.
32739 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
32740 no-tld-query and set RES_NOTLDQUERY.
32741 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
32742 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
32743 modern BIND to search name as TLD unless forbidden.
32745 2011-05-07 Petr Baudis <pasky@suse.cz>
32746 Ulrich Drepper <drepper@gmail.com>
32749 * elf/dl-load.c (fillin_rpath): Move trusted path check...
32750 (is_trusted_path): ...to here.
32751 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
32752 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
32753 using is_trusted_path_normalize() in setuid scripts.
32755 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
32757 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
32758 __BEGIN/__END_DECLS.
32760 2011-05-06 Ulrich Drepper <drepper@gmail.com>
32762 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
32763 NSS_STATUS_NOTFOUND if no record was found.
32765 2011-05-05 Andreas Schwab <schwab@redhat.com>
32767 * sunrpc/Makefile (headers): Add rpc/netdb.h.
32768 (headers-not-in-tirpc): Remove rpc/netdb.h
32769 * resolv/netdb.h: Revert last change.
32771 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
32773 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
32774 circular dependency between libgcc.a and libc.a.
32776 2011-05-05 Andreas Schwab <schwab@redhat.com>
32778 * resolv/netdb.h: Don't include <rpc/netdb.h>.
32779 * nis/Makefile: Don't install rpcsvc/*.
32780 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
32781 instead of <rpc/types.h>.
32782 (MAXHOSTNAMELEN): Define.
32784 2011-05-03 Andreas Schwab <schwab@redhat.com>
32786 * elf/ldconfig.c (add_dir): Don't crash on empty path.
32788 2011-04-28 Maciej Babinski <mbabinski@google.com>
32791 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
32792 gethostbyname4_r when IPv6 results are possible.
32794 2011-05-02 Ulrich Drepper <drepper@gmail.com>
32797 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
32798 _PC_PIPE_BUF handling.
32800 2011-04-30 Bruno Haible <bruno@clisp.org>
32803 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
32804 * resolv/netdb.h (getnameinfo): Change type of flags parameter
32806 * inet/getnameinfo.c (getnameinfo): Likewise.
32808 2011-04-29 Ulrich Drepper <drepper@gmail.com>
32810 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
32811 to groups setting in database lookup.
32812 * nss/nsswitch.conf: Add initgroups entry.
32814 2011-04-22 Ulrich Drepper <drepper@gmail.com>
32817 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
32819 Patch by Eric Blake <eblake@redhat.com>.
32821 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
32823 * sunrpc/Makefile (need-export-routines): Add svc_run.
32824 (routines): Remove svc_run.
32825 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
32826 * sunrpc/clnt_perr.c (clnt_perrno): Export.
32827 * sunrpc/svc_run.c (svc_run): Likewise.
32828 * sunrpc/svc_udp.c (svcudp_create): Likewise.
32830 2011-04-21 Ulrich Drepper <drepper@gmail.com>
32832 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
32833 problem in reallocation in last patch.
32835 2011-04-20 Ulrich Drepper <drepper@gmail.com>
32837 * sunrpc/Makefile: Move inclusion of Rules.
32839 2011-04-19 Ulrich Drepper <drepper@gmail.com>
32841 * nss/nss_files/files-initgroups.c: New file.
32842 * nss/Makefile (libnss_files-routines): Add files-initgroups.
32843 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
32844 _nss_files_initgroups_dyn.
32846 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
32848 * elf/elf.h (R_ARM_IRELATIVE): Define.
32850 2011-04-19 Ulrich Drepper <drepper@gmail.com>
32852 * po/ru.po: Update from translation team.
32854 2011-04-17 Ulrich Drepper <drepper@gmail.com>
32856 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
32859 2011-02-06 Mike Frysinger <vapier@gentoo.org>
32862 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
32863 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
32864 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
32865 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
32866 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
32868 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
32870 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
32872 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
32873 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
32874 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
32876 2011-04-17 Ulrich Drepper <drepper@gmail.com>
32879 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
32881 * stdlib/bug-getcontext.c: New file.
32882 * stdlib/Makefile: Add rules to build and run bug-getcontext.
32884 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32886 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
32887 instructions into .machine "z9-109".
32888 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
32889 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
32891 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32893 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
32894 between environment variables and auxiliary vector.
32896 2011-04-16 Ulrich Drepper <drepper@gmail.com>
32898 * Makefile: Add rules to build linkobj/libc.so.
32899 * include/libc-symbols.h: Define libc_hidden_nolink.
32900 * include/rpc/auth.h: Mark functions which are to be hidden.
32901 * include/rpc/auth_des.h: Likewise.
32902 * include/rpc/auth_unix.h: Likewise.
32903 * include/rpc/clnt.h: Likewise.
32904 * include/rpc/des_crypt.h: Likewise.
32905 * include/rpc/key_prot.h: Likewise.
32906 * include/rpc/pmap_clnt.h: Likewise.
32907 * include/rpc/pmap_prot.h: Likewise.
32908 * include/rpc/pmap_rmt.h: Likewise.
32909 * include/rpc/rpc_msg.h: Likewise.
32910 * include/rpc/svc.h: Likewise.
32911 * include/rpc/svc_auth.h: Likewise.
32912 * include/rpc/xdr.h: Likewise.
32913 * nis/Makefile: Link all DSOs against linkobj/libc.so.
32914 * nss/Makefile: Likewise.
32915 * sunrpc/Makefile: Don't install headers. Build library with normal
32916 entry points. Don't build rpcinfo. Link RPC tests appropriately.
32917 * sunrpc/auth_des.c: Hide exported symbols by default, export some
32918 for the compat linking library. Remove use of INTDEF/INTUSE.
32919 * sunrpc/auth_none.c: Likewise.
32920 * sunrpc/auth_unix.c: Likewise.
32921 * sunrpc/authdes_prot.c: Likewise.
32922 * sunrpc/authuxprot.c: Likewise.
32923 * sunrpc/clnt_gen.c: Likewise.
32924 * sunrpc/clnt_perr.c: Likewise.
32925 * sunrpc/clnt_raw.c: Likewise.
32926 * sunrpc/clnt_simp.c: Likewise.
32927 * sunrpc/clnt_tcp.c: Likewise.
32928 * sunrpc/clnt_udp.c: Likewise.
32929 * sunrpc/clnt_unix.c: Likewise.
32930 * sunrpc/des_crypt.c: Likewise.
32931 * sunrpc/des_soft.c: Likewise.
32932 * sunrpc/get_myaddr.c: Likewise.
32933 * sunrpc/key_call.c: Likewise.
32934 * sunrpc/key_prot.c: Likewise.
32935 * sunrpc/netname.c: Likewise.
32936 * sunrpc/pm_getmaps.c: Likewise.
32937 * sunrpc/pm_getport.c: Likewise.
32938 * sunrpc/pmap_clnt.c: Likewise.
32939 * sunrpc/pmap_prot.c: Likewise.
32940 * sunrpc/pmap_prot2.c: Likewise.
32941 * sunrpc/pmap_rmt.c: Likewise.
32942 * sunrpc/publickey.c: Likewise.
32943 * sunrpc/rpc_cmsg.c: Likewise.
32944 * sunrpc/rpc_common.c: Likewise.
32945 * sunrpc/rpc_dtable.c: Likewise.
32946 * sunrpc/rpc_prot.c: Likewise.
32947 * sunrpc/rpc_thread.c: Likewise.
32948 * sunrpc/rtime.c: Likewise.
32949 * sunrpc/svc.c: Likewise.
32950 * sunrpc/svc_auth.c: Likewise.
32951 * sunrpc/svc_authux.c: Likewise.
32952 * sunrpc/svc_raw.c: Likewise.
32953 * sunrpc/svc_run.c: Likewise.
32954 * sunrpc/svc_simple.c: Likewise.
32955 * sunrpc/svc_tcp.c: Likewise.
32956 * sunrpc/svc_udp.c: Likewise.
32957 * sunrpc/svc_unix.c: Likewise.
32958 * sunrpc/svcauth_des.c: Likewise.
32959 * sunrpc/xcrypt.c: Likewise.
32960 * sunrpc/xdr.c: Likewise.
32961 * sunrpc/xdr_array.c: Likewise.
32962 * sunrpc/xdr_float.c: Likewise.
32963 * sunrpc/xdr_intXX_t.c: Likewise.
32964 * sunrpc/xdr_mem.c: Likewise.
32965 * sunrpc/xdr_rec.c: Likewise.
32966 * sunrpc/xdr_ref.c: Likewise.
32967 * sunrpc/xdr_sizeof.c: Likewise.
32968 * sunrpc/xdr_stdio.c: Likewise.
32970 2011-04-10 Ulrich Drepper <drepper@gmail.com>
32973 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
32974 * sysdeps/ia64/dl-tls.h: Likewise.
32975 * sysdeps/powerpc/dl-tls.h: Likewise.
32976 * sysdeps/s390/dl-tls.h: Likewise.
32977 * sysdeps/sh/dl-tls.h: Likewise.
32978 * sysdeps/sparc/dl-tls.h: Likewise.
32979 * sysdeps/x86_64/dl-tls.h: Likewise.
32980 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
32982 2011-03-14 Andreas Schwab <schwab@redhat.com>
32984 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
32985 rpath element also skip the following colon.
32986 (expand_dynamic_string_token): Add is_path parameter and pass
32987 down to DL_DST_REQUIRED and _dl_dst_substitute.
32988 (decompose_rpath): Call expand_dynamic_string_token with
32989 non-zero is_path. Ignore empty rpaths.
32990 (_dl_map_object_from_fd): Call expand_dynamic_string_token
32993 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
32995 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
32998 2011-04-09 Ulrich Drepper <drepper@gmail.com>
33001 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
33002 Patch by Filipe David Manana <fdmanana@apache.org>.
33004 2011-04-07 Andreas Schwab <schwab@redhat.com>
33006 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
33007 Maintain aligned stack.
33008 (CHECK_RSP): Remove unused macro.
33010 2011-04-03 Ulrich Drepper <drepper@gmail.com>
33012 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
33013 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
33015 2011-04-02 Ulrich Drepper <drepper@gmail.com>
33017 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
33019 * include/features.h: Mention __USE_XOPEN2K8 in comment.
33021 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
33024 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
33025 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
33026 * sysdeps/x86_64/memmove.c: New file.
33027 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
33028 (memcpy): Renamed to ...
33029 (__new_memcpy): This.
33030 (memcpy): Provide GLIBC_2_14 memcpy.
33031 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
33032 (memcpy): Provide GLIBC_2_2_5 memcpy.
33034 2011-04-01 Ulrich Drepper <drepper@gmail.com>
33037 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
33039 2011-03-30 Andreas Schwab <schwab@redhat.com>
33041 * misc/syncfs.c: New file.
33042 * misc/Makefile (routines): Add syncfs.
33043 * posix/unistd.h: Declare syncfs.
33044 * sysdeps/unix/syscalls.list: Add syncfs.
33046 2011-04-01 Andreas Schwab <schwab@redhat.com>
33048 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
33050 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
33051 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
33052 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
33053 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
33054 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
33055 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
33056 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
33058 2011-04-01 Ulrich Drepper <drepper@gmail.com>
33060 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
33061 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
33062 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
33063 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
33064 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
33065 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
33066 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
33068 * io/Makefile: Compile fallocate.c, fallocate64.c, and
33069 sync_file_range.c with -fexceptions.
33070 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
33071 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
33072 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
33073 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
33074 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
33075 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
33076 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
33077 sync_file_range as cancellation point
33078 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
33079 now a wrapper around __call_sync_file_range with cancellation handling.
33080 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
33081 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
33082 function name to __call_sync_file_range.
33083 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
33084 Add call_sync_file_range.
33086 2011-04-01 Andreas Schwab <schwab@redhat.com>
33088 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33091 2011-04-01 Ulrich Drepper <drepper@gmail.com>
33093 * iconv/iconv.h: Fix typo in comment.
33094 * io/fcntl.h: Likewise.
33095 * libio/stdio.h: Likewise.
33096 * posix/spawn.h: Likewise.
33097 * posix/unistd.h: Likewise.
33098 * stdlib/stdlib.h: Likewise.
33099 * time/time.h: Likewise.
33100 * wcsmbs/wchar.h: Likewise.
33102 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
33103 open_by_handle): Add.
33104 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
33105 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
33106 Augment a few comments.
33107 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
33108 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
33109 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
33110 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
33111 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
33112 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
33115 * io/fcntl.h (AT_EMPTY_PATH): Define.
33117 2011-03-30 Ulrich Drepper <drepper@gmail.com>
33119 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
33120 * sysdeps/unix/sysv/linux/bits/time.h: New file.
33121 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
33123 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
33124 * Versions.def: Add GLIBC_2.14.
33125 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
33128 2011-03-22 Ulrich Drepper <drepper@gmail.com>
33130 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
33132 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
33134 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
33137 * string/test-strncmp.c (do_page_test): New function.
33138 (check2): Likewise.
33139 (test_main): Call check2.
33140 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
33142 2011-03-20 Ulrich Drepper <drepper@gmail.com>
33145 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
33146 Handle cache information in CPU leaf 4.
33147 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
33149 2011-03-18 Ulrich Drepper <drepper@gmail.com>
33152 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
33153 character representation.
33154 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
33156 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
33158 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
33159 END(__isnan) to END(__isnanf) to match function entry point/label
33160 EALIGN(__isnanf,...).
33162 2011-03-10 Jakub Jelinek <jakub@redhat.com>
33164 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
33166 2011-03-10 Ulrich Drepper <drepper@gmail.com>
33169 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
33170 copy from the symbol referenced in the relocation to initialize the
33172 Patch by Piotr Bury <pbury@goahead.com>.
33173 * elf/Makefile: Add rules to build and tst-unique3.
33174 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
33175 * elf/tst-unique3.cc: New file.
33176 * elf/tst-unique3.h: New file.
33177 * elf/tst-unique3lib.cc: New file.
33178 * elf/tst-unique3lib2.cc: New file.
33180 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
33182 2011-03-10 Mike Frysinger <vapier@gentoo.org>
33184 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
33185 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
33188 2011-03-06 Ulrich Drepper <drepper@gmail.com>
33190 * elf/dl-load.c (_dl_map_object): If we are looking for the first
33191 to-be-loaded object along a path to loader is ld.so.
33193 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
33194 Ulrich Drepper <drepper@gmail.com>
33196 * sysdeps/x86_64/memset.S: After aligning destination, code
33197 branches to different locations depending on the value of
33198 misalignment, when multiarch is enabled. Fix this.
33200 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
33202 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
33203 Set _x86_64_preferred_memory_instruction for AMD processsors.
33204 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33205 Set bit_Prefer_SSE_for_memop for AMD processors.
33207 2011-03-04 Ulrich Drepper <drepper@gmail.com>
33209 * libio/fmemopen.c (fmemopen): Optimize a bit.
33211 2011-03-03 Andreas Schwab <schwab@redhat.com>
33213 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
33215 2011-03-03 Roland McGrath <roland@redhat.com>
33217 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
33219 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
33221 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
33222 __bzero_ultra1 instead of __memset_ultra1.
33224 2011-02-23 Andreas Schwab <schwab@redhat.com>
33225 Ulrich Drepper <drepper@gmail.com>
33228 * include/link.h (struct link_map): Add l_orig_initfini.
33229 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
33230 returning unsuccessfully.
33231 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
33232 close of a file loaded at startup, restore the original l_initfini
33234 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
33235 list, store the pointer.
33236 * elf/Makefile ($(objpfx)noload-mem): New rule.
33237 (noload-ENV): Define.
33238 (tests): Add $(objpfx)noload-mem.
33239 * elf/noload.c: Include <memcheck.h>.
33240 (main): Call mtrace. Close all opened handles.
33242 2011-02-17 Andreas Schwab <schwab@redhat.com>
33245 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
33246 dependencies are missing.
33248 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
33250 Fix __if_freereq crash: Unlike the generic version which uses free,
33252 * sysdeps/mach/hurd/ifreq.h: New file.
33254 2011-01-27 Petr Baudis <pasky@suse.cz>
33255 Ulrich Drepper <drepper@gmail.com>
33258 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
33259 to extend_alloca().
33260 * stdio-common/bug23.c: New file.
33261 * stdio-common/Makefile (tests): Add bug23.
33263 2010-09-28 Andreas Schwab <schwab@redhat.com>
33264 Ulrich Drepper <drepper@gmail.com>
33267 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
33268 before performing relro protection. At old place add assertion
33269 to make sure nothing changed.
33271 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
33272 Glauber de Oliveira Costa <glommer@gmail.com>
33274 * elf/elf.h: Add new ARM TLS relocs.
33276 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
33278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
33279 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
33281 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
33283 * sysdeps/wordsize-64/tst-writev.c: New file.
33285 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
33287 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
33288 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
33289 insns in _dl_start to prevent a TOC reference before relocs are
33292 2011-02-15 Ulrich Drepper <drepper@gmail.com>
33295 * Makeconfig: Remove RANLIB definition.
33296 * Makerules: Don't use RANLIB.
33297 * aclocal.m4: Remove ranlib test.
33298 * configure.in: No need to check for ranlib.
33299 * elf/rtld-Rules: Don't use RANLIB.
33301 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
33303 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
33305 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
33306 inclusion protection macro.
33308 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
33309 SIGRTMIN and SIGRTMAX and print information in that case only when
33310 SIGRTMIN is defined.
33312 2011-02-11 Jakub Jelinek <jakub@redhat.com>
33314 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
33315 arginfo fn returning -1.
33317 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
33318 and thousands string is zero terminated.
33320 2011-02-03 Andreas Schwab <schwab@redhat.com>
33322 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
33323 sysdeps/unix/sysv/linux/bits/socket.h.
33325 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
33327 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
33328 (__CPU_COUNT): Remove old macros.
33329 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
33330 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
33331 (__CPU_ALLOC, __CPU_FREE): Add macros.
33332 (__sched_cpualloc, __sched_cpufree): Add declarations.
33334 2011-02-05 Ulrich Drepper <drepper@gmail.com>
33336 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
33337 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
33338 * nscd/aicache.c (addhstaiX): Return timeout of added value.
33339 (readdhstai): Return value of addhstaiX call.
33340 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
33341 (addgrbyX): Return value returned by cache_addgr.
33342 (readdgrbyname): Return value returned by addgrbyX.
33343 (readdgrbygid): Likewise.
33344 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
33345 (addpwbyX): Return value returned by cache_addpw.
33346 (readdpwbyname): Return value returned by addhstbyX.
33347 (readdpwbyuid): Likewise.
33348 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
33349 (addservbyX): Return value returned by cache_addserv.
33350 (readdservbyname): Return value returned by addservbyX:
33351 (readdservbyport): Likewise.
33352 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
33353 (addhstbyX): Return value returned by cache_addhst.
33354 (readdhstbyname): Return value returned by addhstbyX.
33355 (readdhstbyaddr): Likewise.
33356 (readdhstbynamev6): Likewise.
33357 (readdhstbyaddrv6): Likewise.
33358 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
33359 (readdinitgroups): Return value returned by addinitgroupsX.
33360 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
33361 (prune_cache): Keep track of timeout value of re-added entries.
33362 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
33363 * nscd/nscd.h: Adjust prototypes of readd* functions.
33365 2011-02-04 Roland McGrath <roland@redhat.com>
33367 * nis/nis_server.c (nis_servstate): Use the right name for 0.
33368 (nis_stats): Likewise.
33369 * nis/nis_modify.c (nis_modify): Likewise.
33370 * nis/nis_remove.c (nis_remove): Likewise.
33371 * nis/nis_add.c (nis_add): Likewise.
33373 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
33375 * posix/fnmatch_loop.c: Add some consts.
33377 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
33379 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
33382 * config.make.in (config-cflags-novzeroupper): Define.
33383 * configure.in: Substitute libc_cv_cc_novzeroupper.
33384 * elf/Makefile (AVX-CFLAGS): Define.
33385 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
33386 (CFLAGS-tst-auditmod4a.c): Likewise.
33387 (CFLAGS-tst-auditmod4b.c): Likewise.
33388 (CFLAGS-tst-auditmod6b.c): Likewise.
33389 (CFLAGS-tst-auditmod6c.c): Likewise.
33390 (CFLAGS-tst-auditmod7b.c): Likewise.
33391 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
33393 2011-02-02 Ulrich Drepper <drepper@gmail.com>
33395 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
33396 function to the callback.
33397 Patch partly by Jiri Olsa <jolsa@redhat.com>.
33399 2011-02-02 Andreas Schwab <schwab@redhat.com>
33401 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
33404 2011-01-19 Ulrich Drepper <drepper@gmail.com>
33407 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
33409 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
33411 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
33414 * elf/Makefile: Add rules to build and run new test.
33415 * elf/tst-initorder.c: New file.
33416 * elf/tst-initorder.exp: New file.
33417 * elf/tst-initordera1.c: New file.
33418 * elf/tst-initordera2.c: New file.
33419 * elf/tst-initordera3.c: New file.
33420 * elf/tst-initordera4.c: New file.
33421 * elf/tst-initorderb1.c: New file.
33422 * elf/tst-initorderb2.c: New file.
33423 * elf/tst-order-a1.c: New file.
33424 * elf/tst-order-a2.c: New file.
33425 * elf/tst-order-a3.c: New file.
33426 * elf/tst-order-a4.c: New file.
33427 * elf/tst-order-b1.c: New file.
33428 * elf/tst-order-b2.c: New file.
33429 * elf/tst-order-main.c: New file.
33430 New test case by George Gensure <werkt0@gmail.com>.
33432 2010-10-01 Andreas Schwab <schwab@redhat.com>
33434 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
33435 decoding ACE if AI_CANONIDN.
33437 2011-01-18 Ulrich Drepper <drepper@gmail.com>
33439 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
33441 2011-01-17 Ulrich Drepper <drepper@gmail.com>
33443 * version.h (RELEASE): Bump for 2.13 release.
33444 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
33446 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
33448 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
33450 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
33451 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
33452 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
33453 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
33454 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
33455 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
33457 * posix/getconf.c: Update copyright year.
33458 * catgets/gencat.c: Likewise.
33459 * csu/version.c: Likewise.
33460 * debug/catchsegv.sh: Likewise.
33461 * debug/xtrace.sh: Likewise.
33462 * elf/ldconfig.c: Likewise.
33463 * elf/ldd.bash.in: Likewise.
33464 * elf/sprof.c (print_version): Likewise.
33465 * iconv/iconv_prog.c: Likewise.
33466 * iconv/iconvconfig.c: Likewise.
33467 * locale/programs/locale.c: Likewise.
33468 * locale/programs/localedef.c: Likewise.
33469 * malloc/memusage.sh: Likewise.
33470 * malloc/mtrace.pl: Likewise.
33471 * nscd/nscd.c (print_version): Likewise.
33472 * nss/getent.c: Likewise.
33474 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
33475 PF_CAIF, and PF_ALG.
33476 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
33478 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
33480 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
33481 (modules-names): Use them.
33482 (ifunc-test-modules, ifunc-pie-tests): Define.
33483 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
33484 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
33485 (test-extras): Likewise.
33486 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
33487 $(compile-command.c).
33488 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
33489 (all-built-dso): Define.
33490 (check-textrel.out, check-execstack.out): Depend on it.
33492 * configure.in: Don't override --enable-multi-arch.
33494 2011-01-15 Ulrich Drepper <drepper@gmail.com>
33497 * nscd/hstcache.c (tryagain): Define.
33498 (cache_addhst): Return tryagain not notfound for temporary errors.
33499 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
33502 2011-01-14 Ulrich Drepper <drepper@gmail.com>
33505 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
33506 to make the syscall.
33507 * sysdeps/unix/sysv/linux/setgroups.c: New file.
33510 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
33511 and fall back to matching as normal character if the string ends before
33512 the matching ']' is found. This is what POSIX requires.
33513 * posix/testfnm.c: Adjust test result.
33514 * posix/globtest.sh: Adjust test result. Add new test.
33515 * posix/tst-fnmatch.input: Likewise.
33516 * posix/tst-fnmatch2.c: Add new test.
33518 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
33520 * elf/Makefile (check-execstack): Revert last change. Depend on
33522 (check-execstack.h): New target.
33523 (generated): Add check-execstack.h.
33524 * elf/check-execstack.c: Include "check-execstack.h".
33525 (main): Revert last change.
33526 (handle_file): Return zero if GNU_STACK is absent and
33527 DEFAULT_STACK_PERMS doesn't include PF_X.
33529 2011-01-13 Ulrich Drepper <drepper@gmail.com>
33531 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
33532 in child fails because the descriptor is already closed.
33533 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
33534 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
33535 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
33538 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
33542 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
33543 temporary buffer used to handle multi lookups locally.
33544 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
33546 2011-01-12 Ulrich Drepper <drepper@gmail.com>
33548 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
33551 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
33553 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
33554 alignment for SSE2.
33556 2011-01-12 Ulrich Drepper <drepper@gmail.com>
33559 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
33560 characters. When rounding increased number of integer digits recompute
33562 * stdio-common/tst-grouping.c: New file.
33563 * stdio-common/Makefile: Add rules to build and run tst-grouping.
33565 2011-01-09 Ulrich Drepper <drepper@gmail.com>
33567 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
33568 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
33570 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
33572 * bits/select.h: Likewise.
33574 2011-01-08 Ulrich Drepper <drepper@gmail.com>
33576 * po/ja.po: Update from translation team.
33578 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
33581 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
33582 implementation just like for lxstat, fxstatat, et al.
33584 2010-12-27 Jim Meyering <meyering@redhat.com>
33587 * posix/regexec.c (build_trtable): Return failure indication upon
33588 calloc failure. Otherwise, re_search_internal could infloop on OOM.
33590 2010-12-25 Ulrich Drepper <drepper@gmail.com>
33593 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
33594 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
33595 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
33596 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
33599 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
33602 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
33603 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
33605 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
33607 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
33608 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
33609 script has SORT_BY_INIT_PRIORITY.
33610 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
33611 NO_CTORS_DTORS_SECTIONS is defined.
33612 * elf/soinit.c: Likewise.
33613 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
33614 NO_CTORS_DTORS_SECTIONS is defined.
33615 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
33616 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
33617 * sysdeps/sh/init-first.c: Likewise.
33618 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
33620 2010-12-24 Ulrich Drepper <drepper@gmail.com>
33622 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
33623 always use the slow path.
33625 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
33627 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
33628 similar rule which adds the sysdep directories to the header search in
33629 order to pick up the correct platform stackinfo.h.
33630 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
33631 perform test if it is, otherwise return successfully without testing.
33632 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
33633 DEFAULT_STACK_PERMS define in stackinfo.h.
33634 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
33635 defined in stackinfo.h.
33636 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
33637 DEFAULT_STACK_PERMS defined in stackinfo.h.
33638 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
33639 * sysdeps/ia64/stackinfo.h: Likewise.
33640 * sysdeps/s390/stackinfo.h: Likewise.
33641 * sysdeps/sh/stackinfo.h: Likewise.
33642 * sysdeps/sparc/stackinfo.h: Likewise.
33643 * sysdeps/x86_64/stackinfo.h: Likewise.
33644 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
33645 PF_X for powerpc64. Retain PF_X for powerpc32.
33647 2010-12-19 Ulrich Drepper <drepper@gmail.com>
33649 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
33651 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
33652 GETDENTS_64BIT_ALIGNED.
33654 2010-12-14 Ulrich Drepper <dreper@gmail.com>
33656 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
33658 2010-12-10 Andreas Schwab <schwab@redhat.com>
33660 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
33663 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
33664 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
33666 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
33667 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
33669 2010-12-09 Ulrich Drepper <drepper@gmail.com>
33672 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
33675 2010-12-09 Jakub Jelinek <jakub@redhat.com>
33677 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
33679 2010-12-03 Ulrich Drepper <drepper@gmail.com>
33681 * po/it.po: Update from translation team.
33683 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
33685 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
33688 2010-11-30 Ulrich Drepper <drepper@gmail.com>
33690 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
33692 2010-11-24 Andreas Schwab <schwab@redhat.com>
33694 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
33696 (gaih_getanswer_slice): Likewise.
33698 2010-10-20 Jakub Jelinek <jakub@redhat.com>
33700 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
33702 2010-05-31 Petr Baudis <pasky@suse.cz>
33705 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
33706 silently even in the chroot mode.
33708 2010-11-22 Ulrich Drepper <drepper@gmail.com>
33710 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
33711 last patch a bit. Pretty printing
33713 2010-05-31 Petr Baudis <pasky@suse.cz>
33716 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
33717 initialization of skip_initgroups_dyn.
33719 2010-11-19 Ulrich Drepper <drepper@gmail.com>
33721 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
33722 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
33724 2010-11-16 Ulrich Drepper <drepper@gmail.com>
33726 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
33728 2010-11-11 Andreas Schwab <schwab@redhat.com>
33730 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
33731 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
33732 (tst-fnmatch-ENV): Set MALLOC_TRACE.
33733 ($(objpfx)tst-fnmatch-mem): New rule.
33734 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
33735 * posix/tst-fnmatch.c (main): Call mtrace.
33737 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
33739 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33740 Support Intel processor model 6 and model 0x2c.
33742 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
33744 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
33747 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
33750 * string/test-strncasecmp.c (check_result): New function.
33751 (do_one_test): Use it.
33752 (check1): New function.
33753 (test_main): Use it.
33754 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
33755 Support strcasecmp and strncasecmp.
33757 2010-11-08 Ulrich Drepper <drepper@gmail.com>
33760 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
33761 * sysdeps/x86_64/bits/byteswap.h: Likewise.
33763 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
33765 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
33767 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33769 * sysdeps/x86_64/multiarch/bzero.S: New file.
33770 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
33771 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
33772 * sysdeps/x86_64/multiarch/memset.S: New file.
33773 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
33774 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33775 Set bit_Prefer_SSE_for_memop for Intel processors.
33776 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
33778 (index_Prefer_SSE_for_memop): Define.
33779 (HAS_PREFER_SSE_FOR_MEMOP): Define.
33781 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
33783 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
33784 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
33786 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
33789 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
33790 (__x86_64_raw_data_cache_size_half): Likewise.
33791 (__x86_64_raw_shared_cache_size): Likewise.
33792 (__x86_64_raw_shared_cache_size_half): Likewise.
33794 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
33795 (__x86_64_raw_data_cache_size_half): Likewise.
33796 (__x86_64_raw_shared_cache_size): Likewise.
33797 (__x86_64_raw_shared_cache_size_half): Likewise.
33798 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
33799 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
33800 and __x86_64_raw_shared_cache_size_half. Round
33801 __x86_64_data_cache_size_half, __x86_64_data_cache_size
33802 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
33803 to multiple of 256 bytes.
33805 2010-11-03 Ulrich Drepper <drepper@gmail.com>
33808 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
33809 of inacessible symlinks. Verify result of symlink before returning it.
33810 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
33811 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
33813 2010-10-28 Erich Ritz <erichritz@gmail.com>
33815 * math/math.h (isinf): Fix typo in comment.
33817 2010-11-01 Ulrich Drepper <drepper@gmail.com>
33819 * po/da.po: Update from translation team.
33821 2010-10-26 Ulrich Drepper <drepper@gmail.com>
33823 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
33824 is added to the list.
33826 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33827 Ulrich Drepper <drepper@gmail.com>
33829 * elf/dl-object.c (_dl_new_object): Don't append the new object to
33830 the global list here. Move code to...
33831 (_dl_add_to_namespace_list): ...here. New function.
33832 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
33833 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
33834 * elf/dl-load.c (lose): Don't remove the element from the list.
33835 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
33836 (_dl_map_object): Likewise.
33838 2010-10-25 Ulrich Drepper <drepper@gmail.com>
33841 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
33842 into all bytes of SSE register.
33843 Patch by Richard Li <richardpku@gmail.com>.
33845 2010-10-24 Ulrich Drepper <drepper@gmail.com>
33848 * malloc/malloc.c (_int_free): Fill correct number of bytes when
33851 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
33853 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
33854 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
33855 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
33856 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
33857 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
33859 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
33861 2010-10-22 Andreas Schwab <schwab@redhat.com>
33863 * include/dlfcn.h (__RTLD_SECURE): Define.
33864 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
33865 mode & __RTLD_SECURE instead.
33866 (open_path): Rename preloaded parameter to secure.
33867 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
33868 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
33869 * elf/dl-deps.c (openaux): Likewise.
33870 * elf/rtld.c (struct map_args): Remove is_preloaded.
33871 (map_doit): Don't use it.
33872 (dl_main): Likewise.
33873 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
33874 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
33876 2010-09-09 Andreas Schwab <schwab@redhat.com>
33878 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
33879 (sysd-rules-targets): Remove duplicates.
33880 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
33881 rtld-%.$o dependency.
33883 2010-10-18 Andreas Schwab <schwab@redhat.com>
33885 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
33886 _dl_map_object do it.
33888 2010-10-19 Ulrich Drepper <drepper@gmail.com>
33890 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
33891 fast fma builtins, define the macros in the C99 standard.
33892 (FP_FAST_FMAF): Likewise.
33893 (FP_FAST_FMAL): Likewise.
33894 * sysdeps/x86_64/bits/mathdef.h: Likewise.
33896 * bits/mathdef.h: Update copyright year.
33897 * sysdeps/powerpc/bits/mathdef.h: Likewise.
33899 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
33901 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
33902 builtins, define the macros in the C99 standard.
33903 (FP_FAST_FMAF): Likewise.
33904 (FP_FAST_FMAL): Likewise.
33905 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
33907 (FP_FAST_FMAF): Likewise.
33909 2010-10-15 Jakub Jelinek <jakub@redhat.com>
33912 * math/libm-test.inc (fma_test): Some new testcases.
33913 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
33914 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
33915 y and infinite z. Do multiplication by C already in long double.
33916 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
33917 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
33918 y and infinite z. Do bitwise or of inexact bit into u.d.
33919 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
33920 * sysdeps/i386/fpu/s_fmaf.S: Removed.
33921 * sysdeps/i386/fpu/s_fma.S: Removed.
33922 * sysdeps/i386/fpu/s_fmal.S: Removed.
33924 2010-10-16 Jakub Jelinek <jakub@redhat.com>
33927 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
33928 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
33929 computation is not scheduled after fetestexcept. Fix value
33930 of minimum denormal long double.
33932 2010-10-14 Jakub Jelinek <jakub@redhat.com>
33935 * math/libm-test.inc (fma_test): Add some more tests.
33936 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
33939 2010-10-15 Andreas Schwab <schwab@redhat.com>
33941 * scripts/data/localplt-s390-linux-gnu.data: New file.
33942 * scripts/data/localplt-s390x-linux-gnu.data: New file.
33944 2010-10-13 Jakub Jelinek <jakub@redhat.com>
33947 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
33948 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
33950 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
33952 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
33953 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
33954 if one of x and y is very large and the other is subnormal.
33955 * sysdeps/s390/fpu/s_fmaf.c: New file.
33956 * sysdeps/s390/fpu/s_fma.c: New file.
33957 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
33958 * sysdeps/powerpc/fpu/s_fma.S: New file.
33959 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
33960 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
33961 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
33963 2010-10-12 Jakub Jelinek <jakub@redhat.com>
33966 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
33968 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
33969 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
33970 * sysdeps/i386/i686/multiarch/s_fma.c: Include
33971 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
33972 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
33973 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
33974 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
33976 2010-10-12 Ulrich Drepper <drepper@redhat.com>
33979 * posix/regcomp.c (parse_branch): One more memory leak plugged.
33980 * posix/bug-regex31.input: Add test case.
33982 2010-10-11 Ulrich Drepper <drepper@gmail.com>
33984 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
33985 * posix/bug-regex31.input: New file.
33988 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
33989 (parse_sub_exp): Fix last change, use postorder.
33991 * posix/bug-regex31.c: New file.
33992 * posix/Makefile: Add rules to build and run bug-regex31.
33994 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
33997 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
34000 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
34001 to have entries in sys_siglist.
34004 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
34007 2010-10-07 Jakub Jelinek <jakub@redhat.com>
34010 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
34011 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
34012 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
34013 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
34014 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
34015 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
34016 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
34017 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
34018 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
34019 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
34020 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
34021 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
34022 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
34023 * math/ftestexcept.c (fetestexcept): Likewise.
34024 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
34025 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
34026 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
34027 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
34028 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
34029 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
34030 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
34032 2010-10-11 Ulrich Drepper <drepper@gmail.com>
34035 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
34038 2010-10-06 Ulrich Drepper <drepper@gmail.com>
34040 * string/bug-strstr1.c: New file.
34041 * string/Makefile: Add rules to build and run bug-strstr1.
34043 2010-10-05 Eric Blake <eblake@redhat.com>
34046 * string/str-two-way.h (two_way_long_needle): Always clear memory
34047 when skipping input due to the shift table.
34049 2010-10-03 Ulrich Drepper <drepper@gmail.com>
34052 * malloc/mcheck.c: Handle large requests.
34055 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
34056 for strncmp and strncasecmp.
34057 * string/stratcliff.c: Add tests for strcmp and strncmp.
34058 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
34060 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
34062 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
34065 2010-09-30 Andreas Jaeger <aj@suse.de>
34067 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
34068 (CGROUP_SUPER_MAGIC): Define.
34069 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
34070 Handle btrfs and cgroup file systems.
34071 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
34074 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
34076 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
34077 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
34079 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34082 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
34083 trying to locate the ELF header.
34085 2010-09-27 Andreas Schwab <schwab@redhat.com>
34088 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
34089 Mask out sign-bit copies when constructing f_fsid.
34091 2010-09-24 Petr Baudis <pasky@suse.cz>
34093 * debug/stack_chk_fail_local.c: Add missing licence exception.
34094 * debug/warning-nop.c: Likewise.
34096 2010-09-15 Joseph Myers <joseph@codesourcery.com>
34098 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
34099 implementing getdents64 using getdents syscall, set d_type if
34100 __ASSUME_GETDENTS32_D_TYPE.
34102 2010-09-16 Andreas Schwab <schwab@redhat.com>
34104 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
34105 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
34107 2010-09-21 Ulrich Drepper <drepper@redhat.com>
34110 * posix/unistd.h: Undo change of feature selection for ftruncate from
34113 2010-09-20 Ulrich Drepper <drepper@redhat.com>
34115 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
34118 2010-09-20 Andreas Schwab <schwab@redhat.com>
34120 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
34122 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
34124 2010-09-14 Andreas Schwab <schwab@redhat.com>
34126 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
34127 variables after CHECK_SP call.
34128 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
34130 2010-09-13 Andreas Schwab <schwab@redhat.com>
34131 Ulrich Drepper <drepper@redhat.com>
34133 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
34134 re-relocationg ld.so.
34135 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
34136 _dl_init_paths call.
34137 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
34140 2010-09-14 Ulrich Drepper <drepper@redhat.com>
34142 * resolv/res_init.c (__res_vinit): Count the default server we added.
34144 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
34145 Ulrich Drepper <drepper@redhat.com>
34148 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
34149 (____longjmp_chk): Use %ebx for saving value across system call.
34152 2010-09-06 Andreas Schwab <schwab@redhat.com>
34154 * manual/Makefile: Don't mix pattern rules with normal rules.
34156 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
34158 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
34160 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
34161 * libio/iofopncook.c (_IO_cookie_init): Likewise.
34162 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
34163 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
34164 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
34167 2010-09-04 Ulrich Drepper <drepper@redhat.com>
34170 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
34171 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
34173 2010-09-02 Ulrich Drepper <drepper@redhat.com>
34175 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
34176 * sysdeps/x86_64/addmul_1.S: Likewise.
34177 * sysdeps/x86_64/lshift.S: Likewise.
34178 * sysdeps/x86_64/mul_1.S: Likewise.
34179 * sysdeps/x86_64/rshift.S: Likewise.
34180 * sysdeps/x86_64/sub_n.S: Likewise.
34181 * sysdeps/x86_64/submul_1.S: Likewise.
34183 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
34185 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
34186 Define __sched_param instead of SCHED_* and sched_param when
34187 <bits/sched.h> is included with __need_schedparam defined.
34188 * bits/sched.h [__need_schedparam]
34189 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
34190 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
34191 (__defined_schedparam): Define to 1.
34192 (__sched_param): New structure, identical to sched_param.
34193 (__need_schedparam): Undefine.
34195 2010-08-31 Mike Frysinger <vapier@gentoo.org>
34197 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
34198 (epoll_create1): Declare.
34200 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
34202 2010-08-31 Andreas Schwab <schwab@redhat.com>
34205 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
34206 shifting retval into place.
34208 2010-09-01 Ulrich Drepper <drepper@redhat.com>
34210 * nis/rpcsvc/nis.h: Update copyright notice.
34211 * nis/rpcsvc/nis.x: Likewise.
34212 * nis/rpcsvc/nis_callback.h: Likewise.
34213 * nis/rpcsvc/nis_callback.x: Likewise.
34214 * nis/rpcsvc/nis_object.x: Likewise.
34215 * nis/rpcsvc/nis_tags.h: Likewise.
34216 * nis/rpcsvc/yp.h: Likewise.
34217 * nis/rpcsvc/yp.x: Likewise.
34218 * nis/rpcsvc/ypupd.h: Likewise.
34219 * nis/yp_xdr.c: Likewise.
34220 * nis/ypupdate_xdr.c: Likewise.
34222 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
34223 mainly the body of pmap_getport. Add parameters to specify timeouts.
34224 (pmap_getport): Use __libc_rpc_getport.
34225 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
34226 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
34227 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
34229 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
34231 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
34234 2010-08-27 Roland McGrath <roland@redhat.com>
34236 * sysdeps/i386/i686/multiarch/Makefile
34237 (CFLAGS-varshift.c): New variable.
34239 2010-08-27 Ulrich Drepper <drepper@redhat.com>
34241 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
34242 * sysdeps/i386/i686/multiarch/varshift.c: New file.
34244 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
34246 * sysdeps/x86_64/strlen.S: Minimal code improvement.
34248 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
34250 * sysdeps/x86_64/strlen.S: Unroll the loop.
34251 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34252 strlen-sse2 strlen-sse2-bsf.
34253 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
34254 __strlen_no_bsf if bit_Slow_BSF is set.
34255 (__strlen_sse42): Removed.
34256 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
34257 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
34259 2010-08-25 Roland McGrath <roland@redhat.com>
34261 * sysdeps/x86_64/multiarch/varshift.S: File removed.
34262 * sysdeps/x86_64/multiarch/varshift.c: New file.
34263 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
34264 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
34265 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
34266 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
34268 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
34270 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34271 strlen-sse2 strlen-sse2-bsf.
34272 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
34273 __strlen_sse2_bsf if bit_Slow_BSF is unset.
34274 (__strlen_sse2): Removed.
34275 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
34276 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
34277 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
34278 bit_Slow_BSF for Atom.
34279 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
34280 (index_Slow_BSF): Define.
34281 (HAS_SLOW_BSF): Define.
34283 2010-08-25 Ulrich Drepper <drepper@redhat.com>
34286 * resolv/res_init.c (__res_vinit): When no server address at all
34287 is given default to loopback.
34289 2010-08-24 Roland McGrath <roland@redhat.com>
34291 * configure.in: Remove config-name.h generation.
34292 * configure: Regenerated.
34293 * config-name.in: File removed.
34294 * scripts/config-uname.sh: New file.
34295 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
34296 ($(objdir)config-name.h): New target.
34298 * sunrpc/rpc_parse.h: Avoid nested comment.
34300 2010-08-24 Richard Henderson <rth@redhat.com>
34301 Ulrich Drepper <drepper@redhat.com>
34302 H.J. Lu <hongjiu.lu@intel.com>
34304 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
34305 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
34306 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
34307 Replace _mm_srli_si128 with __m128i_shift_right. Replace
34308 _mm_alignr_epi8 with _mm_loadu_si128.
34309 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
34310 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
34311 (__m128i_shift_right): Removed.
34312 * sysdeps/i386/i686/multiarch/varshift.h: New file.
34313 * sysdeps/i386/i686/multiarch/varshift.S: New file.
34314 * sysdeps/x86_64/multiarch/varshift.h: New file.
34315 * sysdeps/x86_64/multiarch/varshift.S: New file.
34317 2010-08-21 Mike Frysinger <vapier@gentoo.org>
34319 * configure.in: Move assembler checks to before sysdep dir checking.
34321 2010-08-20 Petr Baudis <pasky@suse.cz>
34323 * LICENSES: Sync the sunrpc license.
34325 2010-08-19 Ulrich Drepper <drepper@redhat.com>
34327 * sunrpc/auth_des.c: Update copyright notice once again.
34328 * sunrpc/auth_none.c: Likewise.
34329 * sunrpc/auth_unix.c: Likewise.
34330 * sunrpc/authdes_prot.c: Likewise.
34331 * sunrpc/authuxprot.c: Likewise.
34332 * sunrpc/bindrsvprt.c: Likewise.
34333 * sunrpc/clnt_gen.c: Likewise.
34334 * sunrpc/clnt_perr.c: Likewise.
34335 * sunrpc/clnt_raw.c: Likewise.
34336 * sunrpc/clnt_simp.c: Likewise.
34337 * sunrpc/clnt_tcp.c: Likewise.
34338 * sunrpc/clnt_udp.c: Likewise.
34339 * sunrpc/clnt_unix.c: Likewise.
34340 * sunrpc/des_crypt.c: Likewise.
34341 * sunrpc/des_soft.c: Likewise.
34342 * sunrpc/get_myaddr.c: Likewise.
34343 * sunrpc/getrpcport.c: Likewise.
34344 * sunrpc/key_call.c: Likewise.
34345 * sunrpc/key_prot.c: Likewise.
34346 * sunrpc/openchild.c: Likewise.
34347 * sunrpc/pm_getmaps.c: Likewise.
34348 * sunrpc/pm_getport.c: Likewise.
34349 * sunrpc/pmap_clnt.c: Likewise.
34350 * sunrpc/pmap_prot.c: Likewise.
34351 * sunrpc/pmap_prot2.c: Likewise.
34352 * sunrpc/pmap_rmt.c: Likewise.
34353 * sunrpc/rpc/auth.h: Likewise.
34354 * sunrpc/rpc/auth_unix.h: Likewise.
34355 * sunrpc/rpc/clnt.h: Likewise.
34356 * sunrpc/rpc/des_crypt.h: Likewise.
34357 * sunrpc/rpc/key_prot.h: Likewise.
34358 * sunrpc/rpc/netdb.h: Likewise.
34359 * sunrpc/rpc/pmap_clnt.h: Likewise.
34360 * sunrpc/rpc/pmap_prot.h: Likewise.
34361 * sunrpc/rpc/pmap_rmt.h: Likewise.
34362 * sunrpc/rpc/rpc.h: Likewise.
34363 * sunrpc/rpc/rpc_des.h: Likewise.
34364 * sunrpc/rpc/rpc_msg.h: Likewise.
34365 * sunrpc/rpc/svc.h: Likewise.
34366 * sunrpc/rpc/svc_auth.h: Likewise.
34367 * sunrpc/rpc/types.h: Likewise.
34368 * sunrpc/rpc/xdr.h: Likewise.
34369 * sunrpc/rpc_clntout.c: Likewise.
34370 * sunrpc/rpc_cmsg.c: Likewise.
34371 * sunrpc/rpc_common.c: Likewise.
34372 * sunrpc/rpc_cout.c: Likewise.
34373 * sunrpc/rpc_dtable.c: Likewise.
34374 * sunrpc/rpc_hout.c: Likewise.
34375 * sunrpc/rpc_main.c: Likewise.
34376 * sunrpc/rpc_parse.c: Likewise.
34377 * sunrpc/rpc_parse.h: Likewise.
34378 * sunrpc/rpc_prot.c: Likewise.
34379 * sunrpc/rpc_sample.c: Likewise.
34380 * sunrpc/rpc_scan.c: Likewise.
34381 * sunrpc/rpc_scan.h: Likewise.
34382 * sunrpc/rpc_svcout.c: Likewise.
34383 * sunrpc/rpc_tblout.c: Likewise.
34384 * sunrpc/rpc_util.c: Likewise.
34385 * sunrpc/rpc_util.h: Likewise.
34386 * sunrpc/rpcinfo.c: Likewise.
34387 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
34388 * sunrpc/rpcsvc/key_prot.x: Likewise.
34389 * sunrpc/rpcsvc/klm_prot.x: Likewise.
34390 * sunrpc/rpcsvc/mount.x: Likewise.
34391 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
34392 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
34393 * sunrpc/rpcsvc/rex.x: Likewise.
34394 * sunrpc/rpcsvc/rstat.x: Likewise.
34395 * sunrpc/rpcsvc/rusers.x: Likewise.
34396 * sunrpc/rpcsvc/sm_inter.x: Likewise.
34397 * sunrpc/rpcsvc/spray.x: Likewise.
34398 * sunrpc/rpcsvc/yppasswd.x: Likewise.
34399 * sunrpc/rtime.c: Likewise.
34400 * sunrpc/svc.c: Likewise.
34401 * sunrpc/svc_auth.c: Likewise.
34402 * sunrpc/svc_authux.c: Likewise.
34403 * sunrpc/svc_raw.c: Likewise.
34404 * sunrpc/svc_run.c: Likewise.
34405 * sunrpc/svc_simple.c: Likewise.
34406 * sunrpc/svc_tcp.c: Likewise.
34407 * sunrpc/svc_udp.c: Likewise.
34408 * sunrpc/svc_unix.c: Likewise.
34409 * sunrpc/svcauth_des.c: Likewise.
34410 * sunrpc/xcrypt.c: Likewise.
34411 * sunrpc/xdr.c: Likewise.
34412 * sunrpc/xdr_array.c: Likewise.
34413 * sunrpc/xdr_float.c: Likewise.
34414 * sunrpc/xdr_mem.c: Likewise.
34415 * sunrpc/xdr_rec.c: Likewise.
34416 * sunrpc/xdr_ref.c: Likewise.
34417 * sunrpc/xdr_sizeof.c: Likewise.
34418 * sunrpc/xdr_stdio.c: Likewise.
34420 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
34423 2010-08-19 Andreas Schwab <schwab@redhat.com>
34425 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
34427 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
34429 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
34430 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
34431 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
34432 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
34433 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
34434 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
34435 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
34436 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
34437 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
34438 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
34439 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
34440 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
34441 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
34442 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
34444 2010-07-26 Anton Blanchard <anton@samba.org>
34446 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
34447 * malloc/arena.c (heap_trim): Likewise.
34449 2010-08-16 Ulrich Drepper <drepper@redhat.com>
34451 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
34453 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
34454 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
34456 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
34458 * sysdeps/i386/elf/Makefile: New file.
34460 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
34462 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
34463 from fanotify_init.
34464 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
34465 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
34467 2010-08-15 Ulrich Drepper <drepper@redhat.com>
34469 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
34471 * sysdeps/multiarch/strcmp.S: Likewise.
34473 2010-08-14 Ulrich Drepper <drepper@redhat.com>
34475 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
34476 strncase_l-nonascii.
34477 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
34478 Add strncase_l-ssse3.
34479 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
34480 * sysdeps/x86_64/strcmp.S: Likewise.
34481 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
34482 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
34483 * sysdeps/x86_64/strncase.S: New file.
34484 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
34485 * sysdeps/x86_64/strncase_l.S: New file.
34486 * string/Makefile (strop-tests): Add strncasecmp.
34487 * string/test-strncasecmp.c: New file.
34489 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
34492 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
34493 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
34495 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
34497 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
34499 2010-08-12 Ulrich Drepper <drepper@redhat.com>
34501 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
34502 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
34503 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
34505 2010-05-01 Alan Modra <amodra@gmail.com>
34507 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
34508 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
34509 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
34510 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
34511 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
34512 tidying. Don't tail-call __sigjmp_save for static lib.
34513 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
34515 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
34516 (CALL_MCOUNT): Add eh info, and nop after bl.
34517 (TAIL_CALL_SYSCALL_ERROR): New macro.
34518 (PSEUDO_RET): Use it.
34519 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
34520 Correct save location of integer regs and cr.
34521 (_dl_profile_resolve): Correct cr save location. Delete nops
34522 after bl when SHARED. Reduce cfi size a little by better
34523 placement of cfi directives.
34524 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
34525 make a stack frame. Instead use parm save area as a temp.
34526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
34527 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
34528 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
34529 Don't make a stack frame for parent, use parm save area.
34530 Increase child stack frame to 112 bytes. Don't save unused reg,
34531 and adjust reg usage. Set up cfi on error recovery and
34532 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
34533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
34534 (__makecontext): Add dummy nop after jump to exit.
34535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
34536 Use correct parm save area and cr save, reduce stack frame.
34537 Correct cfi for possible PSEUDO_RET frame setup.
34538 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
34539 Branch to local label emitted by PSEUDO_RET rather than
34542 2010-08-12 Andreas Schwab <schwab@redhat.com>
34545 * locale/programs/locale.c (print_assignment): New function.
34546 (show_locale_vars): Use it.
34548 2010-08-11 Ulrich Drepper <drepper@redhat.com>
34550 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
34552 (struct statfs64): Likewise.
34553 (_STATFS_F_FLAGS): Define.
34554 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
34555 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
34556 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
34557 (ST_VALID): Define locally.
34558 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
34559 __statvfs_getflags, use the provided value.
34560 * sysdeps/unix/sysv/linux/kernel-features.h: Define
34561 __ASSUME_STATFS_F_FLAGS.
34563 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
34565 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
34566 Add sys/fanotify.h.
34567 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
34568 fanotify_mask for GLIBC_2.13.
34569 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
34570 fanotify_init and fanotify_mark.
34571 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
34572 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
34574 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
34576 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
34577 prlimit64 for GLIBC_2.13.
34578 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
34580 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
34582 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
34583 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
34584 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
34585 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
34586 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
34588 * sysdeps/unix/sysv/linux/prlimit.c: New file.
34591 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
34592 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
34594 * nss/Makefile: Add rules to build and run tst-nss-test1.
34595 * shlib-versions: Add entry for libnss_test1.
34596 * nss/nss_test1.c: New file.
34597 * nss/tst-nss-test1.c: New file.
34599 * nss/nsswitch.c (__nss_database_custom): Define new variable.
34600 (__nss_configure_lookup): Set appropriate entry in
34601 __nss_configure_lookup to true.
34602 * nss/nsswitch.h: Define enum with indeces of databases in
34603 databases and __nss_database_custom arrays. Declare
34604 __nss_database_custom.
34605 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
34606 to avoid using nscd when custom rules are installed.
34607 * nss/getXXbyYY_r.c: Likewise.
34608 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
34610 * nss/nss_files/files-parse.c: Whitespace fixes.
34612 2010-08-09 Ulrich Drepper <drepper@redhat.com>
34615 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
34616 * posix/fnmatch_loop.c: Likewise.
34618 2010-07-17 Andi Kleen <ak@linux.intel.com>
34620 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
34621 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
34622 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
34623 * Versions.def [GLIBC_2.13]: Add.
34625 2010-08-06 Ulrich Drepper <drepper@redhat.com>
34627 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
34628 Also fail if tpwd after pwuid call is NULL.
34630 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
34632 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
34633 when converting to ms.
34635 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
34637 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
34638 EOPNOTSUPP errors with ENOTTY.
34639 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
34640 EOPNOTSUPP errors with ENOTTY.
34642 2010-07-31 Ulrich Drepper <drepper@redhat.com>
34644 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
34645 Add strcasecmp_l-ssse3.
34646 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
34648 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
34649 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
34650 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
34652 2010-07-30 Ulrich Drepper <drepper@redhat.com>
34654 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
34656 * string/Makefile (strop-tests): Add strcasecmp.
34657 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
34658 strcasecmp_l-nonascii.
34659 (gen-as-const-headers): Add locale-defines.sym.
34660 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
34661 * sysdeps/x86_64/strcasecmp.S: New file.
34662 * sysdeps/x86_64/strcasecmp_l.S: New file.
34663 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
34664 * sysdeps/x86_64/locale-defines.sym: New file.
34665 * string/test-strcasecmp.c: New file.
34667 * string/test-strcasestr.c: Test both ends of the range of characters.
34668 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
34670 2010-07-29 Roland McGrath <roland@redhat.com>
34673 * manual/locale.texi (Yes-or-No Questions): Fix example code.
34675 2010-07-27 Ulrich Drepper <drepper@redhat.com>
34677 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
34680 2010-07-27 Andreas Schwab <schwab@redhat.com>
34682 * manual/memory.texi (Malloc Tunable Parameters): Document
34685 2010-07-26 Roland McGrath <roland@redhat.com>
34688 * configure.in (-fgnu89-inline check): Set and substitute
34689 gnu89_inline, not libc_cv_gnu89_inline.
34690 * configure: Regenerated.
34691 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
34693 2010-07-26 Ulrich Drepper <drepper@redhat.com>
34695 * string/test-strnlen.c: New file.
34696 * string/Makefile (strop-tests): Add strnlen.
34697 * string/tester.c (test_strnlen): Add a few more test cases.
34698 * string/tst-strlen.c: Better error reporting.
34700 * sysdeps/x86_64/strnlen.S: New file.
34702 2010-07-24 Ulrich Drepper <drepper@redhat.com>
34704 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
34705 lower-latency instructions.
34707 2010-07-23 Ulrich Drepper <drepper@redhat.com>
34709 * string/test-strcasestr.c: New file.
34710 * string/test-strstr.c: New file.
34711 * string/Makefile (strop-tests): Add strstr and strcasestr.
34712 * string/str-two-way.h: Don't undefine MAX.
34713 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
34715 2010-07-21 Andreas Schwab <schwab@redhat.com>
34717 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34718 strcasestr-nonascii.
34719 (CFLAGS-strcasestr-nonascii.c): Define.
34720 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
34721 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
34722 Remove unused attribute.
34724 2010-07-20 Roland McGrath <roland@redhat.com>
34726 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
34727 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
34728 ld.so.cache was broken. With it, there is no way to disable dsocaps
34729 like LD_HWCAP_MASK can disable hwcaps.
34731 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
34733 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
34735 2010-07-16 Ulrich Drepper <drepper@redhat.com>
34737 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
34738 call in strcasestr.
34739 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
34740 __strcasestr_sse42_nonascii.
34741 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
34742 strcasestr-nonascii.c.
34743 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
34745 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
34747 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
34748 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
34749 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
34750 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
34752 2010-07-09 Ulrich Drepper <drepper@redhat.com>
34754 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
34757 2010-07-06 Andreas Schwab <schwab@redhat.com>
34760 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
34763 2010-07-06 Ulrich Drepper <drepper@redhat.com>
34765 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
34766 _PC_PIPE_BUF using F_GETPIPE_SZ.
34768 2010-07-05 Roland McGrath <roland@redhat.com>
34770 * manual/arith.texi (Rounding Functions): Fix rint description
34771 implicit in round description.
34773 2010-07-02 Ulrich Drepper <drepper@redhat.com>
34775 * elf/Makefile: Fix linking for a few tests to make recent linker
34778 2010-06-30 Andreas Schwab <schwab@redhat.com>
34780 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
34781 $(common-objpfx)libc_nonshared.a.
34783 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
34785 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
34786 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
34787 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
34788 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
34789 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
34790 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
34791 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
34792 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
34793 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
34794 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
34795 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
34796 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
34797 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
34798 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
34799 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
34800 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
34801 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
34802 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
34803 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
34804 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
34805 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
34806 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
34807 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
34808 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
34809 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
34810 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
34811 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
34812 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
34813 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
34814 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
34815 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
34816 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
34817 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
34818 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
34819 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
34820 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
34821 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
34822 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
34823 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
34824 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
34825 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
34826 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
34827 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
34828 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
34829 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
34830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
34831 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
34832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
34834 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
34836 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
34837 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
34838 * string/memmove.c (memmove): Renamed to ...
34839 (MEMMOVE): ...this. Default to memmove.
34840 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
34841 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
34843 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34844 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
34845 mempcpy-ssse3-back memmove-ssse3-back.
34846 * sysdeps/x86_64/multiarch/bcopy.S: New file .
34847 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
34848 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
34849 * sysdeps/x86_64/multiarch/memcpy.S: New file.
34850 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
34851 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
34852 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
34853 * sysdeps/x86_64/multiarch/memmove.c: New file.
34854 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
34855 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
34856 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
34857 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
34858 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
34859 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
34861 (index_Fast_Copy_Backward): Define.
34862 (HAS_ARCH_FEATURE): Define.
34863 (HAS_FAST_REP_STRING): Define.
34864 (HAS_FAST_COPY_BACKWARD): Define.
34866 2010-06-21 Andreas Schwab <schwab@redhat.com>
34868 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
34869 Restore proper fallback handling.
34871 2010-06-19 Ulrich Drepper <drepper@redhat.com>
34874 * posix/group_member.c (__group_member): Correct checking loop.
34876 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
34877 OOM in getpwuid_r correctly. Return error number when the caller
34878 should return, otherwise -1.
34879 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
34880 call returning > 0 value.
34881 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
34883 2010-06-07 Andreas Schwab <schwab@redhat.com>
34885 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
34886 libc_nonshared.a from targets in modules-names.
34888 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
34890 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
34893 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
34895 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
34896 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
34897 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
34898 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
34900 2010-06-02 Andreas Schwab <schwab@redhat.com>
34902 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
34904 2010-06-14 Ulrich Drepper <drepper@redhat.com>
34906 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
34908 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
34909 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
34910 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
34911 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
34912 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
34913 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
34915 2010-06-14 Roland McGrath <roland@redhat.com>
34917 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
34919 2010-06-07 Jakub Jelinek <jakub@redhat.com>
34921 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
34922 __REDIRECT followed by __THROW.
34923 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
34924 * posix/getopt.h (getopt): Likewise.
34926 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
34928 * hurd/lookup-at.c (__file_name_lookup_at): Accept
34929 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
34930 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
34932 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
34933 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
34935 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
34937 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
34939 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
34942 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34943 Properly check family and model.
34945 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
34947 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
34949 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
34951 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
34953 2010-05-21 Ulrich Drepper <drepper@redhat.com>
34955 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
34958 2010-05-19 Andreas Schwab <schwab@redhat.com>
34960 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
34963 2010-05-21 Andreas Schwab <schwab@redhat.com>
34965 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
34966 and internal_recvmmsg.
34967 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
34968 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
34969 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
34970 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
34972 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
34973 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
34974 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
34976 2010-05-20 Andreas Schwab <schwab@redhat.com>
34978 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
34980 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
34982 POWER7 optimizations.
34983 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
34984 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
34986 2010-05-19 Ulrich Drepper <drepper@redhat.com>
34988 * version.h: Update for 2.13 development version.
34990 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
34992 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
34993 exceptions. Return 0.
34995 2010-05-07 Roland McGrath <roland@redhat.com>
34997 * elf/ldconfig.c (main): Add a const.
34999 2010-05-06 Ulrich Drepper <drepper@redhat.com>
35001 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
35002 (args_options): Add no-idn option.
35003 (ahosts_keys_int): Add idn_flags to ai_flags.
35004 (parse_option): Handle 'i' option to clear idn_flags.
35006 * malloc/malloc.c (_int_free): Possible race in the most recently
35007 added check. Only act on the data if no current modification
35010 See ChangeLog.17 for earlier changes.